/external/chromium_org/chrome/common/ |
H A D | chrome_content_client_unittest.cc | 15 std::vector<std::string> pieces; local 17 // Check if the pieces of the user agent string come in the correct order. 21 base::SplitStringUsingSubstr(buffer, "Mozilla/5.0 (", &pieces); 22 ASSERT_EQ(2u, pieces.size()); 23 buffer = pieces[1]; 24 EXPECT_EQ("", pieces[0]); 26 base::SplitStringUsingSubstr(buffer, ") AppleWebKit/", &pieces); 27 ASSERT_EQ(2u, pieces.size()); 28 buffer = pieces[1]; 29 std::string os_str = pieces[ [all...] |
/external/chromium_org/gpu/config/ |
H A D | gpu_util.cc | 37 std::vector<std::string> pieces; local 38 base::SplitString(str, ',', &pieces); 39 for (size_t i = 0; i < pieces.size(); ++i) { 41 bool succeed = base::StringToInt(pieces[i], &number);
|
H A D | gpu_info_collector_android.cc | 40 std::vector<std::string> pieces; local 41 base::SplitString(sub_string, '.', &pieces); 42 if (pieces.size() < 2) 44 return pieces[0] + "." + pieces[1];
|
H A D | gpu_info_collector.cc | 71 std::vector<std::string> pieces; local 72 base::SplitString(sub_string, '.', &pieces); 73 if (pieces.size() >= 2) 74 return pieces[0] + "." + pieces[1];
|
H A D | gpu_info_collector_x11.cc | 270 std::vector<std::string> pieces; local 271 base::SplitStringAlongWhitespace(gl_version_string, &pieces); 274 if (pieces.size() < 3) 277 std::string driver_version = pieces[2]; 284 gpu_info->driver_vendor = pieces[1];
|
/external/ceres-solver/examples/ |
H A D | nist.cc | 147 bool GetAndSplitLine(std::ifstream& ifs, std::vector<std::string>* pieces) { argument 148 pieces->clear(); 151 SplitStringUsingChar(std::string(buf), ' ', pieces); local 175 std::vector<std::string> pieces; local 177 GetAndSplitLine(ifs, &pieces); 178 const int kNumResponses = std::atoi(pieces[1].c_str()); 180 GetAndSplitLine(ifs, &pieces); 181 const int kNumPredictors = std::atoi(pieces[0].c_str()); 183 GetAndSplitLine(ifs, &pieces); 184 const int kNumObservations = std::atoi(pieces[ [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | autofill_dialog_types.cc | 34 std::vector<base::string16> pieces; local 35 base::SplitStringDontTrim(display_text, kRangeSeparator, &pieces); 36 if (pieces.size() > 1) { 37 size_t start = pieces[0].size(); 38 size_t end = start + pieces[1].size(); 40 display_text_ = JoinString(pieces, base::string16());
|
H A D | generated_credit_card_bubble_controller.cc | 195 std::vector<base::string16> pieces; local 196 base::SplitStringDontTrim(to_split, kRangeSeparator, &pieces); 198 while (!pieces.empty()) { 199 base::string16 piece = pieces.front(); 203 // to work for "|highlighting| starts here". Ignore empty pieces because 205 if (!piece.empty() && pieces.size() % 2 == 0) { 215 pieces.erase(pieces.begin(), pieces.begin() + 1);
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | caniter.cpp | 68 pieces(NULL), 87 if(pieces != NULL) { 89 if(pieces[i] != NULL) { 90 delete[] pieces[i]; 93 uprv_free(pieces); 94 pieces = NULL; 143 buffer.append(pieces[i][current[i]]); 182 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); 187 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { 192 pieces[ [all...] |
H A D | ucnv_imp.h | 101 * If the args are passed in, then the pieces must be passed in too. 103 * - pieces==NULL && args==NULL 104 * - pieces!=NULL && args==NULL 105 * - pieces!=NULL && args!=NULL 110 UConverterNamePieces *pieces,
|
/external/icu4c/common/ |
H A D | caniter.cpp | 69 pieces(NULL), 88 if(pieces != NULL) { 90 if(pieces[i] != NULL) { 91 delete[] pieces[i]; 94 uprv_free(pieces); 95 pieces = NULL; 144 buffer.append(pieces[i][current[i]]); 183 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); 188 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { 193 pieces[ [all...] |
H A D | ucnv_imp.h | 102 * If the args are passed in, then the pieces must be passed in too. 104 * - pieces==NULL && args==NULL 105 * - pieces!=NULL && args==NULL 106 * - pieces!=NULL && args!=NULL 111 UConverterNamePieces *pieces,
|
/external/srec/srec/cfront/ |
H A D | himul32.h | 106 pieces; 112 return result.pieces.hi;
|
/external/chromium_org/third_party/jinja2/ |
H A D | loaders.py | 26 pieces = [] 33 pieces.append(piece) 34 return pieces 160 pieces = split_template_path(template) 162 filename = path.join(searchpath, *pieces) 222 pieces = split_template_path(template) 223 p = '/'.join((self.package_path,) + tuple(pieces))
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
H A D | ByteStringTest.java | 148 final List<ByteString> pieces = makeConcretePieces(testBytes); 150 ByteString byteString = ByteString.copyFrom(pieces); 156 return pieces.iterator(); 545 List<ByteString> pieces = makeConcretePieces(referenceBytes); 546 ByteString listString = ByteString.copyFrom(pieces); 581 List<ByteString> pieces = makeConcretePieces(referenceBytes); 582 ByteString listString = ByteString.copyFrom(pieces); 594 List<ByteString> pieces = makeConcretePieces(referenceBytes); 596 Iterator<ByteString> iter = pieces.iterator(); 680 List<ByteString> pieces [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | caniter.h | 83 * Cleans pieces 166 // 2 dimensional array holds the pieces of the string with 168 UnicodeString **pieces; member in class:CanonicalIterator 172 // current is used in iterating to combine pieces
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
H A D | AnnotationUtils.java | 169 * Split the string into pieces that are likely to be common 175 ArrayList<String> pieces = new ArrayList<String>(20); 203 pieces.add(raw.substring(at, endAt)); 207 int size = pieces.size(); 211 list.set(i, new CstString(pieces.get(i)));
|
/external/icu4c/common/unicode/ |
H A D | caniter.h | 83 * Cleans pieces 168 // 2 dimensional array holds the pieces of the string with 170 UnicodeString **pieces; member in class:CanonicalIterator 174 // current is used in iterating to combine pieces
|
/external/chromium_org/chrome/renderer/ |
H A D | chrome_render_view_observer.cc | 163 std::vector<base::string16> pieces; local 170 &pieces); 171 *message = pieces[0]; 176 &pieces); 180 if (index < pieces.size()) { 181 for (; index < pieces.size(); ++index) { 183 extensions::StackFrame::CreateFromText(pieces[index]);
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
H A D | doc_writer.py | 367 pieces = [] 370 pieces.append(value + ' (Windows)') 373 pieces.append(value + ' (Linux)') 376 pieces.append(value + ' (Mac)') 377 self.AddText(parent, ', '.join(pieces)) 381 pieces = [] 383 pieces.append('0x%08x (Windows)' % example_value) 385 pieces.append('%d (Linux)' % example_value) 387 pieces.append('%d (Mac)' % example_value) 388 self.AddText(parent, ', '.join(pieces)) [all...] |
/external/guava/guava/src/com/google/common/net/ |
H A D | InternetDomainName.java | 543 final String[] pieces = domain.split(DOT_REGEX, 2); 544 return pieces.length == 2 && TldPatterns.UNDER.contains(pieces[1]);
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_field.cc | 263 std::vector<base::string16> pieces; local 264 base::SplitString(value, char16('/'), &pieces); 265 if (pieces.size() != 2) 269 base::string16 month = pieces[0]; 270 base::string16 year = pieces[1];
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | RopeByteString.java | 48 * ByteStrings, without copying the data in the pieces. The concatenation is 60 * <p>Fundamentally the Rope algorithm represents the collection of pieces as a 143 * <p>Small pieces of length less than {@link 145 * BAP95. Large pieces are referenced without copy. 390 PieceIterator pieces = new PieceIterator(this); 391 while (pieces.hasNext()) { 392 LiteralByteString byteString = pieces.next(); 508 // We always get to the end of at least one of the pieces 580 * authors use an array to keep track of pieces, while here we use a stack. 646 // our new piece or of shorter pieces, t 770 private final PieceIterator pieces; field in class:RopeByteString.RopeByteIterator [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | feature_info.cc | 72 std::vector<std::string> pieces; local 73 base::SplitString(types, ',', &pieces); 74 for (size_t i = 0; i < pieces.size(); ++i) { 76 bool succeed = base::StringToInt(pieces[i], &number);
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | closurizednamespacesinfo.py | 258 pieces = identifier.split('.') 259 for piece in pieces:
|