/external/cronet/base/strings/ |
D | string_util_perftest.cc | 16 void MeasureIsStringASCII(size_t str_length, size_t non_ascii_pos) { in MeasureIsStringASCII() argument 17 String str(str_length, 'A'); in MeasureIsStringASCII() 18 if (non_ascii_pos < str_length) in MeasureIsStringASCII() 28 sizeof(typename String::value_type), str_length, non_ascii_pos, in MeasureIsStringASCII() 33 for (size_t str_length = 4; str_length <= 1024; str_length *= 2) { in TEST() local 35 size_t non_ascii_pos = str_length * non_ascii_loc / 2 + 2; in TEST() 36 MeasureIsStringASCII<std::string>(str_length, non_ascii_pos); in TEST() 37 MeasureIsStringASCII<std::u16string>(str_length, non_ascii_pos); in TEST() 39 MeasureIsStringASCII<std::basic_string<wchar_t>>(str_length, in TEST()
|
D | string_util_impl_helpers.h | 347 size_t str_length = str->length(); in DoReplaceMatchesAfterOffset() local 359 const size_t final_length = str_length + expansion; in DoReplaceMatchesAfterOffset() 381 str->append(src, pos, str_length - pos); in DoReplaceMatchesAfterOffset() 393 if (shift_dst > str_length) in DoReplaceMatchesAfterOffset() 396 str->replace(shift_dst, str_length - shift_src, *str, shift_src, in DoReplaceMatchesAfterOffset() 397 str_length - shift_src); in DoReplaceMatchesAfterOffset() 398 str_length = final_length; in DoReplaceMatchesAfterOffset() 424 size_t match = std::min(matcher.Find(*str, read_offset), str_length); in DoReplaceMatchesAfterOffset() 432 } while (read_offset < str_length); in DoReplaceMatchesAfterOffset()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/ |
D | string.cc | 226 const size_t str_length = strlen(str); in gpr_leftpad() local 227 const size_t out_length = str_length > length ? str_length : length; in gpr_leftpad() 229 memset(out, flag, out_length - str_length); in gpr_leftpad() 230 memcpy(out + out_length - str_length, str, str_length); in gpr_leftpad()
|
/external/image_io/src/base/ |
D | data_segment.cc | 31 size_t str_length) const { in Find() 39 if (byte0_location + str_length <= GetEnd()) { in Find() 41 if (strncmp(char0_ptr, str, str_length) == 0) { in Find()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | string.cc | 218 const size_t str_length = strlen(str); in gpr_leftpad() local 219 const size_t out_length = str_length > length ? str_length : length; in gpr_leftpad() 221 memset(out, flag, out_length - str_length); in gpr_leftpad() 222 memcpy(out + out_length - str_length, str, str_length); in gpr_leftpad()
|
/external/libchrome/base/strings/ |
D | string_util.cc | 777 size_t str_length = str->length(); in DoReplaceMatchesAfterOffset() local 789 const size_t final_length = str_length + expansion; in DoReplaceMatchesAfterOffset() 811 str->append(src, pos, str_length - pos); in DoReplaceMatchesAfterOffset() 823 if (shift_dst > str_length) in DoReplaceMatchesAfterOffset() 826 str->replace(shift_dst, str_length - shift_src, *str, shift_src, in DoReplaceMatchesAfterOffset() 827 str_length - shift_src); in DoReplaceMatchesAfterOffset() 828 str_length = final_length; in DoReplaceMatchesAfterOffset() 853 size_t match = std::min(matcher.Find(*str, read_offset), str_length); in DoReplaceMatchesAfterOffset() 861 } while (read_offset < str_length); in DoReplaceMatchesAfterOffset()
|
/external/cronet/third_party/protobuf/src/google/protobuf/stubs/ |
D | structurally_valid.cc | 389 int str_length, in UTF8GenericScan() argument 392 if (str_length == 0) return kExitOK; in UTF8GenericScan() 397 const uint8* srclimit = isrc + str_length; in UTF8GenericScan() 398 const uint8* srclimit8 = str_length < 7 ? isrc : srclimit - 7; in UTF8GenericScan() 498 int str_length, in UTF8GenericScanFastAscii() argument 501 if (str_length == 0) return kExitOK; in UTF8GenericScanFastAscii() 505 const uint8* srclimit = isrc + str_length; in UTF8GenericScanFastAscii() 506 const uint8* srclimit8 = str_length < 7 ? isrc : srclimit - 7; in UTF8GenericScanFastAscii() 528 exit_reason = UTF8GenericScan(st, str + n, str_length - n, &rest_consumed); in UTF8GenericScanFastAscii()
|
D | strutil.cc | 98 int str_length = str->length(); in StripWhitespace() local 102 while (first < str_length && ascii_isspace(str->at(first))) { in StripWhitespace() 106 if (first == str_length) { in StripWhitespace() 112 str_length -= first; in StripWhitespace() 116 int last = str_length - 1; in StripWhitespace() 120 if (last != (str_length - 1) && last >= 0) { in StripWhitespace()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | structurally_valid.cc | 391 int str_length, in UTF8GenericScan() argument 394 if (str_length == 0) return kExitOK; in UTF8GenericScan() 399 const uint8_t* srclimit = isrc + str_length; in UTF8GenericScan() 400 const uint8_t* srclimit8 = str_length < 7 ? isrc : srclimit - 7; in UTF8GenericScan() 500 int str_length, in UTF8GenericScanFastAscii() argument 503 if (str_length == 0) return kExitOK; in UTF8GenericScanFastAscii() 507 const uint8_t* srclimit = isrc + str_length; in UTF8GenericScanFastAscii() 508 const uint8_t* srclimit8 = str_length < 7 ? isrc : srclimit - 7; in UTF8GenericScanFastAscii() 531 exit_reason = UTF8GenericScan(st, str + n, str_length - n, &rest_consumed); in UTF8GenericScanFastAscii()
|
D | strutil.cc | 98 int str_length = str->length(); in StripWhitespace() local 102 while (first < str_length && ascii_isspace(str->at(first))) { in StripWhitespace() 106 if (first == str_length) { in StripWhitespace() 112 str_length -= first; in StripWhitespace() 116 int last = str_length - 1; in StripWhitespace() 120 if (last != (str_length - 1) && last >= 0) { in StripWhitespace()
|
/external/webrtc/rtc_base/ |
D | event_tracer.cc | 111 size_t str_length = strlen(arg.value.as_string) + 1; in AddTraceEvent() local 112 char* str_copy = new char[str_length]; in AddTraceEvent() 113 memcpy(str_copy, arg.value.as_string, str_length); in AddTraceEvent()
|
/external/igt-gpu-tools/assembler/ |
D | ralloc.c | 362 size_t str_length = strlen(str); in ralloc_strncat() local 363 if (str_length < n) in ralloc_strncat() 364 n = str_length; in ralloc_strncat()
|
/external/image_io/includes/image_io/base/ |
D | data_segment.h | 115 size_t Find(size_t location, const char* str, size_t str_length) const;
|
/external/libpcap/ |
D | pcap-rpcap.c | 1979 size_t str_length; in rpcap_doauth() local 1998 str_length = strlen(auth->username); in rpcap_doauth() 1999 if (str_length > 65535) in rpcap_doauth() 2004 length += (uint16)str_length; in rpcap_doauth() 2008 str_length = strlen(auth->password); in rpcap_doauth() 2009 if (str_length > 65535) in rpcap_doauth() 2014 length += (uint16)str_length; in rpcap_doauth()
|
/external/rust/crates/libsqlite3-sys/sqlite3/ |
D | sqlite3ext.h | 311 int (*str_length)(sqlite3_str*); member 623 #define sqlite3_str_length sqlite3_api->str_length
|
D | sqlite3.c | 125690 int (*str_length)(sqlite3_str*); 126002 #define sqlite3_str_length sqlite3_api->str_length
|
/external/sqlite/dist/ |
D | sqlite3ext.h | 311 int (*str_length)(sqlite3_str*); member 643 #define sqlite3_str_length sqlite3_api->str_length
|
D | sqlite3.c | 129821 int (*str_length)(sqlite3_str*); 130153 #define sqlite3_str_length sqlite3_api->str_length
|
/external/sqlite/dist/orig/ |
D | sqlite3ext.h | 311 int (*str_length)(sqlite3_str*); member 643 #define sqlite3_str_length sqlite3_api->str_length
|
D | sqlite3.c | 129805 int (*str_length)(sqlite3_str*); 130137 #define sqlite3_str_length sqlite3_api->str_length
|