/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_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 | 250 std::vector<std::string> pieces; local 251 base::SplitStringAlongWhitespace(gl_version_string, &pieces); 254 if (pieces.size() < 3) 257 std::string driver_version = pieces[2]; 264 gpu_info->driver_vendor = pieces[1];
|
H A D | gpu_control_list.cc | 1212 std::vector<std::string> pieces; local 1213 if (!ProcessVersionString(browser_version_string, '.', &pieces)) 1233 std::vector<std::string> pieces; local 1234 if (!ProcessVersionString(version_, '.', &pieces)) 1305 std::vector<std::string> pieces; local 1306 if (!ProcessVersionString(os_version, '.', &pieces))
|
/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 | generated_credit_card_bubble_controller.cc | 186 std::vector<base::string16> pieces; local 187 base::SplitStringDontTrim(to_split, kRangeSeparator, &pieces); 189 while (!pieces.empty()) { 190 base::string16 piece = pieces.front(); 194 // to work for "|highlighting| starts here". Ignore empty pieces because 196 if (!piece.empty() && pieces.size() % 2 == 0) { 206 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 | 28 pieces = [] 35 pieces.append(piece) 36 return pieces 162 pieces = split_template_path(template) 164 filename = path.join(searchpath, *pieces) 224 pieces = split_template_path(template) 225 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/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/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | RopeByteString.java | 49 * ByteStrings, without copying the data in the pieces. The concatenation is 61 * <p>Fundamentally the Rope algorithm represents the collection of pieces as a 144 * <p>Small pieces of length less than {@link 146 * BAP95. Large pieces are referenced without copy. 391 PieceIterator pieces = new PieceIterator(this); 392 while (pieces.hasNext()) { 393 LiteralByteString byteString = pieces.next(); 509 // We always get to the end of at least one of the pieces 581 * authors use an array to keep track of pieces, while here we use a stack. 648 // our new piece or of shorter pieces, t 772 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:
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
H A D | closurizednamespacesinfo.py | 258 pieces = identifier.split('.') 259 for piece in pieces:
|
/external/chromium_org/net/ftp/ |
H A D | ftp_network_transaction.cc | 182 // Split the line into comma-separated pieces and extract 184 std::vector<std::string> pieces; local 185 base::SplitString(line, ',', &pieces); 186 if (pieces.size() != 6) 192 if (!base::StringToInt(pieces[4], &p0)) 194 if (!base::StringToInt(pieces[5], &p1))
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
H A D | encoder.py | 383 pieces = [] 384 _EncodeVarint(pieces.append, value) 385 return "".join(pieces)
|
/external/protobuf/python/google/protobuf/internal/ |
H A D | encoder.py | 377 pieces = [] 378 _EncodeVarint(pieces.append, value) 379 return "".join(pieces)
|