Home
last modified time | relevance | path

Searched refs:final_length (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/core/lib/gpr/
Dstring.cc227 char* gpr_strjoin(const char** strs, size_t nstrs, size_t* final_length) { in gpr_strjoin() argument
228 return gpr_strjoin_sep(strs, nstrs, "", final_length); in gpr_strjoin()
232 size_t* final_length) { in gpr_strjoin_sep() argument
256 if (final_length != nullptr) { in gpr_strjoin_sep()
257 *final_length = out_length; in gpr_strjoin_sep()
281 char* gpr_strvec_flatten(gpr_strvec* sv, size_t* final_length) { in gpr_strvec_flatten() argument
282 return gpr_strjoin((const char**)sv->strs, sv->count, final_length); in gpr_strvec_flatten()
/external/python/cpython2/Parser/
Dtokenizer.c627 int skip_next_lf = 0, needed_length = strlen(s) + 2, final_length; in translate_newlines() local
658 final_length = current - buf + 1; in translate_newlines()
659 if (final_length < needed_length && final_length) in translate_newlines()
661 buf = PyMem_REALLOC(buf, final_length); in translate_newlines()
/external/python/cpython3/Parser/
Dtokenizer.c704 size_t needed_length = strlen(s) + 2, final_length; in translate_newlines() local
735 final_length = current - buf + 1; in translate_newlines()
736 if (final_length < needed_length && final_length) in translate_newlines()
738 buf = PyMem_REALLOC(buf, final_length); in translate_newlines()
/external/libchrome/base/strings/
Dstring_util.cc789 const size_t final_length = str_length + expansion; in DoReplaceMatchesAfterOffset() local
791 if (str->capacity() < final_length) { in DoReplaceMatchesAfterOffset()
796 str->reserve(final_length); in DoReplaceMatchesAfterOffset()
828 str_length = final_length; in DoReplaceMatchesAfterOffset()
/external/v8/src/builtins/
Dbuiltins-typed-array-gen.cc1659 TVARIABLE(Smi, final_length); in TF_BUILTIN()
1692 final_length = CAST(raw_length); in TF_BUILTIN()
1710 final_length = ToSmiLength(raw_length, context, &if_length_not_smi); in TF_BUILTIN()
1723 target_obj = CreateByLength(context, receiver, final_length.value(), in TF_BUILTIN()
1732 GotoIf(SmiEqual(final_length.value(), SmiConstant(0)), &done); in TF_BUILTIN()
1735 final_source.value(), final_length.value()); in TF_BUILTIN()
1748 SmiConstant(0), final_length.value(), in TF_BUILTIN()
Dbuiltins-array.cc362 Handle<Object> final_length = isolate->factory()->NewNumber(length); in GenericArrayPush() local
366 final_length, LanguageMode::kStrict)); in GenericArrayPush()
369 return *final_length; in GenericArrayPush()