Searched refs:nstrs (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc/src/core/lib/gpr/ |
D | string.cc | 227 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() 231 char* gpr_strjoin_sep(const char** strs, size_t nstrs, const char* sep, in gpr_strjoin_sep() argument 237 for (i = 0; i < nstrs; i++) { in gpr_strjoin_sep() 241 if (nstrs > 0) { in gpr_strjoin_sep() 242 out_length += sep_len * (nstrs - 1); /* separators */ in gpr_strjoin_sep() 246 for (i = 0; i < nstrs; i++) { in gpr_strjoin_sep() 297 size_t* nstrs, size_t* capstrs) { in add_string_to_split() argument 302 if (*nstrs == *capstrs) { in add_string_to_split() 306 (*strs)[*nstrs] = out; in add_string_to_split() [all …]
|
D | string.h | 75 char* gpr_strjoin(const char** strs, size_t nstrs, size_t* total_length); 80 char* gpr_strjoin_sep(const char** strs, size_t nstrs, const char* sep, 84 size_t* nstrs);
|
/external/grpc-grpc/test/core/transport/ |
D | metadata_test.cc | 221 size_t nstrs = 1000; in test_things_stick_around() local 223 static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice) * nstrs)); in test_things_stick_around() 224 size_t* shuf = static_cast<size_t*>(gpr_malloc(sizeof(size_t) * nstrs)); in test_things_stick_around() 232 for (i = 0; i < nstrs; i++) { in test_things_stick_around() 239 for (i = 0; i < nstrs; i++) { in test_things_stick_around() 244 for (i = 0; i < nstrs; i++) { in test_things_stick_around() 245 size_t p = static_cast<size_t>(rand()) % nstrs; in test_things_stick_around() 246 size_t q = static_cast<size_t>(rand()) % nstrs; in test_things_stick_around() 252 for (i = 0; i < nstrs; i++) { in test_things_stick_around() 254 for (j = i + 1; j < nstrs; j++) { in test_things_stick_around()
|
/external/elfutils/libcpu/ |
D | i386_parse.y | 901 int nstrs[3] = { 0, 0, 0 }; in find_numbers() local 935 ++nstrs[i]; in find_numbers() 1023 if (nstrs[i] != 0) in find_numbers() 1026 d = nstrs[i]; in find_numbers()
|