Home
last modified time | relevance | path

Searched refs:capstrs (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dstring.cc287 size_t* nstrs, size_t* capstrs) { in add_string_to_split() argument
292 if (*nstrs == *capstrs) { in add_string_to_split()
293 *capstrs = GPR_MAX(8, 2 * *capstrs); in add_string_to_split()
294 *strs = static_cast<char**>(gpr_realloc(*strs, sizeof(*strs) * *capstrs)); in add_string_to_split()
305 size_t capstrs = 0; in gpr_string_split() local
307 add_string_to_split(input, next, strs, nstrs, &capstrs); in gpr_string_split()
310 add_string_to_split(input, input + strlen(input), strs, nstrs, &capstrs); in gpr_string_split()
/external/grpc-grpc/src/core/lib/gpr/
Dstring.cc297 size_t* nstrs, size_t* capstrs) { in add_string_to_split() argument
302 if (*nstrs == *capstrs) { in add_string_to_split()
303 *capstrs = GPR_MAX(8, 2 * *capstrs); in add_string_to_split()
304 *strs = static_cast<char**>(gpr_realloc(*strs, sizeof(*strs) * *capstrs)); in add_string_to_split()
315 size_t capstrs = 0; in gpr_string_split() local
317 add_string_to_split(input, next, strs, nstrs, &capstrs); in gpr_string_split()
320 add_string_to_split(input, input + strlen(input), strs, nstrs, &capstrs); in gpr_string_split()