/third_party/node/benchmark/buffers/ |
H A D | buffer-concat.js | 5 pieces: [4, 16], 11 function main({ n, pieces, pieceSize, withTotalLength }) { 12 const list = Array.from({ length: pieces }) 15 const totalLength = withTotalLength ? pieces * pieceSize : undefined;
|
H A D | buffer-concat-fill.js | 10 const pieces = 4; 13 const list = Array.from({ length: pieces }) 16 const totalLength = (pieces * pieceSize) + extraSize;
|
/third_party/icu/icu4c/source/common/ |
H A D | caniter.cpp | 71 pieces(NULL), in CanonicalIterator() 90 if(pieces != NULL) { in cleanPieces() 92 if(pieces[i] != NULL) { in cleanPieces() 93 delete[] pieces[i]; in cleanPieces() 96 uprv_free(pieces); in cleanPieces() 97 pieces = NULL; in cleanPieces() 146 buffer.append(pieces[i][current[i]]); in next() 185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); in setSource() 190 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { in setSource() 195 pieces[ in setSource() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | caniter.cpp | 71 pieces(nullptr), in CanonicalIterator() 90 if(pieces != nullptr) { in cleanPieces() 92 if(pieces[i] != nullptr) { in cleanPieces() 93 delete[] pieces[i]; in cleanPieces() 96 uprv_free(pieces); in cleanPieces() 97 pieces = nullptr; in cleanPieces() 146 buffer.append(pieces[i][current[i]]); in next() 185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); in setSource() 190 if (pieces == nullptr || pieces_lengths == nullptr || current == nullptr) { in setSource() 195 pieces[ in setSource() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | caniter.cpp | 71 pieces(NULL), in CanonicalIterator() 90 if(pieces != NULL) { in cleanPieces() 92 if(pieces[i] != NULL) { in cleanPieces() 93 delete[] pieces[i]; in cleanPieces() 96 uprv_free(pieces); in cleanPieces() 97 pieces = NULL; in cleanPieces() 146 buffer.append(pieces[i][current[i]]); in next() 185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); in setSource() 190 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { in setSource() 195 pieces[ in setSource() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CanonicalIterator.java | 92 for (int i = 0; i < pieces.length; ++i) { in next() 93 buffer.append(pieces[i][current[i]]); in next() 105 if (current[i] < pieces[i].length) break; // got sequence in next() 123 pieces = new String[1][]; in setSource() 125 pieces[0] = new String[]{""}; in setSource() 149 pieces = new String[segmentList.size()][]; in setSource() 151 for (i = 0; i < pieces.length; ++i) { in setSource() 153 pieces[i] = getEquivalents(segmentList.get(i)); in setSource() 239 private String[][] pieces; field in CanonicalIterator
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CanonicalIterator.java | 89 for (int i = 0; i < pieces.length; ++i) { in next() 90 buffer.append(pieces[i][current[i]]); in next() 102 if (current[i] < pieces[i].length) break; // got sequence in next() 119 pieces = new String[1][]; in setSource() 121 pieces[0] = new String[]{""}; in setSource() 145 pieces = new String[segmentList.size()][]; in setSource() 147 for (i = 0; i < pieces.length; ++i) { in setSource() 149 pieces[i] = getEquivalents(segmentList.get(i)); in setSource() 235 private String[][] pieces; field in CanonicalIterator
|
/third_party/python/Lib/ |
H A D | reprlib.py | 72 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)] 74 pieces.append(self.fillvalue) 75 s = ', '.join(pieces) 116 pieces = [] 120 pieces.append('%s: %s' % (keyrepr, valrepr)) 122 pieces.append(self.fillvalue) 123 s = ', '.join(pieces)
|
/third_party/rust/crates/cxx/ |
H A D | build.rs | 26 let mut pieces = version.split('.'); in rustc_version() variables 27 if pieces.next() != Some("rustc 1") { in rustc_version() 30 let minor = pieces.next()?.parse().ok()?; in rustc_version()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | filterrb.cpp | 55 const std::list<std::string>& ResKeyPath::pieces() const { in pieces() function in ResKeyPath 60 if (value.pieces().empty()) { in operator <<() 62 } else for (auto& key : value.pieces()) { in operator <<() 94 fRoot.applyRule(path, path.pieces().begin(), inclusionRule, status); in addRule() 111 for (auto& key : path.pieces()) { in match() 168 if (it == path.pieces().end()) { in applyRule()
|
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | filterrb.cpp | 55 const std::list<std::string>& ResKeyPath::pieces() const { in pieces() function in ResKeyPath 60 if (value.pieces().empty()) { in operator <<() 62 } else for (auto& key : value.pieces()) { in operator <<() 94 fRoot.applyRule(path, path.pieces().begin(), inclusionRule, status); in addRule() 111 for (auto& key : path.pieces()) { in match() 168 if (it == path.pieces().end()) { in applyRule()
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | filterrb.cpp | 55 const std::list<std::string>& ResKeyPath::pieces() const { in pieces() function in ResKeyPath 60 if (value.pieces().empty()) { in operator <<() 62 } else for (auto& key : value.pieces()) { in operator <<() 94 fRoot.applyRule(path, path.pieces().begin(), inclusionRule, status); in addRule() 111 for (auto& key : path.pieces()) { in match() 168 if (it == path.pieces().end()) { in applyRule()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | ByteStringTest.java | 149 final List<ByteString> pieces = makeConcretePieces(testBytes); in testCopyFrom_Iterable() 151 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() 157 return pieces.iterator(); in testCopyFrom_Iterable() 499 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testCompositeSubstring() 500 ByteString listString = ByteString.copyFrom(pieces); in testCompositeSubstring() 535 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testCopyFromList() 536 ByteString listString = ByteString.copyFrom(pieces); in testCopyFromList() 548 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testConcat() 550 Iterator<ByteString> iter = pieces.iterator(); in testConcat() 578 List<ByteString> pieces in makeConcretePieces() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_cat_test.cc | 118 absl::string_view pieces[] = {"Hello", "Cruel", "World"}; in TEST() local 140 result = absl::StrCat(strs[1], pieces[2]); in TEST() 146 result = absl::StrCat(strs[0], ", ", pieces[2]); in TEST() 152 result = absl::StrCat(pieces[0], ", ", pieces[1], " ", pieces[2]); in TEST() 330 absl::string_view pieces[] = {"Hello", "Cruel", "World"}; in TEST() local 350 absl::StrAppend(&result, strs[1], pieces[2]); in TEST() 354 absl::StrAppend(&result, stdstrs[0], ", ", pieces[2]); in TEST() 362 absl::StrAppend(&result, pieces[ in TEST() [all...] |
H A D | str_cat.cc | 141 std::string CatPieces(std::initializer_list<absl::string_view> pieces) { in CatPieces() argument 144 for (const absl::string_view& piece : pieces) total_size += piece.size(); in CatPieces() 149 for (const absl::string_view& piece : pieces) { in CatPieces() 170 std::initializer_list<absl::string_view> pieces) { in AppendPieces() 173 for (const absl::string_view& piece : pieces) { in AppendPieces() 181 for (const absl::string_view& piece : pieces) { in AppendPieces() 169 AppendPieces(std::string* dest, std::initializer_list<absl::string_view> pieces) AppendPieces() argument
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | loaders.py | 25 pieces = [] 34 pieces.append(piece) 35 return pieces 177 pieces = split_template_path(template) 179 filename = path.join(searchpath, *pieces) 245 pieces = split_template_path(template) 246 p = "/".join((self.package_path,) + tuple(pieces))
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | loaders.py | 26 pieces = [] 33 pieces.append(piece) 34 return pieces 168 pieces = split_template_path(template) 170 filename = path.join(searchpath, *pieces) 232 pieces = split_template_path(template) 233 p = '/'.join((self.package_path,) + tuple(pieces))
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | loaders.py | 25 pieces = [] 34 pieces.append(piece) 35 return pieces 177 pieces = split_template_path(template) 179 filename = path.join(searchpath, *pieces) 245 pieces = split_template_path(template) 246 p = "/".join((self.package_path,) + tuple(pieces))
|
/third_party/rust/crates/libc/ |
H A D | build.rs | 132 let mut pieces = version.split('.'); in rustc_minor_nightly() variables 134 if pieces.next() != Some("rustc 1") { in rustc_minor_nightly() 138 let minor = pieces.next(); in rustc_minor_nightly() 145 let nightly_raw = otry!(pieces.next()).split('-').nth(1); in rustc_minor_nightly()
|
/third_party/rust/crates/clap/src/builder/ |
H A D | styled_str.rs | 8 pieces: Vec<(Option<Style>, String)>, 10 pieces: String, 17 Self { pieces: Vec::new() } 24 pieces: String::new(), 86 if let Some((_, item)) = self.pieces.last_mut() { 93 self.pieces = self.pieces.trim_end().to_owned(); 135 self.pieces.push((style, msg)); in stylize_() 141 self.pieces.push_str(&msg); in stylize_() 156 self.pieces [all...] |
/third_party/node/deps/v8/tools/ |
H A D | objdump-v8 | 48 pieces = line.split(None, 3) 49 return " " + pieces[0][2:] + ":\t" + pieces[3]
|
/third_party/rust/crates/serde/serde/ |
H A D | build.rs | 85 let mut pieces = version.split('.'); in rustc_minor_version() variables 86 if pieces.next() != Some("rustc 1") { in rustc_minor_version() 90 let next = match pieces.next() { in rustc_minor_version()
|
/third_party/rust/crates/regex/tests/ |
H A D | crazy.rs | 157 let mut pieces = ones_and_zeroes(100_000); in dfa_handles_pathological_case() variables 158 pieces.push('1'); in dfa_handles_pathological_case() 159 pieces.push_str(&ones_and_zeroes(20)); in dfa_handles_pathological_case() 160 pieces in dfa_handles_pathological_case()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ByteStringTest.java | 189 final List<ByteString> pieces = makeConcretePieces(testBytes); in testCopyFrom_Iterable() 191 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() 201 return pieces.iterator(); in testCopyFrom_Iterable() 652 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testCompositeSubstring() 653 ByteString listString = ByteString.copyFrom(pieces); in testCompositeSubstring() 695 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testCopyFromList() 696 ByteString listString = ByteString.copyFrom(pieces); in testCopyFromList() 709 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testConcat() 711 Iterator<ByteString> iter = pieces.iterator(); in testConcat() 816 List<ByteString> pieces in makeConcretePieces() [all...] |
/third_party/python/Mac/Tools/ |
H A D | plistlib_generate_testdata.py | 100 pieces = [] 103 pieces.append(binascii.b2a_base64(chunk)) 104 return b' '.join(pieces)
|