Home
last modified time | relevance | path

Searched refs:piece (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dsubstitute.h180 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 …]
Dstr_cat.cc144 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()
Dstring_view.cc60 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/
Dsieve.cc148 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/
Dstring_split.cc35 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/
Ddepfile_parser.in.cc174 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()
Ddepfile_parser.cc338 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/flutter/skia/third_party/externals/angle2/src/common/
Dstring_utils.cpp41 std::string piece; in SplitString() local
44 piece = input.substr(start); in SplitString()
49 piece = input.substr(start, end - start); in SplitString()
55 piece = TrimString(piece, kWhitespaceASCII); in SplitString()
58 if (resultType == SPLIT_WANT_ALL || !piece.empty()) in SplitString()
60 result.push_back(std::move(piece)); in SplitString()
/third_party/node/deps/npm/lib/search/
Dformat-package-stream.js105 return pieces.map(function (piece) { argument
106 piece = str.substr(p, piece.length)
108 str.substr(p + piece.length, arg.length) +
110 p += piece.length + arg.length
111 return piece + mark
/third_party/node/deps/npm/node_modules/aws4/
Daws4.js232 pathStr = pathStr.split('/').reduce(function(path, piece) { argument
233 if (normalizePath && piece === '..') {
235 } else if (!normalizePath || piece !== '.') {
236 if (decodePath) piece = decodeURIComponent(piece)
237 path.push(encodeRfc3986(encodeURIComponent(piece)))
305 path = path.split('/').map(function(piece) { argument
306 return encodeURIComponent(decodeURIComponent(piece))
/third_party/protobuf/src/google/protobuf/stubs/
Dbytestream.cc176 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()
Dstringpiece.cc42 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/
Dstring_utils.cpp55 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/
DCaseIterator.java429 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/skia/third_party/externals/jinja2/
Dloaders.py26 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/tools/inspector_protocol/jinja2/
Dloaders.py27 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/flutter/flutter/packages/flutter/lib/src/material/
Dtime_picker.dart118 /// The widget that renders a piece of time information.
132 /// When the picker is laid out vertically, [fragments] of the piece are laid
133 /// out on the same line, with each piece getting its own line.
135 /// Creates a time picker header piece.
137 /// All arguments must be non-null. If the piece does not contain a pivot
148 /// Fragments this piece is made of.
151 /// Vertical distance between this piece and the next piece.
160 /// A piece is made of multiple [_TimePickerHeaderFragment]s. A fragment has a
166 /// Pieces are laid out such that all fragments inside the same piece are laid
170 /// One of the pieces is identified as a _centerpiece_. It is a piece that is
[all …]
Dmaterial.dart39 /// A transparent piece of material that draws ink splashes and highlights.
88 /// A piece of material.
102 /// Material is the central metaphor in material design. Each piece of material
103 /// exists at a given elevation, which influences how that piece of material
107 /// Most user interface elements are either conceptually printed on a piece of
154 /// * [MergeableMaterial], a piece of material that can split and re-merge.
158 /// Creates a piece of material.
209 /// widget conceptually defines an independent printed piece of material.
227 /// Must be opaque. To create a transparent piece of material, use
582 /// A visual reaction on a piece of [Material].
[all …]
/third_party/icu/icu4c/source/test/perf/normperf/
Dsimplenormperf.cpp254 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/
Dloaders.py30 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/
Darg.h159 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/
Dstring_piece.cc16 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/flutter/flutter/dev/devicelab/bin/tasks/
Ddrive_perf_debug_warning.dart35 'Could not find the following warning message piece: $warningPiece'
42 'Unexpected warning message piece in profile mode: $warningPiece'
/third_party/vk-gl-cts/external/amber/src/src/
Dtype_parser.cc68 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/
Dstrtest.cpp508 StringPiece piece(other); in TestStringPieceOther() local
510 assertEquals("size()", piece.size(), static_cast<int32_t>(other.size())); in TestStringPieceOther()
511 assertEquals("data()", piece.data(), other.data()); in TestStringPieceOther()
520 StringPiece piece(view); in TestStringPieceStringView() local
522 assertEquals("size()", piece.size(), view.size()); in TestStringPieceStringView()
523 assertEquals("data()", piece.data(), view.data()); in TestStringPieceStringView()

12345678910>>...12