Home
last modified time | relevance | path

Searched refs:nwords (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmemory.c157 mpd_qnew_size(mpd_ssize_t nwords) in mpd_qnew_size() argument
161 nwords = (nwords < MPD_MINALLOC) ? MPD_MINALLOC : nwords; in mpd_qnew_size()
168 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_qnew_size()
178 result->alloc = nwords; in mpd_qnew_size()
214 mpd_switch_to_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_switch_to_dyn() argument
218 assert(nwords >= result->alloc); in mpd_switch_to_dyn()
220 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_switch_to_dyn()
231 result->alloc = nwords; in mpd_switch_to_dyn()
243 mpd_switch_to_dyn_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_switch_to_dyn_zero() argument
247 result->data = mpd_calloc(nwords, sizeof *result->data); in mpd_switch_to_dyn_zero()
[all …]
Dmpdecimal.c495 mpd_qresize(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_qresize() argument
501 nwords = (nwords <= MPD_MINALLOC) ? MPD_MINALLOC : nwords; in mpd_qresize()
502 if (nwords == result->alloc) { in mpd_qresize()
506 if (nwords > result->alloc) { in mpd_qresize()
507 return mpd_switch_to_dyn(result, nwords, status); in mpd_qresize()
512 return mpd_realloc_dyn(result, nwords, status); in mpd_qresize()
518 mpd_qresize_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_qresize_zero() argument
524 nwords = (nwords <= MPD_MINALLOC) ? MPD_MINALLOC : nwords; in mpd_qresize_zero()
525 if (nwords != result->alloc) { in mpd_qresize_zero()
527 if (nwords > result->alloc) { in mpd_qresize_zero()
[all …]
/external/vboot_reference/host/lib/
Dutil_misc.c35 uint32_t i, nwords; in vb_keyb_from_rsa() local
49 nwords = BN_num_bits(rsa_private_key->n) / 32; in vb_keyb_from_rsa()
51 bufsize = (2 + nwords + nwords) * sizeof(uint32_t); in vb_keyb_from_rsa()
59 *outbuf++ = nwords; in vb_keyb_from_rsa()
104 for (i = 0; i < nwords; ++i) { in vb_keyb_from_rsa()
115 for (i = 0; i < nwords; ++i) { in vb_keyb_from_rsa()
/external/vboot_reference/utility/
DdumpRSAPublicKey.c42 int i, nwords; in output() local
53 nwords = BN_num_bits(N) / 32; in output()
54 if (-1 == write(1, &nwords, sizeof(nwords))) in output()
98 for (i = 0; i < nwords; ++i) { in output()
110 for (i = 0; i < nwords; ++i) { in output()
/external/mksh/src/
Dedit.c241 x_print_expansions(int nwords, char * const *words, bool is_command) in x_print_expansions() argument
253 (prefix_len = x_longest_prefix(nwords, words)) > 0) { in x_print_expansions()
257 if (nwords == 1) in x_print_expansions()
260 for (i = 0; i < nwords; i++) in x_print_expansions()
265 if (i == nwords) { in x_print_expansions()
270 XPinit(l, nwords + 1); in x_print_expansions()
271 for (i = 0; i < nwords; i++) in x_print_expansions()
389 int nwords; in x_file_glob() local
414 nwords = DOGLOB | DOTILDE | DOMARKDIRS; in x_file_glob()
419 nwords = 0; in x_file_glob()
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Dbitmap.cc81 const size_t nwords = NumWords(nbits_); in FirstUnset() local
82 for (size_t i = start / kBits; i < nwords; i++) { in FirstUnset()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DBitSet.java154 private void setSize(int nwords) { in setSize() argument
155 long newbits[] = new long[nwords]; in setSize()
156 int n = Math.min(nwords, bits.length); in setSize()
/external/u-boot/lib/
Dbch.c179 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8() local
181 for (i = 0; i < nwords; i++, src += 4) in load_ecc8()
184 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8()
185 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8()
195 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8() local
197 for (i = 0; i < nwords; i++) { in store_ecc8()
203 pad[0] = (src[nwords] >> 24); in store_ecc8()
204 pad[1] = (src[nwords] >> 16) & 0xff; in store_ecc8()
205 pad[2] = (src[nwords] >> 8) & 0xff; in store_ecc8()
206 pad[3] = (src[nwords] >> 0) & 0xff; in store_ecc8()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBitSet.cs163 private void SetSize(int nwords) { in SetSize() argument
164 Array.Resize(ref _bits, nwords); in SetSize()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DBitSet.cs183 private void SetSize( int nwords ) in SetSize() argument
185 Array.Resize(ref _bits, nwords); in SetSize()
/external/openssh/
Dmdoc2man.awk44 while(w<nwords) {
/external/antlr/tool/src/main/java/org/antlr/misc/
DBitSet.java410 private void setSize(int nwords) { in setSize() argument
411 long newbits[] = new long[nwords]; in setSize()
412 int n = Math.min(nwords, bits.length); in setSize()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DBitSet.as113 * @param nwords how many words the new set should be
115 private function set size(nwords:int):void {
116 bits.length = nwords;
/external/u-boot/lib/rsa/
Drsa-sign.c627 int nwords = num_bits / 32; in fdt_add_bignum() local
660 size = nwords * sizeof(uint32_t); in fdt_add_bignum()
668 for (ptr = buf + nwords - 1; ptr >= buf; ptr--) { in fdt_add_bignum()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DBitSet.js511 setSize: function(nwords) { argument
512 var n = nwords - this.bits.length;
/external/toybox/toys/pending/
Dtraceroute.c91 int nwords = len >> 1; in in_cksum() local
93 while (nwords-- != 0) sum += *p++; in in_cksum()
/external/libxaac/test/
Dixheaacd_main.c116 int ia_fwrite(pVOID buffer[], int size, int nwords, FILE *fp) { in ia_fwrite() argument
120 for (i = 0; i < nwords; i++) { in ia_fwrite()