/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | ilogb.c | 75 int *px = (int *) &x, k = px[HIWORD] & ~0x80000000; in ilogb() local 77 if (k < 0x00100000) { in ilogb() 78 if ((px[LOWORD] | k) == 0) in ilogb() 85 return (ilogb_subnormal(k, px[LOWORD])); in ilogb() 88 } else if (k < 0x7ff00000) in ilogb() 89 return ((k >> 20) - 1023); in ilogb()
|
H A D | exp2.c | 62 int ix, hx, k; in exp2() local 84 k = (int)x; in exp2() 85 if (x != (double)k) in exp2() 86 k = (int)((ix < 0)? x - half : x + half); in exp2() 87 return (scalbn(exp(ln2 * (x - (double)k)), k)); in exp2()
|
H A D | pow.c | 164 int sbx, sby, j, k, yisint; in pow() local 206 if (k > 20) { in pow() 207 j = ly >> (52 - k); in pow() 208 if ((j << (52 - k)) == ly) in pow() 211 j = ahy >> (20 - k); in pow() 212 if ((j << (20 - k)) == ahy) in pow() 327 j = k & 63; in pow() 333 k >>= 6; in pow() 334 if (k < -1021) in pow() 335 z = scalbn(z, k); in pow() [all …]
|
H A D | exp.c | 288 int hx, ix, k, j, m; in exp() local 313 k = hx >> 20; in exp() 314 j = (0x00100000 | (hx & 0x000fffff)) >> (0x40c - k); in exp() 342 k = (int)t; in exp() 343 j = (k & 0x1f) << 1; in exp() 344 m = k >> 5; in exp() 345 z = (x - k * ln2_32hi) - k * ln2_32lo; in exp()
|
H A D | sincospi.c | 90 int n, ix, k; in sincospi() local 138 k = z == y; in sincospi() 142 k = 50 - n; in sincospi() 143 n = lx >> k; in sincospi() 144 h = n << k; in sincospi() 147 k = h == lx; in sincospi() 150 if (k) { /* x = N/4 */ in sincospi()
|
H A D | __rem_pio2m.c | 170 int i, j, k, m, q0, ih; in __rem_pio2m() local 266 for (k = 1; iq[jk-k] == 0; k++) in __rem_pio2m() 270 for (i = jz + 1; i <= jz + k; i++) { in __rem_pio2m() 276 jz += k; in __rem_pio2m() 311 for (fw = zero, k = 0; k <= jp && k <= jz - i; k++) in __rem_pio2m() 312 fw += pio2[k] * q[i+k]; in __rem_pio2m()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_fs_001.ksh | 115 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/payload bs=1k count=8 119 log_must mkfile 1k /$TESTPOOL/$TESTFS/small_file 133 log_must mkfile 4k /$TESTPOOL/$TESTFS/truncated_file 138 bs=128k count=64 oflag=sync 141 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.1 bs=128k count=8 142 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.1 bs=128k count=2 144 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.2 bs=128k count=8 145 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.2 bs=128k count=2 seek=2 147 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.3 bs=128k count=8 148 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.3 bs=128k count=2 \ [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | btree3.test | 46 for {set k 2} {$k<=10} {incr k} { 47 for {set j 1} {$j<=$k} {incr j} { 51 for {set i 1} {$i<=$k} {incr i} { 53 do_test btree3-$k.$j.1.$i { 58 do_test btree3-$k.$j.2 { 62 do_test btree3-$k.$j.3 { 65 if {$j<$k} { 66 do_test btree3-$k.$j.4 { 72 do_test btree3-$k.$j.5 {
|
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | ipp_types.c | 278 is_keyword(char *k) in is_keyword() argument 281 if (*k < 'a' && *k > 'z') in is_keyword() 283 while (*(++k) != '\0') in is_keyword() 284 if (*k < 'a' && *k > 'z' && *k < '0' && *k > '9' && in is_keyword() 285 *k != '.' && *k != '_' && *k != '-') in is_keyword()
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lparser.h | 37 #define vkisvar(k) (VLOCAL <= (k) && (k) <= VINDEXED) argument 38 #define vkisinreg(k) ((k) == VNONRELOC || (k) == VLOCAL) argument 41 expkind k; member
|
/illumos-gate/usr/src/cmd/crypt/ |
H A D | crypt.c | 54 int ic, i, k, temp; local 83 k = ROTORSZ-1 - i; 84 ic = (random&MASK)%(k+1); 86 temp = t1[k]; 87 t1[k] = t1[ic]; 89 if (t3[k] != 0) continue; 90 ic = (random&MASK) % k; 91 while (t3[ic] != 0) ic = (ic+1) % k; 92 t3[k] = ic; 93 t3[ic] = k;
|
/illumos-gate/usr/src/cmd/more/ |
H A D | more.help | 2 Most commands optionally preceded by integer argument k. Defaults in brackets. 5 <space> Display next k lines of text [current screen size] 6 z Display next k lines of text [current screen size]* 7 <return> Display next k lines of text [1]* 8 d or ctrl-D Scroll k lines [current scroll size, initially 11]* 10 s Skip forward k lines of text [1] 11 f Skip forward k screenfuls of text [1] 12 b or ctrl-B Skip backwards k screenfuls of text [1]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ptrmap.h | 10 void name##_add(struct name **map, ktype k, vtype v) { \ 11 __ptrmap_add((struct ptrmap**)map, k, v); \ 14 void name##_update(struct name **map, ktype k, vtype v) { \ 15 __ptrmap_update((struct ptrmap**)map, k, v); \ 18 vtype name##_lookup(struct name *map, ktype k) { \ 19 vtype val = __ptrmap_lookup((struct ptrmap*)map, k); \
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | printResult.c | 31 int j, k; in _printEntry() local 39 for (k = 0; (k < entry->attr_pair[j]->value_count) && in _printEntry() 40 (entry->attr_pair[j]->attrvalue[k]); k++) in _printEntry() 42 entry->attr_pair[j]->attrvalue[k]); in _printEntry()
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_wep.c | 104 wep_detach(struct ieee80211_key *k) in wep_detach() argument 106 struct wep_ctx *ctx = k->wk_private; in wep_detach() 113 wep_setkey(struct ieee80211_key *k) in wep_setkey() argument 119 return (k->wk_keylen == 40/NBBY || k->wk_keylen == 104/NBBY); in wep_setkey() 128 struct wep_ctx *ctx = k->wk_private; in wep_encap() 168 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && in wep_encap() 169 (wep_encrypt(k, mp, hdrlen) == 0)) in wep_encap() 188 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && in wep_decap() 189 (wep_decrypt(k, mp, hdrlen) == 0)) { in wep_decap() 209 wep_enmic(struct ieee80211_key *k, mblk_t *mp, int force) in wep_enmic() argument [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | hunt2.c | 38 long k; in doquery() local 143 k = getl(fb); in doquery() 145 k = getw(fb); in doquery() 146 if (k == -1) break; in doquery() 154 j, nf, prevdrop.b[j], (long)(k)); in doquery() 168 (long)(k)); in doquery() 174 (long)(k)); in doquery() 204 master.b[g] = k; in doquery() 206 master.a[g] = k; in doquery() 223 master.b[g] = k; in doquery() [all …]
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | blocksort.c | 269 k = fmap[i] - H; if (k < 0) k += nblock; in fallbackSort() 279 while (ISSET_BH(k) && UNALIGNED_BH(k)) k++; in fallbackSort() 281 while (WORD_BH(k) == 0xffffffff) k += 32; in fallbackSort() 282 while (ISSET_BH(k)) k++; in fallbackSort() 286 while (!ISSET_BH(k) && UNALIGNED_BH(k)) k++; in fallbackSort() 288 while (WORD_BH(k) == 0x00000000) k += 32; in fallbackSort() 289 while (!ISSET_BH(k)) k++; in fallbackSort() 354 Int32 k; in mainGtU() local 463 k -= 8; in mainGtU() 924 k = ptr[j]-1; if (k < 0) k += nblock; in mainSort() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | printf.c | 151 int k; in _print() local 540 k = 0; in _print() 550 ++k; in _print() 569 ++k; in _print() 601 k = prec; in _print() 604 if (n < k) { in _print() 605 k = n; in _print() 607 while (k >= 1 && bp[k-1] == '0') { in _print() 608 --k; in _print() 613 prec = k - 1; in _print() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmxdate.c | 180 int k; in tmxdate() local 611 if (k) in tmxdate() 620 if (k) in tmxdate() 632 if (k) in tmxdate() 728 k = 1; in tmxdate() 729 else if (*++t && dig1(t, k) < 1 || k > 7) in tmxdate() 765 if (dig2(t, k) < 1 || k > 31) in tmxdate() 921 else if (dig2(s, k) < 1 || k > 31) in tmxdate() 1046 if (i > k || i == k && j > l) in tmxdate() 1049 else if (i < k || i == k && j < l) in tmxdate() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | Waddress-space-from.c | 11 static void expl(obj_t __kernel *k, obj_t __iomem *o, in expl() argument 15 (__UINTPTR_TYPE__)(k); // OK in expl() 16 (unsigned long)(k); // OK in expl() 17 (void *)(k); // OK in expl() 18 (obj_t*)(k); // OK in expl() 19 (obj_t __kernel*)(k); // OK in expl()
|
H A D | Waddress-space-all-attr.c | 12 static void expl(obj_t __kernel *k, obj_t __iomem *o, in expl() argument 16 (ulong)(k); (__UINTPTR_TYPE__)(k); in expl() 17 (void *)(k); in expl() 18 (obj_t*)(k); in expl() 19 (obj_t __kernel*)(k); in expl()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | log1p.c | 124 int k; variable 135 k=(int)logb(one+x); z=scalb(x,-k); t=scalb(one,-k); 137 { k += 1 ; z *= half; t *= half; } 143 c += (k*ln2lo-c*x); 147 return(k*ln2hi+x);
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_crypt.c | 116 int ic, i, k, temp; in c_setup() local 140 k = ROTORSIZE-1 - i; in c_setup() 141 ic = (random&MASK)%(k+1); in c_setup() 143 temp = t1[k]; in c_setup() 144 t1[k] = t1[ic]; in c_setup() 146 if (t3[k] != 0) continue; in c_setup() 147 ic = (random&MASK) % k; in c_setup() 148 while (t3[ic] != 0) ic = (ic + 1) % k; in c_setup() 149 t3[k] = ic; in c_setup() 150 t3[ic] = k; in c_setup()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mbcharlen.c | 43 int n, m, k, ty; in mbcharlen() local 52 for (sp += 1, k = 1; *sp != '\0' && k <= m; ++k, in mbcharlen() 58 if (k <= m) in mbcharlen()
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_algs.c | 168 #define EXCHANGE(j, k) \ argument 171 mask = (uint64_t)(((int64_t)(data[k] - data[j])) >> 63); \ 172 tmp = data[j] + data[k]; \ 173 data[j] = data[k] & mask | data[j] & ~mask; \ 174 data[k] = tmp - data[j]; \ 177 #define EXCHANGE(j, k) \ argument 180 if (data[j] > data[k]) { \ 182 data[j] = data[k]; \ 183 data[k] = tmp; \
|