Searched refs:str_length (Results 1 – 8 of 8) sorted by relevance
/third_party/node/src/ |
D | node_buffer.cc | 576 size_t str_length; in Fill() local 586 str_length = fill_obj_length; in Fill() 588 ts_obj_data + start, fill_obj_data, std::min(str_length, fill_length)); in Fill() 607 str_length = str_obj->Utf8Length(env->isolate()); in Fill() 609 memcpy(ts_obj_data + start, *str, std::min(str_length, fill_length)); in Fill() 612 str_length = str_obj->Length() * sizeof(uint16_t); in Fill() 615 SwapBytes16(reinterpret_cast<char*>(&str[0]), str_length); in Fill() 617 memcpy(ts_obj_data + start, *str, std::min(str_length, fill_length)); in Fill() 623 str_length = StringBytes::Write(env->isolate(), in Fill() 633 if (str_length >= fill_length) in Fill() [all …]
|
/third_party/gn/src/base/strings/ |
D | string_util.cc | 706 size_t str_length = str->length(); in DoReplaceMatchesAfterOffset() local 718 const size_t final_length = str_length + expansion; in DoReplaceMatchesAfterOffset() 740 str->append(src, pos, str_length - pos); in DoReplaceMatchesAfterOffset() 752 if (shift_dst > str_length) in DoReplaceMatchesAfterOffset() 755 str->replace(shift_dst, str_length - shift_src, *str, shift_src, in DoReplaceMatchesAfterOffset() 756 str_length - shift_src); in DoReplaceMatchesAfterOffset() 757 str_length = final_length; in DoReplaceMatchesAfterOffset() 782 size_t match = std::min(matcher.Find(*str, read_offset), str_length); in DoReplaceMatchesAfterOffset() 790 } while (read_offset < str_length); in DoReplaceMatchesAfterOffset()
|
/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()
|
/third_party/lwip/src/apps/tftp/ |
D | tftp_server.c | 120 int str_length = strlen(str); in send_error() local 124 p = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(TFTP_HEADER_LENGTH + str_length + 1), PBUF_RAM); in send_error() 132 MEMCPY(&payload[2], str, str_length + 1); in send_error()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/ |
D | bit_stream.h | 138 const int str_length = static_cast<int>(str.length()); in StreamToBuffer() local 141 for (int index = str_length - word_size; index >= 0; index -= word_size) { in StreamToBuffer()
|
/third_party/sqlite/include/ |
D | sqlite3ext.h | 311 int (*str_length)(sqlite3_str*); member 651 #define sqlite3_str_length sqlite3_api->str_length
|
/third_party/sqlite/src/ |
D | sqlite3.c | 132025 int (*str_length)(sqlite3_str*); 132361 #define sqlite3_str_length sqlite3_api->str_length
|