Home
last modified time | relevance | path

Searched refs:context_size (Results 1 – 12 of 12) sorted by relevance

/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc391 size_t context_size; member
405 thread_arg->context_size) == false; in ThreadEntry()
487 thread_arg.context_size = sizeof(*context); in GenerateDump()
570 size_t context_size) { in DoDump() argument
574 context_size, in DoDump()
582 context_size, in DoDump()
590 context_size, in DoDump()
Dexception_handler.h244 size_t context_size);
/external/libtextclassifier/
Dcached-features.cc44 num_extracted_tokens = 2 * options->context_size() + 1; in CalculateOutputFeaturesSize()
92 options_->context_size(), in AppendClickContextFeaturesForClick()
93 options_->context_size()), in AppendClickContextFeaturesForClick()
Dfeature-processor.cc222 tokens[options_->context_size() - result_begin_token_index]; in LabelToSpan()
226 tokens[options_->context_size() + result_end_token_index]; in LabelToSpan()
276 options_->context_size(); // Click is always in the middle. in SpanToLabel()
277 const int padding = options_->context_size() - options_->max_selection_span(); in SpanToLabel()
738 void StripOrPadTokens(TokenSpan relative_click_span, int context_size, in StripOrPadTokens() argument
740 int right_context_needed = relative_click_span.second + context_size; in StripOrPadTokens()
744 context_size, static_cast<int>(*click_pos + right_context_needed + 1 - in StripOrPadTokens()
755 int left_context_needed = relative_click_span.first + context_size; in StripOrPadTokens()
759 std::min(context_size, left_context_needed - *click_pos); in StripOrPadTokens()
Dtext-classifier.cc700 const int context_size = in ModelSuggestSelection() local
701 selection_feature_processor_->GetOptions()->context_size(); in ModelSuggestSelection()
703 /*num_tokens_left=*/context_size, in ModelSuggestSelection()
704 /*num_tokens_right=*/context_size); in ModelSuggestSelection()
812 const int context_size = in ClassifyTextUpperBoundNeededTokens() local
813 selection_feature_processor_->GetOptions()->context_size(); in ClassifyTextUpperBoundNeededTokens()
814 return {context_size, context_size}; in ClassifyTextUpperBoundNeededTokens()
873 const int context_size = in ModelClassifyText() local
874 classification_feature_processor_->GetOptions()->context_size(); in ModelClassifyText()
876 /*num_tokens_left=*/context_size, in ModelClassifyText()
[all …]
Dfeature-processor_test.cc298 options.context_size = 1; in TEST()
347 options.context_size = 2; in TEST()
373 options.context_size = 1; in TEST()
422 options.context_size = 2; in TEST()
512 options.context_size = 2; in TEST()
624 options.context_size = 2; in TEST()
661 options.context_size = 2; in TEST()
Dfeature-processor.h64 void StripOrPadTokens(TokenSpan relative_click_span, int context_size,
225 int GetNumContextTokens() const { return options_->context_size() * 2 + 1; } in GetNumContextTokens()
Dcached-features_test.cc68 options.context_size = 2; in TEST()
Dmodel_generated.h2432 int32_t context_size; member
2464 context_size(-1), in FeatureProcessorOptionsT()
2530 int32_t context_size() const { in context_size() function
2681 void add_context_size(int32_t context_size) { in add_context_size()
2682 fbb_.AddElement<int32_t>(FeatureProcessorOptions::VT_CONTEXT_SIZE, context_size, -1); in add_context_size()
2782 int32_t context_size = -1,
2827 builder_.add_context_size(context_size);
2850 int32_t context_size = -1,
2883 context_size,
3582 { auto _e = context_size(); _o->context_size = _e; }; in UnPackTo()
[all …]
Dmodel.fbs469 context_size:int = -1;
/external/google-breakpad/src/processor/
Dminidump.cc80 static bool IsContextSizeUnique(uint32_t context_size) { in IsContextSizeUnique() argument
82 if (context_size == sizeof(MDRawContextX86)) in IsContextSizeUnique()
84 if (context_size == sizeof(MDRawContextPPC)) in IsContextSizeUnique()
86 if (context_size == sizeof(MDRawContextPPC64)) in IsContextSizeUnique()
88 if (context_size == sizeof(MDRawContextAMD64)) in IsContextSizeUnique()
90 if (context_size == sizeof(MDRawContextSPARC)) in IsContextSizeUnique()
92 if (context_size == sizeof(MDRawContextARM)) in IsContextSizeUnique()
94 if (context_size == sizeof(MDRawContextARM64)) in IsContextSizeUnique()
96 if (context_size == sizeof(MDRawContextMIPS)) in IsContextSizeUnique()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c3038 BLOCK_SIZE context_size; in compute_score() local
3045 context_size = xd->above_mi->sb_type; in compute_score()
3046 if (context_size < bsize) in compute_score()
3048 else if (context_size == bsize) in compute_score()
3053 context_size = xd->left_mi->sb_type; in compute_score()
3054 if (context_size < bsize) in compute_score()
3056 else if (context_size == bsize) in compute_score()
3061 context_size = prev_mi[0]->sb_type; in compute_score()
3062 if (context_size < bsize) in compute_score()
3064 else if (context_size == bsize) in compute_score()