/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bytes.c | 66 size_t num_words; in BN_bin2bn() local 84 num_words = ((len - 1) / BN_BYTES) + 1; in BN_bin2bn() 86 if (!bn_wexpand(ret, num_words)) { in BN_bin2bn() 95 assert(num_words <= INT_MAX); in BN_bin2bn() 96 ret->width = (int)num_words; in BN_bin2bn() 102 ret->d[--num_words] = word; in BN_bin2bn() 129 size_t num_words = ((len - 1) / BN_BYTES) + 1; in BN_le2bn() local 130 if (!bn_wexpand(ret, num_words)) { in BN_le2bn() 134 ret->width = num_words; in BN_le2bn() 137 ret->d[num_words - 1] = 0; in BN_le2bn()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | bytes.c | 66 size_t num_words; in BN_bin2bn() local 84 num_words = ((len - 1) / BN_BYTES) + 1; in BN_bin2bn() 86 if (!bn_wexpand(ret, num_words)) { in BN_bin2bn() 95 assert(num_words <= INT_MAX); in BN_bin2bn() 96 ret->width = (int)num_words; in BN_bin2bn() 102 ret->d[--num_words] = word; in BN_bin2bn() 129 size_t num_words = ((len - 1) / BN_BYTES) + 1; in BN_le2bn() local 130 if (!bn_wexpand(ret, num_words)) { in BN_le2bn() 134 ret->width = num_words; in BN_le2bn() 137 ret->d[num_words - 1] = 0; in BN_le2bn()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | tileset.h | 60 size_t num_words = (m_maxSet + BITS_OFFSET) / BITS_PER_WORD; in clear() local 61 memset(m_bits, 0, sizeof(size_t) * num_words); in clear() 84 size_t num_words = new_size / BITS_PER_WORD; in _grow() local 85 size_t* newBits = (size_t*)AlignedMalloc(sizeof(size_t) * num_words, 64); in _grow() 91 num_words -= copy_words; in _grow() 100 memset(&m_bits[copy_words], 0, sizeof(size_t) * num_words); in _grow()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/ |
D | binary.cpp | 84 spv_result_t parse(const uint32_t* words, size_t num_words, 154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic() 165 assert(index < _.num_words); in peekAt() 189 num_words(num_words_arg), in State() 203 size_t num_words; // Number of words in the module. member 229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words, in parse() argument 231 _ = State(words, num_words, diagnostic_arg); in parse() 244 if (_.num_words < SPV_INDEX_INSTRUCTION) in parseModule() 245 return diagnostic() << "Module has incomplete header: only " << _.num_words in parseModule() 249 spv_const_binary_t binary{_.words, _.num_words}; in parseModule() [all …]
|
D | parsed_operand.cpp | 29 if (operand.num_words < 1) return; in EmitNumericLiteral() 31 if (operand.num_words > 2) return; in EmitNumericLiteral() 34 if (operand.num_words == 1) { in EmitNumericLiteral() 54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | binary.cpp | 84 spv_result_t parse(const uint32_t* words, size_t num_words, 154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic() 165 assert(index < _.num_words); in peekAt() 189 num_words(num_words_arg), in State() 203 size_t num_words; // Number of words in the module. member 229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words, in parse() argument 231 _ = State(words, num_words, diagnostic_arg); in parse() 244 if (_.num_words < SPV_INDEX_INSTRUCTION) in parseModule() 245 return diagnostic() << "Module has incomplete header: only " << _.num_words in parseModule() 249 spv_const_binary_t binary{_.words, _.num_words}; in parseModule() [all …]
|
D | parsed_operand.cpp | 29 if (operand.num_words < 1) return; in EmitNumericLiteral() 31 if (operand.num_words > 2) return; in EmitNumericLiteral() 34 if (operand.num_words == 1) { in EmitNumericLiteral() 54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | binary.cpp | 84 spv_result_t parse(const uint32_t* words, size_t num_words, 154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic() 165 assert(index < _.num_words); in peekAt() 189 num_words(num_words_arg), in State() 203 size_t num_words; // Number of words in the module. member 229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words, in parse() argument 231 _ = State(words, num_words, diagnostic_arg); in parse() 244 if (_.num_words < SPV_INDEX_INSTRUCTION) in parseModule() 245 return diagnostic() << "Module has incomplete header: only " << _.num_words in parseModule() 249 spv_const_binary_t binary{_.words, _.num_words}; in parseModule() [all …]
|
D | parsed_operand.cpp | 29 if (operand.num_words < 1) return; in EmitNumericLiteral() 31 if (operand.num_words > 2) return; in EmitNumericLiteral() 34 if (operand.num_words == 1) { in EmitNumericLiteral() 54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
|
/external/tensorflow/tensorflow/python/keras/datasets/ |
D | reuters.py | 33 num_words=None, argument 109 num_words = kwargs.pop('nb_words') 136 if not num_words: 137 num_words = max(max(x) for x in xs) 143 xs = [[w if skip_top <= w < num_words else oov_char for w in x] for x in xs] 145 xs = [[w for w in x if skip_top <= w < num_words] for x in xs]
|
D | imdb.py | 33 num_words=None, argument 102 num_words = kwargs.pop('nb_words') 145 if not num_words: 146 num_words = max(max(x) for x in xs) 153 [w if (skip_top <= w < num_words) else oov_char for w in x] for x in xs 156 xs = [[w for w in x if skip_top <= w < num_words] for x in xs]
|
/external/libhevc/common/ |
D | ihevc_mem_fns.c | 147 void ihevc_memset_16bit(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ihevc_memset_16bit() argument 150 for(i = 0; i < num_words; i++) in ihevc_memset_16bit() 158 void ihevc_memset_16bit_mul_8(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ihevc_memset_16bit_mul_8() argument 161 for(i = 0; i < num_words; i++) in ihevc_memset_16bit_mul_8()
|
/external/libavc/common/ |
D | ih264_mem_fns.c | 157 void ih264_memset_16bit(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ih264_memset_16bit() argument 160 for(i = 0; i < num_words; i++) in ih264_memset_16bit() 168 UWORD32 num_words) in ih264_memset_16bit_mul_8() argument 171 for(i = 0; i < num_words; i++) in ih264_memset_16bit_mul_8()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | bitmap.cc | 24 const size_t num_words = NumWords(n); in Reset() local 25 if (num_words != NumWords(nbits_)) { in Reset() 27 Word* w = new Word[num_words]; in Reset() 31 memset(word_, 0, sizeof(word_[0]) * num_words); in Reset()
|
/external/icing/icing/legacy/index/ |
D | icing-flash-bitmap.cc | 59 size_t num_words() const { return data_size() / sizeof(Word); } in num_words() function in icing::lib::IcingFlashBitmap::Accessor 295 if (word_offset >= accessor.num_words()) { in SetBit() 337 if (idx >= accessor.num_words()) { in GetWord() 353 return Accessor(mmapper_.get()).num_words(); in NumWords() 366 size_t num_words = accessor.num_words(); in Truncate() local 369 if (word_offset >= num_words) { in Truncate() 381 if (last_word_offset < num_words) { in Truncate() 383 (num_words - last_word_offset) * sizeof(Word)); in Truncate()
|
/external/boringssl/src/crypto/ec_extra/ |
D | hash_to_curve.c | 157 static void big_endian_to_words(BN_ULONG *out, size_t num_words, in big_endian_to_words() argument 159 assert(len <= num_words * sizeof(BN_ULONG)); in big_endian_to_words() 161 OPENSSL_memset(out, 0, num_words * sizeof(BN_ULONG)); in big_endian_to_words() 182 size_t num_words = 2 * group->field.width; in hash_to_field2() local 183 big_endian_to_words(words, num_words, buf, L); in hash_to_field2() 184 group->meth->felem_reduce(group, out1, words, num_words); in hash_to_field2() 185 big_endian_to_words(words, num_words, buf + L, L); in hash_to_field2() 186 group->meth->felem_reduce(group, out2, words, num_words); in hash_to_field2() 203 size_t num_words = 2 * group->order.width; in hash_to_scalar() local 204 big_endian_to_words(words, num_words, buf, L); in hash_to_scalar() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate.cpp | 155 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState() argument 158 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState() 199 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 205 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 380 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument 389 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState() 392 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState() 406 const uint32_t* words, const size_t num_words, in spvValidateBinary() argument 419 words, num_words, in spvValidateBinary() 424 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate.cpp | 155 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState() argument 158 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState() 199 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 205 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 380 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument 389 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState() 392 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState() 406 const uint32_t* words, const size_t num_words, in spvValidateBinary() argument 419 words, num_words, in spvValidateBinary() 424 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate.cpp | 156 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState() argument 159 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState() 200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 381 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument 390 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState() 393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState() 407 const uint32_t* words, const size_t num_words, in spvValidateBinary() argument 420 words, num_words, in spvValidateBinary() 425 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
|
/external/arm-trusted-firmware/plat/ti/k3/common/drivers/sec_proxy/ |
D | sec_proxy.c | 221 int num_words, trail_bytes, i, ret; in k3_sec_proxy_send() local 246 num_words = msg->len / sizeof(uint32_t); in k3_sec_proxy_send() 247 for (i = 0; i < num_words; i++) { in k3_sec_proxy_send() 295 int num_words, trail_bytes, i, ret; in k3_sec_proxy_recv() local 309 num_words = msg->len / sizeof(uint32_t); in k3_sec_proxy_recv() 310 for (i = 0; i < num_words; i++) { in k3_sec_proxy_recv()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/ec_extra/ |
D | hash_to_curve.c | 161 static void big_endian_to_words(BN_ULONG *out, size_t num_words, in big_endian_to_words() argument 163 assert(len <= num_words * sizeof(BN_ULONG)); in big_endian_to_words() 165 OPENSSL_memset(out, 0, num_words * sizeof(BN_ULONG)); in big_endian_to_words() 187 size_t num_words = 2 * group->field.width; in hash_to_field2() local 188 big_endian_to_words(words, num_words, buf, L); in hash_to_field2() 189 group->meth->felem_reduce(group, out1, words, num_words); in hash_to_field2() 190 big_endian_to_words(words, num_words, buf + L, L); in hash_to_field2() 191 group->meth->felem_reduce(group, out2, words, num_words); in hash_to_field2() 209 size_t num_words = 2 * group->order.width; in hash_to_scalar() local 210 big_endian_to_words(words, num_words, buf, L); in hash_to_scalar() [all …]
|
/external/libhevc/common/arm/ |
D | ihevc_mem_fns.s | 207 @ UWORD8 num_words) 211 @ r2 => num_words 223 @ Assumptions: num_words is either 8, 16 or 32 241 @ UWORD8 num_words) 245 @ r2 => num_words
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | skip_gram.cc | 74 int num_words) { in ShouldStepInRecursion() argument 76 if (stack_idx < params->ngram_size && stack[stack_idx] + 1 < num_words) { in ShouldStepInRecursion() 125 int num_words = words.size(); in Eval() local 128 if (ShouldStepInRecursion(params, stack, stack_idx, num_words)) { in Eval()
|
/external/llvm-project/llvm/test/Analysis/BasicAA/ |
D | phi-loop.ll | 9 ; unsigned num_words; 18 ; for (unsigned i=0; i < section->num_words; ++i) { 42 …%num_words = getelementptr inbounds %struct.section_t, %struct.section_t* %section.addr.015, i32 0… 43 %2 = load i32, i32* %num_words, align 4 60 %5 = load i32, i32* %num_words, align 4
|
/external/libavc/common/arm/ |
D | ih264_mem_fns_neon.s | 205 @ UWORD32 num_words) 209 @ r2 => num_words 219 @ Assumptions: num_words is either 8, 16 or 32 237 @ UWORD32 num_words) 241 @ r2 => num_words
|