/illumos-gate/usr/src/lib/libc/i386/fp/ |
H A D | _D_cplx_div_ix.c | 75 _D_cplx_div_ix(double b, double _Complex w) in _D_cplx_div_ix() argument 101 j = testinf(b); in _D_cplx_div_ix() 103 b = j; in _D_cplx_div_ix() 106 ((double *)&v)[0] = (b == 0.0f)? b * c : b * d; in _D_cplx_div_ix() 108 ((double *)&v)[1] = b * c; in _D_cplx_div_ix() 112 r = (long double)b / r; in _D_cplx_div_ix() 129 x = (long double)d * b; in _D_cplx_div_ix() 130 y = (long double)c * b; in _D_cplx_div_ix()
|
H A D | _F_cplx_div_ix.c | 74 _F_cplx_div_ix(float b, float _Complex w) in _F_cplx_div_ix() argument 98 j = testinff(b); in _F_cplx_div_ix() 100 b = j; in _F_cplx_div_ix() 102 ((float *)&v)[0] = (b == 0.0f)? b * c : b * d; in _F_cplx_div_ix() 103 ((float *)&v)[1] = b * c; in _F_cplx_div_ix() 107 r = (long double)b / r; in _F_cplx_div_ix() 124 x = (long double)d * b; in _F_cplx_div_ix() 125 y = (long double)c * b; in _F_cplx_div_ix()
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_locks.c | 150 boolean_t b; in _z_acquire_lock() local 182 if (!b) { in _z_acquire_lock() 484 boolean_t b; in _z_lock_zone() local 515 return (b); in _z_lock_zone() 583 boolean_t b; in _z_lock_zone_object() local 657 return (b); in _z_lock_zone_object() 699 boolean_t b; in _z_release_lock() local 728 if (!b) { in _z_release_lock() 798 boolean_t b; in _z_unlock_zone() local 877 boolean_t b; in _z_unlock_zone_object() local [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | bitncmp.c | 43 int x, b; in bitncmp() local 45 b = n / 8; in bitncmp() 46 x = memcmp(l, r, b); in bitncmp() 50 lb = ((const u_char *)l)[b]; in bitncmp() 51 rb = ((const u_char *)r)[b]; in bitncmp() 52 for (b = n % 8; b > 0; b--) { in bitncmp()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/ |
H A D | dll_lib.c | 47 char* b; in dllnames() local 76 *b++ = *t++; in dllnames() 77 *b++ = 0; in dllnames() 85 names->name = b; in dllnames() 86 while (b < e && s < t) in dllnames() 87 *b++ = *s++; in dllnames() 88 *b++ = 0; in dllnames() 89 names->type = b; in dllnames() 90 while (b < e && *++t) in dllnames() 91 *b++ = *t; in dllnames() [all …]
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 64 nss_XbyY_buf_t *b; in gethostbyname() local 66 if ((b = GETBUF()) == 0) in gethostbyname() 68 return (gethostbyname_r(nam, b->result, b->buffer, b->buflen, in gethostbyname() 75 nss_XbyY_buf_t *b; in gethostbyaddr() local 81 if ((b = GETBUF()) == 0) in gethostbyaddr() 84 b->result, b->buffer, b->buflen, &h_errno)); in gethostbyaddr() 90 nss_XbyY_buf_t *b; in gethostent() local 92 if ((b = GETBUF()) == 0) in gethostent() 94 return (gethostent_r(b->result, b->buffer, b->buflen, &h_errno)); in gethostent()
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | constexpr-init.c | 2 static int b[2] = {1, 1}; // OK variable 7 int b[2]; member 20 static struct B i= {.c = 1, .d = {.a = 1, .b = {1, 1}}}; // OK 21 static struct B j= {.c = a, .d = {.a = 1, .b = {1, 1}}}; // KO 22 static struct B k= {.c = 1, .d = {.a = a, .b = {1, 1}}}; // KO 23 static struct B l= {.c = 1, .d = {.a = 1, .b = {a, 1}}}; // KO 24 static struct B m= {.c = 1, .d = {.a = 1, .b = {1, a}}}; // KO 33 int b = a; // OK in r() local 38 static int b = a; // KO in s() local
|
H A D | sm_compare3.c | 5 int a, b, c, d; variable 9 if (b > 1000000000) in main() 12 if (a >= b) in main() 14 if (a < 0 || b < 0) in main() 16 c = b - a; in main() 18 __smatch_compare(b, c); in main() 20 if (e < 0 || e > b) in main() 22 if (f <= 0 || f > b) in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | ast.h | 108 #define conformance(a,b) "ast" argument 111 #define setlocale(a,b) argument 113 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) argument 114 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n)) argument 115 #define strton(s,t,b,f) strtol(s,t,0) argument 116 #define strtonll(s,t,b,f) strtoll(s,t,0) argument 129 #define sfread(f,b,n) fread(b,n,1,f) argument 133 #define sfwrite(f,b,n) fwrite(b,n,1,f) argument
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | notnull.test | 25 b NOT NULL DEFAULT 5, 102 } {1 {t1.b may not be NULL}} 217 UPDATE t1 SET b=null; 220 } {1 {t1.b may not be NULL}} 249 UPDATE t1 SET d=null, a=b, b=a; 257 UPDATE t1 SET e=null, a=b, b=a; 341 } {1 {t1.b may not be NULL}} 456 UPDATE t1 SET b=null; 459 } {1 {t1.b may not be NULL}} 488 UPDATE t1 SET d=null, a=b, b=a; [all …]
|
H A D | join.test | 23 CREATE TABLE t1(a,b,c); 32 CREATE TABLE t2(b,c,d); 44 } {t1.a 1 t1.b 2 t1.c 3 t2.d 4 t1.a 2 t1.b 3 t1.c 4 t2.d 5} 49 } {t2.b 2 t2.c 3 t2.d 4 t1.a 1 t2.b 3 t2.c 4 t2.d 5 t1.a 2} 54 } {t1.a 1 t1.b 2 t1.c 3 t2.d 4 t1.a 2 t1.b 3 t1.c 4 t2.d 5} 59 } {t1.a 1 t1.b 2 t1.c 3 t2.c 3 t2.d 4 t1.a 2 t1.b 3 t1.c 4 t2.c 4 t2.d 5} 64 } {t1.a 1 t1.b 2 t1.c 3 t2.b 2 t2.d 4 t1.a 2 t1.b 3 t1.c 4 t2.b 3 t2.d 5} 69 } {t1.a 1 t1.b 2 t1.c 3 t2.d 4 t1.a 2 t1.b 3 t1.c 4 t2.d 5} 127 } {t1.a 1 t1.b 2 t1.c 3 t2.d 4 t3.e 5 t1.a 2 t1.b 3 t1.c 4 t2.d 5 t3.e 6} 180 SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.d WHERE t2.b IS NULL OR t2.b>1 [all …]
|
H A D | unique.test | 28 b int PRIMARY KEY, 33 do_test unique-1.1b { 37 b int UNIQUE, 44 INSERT INTO t1(a,b,c) VALUES(1,2,3) 61 } {1 {column b is not unique}} 82 CREATE TABLE t2(a int, b int); 83 INSERT INTO t2(a,b) VALUES(1,2); 84 INSERT INTO t2(a,b) VALUES(3,4); 121 SELECT * FROM t2 ORDER BY a, b; 142 b int, [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/qsort/ |
H A D | merge.c | 135 b = f1, t = l1; in mergesort() 139 b = f2, t = l2; in mergesort() 143 while ((b += size) < t && cmp(q, b) >sense) in mergesort() 155 b = p; in mergesort() 163 b = p; in mergesort() 164 while (t > b+size) { in mergesort() 169 b = p; in mergesort() 177 b = p; in mergesort() 178 COPY: b = t; in mergesort() 225 #define swap(a, b) { \ argument [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | pkgadm.h | 47 #define ci_streq(a, b) (strcasecmp((a), (b)) == 0) argument 48 #define ci_strneq(a, b, c) (strncasecmp((a), (b), (c)) == 0) argument 49 #define streq(a, b) (strcmp((a), (b)) == 0) argument 50 #define strneq(a, b, c) (strncmp((a), (b), (c)) == 0) argument
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | glob.sh | 96 touch B b 100 b|B) ignorant=1 ;; 136 test_glob '<bdir/>' b*/ 158 if mkdir a\*b 2>/dev/null 160 touch a\*b/ooo 162 test_glob '<a*b/ooo>' a\*b/* 166 test_glob '<abc>' a[b]c 168 test_glob '<abc>' a[\b]c 178 rm -rf mkdir a\*b 275 FIGNORE='@(.*|*b|*d|?)' [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strncmp.S | 74 b,a .doneq 109 b,a .noteq 124 b,a .doneq 127 b,a .doneq 130 b,a .doneq 133 b,a .doneq 159 b,a .noteq 169 b,a .doneq 172 b,a .doneq 175 b,a .doneq [all …]
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | math.shlib | 29 typeset b=$1 32 # Set $a or $b to $2 such that a >= b 38 typeset p=$(echo "scale=2; $b * 100 / $a" | bc) 83 *B|*b) factor='1024^0' ;; 97 function verify_eq # <a> <b> <type> 100 typeset b=$2 103 if [[ $a -ne $b ]]; then 104 log_fail "Compared $type should be equal: $a != $b" 112 function verify_ne # <a> <b> <type> 115 typeset b=$2 [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_vartree001.sh | 73 typeset a b c d e f 85 IFS='-' read dummy a b c d e f <<<"$i" 92 [[ "$b" == "" ]] && b='-' 100 if [[ "${dest_tree.l1["$a"].l2["$b"]}" == "" ]] ; then 102 typeset -A dest_tree.l1["$a"].l2["$b"].l3 105 if [[ "${!dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[*]}" == "" ]] ; then 106 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries 117 if [[ "${dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}]}" != "" ]] ; then 122 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | times.c | 46 STP_get_times (IN BPDU_BODY_T *b, OUT TIMEVALUES_T *v) in STP_get_times() argument 49 v->MessageAge = ntohs (*((unsigned short*) b->message_age)) >> 8; in STP_get_times() 51 v->MaxAge = ntohs (*((unsigned short*) b->max_age)) >> 8; in STP_get_times() 53 v->ForwardDelay = ntohs (*((unsigned short*) b->forward_delay)) >> 8; in STP_get_times() 55 v->HelloTime = ntohs (*((unsigned short*) b->hello_time)) >> 8; in STP_get_times() 59 STP_set_times (IN TIMEVALUES_T *v, OUT BPDU_BODY_T *b) in STP_set_times() argument 66 STP_SET_TIME(v->MessageAge, b->message_age); in STP_set_times() 67 STP_SET_TIME(v->MaxAge, b->max_age); in STP_set_times() 68 STP_SET_TIME(v->ForwardDelay, b->forward_delay); in STP_set_times() 69 STP_SET_TIME(v->HelloTime, b->hello_time); in STP_set_times()
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | tcp_seq.h | 21 #define SEQ_LT(a, b) ((int32_t)((a)-(b)) < 0) argument 22 #define SEQ_LEQ(a, b) ((int32_t)((a)-(b)) <= 0) argument 23 #define SEQ_GT(a, b) ((int32_t)((a)-(b)) > 0) argument 24 #define SEQ_GEQ(a, b) ((int32_t)((a)-(b)) >= 0) argument
|
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_defines.h | 58 #define DPRINTF2(str, a, b) (void) printf(str, a, b) argument 59 #define DPRINTF3(str, a, b, c) (void) printf(str, a, b, c) argument 60 #define DPRINTF4(str, a, b, c, d) (void) printf(str, a, b, c, d) argument 64 #define DPRINTF2(str, a, b) argument 65 #define DPRINTF3(str, a, b, c) argument 66 #define DPRINTF4(str, a, b, c, d) argument
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | tokscan.c | 78 char* b; in lextok() local 83 q = strtol(s + 1, &b, 10); in lextok() 84 if (*b == ':') in lextok() 95 s = b + 5; in lextok() 96 b = 0; in lextok() 100 b = s; in lextok() 112 s = b; in lextok() 113 b = empty; in lextok() 126 if (b == u) b = s; in lextok() 146 if (b == (s - 1)) b = s; in lextok() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_cidr_ntop.c | 79 int b; in decoct() local 81 for (b = 1; b <= bytes; b++) { in decoct() 86 if (b != bytes) { in decoct() 112 size_t b; in inet_cidr_ntop_ipv4() local 124 for (len = 1, b = 1 ; b < 4U; b++) in inet_cidr_ntop_ipv4() 125 if (*(src + b)) in inet_cidr_ntop_ipv4() 126 len = b + 1; in inet_cidr_ntop_ipv4() 132 b = decoct(src, bytes, dst, size); in inet_cidr_ntop_ipv4() 133 if (b == 0U) in inet_cidr_ntop_ipv4() 135 dst += b; in inet_cidr_ntop_ipv4() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | transition.c | 49 _ast_strtol(const char* a, char** b, int c) in _ast_strtol() argument 51 return strtol(a, b, c); in _ast_strtol() 58 _ast_strtoul(const char* a, char** b, int c) in _ast_strtoul() argument 60 return strtoul(a, b, c); in _ast_strtoul() 67 _ast_strtoll(const char* a, char** b, int c) in _ast_strtoll() argument 69 return strtoll(a, b, c); in _ast_strtoll() 76 _ast_strtoull(const char* a, char** b, int c) in _ast_strtoull() argument 78 return strtoull(a, b, c); in _ast_strtoull()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmbest.c | 98 return vmonlist(TINY(vd)[INDEX(SIZE(b))], b); 117 if((SIZE(b)&BUSY) == 0 || (SIZE(b)&JUNK) == 0) 189 for(; b < endb && rv == 0; b = nextb) 202 if(SELF(b) != b) 206 if(!TINIEST(b) && SEG(b) != seg) 210 if(b != freeb && !vmisfree(vd, b) ) 223 if(ISPFREE(SIZE(b)) && LAST(b) != freeb && 228 if(ISJUNK(SIZE(b)) && !vmisjunk(vd, b)) 743 if(seg && SEG(b) == seg && ISBUSY(SIZE(b)) && !ISJUNK(SIZE(b)) ) 752 { if(ISJUNK(SIZE(b)) || !ISBUSY(SIZE(b))) [all …]
|