/external/libtextclassifier/native/annotator/ |
D | cached-features.cc | 44 num_extracted_tokens = 2 * options->context_size() + 1; in CalculateOutputFeaturesSize() 91 /*intended_span=*/TokenSpan(click_pos).Expand(options_->context_size(), in AppendClickContextFeaturesForClick() 92 options_->context_size()), in AppendClickContextFeaturesForClick()
|
D | feature-processor.cc | 212 tokens[options_->context_size() - result_begin_token_index]; in LabelToSpan() 216 tokens[options_->context_size() + result_end_token_index]; in LabelToSpan() 266 options_->context_size(); // Click is always in the middle. in SpanToLabel() 267 const int padding = options_->context_size() - options_->max_selection_span(); in SpanToLabel() 740 void StripOrPadTokens(const TokenSpan& relative_click_span, int context_size, in StripOrPadTokens() argument 742 int right_context_needed = relative_click_span.second + context_size; in StripOrPadTokens() 746 context_size, static_cast<int>(*click_pos + right_context_needed + 1 - in StripOrPadTokens() 757 int left_context_needed = relative_click_span.first + context_size; in StripOrPadTokens() 761 std::min(context_size, left_context_needed - *click_pos); in StripOrPadTokens()
|
D | feature-processor.h | 68 void StripOrPadTokens(const TokenSpan& relative_click_span, int context_size, 235 int GetNumContextTokens() const { return options_->context_size() * 2 + 1; } in GetNumContextTokens()
|
D | feature-processor_test.cc | 368 options.context_size = 1; in TEST_F() 417 options.context_size = 2; in TEST_F() 442 options.context_size = 1; in TEST_F() 491 options.context_size = 2; in TEST_F() 581 options.context_size = 2; in TEST_F() 692 options.context_size = 2; in TEST_F() 728 options.context_size = 2; in TEST_F()
|
D | annotator.cc | 1328 const int context_size = in ModelSuggestSelection() local 1329 selection_feature_processor_->GetOptions()->context_size(); in ModelSuggestSelection() 1331 /*num_tokens_left=*/context_size, in ModelSuggestSelection() 1332 /*num_tokens_right=*/context_size); in ModelSuggestSelection() 1426 const int context_size = in ClassifyTextUpperBoundNeededTokens() local 1427 selection_feature_processor_->GetOptions()->context_size(); in ClassifyTextUpperBoundNeededTokens() 1428 return {context_size, context_size}; in ClassifyTextUpperBoundNeededTokens() 1538 const int context_size = in ModelClassifyText() local 1539 classification_feature_processor_->GetOptions()->context_size(); in ModelClassifyText() 1541 /*num_tokens_left=*/context_size, in ModelClassifyText() [all …]
|
D | cached-features_test.cc | 68 options.context_size = 2; in TEST()
|
D | model.fbs | 685 context_size:int = -1;
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler.cc | 416 size_t context_size; member 435 thread_arg->context_size) == false; in ThreadEntry() 518 thread_arg.context_size = sizeof(*context); in GenerateDump() 602 size_t context_size) { in DoDump() argument 612 context_size, in DoDump() 624 context_size, in DoDump() 635 context_size, in DoDump()
|
D | exception_handler.h | 244 size_t context_size);
|
/external/mesa3d/src/intel/tools/ |
D | aub_write.c | 524 uint32_t context_size; in write_engine_execlist_setup() local 526 get_context_init(&aub->devinfo, NULL, engine_class, NULL, &context_size); in write_engine_execlist_setup() 529 uint32_t total_size = RING_SIZE + PPHWSP_SIZE + context_size; in write_engine_execlist_setup() 549 PPHWSP_SIZE + context_size, in write_engine_execlist_setup() 561 uint32_t *context_data = calloc(1, context_size); in write_engine_execlist_setup() 562 get_context_init(&aub->devinfo, ¶ms, engine_class, context_data, &context_size); in write_engine_execlist_setup() 563 data_out(aub, context_data, context_size); in write_engine_execlist_setup()
|
/external/openthread/third_party/mbedtls/repo/include/psa/ |
D | crypto_se_driver.h | 326 size_t context_size; member 513 size_t context_size; member 1266 size_t context_size; member
|
/external/mbedtls/include/psa/ |
D | crypto_se_driver.h | 327 size_t MBEDTLS_PRIVATE(context_size); 514 size_t MBEDTLS_PRIVATE(context_size); 1267 size_t MBEDTLS_PRIVATE(context_size);
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_ctx_thrash.c | 45 static unsigned context_size(int fd) in context_size() function 73 size = context_size(fd); in get_num_contexts()
|
D | gem_ctx_create.c | 235 static unsigned context_size(int fd) in context_size() function 262 unsigned ctx_size = context_size(fd); in maximum()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_nettle.c | 60 ctx = os_malloc(alg->context_size); in nettle_digest_vector() 67 bin_clear_free(ctx, alg->context_size); in nettle_digest_vector()
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 79 bool IsContextSizeUnique(uint32_t context_size) { in IsContextSizeUnique() argument 81 if (context_size == sizeof(MDRawContextX86)) in IsContextSizeUnique() 83 if (context_size == sizeof(MDRawContextPPC)) in IsContextSizeUnique() 85 if (context_size == sizeof(MDRawContextPPC64)) in IsContextSizeUnique() 87 if (context_size == sizeof(MDRawContextAMD64)) in IsContextSizeUnique() 89 if (context_size == sizeof(MDRawContextSPARC)) in IsContextSizeUnique() 91 if (context_size == sizeof(MDRawContextARM)) in IsContextSizeUnique() 93 if (context_size == sizeof(MDRawContextARM64)) in IsContextSizeUnique() 95 if (context_size == sizeof(MDRawContextARM64_Old)) in IsContextSizeUnique() 97 if (context_size == sizeof(MDRawContextMIPS)) in IsContextSizeUnique() [all …]
|
/external/google-breakpad/src/google_breakpad/common/ |
D | minidump_format.h | 772 uint32_t context_size; member
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration_test.cc | 101 options.context_size = 1; in BuildFeatureProcessor()
|
/external/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 3151 BLOCK_SIZE context_size; in ml_pruning_partition() local 3177 context_size = xd->above_mi->sb_type; in ml_pruning_partition() 3178 if (context_size < bsize) in ml_pruning_partition() 3180 else if (context_size == bsize) in ml_pruning_partition() 3185 context_size = xd->left_mi->sb_type; in ml_pruning_partition() 3186 if (context_size < bsize) in ml_pruning_partition() 3188 else if (context_size == bsize) in ml_pruning_partition() 3193 context_size = prev_mi[0]->sb_type; in ml_pruning_partition() 3194 if (context_size < bsize) in ml_pruning_partition() 3196 else if (context_size == bsize) in ml_pruning_partition()
|
/external/openthread/src/core/ |
D | Makefile.am | 518 crypto/context_size.hpp \
|
D | BUILD.gn | 459 "crypto/context_size.hpp",
|
/external/bcc/libbpf-tools/x86/ |
D | vmlinux_505.h | 76141 u32 context_size; member
|
D | vmlinux.h | 76141 u32 context_size; member
|