/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/chrome/renderer/extensions/ |
H A D | chrome_extensions_render_frame_observer.cc | 35 std::vector<base::string16> pieces; local 42 &pieces); 43 *message = pieces[0]; 48 &pieces); 52 if (index < pieces.size()) { 53 for (; index < pieces.size(); ++index) { 54 scoped_ptr<StackFrame> frame = StackFrame::CreateFromText(pieces[index]);
|
/external/chromium_org/gpu/config/ |
H A D | gpu_info_collector_ozone.cc | 57 std::vector<std::string> pieces; local 58 base::SplitStringAlongWhitespace(sub_string, &pieces); 59 if (pieces.size() < 3) 62 std::string driver_version = pieces[2]; 70 gpu_info->driver_vendor = pieces[1];
|
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 | 266 std::vector<std::string> pieces; local 267 base::SplitStringAlongWhitespace(gl_version, &pieces); 270 if (pieces.size() < 3) 273 std::string driver_version = pieces[2]; 280 gpu_info->driver_vendor = pieces[1];
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | protocol_parser.cc | 103 // Read out |c| colon-separated pieces from the next line. The resulting 104 // pieces point into the original data buffer. 105 bool GetPieces(size_t c, std::vector<base::StringPiece>* pieces) { argument 111 while (pieces->size() + 1 < c) { 118 pieces->push_back(line.substr(0, colon_ofs)); 123 pieces->push_back(line); 276 std::vector<base::StringPiece> pieces; local 277 if (!reader.GetPieces(2, &pieces)) 280 base::StringPiece& command = pieces[0]; 294 StringToRanges(pieces[ [all...] |
/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 167 std::vector<std::string> pieces; local 169 GetAndSplitLine(ifs, &pieces); 170 const int kNumResponses = std::atoi(pieces[1].c_str()); 172 GetAndSplitLine(ifs, &pieces); 173 const int kNumPredictors = std::atoi(pieces[0].c_str()); 175 GetAndSplitLine(ifs, &pieces); 176 const int kNumObservations = std::atoi(pieces[ [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | autofill_dialog_types.cc | 41 std::vector<base::string16> pieces; local 42 base::SplitStringDontTrim(display_text, kRangeSeparator, &pieces); 43 if (pieces.size() > 1) { 44 size_t start = pieces[0].size(); 45 size_t end = start + pieces[1].size(); 47 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);
|
H A D | password_generation_popup_controller_impl.cc | 91 std::vector<base::string16> pieces; local 95 &pieces); local 96 DCHECK_EQ(3u, pieces.size()); 97 link_range_ = gfx::Range(pieces[0].size(), 98 pieces[0].size() + pieces[1].size()); 99 help_text_ = JoinString(pieces, base::string16());
|
/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/icu/icu4c/source/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/icu/icu4c/source/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/tools/grit/grit/format/policy_templates/writers/ |
H A D | doc_writer.py | 358 pieces = [] 361 pieces.append(value + ' (Windows)') 364 pieces.append(value + ' (Linux)') 367 pieces.append(value + ' (Mac)') 368 self.AddText(parent, ', '.join(pieces)) 372 pieces = [] 374 pieces.append('0x%08x (Windows)' % example_value) 376 pieces.append('%d (Linux)' % example_value) 378 pieces.append('%d (Mac)' % example_value) 379 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 | 266 std::vector<base::string16> pieces; local 267 base::SplitString(value, base::char16('/'), &pieces); 268 if (pieces.size() != 2) 272 base::string16 month = pieces[0]; 273 base::string16 year = pieces[1];
|