/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | substitute.h | 180 absl::string_view piece() const { return piece_; } in piece() function 246 const absl::string_view args[] = {a0.piece()}; in SubstituteAndAppend() 254 const absl::string_view args[] = {a0.piece(), a1.piece()}; in SubstituteAndAppend() 263 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece()}; in SubstituteAndAppend() 273 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 274 a3.piece()}; in SubstituteAndAppend() 285 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 286 a3.piece(), a4.piece()}; in SubstituteAndAppend() 298 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 299 a3.piece(), a4.piece(), a5.piece()}; in SubstituteAndAppend() [all …]
|
D | str_cat.cc | 144 for (const absl::string_view& piece : pieces) total_size += piece.size(); in CatPieces() local 149 for (const absl::string_view& piece : pieces) { in CatPieces() local 150 const size_t this_size = piece.size(); in CatPieces() 152 memcpy(out, piece.data(), this_size); in CatPieces() 173 for (const absl::string_view& piece : pieces) { in AppendPieces() local 174 ASSERT_NO_OVERLAP(*dest, piece); in AppendPieces() 175 total_size += piece.size(); in AppendPieces() 181 for (const absl::string_view& piece : pieces) { in AppendPieces() local 182 const size_t this_size = piece.size(); in AppendPieces() 184 memcpy(out, piece.data(), this_size); in AppendPieces()
|
D | string_view.cc | 60 std::ostream& operator<<(std::ostream& o, string_view piece) { in operator <<() argument 65 if (static_cast<size_t>(o.width()) > piece.size()) { in operator <<() 66 size_t pad = o.width() - piece.size(); in operator <<() 74 o.write(piece.data(), piece.size()); in operator <<()
|
/third_party/skia/third_party/externals/brotli/research/ |
D | sieve.cc | 148 SampleIdx piece = 0; in sieve_generate() local 162 if (offsets[piece] == i) { in sieve_generate() 163 piece++; in sieve_generate() 177 if (item.mark != piece) { in sieve_generate() 178 item.mark = piece; in sieve_generate() 187 map.push_back({hashHead[hash], i, 1, piece}); in sieve_generate() 201 sliceLen, map.data(), shortcut.data(), end, end, a, ++piece); in sieve_generate() 205 data, sliceLen, map.data(), shortcut.data(), end, end, a, ++piece); in sieve_generate() 209 size = dryRun(sliceLen, map.data(), shortcut.data(), end, end, b, ++piece); in sieve_generate() 212 data, sliceLen, map.data(), shortcut.data(), end, end, b, ++piece); in sieve_generate() [all …]
|
/third_party/gn/src/base/strings/ |
D | string_split.cc | 35 size_t FindFirstOf(std::string_view piece, char c, size_t pos) { in FindFirstOf() argument 36 return piece.find(c, pos); in FindFirstOf() 38 size_t FindFirstOf(std::u16string_view piece, char16_t c, size_t pos) { in FindFirstOf() argument 39 return piece.find(c, pos); in FindFirstOf() 41 size_t FindFirstOf(std::string_view piece, in FindFirstOf() argument 44 return piece.find_first_of(one_of, pos); in FindFirstOf() 46 size_t FindFirstOf(std::u16string_view piece, in FindFirstOf() argument 49 return piece.find_first_of(one_of, pos); in FindFirstOf() 77 ViewType piece; in SplitStringT() local 79 piece = str.substr(start); in SplitStringT() [all …]
|
/third_party/ninja/src/ |
D | depfile_parser.in.cc | 174 StringPiece piece = StringPiece(filename, len); in Parse() local 176 std::vector<StringPiece>::iterator pos = std::find(ins_.begin(), ins_.end(), piece); in Parse() 184 ins_.push_back(piece); in Parse() 187 if (std::find(outs_.begin(), outs_.end(), piece) == outs_.end()) in Parse() 188 outs_.push_back(piece); in Parse()
|
D | depfile_parser.cc | 338 StringPiece piece = StringPiece(filename, len); in Parse() local 340 std::vector<StringPiece>::iterator pos = std::find(ins_.begin(), ins_.end(), piece); in Parse() 348 ins_.push_back(piece); in Parse() 351 if (std::find(outs_.begin(), outs_.end(), piece) == outs_.end()) in Parse() 352 outs_.push_back(piece); in Parse()
|
/third_party/node/deps/npm/lib/utils/ |
D | format-search-stream.js | 115 return pieces.map(function (piece) { argument 116 piece = str.slice(p, p + piece.length) 118 str.slice(p + piece.length, p + piece.length + arg.length) + 120 p += piece.length + arg.length 121 return piece + mark
|
/third_party/curl/lib/ |
D | http_chunks.c | 110 size_t piece; in Curl_httpchunk_read() local 174 piece = curlx_sotouz((ch->datasize >= length)?length:ch->datasize); in Curl_httpchunk_read() 178 result = Curl_client_write(data, CLIENTWRITE_BODY, datap, piece); in Curl_httpchunk_read() 186 *wrote += piece; in Curl_httpchunk_read() 187 ch->datasize -= piece; /* decrease amount left to expect */ in Curl_httpchunk_read() 188 datap += piece; /* move read pointer forward */ in Curl_httpchunk_read() 189 length -= piece; /* decrease space left in this round */ in Curl_httpchunk_read()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | bytestream.cc | 176 StringPiece piece(source_->Peek()); in Peek() local 177 if (piece.size() > limit_) { in Peek() 178 piece.set(piece.data(), limit_); in Peek() 181 return piece; in Peek()
|
D | stringpiece.cc | 42 std::ostream& operator<<(std::ostream& o, StringPiece piece) { in operator <<() argument 43 o.write(piece.data(), piece.size()); in operator <<()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | string_utils.cpp | 55 std::string piece; in SplitString() local 58 piece = input.substr(start); in SplitString() 63 piece = input.substr(start, end - start); in SplitString() 69 piece = TrimString(piece, kWhitespaceASCII); in SplitString() 72 if (resultType == SPLIT_WANT_ALL || !piece.empty()) in SplitString() 74 result.push_back(std::move(piece)); in SplitString()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | CaseIterator.java | 429 String piece = null; in reset() local 431 for (int i = 0; i < source.length(); i += piece.length()) { in reset() 438 piece = UTF16.valueOf(source, i); in reset() 439 caseFold = (String) toCaseFold.get(piece); in reset() 444 piece = source.substring(i, j); in reset() 445 caseFold = (String) toCaseFold.get(piece); in reset() 452 piece = UTF16.valueOf(source, i); in reset() 453 variants[count++] = new String[] {piece}; // single item string in reset()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | loaders.py | 27 for piece in template.split('/'): 28 if path.sep in piece \ 29 or (path.altsep and path.altsep in piece) or \ 30 piece == path.pardir: 32 elif piece and piece != '.': 33 pieces.append(piece)
|
/third_party/skia/third_party/externals/jinja2/ |
D | loaders.py | 26 for piece in template.split("/"): 28 path.sep in piece 29 or (path.altsep and path.altsep in piece) 30 or piece == path.pardir 33 elif piece and piece != ".": 34 pieces.append(piece)
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | loaders.py | 26 for piece in template.split("/"): 28 path.sep in piece 29 or (path.altsep and path.altsep in piece) 30 or piece == path.pardir 33 elif piece and piece != ".": 34 pieces.append(piece)
|
/third_party/icu/icu4c/source/test/perf/normperf/ |
D | simplenormperf.cpp | 254 UnicodeString piece; in call() local 258 piece.setTo(false, s + start, pieceLength); in call() 259 norm2.normalize(piece, dest, errorCode); in call() 296 icu::StringPiece piece(s + start8, limit8 - start8); in call() local 297 norm2.normalizeUTF8(0, piece, sink, nullptr, errorCode); in call()
|
/third_party/jinja2/ |
D | loaders.py | 30 for piece in template.split("/"): 32 os.path.sep in piece 33 or (os.path.altsep and os.path.altsep in piece) 34 or piece == os.path.pardir 37 elif piece and piece != ".": 38 pieces.append(piece)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | arg.h | 159 for (string_view piece : value.Chunks()) { 160 if (piece.size() > to_write) { 161 piece.remove_suffix(piece.size() - to_write); 164 to_write -= piece.size(); 166 sink->Append(piece);
|
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/ |
D | string_piece.cc | 16 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { in operator <<() argument 17 o.write(piece.data(), static_cast<std::streamsize>(piece.size())); in operator <<()
|
/third_party/curl/tests/data/ |
D | test599 | 32 this data is slightly larger than the first piece 54 this data is slightly larger than the first piece
|
/third_party/node/deps/undici/src/lib/cookies/ |
D | index.js | 38 for (const piece of cookie.split(';')) { 39 const [name, ...value] = piece.split('=')
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | type_parser.cc | 68 for (const auto& piece : pieces_) in Parse() local 69 type->AsList()->AddMember(piece.type, piece.mode, piece.num_bits); in Parse()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | strtest.cpp | 509 StringPiece piece(other); in TestStringPieceOther() local 511 assertEquals("size()", piece.size(), static_cast<int32_t>(other.size())); in TestStringPieceOther() 512 assertEquals("data()", piece.data(), other.data()); in TestStringPieceOther() 521 StringPiece piece(view); in TestStringPieceStringView() local 523 assertEquals("size()", piece.size(), view.size()); in TestStringPieceStringView() 524 assertEquals("data()", piece.data(), view.data()); in TestStringPieceStringView()
|
/third_party/skia/modules/skparagraph/src/ |
D | OneLineShaper.cpp | 221 auto piece = &this->fParagraph->fRuns.back(); in finish() local 229 piece->fGlyphs[index] = run->fGlyphs[i]; in finish() 231 piece->fClusterIndexes[index] = run->fClusterIndexes[i]; in finish() 232 piece->fPositions[index] = run->fPositions[i] - zero; in finish() 233 piece->fOffsets[index] = run->fOffsets[i]; in finish() 234 piece->addX(index, advanceX); in finish()
|