Home
last modified time | relevance | path

Searched refs:nwords (Results 1 - 15 of 15) sorted by relevance

/third_party/python/Modules/_decimal/libmpdec/
H A Dmpalloc.c151 /* Allocate a new decimal with a coefficient of length 'nwords'. In case
154 mpd_qnew_size(mpd_ssize_t nwords) in mpd_qnew_size() argument
158 nwords = (nwords < MPD_MINALLOC) ? MPD_MINALLOC : nwords; in mpd_qnew_size()
165 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_qnew_size()
175 result->alloc = nwords; in mpd_qnew_size()
204 * Assumption: 'nwords' >= result->alloc.
211 mpd_switch_to_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_switch_to_dyn() argument
215 assert(nwords > in mpd_switch_to_dyn()
240 mpd_switch_to_dyn_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) mpd_switch_to_dyn_zero() argument
275 mpd_realloc_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) mpd_realloc_dyn() argument
304 mpd_switch_to_dyn_cxx(mpd_t *result, mpd_ssize_t nwords) mpd_switch_to_dyn_cxx() argument
335 mpd_realloc_dyn_cxx(mpd_t *result, mpd_ssize_t nwords) mpd_realloc_dyn_cxx() argument
[all...]
H A Dmpalloc.h42 int mpd_switch_to_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status);
43 int mpd_switch_to_dyn_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status);
44 int mpd_realloc_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status);
46 int mpd_switch_to_dyn_cxx(mpd_t *result, mpd_ssize_t nwords);
47 int mpd_realloc_dyn_cxx(mpd_t *result, mpd_ssize_t nwords);
H A Dmpdecimal.c475 * Resize the coefficient. Existing data up to 'nwords' is left untouched.
480 * Case nwords == result->alloc:
483 * Case nwords > result->alloc:
489 * Case nwords < result->alloc:
499 mpd_qresize(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_qresize() argument
505 nwords = (nwords <= MPD_MINALLOC) ? MPD_MINALLOC : nwords; in mpd_qresize()
506 if (nwords == result->alloc) { in mpd_qresize()
510 if (nwords > resul in mpd_qresize()
521 mpd_qresize_cxx(mpd_t *result, mpd_ssize_t nwords) mpd_qresize_cxx() argument
544 mpd_qresize_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) mpd_qresize_zero() argument
589 mpd_resize(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx) mpd_resize() argument
600 mpd_resize_zero(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx) mpd_resize_zero() argument
[all...]
H A Dmpdecimal.h827 mpd_t *mpd_qnew_size(mpd_ssize_t nwords);
831 EXTINLINE int mpd_qresize(mpd_t *result, mpd_ssize_t nwords, uint32_t *status);
832 EXTINLINE int mpd_qresize_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status);
835 int mpd_resize(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx);
836 int mpd_resize_zero(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx);
/third_party/mksh/
H A Dedit.c246 x_print_expansions(int nwords, char * const *words, bool is_command) in x_print_expansions() argument
258 (prefix_len = x_longest_prefix(nwords, words)) > 0) { in x_print_expansions()
262 if (nwords == 1) in x_print_expansions()
265 for (i = 0; i < nwords; i++) in x_print_expansions()
270 if (i == nwords) { in x_print_expansions()
275 XPinit(l, nwords + 1); in x_print_expansions()
276 for (i = 0; i < nwords; i++) in x_print_expansions()
394 int nwords; in x_file_glob() local
419 nwords = DOGLOB | DOTILDE | DOMARKDIRS; in x_file_glob()
424 nwords in x_file_glob()
489 size_t nwords; x_command_glob() local
621 int len, nwords = 0; x_cf_glob() local
706 x_longest_prefix(int nwords, char * const * words) x_longest_prefix() argument
730 x_free_words(int nwords, char **words) x_free_words() argument
2780 int start, end, nwords, i; x_expand() local
2814 int start, end, nlen, olen, nwords; do_complete() local
5361 int rval = 0, nwords, start, end, i; expand_word() local
5414 int rval, nwords, start, end, flags; complete_word() local
5529 int start, end, nwords, i; print_expansions() local
[all...]
/third_party/toybox/porting/liteos_a/toys/net/
H A Dping.c71 int nwords = len >> 1; in pingchksum() local
73 while (nwords-- != 0) sum += *data++; in pingchksum()
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_lib.c823 * nwords is the number of words to swap.
824 * Assumes that at least nwords are allocated in both a and b.
825 * Assumes that no more than nwords are used by either a or b.
827 void BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords) in BN_consttime_swap() argument
835 bn_wcheck_size(a, nwords); in BN_consttime_swap()
836 bn_wcheck_size(b, nwords); in BN_consttime_swap()
877 for (i = 0; i < nwords; i++) { in BN_consttime_swap()
/third_party/openssl/crypto/bn/
H A Dbn_lib.c823 * nwords is the number of words to swap.
824 * Assumes that at least nwords are allocated in both a and b.
825 * Assumes that no more than nwords are used by either a or b.
827 void BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords) in BN_consttime_swap() argument
835 bn_wcheck_size(a, nwords); in BN_consttime_swap()
836 bn_wcheck_size(b, nwords); in BN_consttime_swap()
877 for (i = 0; i < nwords; i++) { in BN_consttime_swap()
/third_party/backends/lib/
H A Dmd5.c305 size_t nwords = len / sizeof (md5_uint32); in md5_process_block() local
306 const md5_uint32 *endp = words + nwords; in md5_process_block()
/third_party/toybox/toys/pending/
H A Dtraceroute.c91 int nwords = len >> 1; in in_cksum() local
93 while (nwords-- != 0) sum += *p++; in in_cksum()
/third_party/tzdata/
H A Dzic.c1240 static int nwords; in get_rand_u64() local
1241 if (!nwords) { in get_rand_u64()
1247 nwords = s < 0 ? -1 : s / sizeof *entropy_buffer; in get_rand_u64()
1249 if (0 < nwords) in get_rand_u64()
1250 return entropy_buffer[--nwords]; in get_rand_u64()
/third_party/openssl/ohos_lite/include/openssl/
H A Dbn.h323 void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dbn.h352 void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
/third_party/openssl/include/openssl/
H A Dbn.h352 void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_meta_copy.c1860 unsigned nwords = size / sizeof(uint32_t); in panvk_meta_fill_buf() local
1875 struct pan_compute_dim num_wg = { nwords, 1, 1 }; in panvk_meta_fill_buf()

Completed in 25 milliseconds