Home
last modified time | relevance | path

Searched refs:final_length (Results 1 – 7 of 7) 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/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dstring.cc235 char* gpr_strjoin(const char** strs, size_t nstrs, size_t* final_length) { in gpr_strjoin() argument
236 return gpr_strjoin_sep(strs, nstrs, "", final_length); in gpr_strjoin()
240 size_t* final_length) { in gpr_strjoin_sep() argument
264 if (final_length != nullptr) { in gpr_strjoin_sep()
265 *final_length = out_length; in gpr_strjoin_sep()
Dstring.h81 char* gpr_strjoin(const char** strs, size_t nstrs, size_t* final_length);
87 size_t* final_length);
/external/cronet/base/strings/
Dstring_util_impl_helpers.h359 const size_t final_length = str_length + expansion; in DoReplaceMatchesAfterOffset() local
361 if (str->capacity() < final_length) { in DoReplaceMatchesAfterOffset()
366 str->reserve(final_length); in DoReplaceMatchesAfterOffset()
398 str_length = final_length; in DoReplaceMatchesAfterOffset()
/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/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/python/cpython3/Parser/
Dtokenizer.c597 size_t needed_length = strlen(s) + 2, final_length; in translate_newlines() local
628 final_length = current - buf + 1; in translate_newlines()
629 if (final_length < needed_length && final_length) { in translate_newlines()
631 char* result = PyMem_Realloc(buf, final_length); in translate_newlines()