Home
last modified time | relevance | path

Searched refs:nums (Results 1 – 22 of 22) sorted by relevance

/freebsd/lib/msun/tests/
H A Dctrig_test.c308 static const long double nums[] = { in ATF_TC_BODY() local
315 for (i = 0; i < nitems(nums); i++) { in ATF_TC_BODY()
317 z = CMPLXL(nums[i], 0.0); in ATF_TC_BODY()
318 test_odd_tol(csinh, z, CMPLXL(sinh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY()
319 test_even_tol(ccosh, z, CMPLXL(cosh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY()
320 test_odd_tol(ctanh, z, CMPLXL(tanh(nums[i]), 0), DBL_ULP()); in ATF_TC_BODY()
321 test_odd_tol(csin, z, CMPLXL(sin(nums[i]), in ATF_TC_BODY()
322 copysign(0, cos(nums[i]))), DBL_ULP()); in ATF_TC_BODY()
323 test_even_tol(ccos, z, CMPLXL(cos(nums[i]), in ATF_TC_BODY()
324 -copysign(0, sin(nums[i]))), DBL_ULP()); in ATF_TC_BODY()
[all …]
H A Dinvctrig_test.c284 static const long double nums[] = { in ATF_TC_BODY() local
290 for (i = 0; i < nitems(nums); i++) { in ATF_TC_BODY()
292 z = CMPLXL(nums[i], 0.0); in ATF_TC_BODY()
293 if (fabsl(nums[i]) <= 1) { in ATF_TC_BODY()
294 testall_tol(cacosh, z, CMPLXL(0.0, acos(nums[i])), 1); in ATF_TC_BODY()
295 testall_tol(cacos, z, CMPLXL(acosl(nums[i]), -0.0), 1); in ATF_TC_BODY()
296 testall_tol(casin, z, CMPLXL(asinl(nums[i]), 0.0), 1); in ATF_TC_BODY()
297 testall_tol(catanh, z, CMPLXL(atanh(nums[i]), 0.0), 1); in ATF_TC_BODY()
300 CMPLXL(acosh(fabsl(nums[i])), in ATF_TC_BODY()
301 (nums[i] < 0) ? pi : 0), 1); in ATF_TC_BODY()
[all …]
/freebsd/crypto/openssl/util/perl/OpenSSL/
H A DOID.pm175 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 Dlibrary.h86 #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)) \
349 bc_vec_grow(&((c)->nums), 1); \
374 BcVec nums; member
H A Dlang.h608 bc_array_init(BcVec* a, bool nums);
/freebsd/contrib/bc/src/
H A Dlibrary.c395 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.len); in bcl_num_free()
624 assert(BCL_NO_GEN(d) < ctxt->nums.len); in bcl_copy()
[all …]
H A Dvector.c240 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 Dlang.c162 bc_array_init(BcVec* a, bool nums) in bc_array_init() argument
167 if (nums) bc_vec_init(a, sizeof(BcNum), BC_DTOR_NUM); in bc_array_init()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dltable.c196 static int computesizes (int nums[], int *narray) { in computesizes() argument
203 if (nums[i] > 0) { in computesizes()
204 a += nums[i]; in computesizes()
218 static int countint (const TValue *key, int *nums) { in countint() argument
221 nums[luaO_ceillog2(k)]++; /* count as such */ in countint()
229 static int numusearray (const Table *t, int *nums) { in numusearray() argument
247 nums[lg] += lc; in numusearray()
254 static int numusehash (const Table *t, int *nums, int *pnasize) { in numusehash() argument
261 ause += countint(gkey(n), nums); in numusehash()
345 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 Dbwstring.c399 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 Dmisc.sh279 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 Dkaratsuba.py96 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 Dmap_test.c286 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 Dlist_test.c272 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 Dltable.c391 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 Dcsky,apb-intc.txt8 - 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/crypto/krb5/src/lib/krb5/unicode/ucdata/
H A Ducgendat.c204 static _num_t *nums; variable
211 static _num_t *nums; variable
739 if (nums[n].numerator == num && nums[n].denominator == denom) in make_number()
745 nums = (_num_t *) malloc(sizeof(_num_t) << 3); in make_number()
747 nums = (_num_t *) realloc((char *) nums, in make_number()
753 nums[n].numerator = num; in make_number()
754 nums[n].denominator = denom; in make_number()
1824 if (nums[i].numerator < 0) { in write_cdata()
1826 nums[i].numerator, nums[i].denominator); in write_cdata()
1829 nums[i].numerator, nums[i].denominator); in write_cdata()
[all …]
/freebsd/contrib/bc/tests/bc/
H A Dtimeconst.sh100 nums=$(printf 'for (i = 0; i <= 1000; ++i) { i }\n' | bc)
103 for i in $nums; do
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_001_pos.ksh64 nums="$head $mid $end"
119 for num in $nums; do
/freebsd/usr.bin/tip/tip/
H A Dcmds.c728 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 Dsequent22 # Symmetry magic nums will not be reached if DOS COM comes before them;
/freebsd/usr.bin/m4/TEST/
H A Dtest.m4104 # include a square_root function for fixed nums