Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 3572) sorted by relevance

12345678910>>...143

/onnv-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_isospec.h40 #define ZERO(x) (uint_t)(((uchar_t *)(x))[0]) argument
41 #define ONE(x) (uint_t)(((uchar_t *)(x))[1]) argument
42 #define TWO(x) (uint_t)(((uchar_t *)(x))[2]) argument
43 #define THREE(x) (uint_t)(((uchar_t *)(x))[3]) argument
45 #define MSB_INT(x) \ argument
46 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
47 #define LSB_INT(x) \ argument
48 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
49 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
50 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
H A Dhsfs_spec.h52 #define ZERO(x) (uint_t)(((uchar_t *)(x))[0]) argument
53 #define ONE(x) (uint_t)(((uchar_t *)(x))[1]) argument
54 #define TWO(x) (uint_t)(((uchar_t *)(x))[2]) argument
55 #define THREE(x) (uint_t)(((uchar_t *)(x))[3]) argument
57 #define MSB_INT(x) \ argument
58 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
59 #define LSB_INT(x) \ argument
60 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
61 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
62 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
H A Dhsfs_rrip.h110 #define RRIP_TF_FLAGS(x) *(RRIP_tf_flags(x)) argument
111 #define RRIP_tf_flags(x) (&((uchar_t *)(x))[4]) argument
115 #define RRIP_TF_TIME_LENGTH(x) (IS_TIME_BIT_SET(RRIP_TF_FLAGS(x), \ argument
133 #define RRIP_tf_creation(x) (&((uchar_t *)x)[RRIP_TIME_START_BP]) argument
134 #define RRIP_tf_modify(x) (&((uchar_t *)x)[RRIP_TIME_START_BP + \ argument
135 (RRIP_TF_TIME_LENGTH(x) * \
136 (IS_TIME_BIT_SET(RRIP_TF_FLAGS(x), \
139 #define RRIP_tf_access(x) (&((uchar_t *)x)[RRIP_TIME_START_BP + \ argument
140 (RRIP_TF_TIME_LENGTH(x) * \
141 (IS_TIME_BIT_SET(RRIP_TF_FLAGS(x), \
[all …]
/onnv-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dhsfs_spec.h39 #define ZERO(x) (u_int) (((u_char *)(x))[0]) argument
40 #define ONE(x) (u_int) (((u_char *)(x))[1]) argument
41 #define TWO(x) (u_int) (((u_char *)(x))[2]) argument
42 #define THREE(x) (u_int) (((u_char *)(x))[3]) argument
44 #define MSB_INT(x) \ argument
45 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
46 #define LSB_INT(x) \ argument
47 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
48 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
49 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
H A Diso_spec.h42 #define ZERO(x) (u_int) (((u_char *)(x))[0]) argument
43 #define ONE(x) (u_int) (((u_char *)(x))[1]) argument
44 #define TWO(x) (u_int) (((u_char *)(x))[2]) argument
45 #define THREE(x) (u_int) (((u_char *)(x))[3]) argument
47 #define MSB_INT(x) \ argument
48 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
49 #define LSB_INT(x) \ argument
50 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
51 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
52 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
/onnv-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dhsfs_spec.h39 #define ZERO(x) (u_int) (((u_char *)(x))[0]) argument
40 #define ONE(x) (u_int) (((u_char *)(x))[1]) argument
41 #define TWO(x) (u_int) (((u_char *)(x))[2]) argument
42 #define THREE(x) (u_int) (((u_char *)(x))[3]) argument
44 #define MSB_INT(x) \ argument
45 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
46 #define LSB_INT(x) \ argument
47 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
48 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
49 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
H A Diso_spec.h42 #define ZERO(x) (u_int) (((u_char *)(x))[0]) argument
43 #define ONE(x) (u_int) (((u_char *)(x))[1]) argument
44 #define TWO(x) (u_int) (((u_char *)(x))[2]) argument
45 #define THREE(x) (u_int) (((u_char *)(x))[3]) argument
47 #define MSB_INT(x) \ argument
48 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
49 #define LSB_INT(x) \ argument
50 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
51 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
52 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
/onnv-gate/usr/src/uts/common/io/chxge/com/
H A Dregs.h30 #define V_CMDQ0_ENABLE(x) ((x) << S_CMDQ0_ENABLE) argument
34 #define V_CMDQ1_ENABLE(x) ((x) << S_CMDQ1_ENABLE) argument
38 #define V_FL0_ENABLE(x) ((x) << S_FL0_ENABLE) argument
42 #define V_FL1_ENABLE(x) ((x) << S_FL1_ENABLE) argument
46 #define V_CPL_ENABLE(x) ((x) << S_CPL_ENABLE) argument
50 #define V_RESPONSE_QUEUE_ENABLE(x) ((x) << S_RESPONSE_QUEUE_ENABLE) argument
55 #define V_CMDQ_PRIORITY(x) ((x) << S_CMDQ_PRIORITY) argument
56 #define G_CMDQ_PRIORITY(x) (((x) >> S_CMDQ_PRIORITY) & M_CMDQ_PRIORITY) argument
59 #define V_DISABLE_CMDQ0_GTS(x) ((x) << S_DISABLE_CMDQ0_GTS) argument
63 #define V_DISABLE_CMDQ1_GTS(x) ((x) << S_DISABLE_CMDQ1_GTS) argument
[all …]
/onnv-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_builtin_sum.sh45 typeset x
50 x="$(print 'hello' | /usr/bin/sum)" || err_exit "/usr/bin/sum pipe failed."
51 [[ "$x" == "542 1" ]] || err_exit "print 'hello' | /usr/bin/sum did not return 542 1, got $x"
52 x="$(print 'hello' | sum)" || err_exit "sum builtin pipe failed."
53 [[ "$x" == "542 1" ]] || err_exit "print 'hello' | sum builtin did not return 542 1, got $x"
54 x="$(print 'hello' | sum -x md5)" || err_exit "sum md5 builtin pipe failed."
55 …[ "$x" == "b1946ac92492d2347c6235b4d2611184" ]] || err_exit "print 'hello' | sum md5 builtin did n…
56 x="$(print 'hello' | sum -x sha1)" || err_exit "sum sha1 builtin pipe failed."
57x" == "f572d396fae9206628714fb2ce00f72e94f2258f" ]] || err_exit "print 'hello' | sum sha1 builtin …
58 x="$(print 'hello' | sum -x sha256)" || err_exit "sum sha256 builtin pipe failed."
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Unicode/Collate/t/
H A Dhangul.t92 ok($Collator->lt("\x{1100}\x{1100}\x{1161}", "\x{1101}\x{1161}"));
93 ok($hangul ->eq("\x{1100}\x{1100}\x{1161}", "\x{1101}\x{1161}"));
94 ok($trailwt ->eq("\x{1100}\x{1100}\x{1161}", "\x{1101}\x{1161}"));
97 ok($Collator->gt("\x{1100}\x{1161}", "\x{1100}\x{1100}\x{1161}"));
98 ok($hangul ->lt("\x{1100}\x{1161}", "\x{1100}\x{1100}\x{1161}"));
99 ok($trailwt ->lt("\x{1100}\x{1161}", "\x{1100}\x{1100}\x{1161}"));
102 ok($Collator->lt("\x{1161}\x{11A8}\x{11A8}", "\x{1161}\x{11A9}"));
103 ok($hangul ->eq("\x{1161}\x{11A8}\x{11A8}", "\x{1161}\x{11A9}"));
104 ok($trailwt ->eq("\x{1161}\x{11A8}\x{11A8}", "\x{1161}\x{11A9}"));
107 ok($Collator->lt("\x{1161}\x{11A8}", "\x{1161}\x{11A8}\x{11A8}"));
[all …]
H A Dtrailwt.t80 ok($Collator->gt("\x{1100}\x{1161}\x{1161}", "\x{1100}\x{1161}A"));
81 ok($hangul ->gt("\x{1100}\x{1161}\x{1161}", "\x{1100}\x{1161}A"));
84 ok($Collator->lt("\x{1100}\x{1161}\x{1161}", "\x{1100}\x{1161}\x{3042}"));
85 ok($hangul ->gt("\x{1100}\x{1161}\x{1161}", "\x{1100}\x{1161}\x{3042}"));
88 ok($Collator->lt("\x{1100}\x{1161}\x{1161}", "\x{1100}\x{1161}\x{4E00}"));
89 ok($hangul ->gt("\x{1100}\x{1161}\x{1161}", "\x{1100}\x{1161}\x{4E00}"));
92 ok($Collator->lt("\x{1100}\x{1161}\x{1100}", "\x{1100}\x{1161}\x{11A8}"));
93 ok($hangul ->lt("\x{1100}\x{1161}\x{1100}", "\x{1100}\x{1161}\x{11A8}"));
96 ok($Collator->gt("\x{1100}\x{1161}\x{11A8}", "\x{1100}\x{1161}A"));
97 ok($hangul ->gt("\x{1100}\x{1161}\x{11A8}", "\x{1100}\x{1161}A"));
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
H A Dbigrat.t25 my ($x,$y,$z);
27 $x = Math::BigRat->new(1234); ok ($x,1234);
28 ok ($x->isa('Math::BigRat'));
29 ok (!$x->isa('Math::BigFloat'));
30 ok (!$x->isa('Math::BigInt'));
37 $x = $cr->$func(1234); ok ($x,1234);
39 $x = $cr->$func('1234/1'); ok ($x,1234);
40 $x = $cr->$func('1234/2'); ok ($x,617);
42 $x = $cr->$func('100/1.0'); ok ($x,100);
43 $x = $cr->$func('10.0/1.0'); ok ($x,10);
[all …]
/onnv-gate/usr/src/common/crypto/aes/amd64/
H A Daes_amd64.s223 #define f2(x) [[x<<1]^[[[x>>7]&1]*0x11b]] argument
224 #define f4(x) [[x<<2]^[[[x>>6]&1]*0x11b]^[[[x>>6]&2]*0x11b]] argument
225 #define f8(x) [[x<<3]^[[[x>>5]&1]*0x11b]^[[[x>>5]&2]*0x11b]^[[[x>>5]&4]*0x11b]] argument
229 #define f3(x) [[f2(x)] ^ [x]] argument
230 #define f9(x) [[f8(x)] ^ [x]] argument
231 #define fb(x) [[f8(x)] ^ [f2(x)] ^ [x]] argument
232 #define fd(x) [[f8(x)] ^ [f4(x)] ^ [x]] argument
233 #define fe(x) [[f8(x)] ^ [f4(x)] ^ [f2(x)]] argument
237 #define u8(x) [f2(x)], [x], [x], [f3(x)], [f2(x)], [x], [x], [f3(x)] argument
238 #define v8(x) [fe(x)], [f9(x)], [fd(x)], [fb(x)], [fe(x)], [f9(x)], [fd(x)], [x] argument
[all …]
/onnv-gate/usr/src/lib/libparted/common/include/parted/
H A Dendian.h27 #define _GET_BYTE(x, n) ( ((x) >> (8 * (n))) & 0xff ) argument
29 #define _PED_SWAP16(x) ( (_GET_BYTE(x, 0) << 8) \ argument
30 + (_GET_BYTE(x, 1) << 0) )
32 #define _PED_SWAP32(x) ( (_GET_BYTE(x, 0) << 24) \ argument
33 + (_GET_BYTE(x, 1) << 16) \
34 + (_GET_BYTE(x, 2) << 8) \
35 + (_GET_BYTE(x, 3) << 0) )
37 #define _PED_SWAP64(x) ( (_GET_BYTE(x, 0) << 56) \ argument
38 + (_GET_BYTE(x, 1) << 48) \
39 + (_GET_BYTE(x, 2) << 40) \
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dassignwarn.t23 sub TIESCALAR { my $x; bless \$x }
33 { my $x; tiex $x if $tie; $x ++; ok ! uninitialized, "postinc$tie"; }
34 { my $x; tiex $x if $tie; $x --; ok ! uninitialized, "postdec$tie"; }
35 { my $x; tiex $x if $tie; ++ $x; ok ! uninitialized, "preinc$tie"; }
36 { my $x; tiex $x if $tie; -- $x; ok ! uninitialized, "predec$tie"; }
38 { my $x; tiex $x if $tie; $x **= 1; ok uninitialized, "**=$tie"; }
41 { my $x; tiex $x if $tie; $x += 1; ok ! uninitialized, "+=$tie"; }
42 { my $x; tiex $x if $tie; $x -= 1; ok ! uninitialized, "-=$tie"; }
45 { my $x; tiex $x if $tie; $x .= 1; ok ! uninitialized, ".=$tie"; }
47 { my $x; tiex $x if $tie; $x *= 1; ok uninitialized, "*=$tie"; }
[all …]
/onnv-gate/usr/src/lib/libntfs/common/include/ntfs/
H A Dendians.h84 #define __ntfs_bswap_constant_16(x) \ argument
85 (u16)((((u16)(x) & 0xff00) >> 8) | \
86 (((u16)(x) & 0x00ff) << 8))
88 #define __ntfs_bswap_constant_32(x) \ argument
89 (u32)((((u32)(x) & 0xff000000u) >> 24) | \
90 (((u32)(x) & 0x00ff0000u) >> 8) | \
91 (((u32)(x) & 0x0000ff00u) << 8) | \
92 (((u32)(x) & 0x000000ffu) << 24))
94 #define __ntfs_bswap_constant_64(x) \ argument
95 (u64)((((u64)(x) & 0xff00000000000000ull) >> 56) | \
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/lib/Math/BigInt/
H A DScalar.pm33 my $x = $d; # make copy
34 \$x;
49 my $x = 0; \$x;
54 my $x = 1; \$x;
59 my $x = 2; \$x;
64 my $x = 10; \$x;
69 my $x = $_[1];
70 my $z = $$x;
94 my $x = $_[1];
96 $x =~ /\d(0*)$/;
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DBigFloat.pm214 my ($c,$x);
218 ($c,$x) = @_;
222 $x = shift;
223 $c = ref($x);
225 return unless ref($x); # only for objects
229 $self->{sign} = $x->{sign};
230 $self->{_es} = $x->{_es};
231 $self->{_m} = $MBI->_copy($x->{_m});
232 $self->{_e} = $MBI->_copy($x->{_e});
233 $self->{_a} = $x->{_a} if defined $x->{_a};
[all …]
H A DBigRat.pm235 my ($c,$x);
239 ($c,$x) = @_;
243 $x = shift;
244 $c = ref($x);
246 return unless ref($x); # only for objects
250 $self->{sign} = $x->{sign};
251 $self->{_d} = $x->{_d}->copy();
252 $self->{_n} = $x->{_n}->copy();
253 $self->{_a} = $x->{_a} if defined $x->{_a};
254 $self->{_p} = $x->{_p} if defined $x->{_p};
[all …]
H A DBigInt.pm257 my $x = shift;
258 my $class = ref($x) || $x || __PACKAGE__;
283 if (ref($x))
286 $x->bround($a) if $a; # not for undef, 0
287 $x->{_a} = $a; # set/overwrite, even if not rounded
288 delete $x->{_p}; # clear P
301 $r = $x->{_a} if ref($x);
314 my $x = shift;
315 my $class = ref($x) || $x || __PACKAGE__;
329 if (ref($x))
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dbigintc.t30 my $x = $C->_new("123"); my $y = $C->_new("321");
31 ok (ref($x),'ARRAY'); ok ($C->_str($x),123); ok ($C->_str($y),321);
35 ok ($C->_str($C->_add($x,$y)),444);
36 ok ($C->_str($C->_sub($x,$y)),123);
37 ok ($C->_str($C->_mul($x,$y)),39483);
38 ok ($C->_str($C->_div($x,$y)),123);
43 ok ($C->_str($C->_mul($x,$y)),39483);
44 ok ($C->_str($x),39483); ok ($C->_str($y),321);
46 ok ($C->_str($C->_div($x,$y)),123);
47 ok ($C->_str($x),123); ok ($C->_str($y),321);
[all …]
/onnv-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h18 # define __P(x) x argument
20 # define __P(x) () argument
243 # define ATOMIC_INCL(x) atomic_add_long((uint32_t*)&(x), 1) argument
244 # define ATOMIC_DECL(x) atomic_add_long((uint32_t*)&(x), -1) argument
246 # define ATOMIC_INCL(x) atomic_add_long(&(x), 1) argument
247 # define ATOMIC_DECL(x) atomic_add_long(&(x), -1) argument
249 # define ATOMIC_INC64(x) atomic_add_64((uint64_t*)&(x), 1) argument
250 # define ATOMIC_INC32(x) atomic_add_32((uint32_t*)&(x), 1) argument
251 # define ATOMIC_INC16(x) atomic_add_16((uint16_t*)&(x), 1) argument
252 # define ATOMIC_DEC64(x) atomic_add_64((uint64_t*)&(x), -1) argument
[all …]
/onnv-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_mpi.h34 #define PMCS_DWRD(x) (x << 2) argument
60 #define PMCS_MSGL(x) (x & 0xffff) argument
61 #define PMCS_MD(x) ((x >> 16) & 0xffff) argument
65 #define PMCS_MNIQ(x) (x & 0xff) /* Max # of Inbound Queues */ argument
66 #define PMCS_MNOQ(x) ((x >> 8) & 0xff) /* Max # of Outbound Queues */ argument
67 #define PMCS_HPIQ(x) ((x >> 16) & 0x1) /* High Pri Queue Supported */ argument
68 #define PMCS_ICS(x) ((x >> 18) & 0x1) /* Interrupt Coalescing */ argument
69 #define PMCS_NPHY(x) ((x >> 19) & 0x3f) /* Numbers of PHYs */ argument
70 #define PMCS_SASREV(x) ((x >> 25) & 0x7) /* SAS Revision Specification */ argument
173 #define PMCS_GST_PHY_INFO(x) (PMCS_GST_BASE + PMCS_DWRD(0x6) + PMCS_DWRD(x)) argument
[all …]
/onnv-gate/usr/src/cmd/audio/include/
H A DAudioTypes.h84 inline Boolean(aud_bool_t x = FALSE): value(x) // Constructor in value() argument
86 inline Boolean(int x) // Constructor from int in Boolean() argument
87 { value = (x == 0) ? FALSE : TRUE; } in Boolean()
88 inline Boolean operator=(int x) // Assignment from int
89 { return (value = (x == 0) ? FALSE : TRUE); }
106 FileAccess(fileaccess_t x = NoAccess): mode(x) { } // Constructor in mode() argument
138 Double(double x = 0.): val(x) { } in val() argument
139 Double(const Double &x): val(x.val) { } in Double() argument
153 inline double min(const Double& x, const Double& y) { in min() argument
154 return (((double)x < (double)y) ? (double)x : (double)y); in min()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/comp/
H A Dcmdopt.t21 $x = 1;
22 if (1 && $x) { print "ok 9\n";} else { print "not ok 9\n";}
23 if (0 && $x) { print "not ok 10\n";} else { print "ok 10\n";}
24 $x = '';
25 if (1 && $x) { print "not ok 11\n";} else { print "ok 11\n";}
26 if (0 && $x) { print "not ok 12\n";} else { print "ok 12\n";}
28 $x = 1;
29 if (1 || $x) { print "ok 13\n";} else { print "not ok 13\n";}
30 if (0 || $x) { print "ok 14\n";} else { print "not ok 14\n";}
31 $x = '';
[all …]

12345678910>>...143