/external/epid-sdk/epid/member/tiny/src/ |
D | init.c | 34 size_t* context_size) { in EpidMemberGetSize() argument 37 if (!params || !context_size) { in EpidMemberGetSize() 40 *context_size = kMinContextSize + SIGRL_HEAP_SIZE + in EpidMemberGetSize() 47 size_t context_size = 0; in EpidMemberInit() local 52 sts = EpidMemberGetSize(params, &context_size); in EpidMemberInit() 57 memset(ctx, 0, context_size); in EpidMemberInit()
|
/external/epid-sdk/epid/member/src/ |
D | context.c | 46 EpidStatus EpidMemberGetSize(MemberParams const* params, size_t* context_size) { in EpidMemberGetSize() argument 47 if (!params || !context_size) { in EpidMemberGetSize() 50 *context_size = sizeof(MemberCtx); in EpidMemberGetSize() 161 size_t context_size = 0; in EpidMemberCreate() local 168 sts = EpidMemberGetSize(params, &context_size); in EpidMemberCreate() 170 member_ctx = SAFE_ALLOC(context_size); in EpidMemberCreate()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler.cc | 391 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()
|
D | exception_handler.h | 244 size_t context_size);
|
/external/libtextclassifier/annotator/ |
D | cached-features.cc | 44 num_extracted_tokens = 2 * options->context_size() + 1; in CalculateOutputFeaturesSize() 92 options_->context_size(), in AppendClickContextFeaturesForClick() 93 options_->context_size()), in AppendClickContextFeaturesForClick()
|
D | feature-processor.cc | 214 tokens[options_->context_size() - result_begin_token_index]; in LabelToSpan() 218 tokens[options_->context_size() + result_end_token_index]; in LabelToSpan() 268 options_->context_size(); // Click is always in the middle. in SpanToLabel() 269 const int padding = options_->context_size() - options_->max_selection_span(); in SpanToLabel() 710 void StripOrPadTokens(TokenSpan relative_click_span, int context_size, in StripOrPadTokens() argument 712 int right_context_needed = relative_click_span.second + context_size; in StripOrPadTokens() 716 context_size, static_cast<int>(*click_pos + right_context_needed + 1 - in StripOrPadTokens() 727 int left_context_needed = relative_click_span.first + context_size; in StripOrPadTokens() 731 std::min(context_size, left_context_needed - *click_pos); in StripOrPadTokens()
|
D | feature-processor_test.cc | 296 options.context_size = 1; in TEST_F() 345 options.context_size = 2; in TEST_F() 370 options.context_size = 1; in TEST_F() 419 options.context_size = 2; in TEST_F() 509 options.context_size = 2; in TEST_F() 617 options.context_size = 2; in TEST_F() 653 options.context_size = 2; in TEST_F()
|
D | feature-processor.h | 67 void StripOrPadTokens(TokenSpan relative_click_span, int context_size, 209 int GetNumContextTokens() const { return options_->context_size() * 2 + 1; } in GetNumContextTokens()
|
D | annotator.cc | 1062 const int context_size = in ModelSuggestSelection() local 1063 selection_feature_processor_->GetOptions()->context_size(); in ModelSuggestSelection() 1065 /*num_tokens_left=*/context_size, in ModelSuggestSelection() 1066 /*num_tokens_right=*/context_size); in ModelSuggestSelection() 1171 const int context_size = in ClassifyTextUpperBoundNeededTokens() local 1172 selection_feature_processor_->GetOptions()->context_size(); in ClassifyTextUpperBoundNeededTokens() 1173 return {context_size, context_size}; in ClassifyTextUpperBoundNeededTokens() 1268 const int context_size = in ModelClassifyText() local 1269 classification_feature_processor_->GetOptions()->context_size(); in ModelClassifyText() 1271 /*num_tokens_left=*/context_size, in ModelClassifyText() [all …]
|
D | cached-features_test.cc | 68 options.context_size = 2; in TEST()
|
D | model.fbs | 518 context_size:int = -1;
|
/external/epid-sdk/epid/common-testhelper/ |
D | member_wrapper-testhelper.cc | 253 size_t context_size = 0; in CreateMember() local 257 sts = EpidMemberGetSize(params, &context_size); in CreateMember() 265 member_ctx = (MemberCtx*)new (std::nothrow) uint8_t[context_size](); in CreateMember() 269 err << "Failed to allocate " << context_size in CreateMember()
|
/external/epid-sdk/epid/member/unittests/ |
D | join_request-test.cc | 188 size_t context_size = 0; in TEST_F() local 189 sts = EpidMemberGetSize(¶ms, &context_size); in TEST_F() 194 member.reset(new uint8_t[context_size]()); in TEST_F()
|
/external/epid-sdk/epid/member/tiny/unittests/ |
D | join_request-test.cc | 200 size_t context_size = 0; in TEST_F() local 201 sts = EpidMemberGetSize(¶ms, &context_size); in TEST_F() 206 member.reset(new uint8_t[context_size]()); in TEST_F()
|
/external/epid-sdk/epid/member/ |
D | api.h | 79 size_t* context_size);
|
/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 | 80 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/libtextclassifier/annotator/number/ |
D | number_test.cc | 57 options.context_size = 1; in BuildFeatureProcessor()
|
/external/libtextclassifier/annotator/duration/ |
D | duration_test.cc | 77 options.context_size = 1; in BuildFeatureProcessor()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 3136 BLOCK_SIZE context_size; in ml_pruning_partition() local 3162 context_size = xd->above_mi->sb_type; in ml_pruning_partition() 3163 if (context_size < bsize) in ml_pruning_partition() 3165 else if (context_size == bsize) in ml_pruning_partition() 3170 context_size = xd->left_mi->sb_type; in ml_pruning_partition() 3171 if (context_size < bsize) in ml_pruning_partition() 3173 else if (context_size == bsize) in ml_pruning_partition() 3178 context_size = prev_mi[0]->sb_type; in ml_pruning_partition() 3179 if (context_size < bsize) in ml_pruning_partition() 3181 else if (context_size == bsize) in ml_pruning_partition()
|