/freebsd/lib/msun/tests/ |
H A D | ctrig_test.c | 305 static const long double nums[] = { in ATF_TC_BODY() local 312 for (i = 0; i < nitems(nums); i++) { in ATF_TC_BODY() 314 z = CMPLXL(nums[i], 0.0); in ATF_TC_BODY() 315 test_odd_tol(csinh, z, CMPLXL(sinh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY() 316 test_even_tol(ccosh, z, CMPLXL(cosh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY() 317 test_odd_tol(ctanh, z, CMPLXL(tanh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY() 318 test_odd_tol(csin, z, CMPLXL(sin(nums[i]), in ATF_TC_BODY() 319 copysign(0, cos(nums[i]))), DBL_ULP()); in ATF_TC_BODY() 320 test_even_tol(ccos, z, CMPLXL(cos(nums[i]), in ATF_TC_BODY() 321 -copysign(0, sin(nums[i]))), DBL_ULP()); in ATF_TC_BODY() [all …]
|
H A D | invctrig_test.c | 272 static const long double nums[] = { in ATF_TC_BODY() local 278 for (i = 0; i < nitems(nums); i++) { in ATF_TC_BODY() 280 z = CMPLXL(nums[i], 0.0); in ATF_TC_BODY() 281 if (fabsl(nums[i]) <= 1) { in ATF_TC_BODY() 282 testall_tol(cacosh, z, CMPLXL(0.0, acos(nums[i])), 1); in ATF_TC_BODY() 283 testall_tol(cacos, z, CMPLXL(acosl(nums[i]), -0.0), 1); in ATF_TC_BODY() 284 testall_tol(casin, z, CMPLXL(asinl(nums[i]), 0.0), 1); in ATF_TC_BODY() 285 testall_tol(catanh, z, CMPLXL(atanh(nums[i]), 0.0), 1); in ATF_TC_BODY() 288 CMPLXL(acosh(fabsl(nums[i])), in ATF_TC_BODY() 289 (nums[i] < 0) ? pi : 0), 1); in ATF_TC_BODY() [all …]
|
/freebsd/crypto/openssl/util/perl/OpenSSL/ |
H A D | OID.pm | 175 return @{$name2oid{$a}->{nums}} if $a ne '' && defined $name2oid{$a}; 219 my @nums = parse_oid @_; 222 my $str1 = join(',', @nums); 223 my $str2 = join(',', @{$name2oid{$name}->{nums}}); 228 $name2oid{$name} = { type => 'leaf', nums => [ @nums ] };
|
/freebsd/contrib/bc/include/ |
H A D | library.h | 86 #define BCL_NUM(c, n) ((BclNum*) bc_vec_item(&(c)->nums, BCL_NO_GEN(n))) 119 if ((c)->nums.len <= idx_) \ 175 #define BCL_NUM(c, n) ((BclNum*) bc_vec_item(&(c)->nums, (n).i)) 300 if (BC_ERR(no_gen_ >= (c)->nums.len)) \ 326 if (BC_ERR(no_gen_ >= (c)->nums.len)) \ 341 * Grows the context's nums array if necessary. 349 bc_vec_grow(&((c)->nums), 1); \ 374 BcVec nums; member 376 /// A vector of BclNumbers. These are the indices in nums that are currently
|
H A D | lang.h | 595 * manuals/development.md#execution, for more information), the @a nums 597 * arrays of numbers. If the latter, it does a recursive call with nums set to 600 * @param nums True if the array should be for numbers, false if it should be 604 bc_array_init(BcVec* a, bool nums);
|
/freebsd/contrib/bc/src/ |
H A D | library.c | 395 bc_vec_init(&ctxt->nums, sizeof(BclNum), BC_DTOR_BCL_NUM); in bcl_ctxt_create() 406 if (ctxt->nums.v != NULL) bc_vec_free(&ctxt->nums); in bcl_ctxt_create() 420 bc_vec_free(&ctxt->nums); in bcl_ctxt_free() 427 bc_vec_popAll(&ctxt->nums); in bcl_ctxt_freeNums() 483 if (n.i >= ctxt->nums.len) in bcl_err() 512 ptr = bc_vec_item(&ctxt->nums, idx.i); in bcl_num_insert() 537 idx.i = ctxt->nums.len; in bcl_num_insert() 538 bc_vec_push(&ctxt->nums, n); in bcl_num_insert() 601 assert(BCL_NO_GEN(n) < ctxt->nums in bcl_num_free() [all...] |
H A D | vector.c | 240 uchar amt, nums[sizeof(size_t) + 1]; in bc_vec_pushIndex() local 248 nums[amt + 1] = (uchar) idx; in bc_vec_pushIndex() 253 nums[0] = amt; in bc_vec_pushIndex() 256 bc_vec_npush(v, amt + 1, nums); in bc_vec_pushIndex()
|
H A D | lang.c | 161 bc_array_init(BcVec* a, bool nums) in bc_array_init() argument 166 if (nums) bc_vec_init(a, sizeof(BcNum), BC_DTOR_NUM); in bc_array_init()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | ltable.c | 195 static int computesizes (int nums[], int *narray) { in computesizes() argument 202 if (nums[i] > 0) { in computesizes() 203 a += nums[i]; in computesizes() 217 static int countint (const TValue *key, int *nums) { in countint() argument 220 nums[luaO_ceillog2(k)]++; /* count as such */ in countint() 228 static int numusearray (const Table *t, int *nums) { in numusearray() argument 246 nums[lg] += lc; in numusearray() 253 static int numusehash (const Table *t, int *nums, int *pnasize) { in numusehash() argument 260 ause += countint(gkey(n), nums); in numusehash() 344 int nums[MAXBITS+1]; /* nums[i] = number of keys with 2^(i-1) < k <= 2^i */ in rehash() local [all …]
|
/freebsd/usr.bin/sort/ |
H A D | bwstring.c | 399 size_t nums = BWSLEN(src) - offset; in bwsnocpy() local 401 if (nums > BWSLEN(dst)) in bwsnocpy() 402 nums = BWSLEN(dst); in bwsnocpy() 403 if (nums > size) in bwsnocpy() 404 nums = size; in bwsnocpy() 406 memcpy(dst->cdata.str, src->cdata.str + offset, nums); in bwsnocpy() 407 dst->cdata.len = nums; in bwsnocpy() 408 dst->cdata.str[nums] = '\0'; in bwsnocpy() 411 SIZEOF_WCHAR_STRING(nums)); in bwsnocpy() 412 dst->wdata.len = nums; in bwsnocpy() [all …]
|
/freebsd/tools/regression/zfs/ |
H A D | misc.sh | 279 for i in `nums $n $start`; do 288 for i in `nums $ndisks 0`; do 338 for i in `nums $n $start`; do 355 for i in `nums $nfiles 0`; do 372 for i in `nums $nnames 0`; do 394 nums() function 424 for i in `nums 64`; do
|
/freebsd/contrib/bc/scripts/ |
H A D | karatsuba.py | 96 nums = [] variable 230 nums.append(i) 237 nums = nums[0:i] variable 244 opt = nums[times.index(min(times))]
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | map_test.c | 286 int nums[10]; in ATF_TC_BODY() local 302 nums[i] = i + 1; in ATF_TC_BODY() 303 snprintf(keys[i], sizeof(keys[i]), "%d", nums[i]); in ATF_TC_BODY() 304 RE(atf_map_insert(&map, keys[i], &nums[i], false)); in ATF_TC_BODY() 327 int nums[10]; in ATF_TC_BODY() local 343 nums[i] = i + 1; in ATF_TC_BODY() 344 snprintf(keys[i], sizeof(keys[i]), "%d", nums[i]); in ATF_TC_BODY() 345 RE(atf_map_insert(&map, keys[i], &nums[i], false)); in ATF_TC_BODY()
|
H A D | list_test.c | 272 int nums[10]; in ATF_TC_BODY() local 288 nums[i] = i + 1; in ATF_TC_BODY() 289 RE(atf_list_append(&list, &nums[i], false)); in ATF_TC_BODY() 311 int nums[10]; in ATF_TC_BODY() local 327 nums[i] = i + 1; in ATF_TC_BODY() 328 RE(atf_list_append(&list, &nums[i], false)); in ATF_TC_BODY()
|
/freebsd/contrib/lua/src/ |
H A D | ltable.c | 391 static unsigned int computesizes (unsigned int nums[], unsigned int *pna) { in computesizes() argument 401 a += nums[i]; in computesizes() 413 static int countint (lua_Integer key, unsigned int *nums) { in countint() argument 416 nums[luaO_ceillog2(k)]++; /* count as such */ in countint() 429 static unsigned int numusearray (const Table *t, unsigned int *nums) { in numusearray() argument 449 nums[lg] += lc; in numusearray() 456 static int numusehash (const Table *t, unsigned int *nums, unsigned int *pna) { in numusehash() argument 464 ause += countint(keyival(n), nums); in numusehash() 601 unsigned int nums[MAXABITS + 1]; in rehash() local 604 for (i = 0; i <= MAXABITS; i++) nums[i] = 0; /* reset counts */ in rehash() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | csky,apb-intc.txt | 8 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. 9 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. 10 - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums.
|
/freebsd/contrib/bc/tests/bc/ |
H A D | timeconst.sh | 97 nums=$(printf 'for (i = 0; i <= 1000; ++i) { i }\n' | bc) 100 for i in $nums; do
|
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
H A D | zfs_acl_chmod_rwx_001_pos.ksh | 64 nums="$head $mid $end" 119 for num in $nums; do
|
/freebsd/usr.bin/tip/tip/ |
H A D | cmds.c | 728 int nums[3]; in prtime() local 731 nums[i] = (int)(a % quant[i]); in prtime() 736 if (nums[i] || (i == 0 && nums[1] == 0 && nums[2] == 0)) in prtime() 737 printf("%d %s%c ", nums[i], sep[i], in prtime() 738 nums[i] == 1 ? '\0' : 's'); in prtime()
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | sequent | 22 # Symmetry magic nums will not be reached if DOS COM comes before them;
|
/freebsd/usr.bin/m4/TEST/ |
H A D | test.m4 | 104 # include a square_root function for fixed nums
|