HomeSort by relevance Sort by last modified time
    Searched defs:pieces (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/chromium_org/gpu/config/
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];
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);
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];
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];
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/common/
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[0]
    [all...]
  /external/chromium_org/chrome/renderer/extensions/
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/third_party/icu/source/common/unicode/
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/icu/icu4c/source/common/unicode/
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/browser/safe_browsing/
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) {
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[1].as_string(), &chunk_delete.chunk_del)
    [all...]
  /external/chromium_org/chrome/browser/ui/autofill/
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());
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);
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());
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
AnnotationUtils.java 171 * Split the string into pieces that are likely to be common
177 ArrayList<String> pieces = new ArrayList<String>(20); local
205 pieces.add(raw.substring(at, endAt));
209 int size = pieces.size();
213 list.set(i, new CstString(pieces.get(i)));
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationUtils.java 170 * Split the string into pieces that are likely to be common
176 ArrayList<String> pieces = new ArrayList<String>(20); local
204 pieces.add(raw.substring(at, endAt));
208 int size = pieces.size();
212 list.set(i, new CstString(pieces.get(i)));
  /external/ceres-solver/examples/
nist.cc 147 bool GetAndSplitLine(std::ifstream& ifs, std::vector<std::string>* pieces) {
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[0].c_str())
    [all...]
  /external/chromium_org/components/autofill/core/browser/
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];
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
AnnotationUtils.java 169 * Split the string into pieces that are likely to be common
175 ArrayList<String> pieces = new ArrayList<String>(20); local
203 pieces.add(raw.substring(at, endAt));
207 int size = pieces.size();
211 list.set(i, new CstString(pieces.get(i)));
  /external/guava/guava/src/com/google/common/net/
InternetDomainName.java 543 final String[] pieces = domain.split(DOT_REGEX, 2); local
544 return pieces.length == 2 && TldPatterns.UNDER.contains(pieces[1]);
  /frameworks/base/core/java/android/net/
NetworkUtils.java 281 String[] pieces = ipAndMaskString.split("/", 2); local
282 prefixLength = Integer.parseInt(pieces[1]);
283 address = InetAddress.parseNumericAddress(pieces[0]);
  /frameworks/ex/common/java/com/android/common/
OperationScheduler.java 112 String[] pieces = param.substring(8).split("\\+"); local
113 if (pieces.length > 3) {
116 if (pieces.length > 0 && pieces[0].length() > 0) {
117 options.backoffFixedMillis = parseSeconds(pieces[0]);
119 if (pieces.length > 1 && pieces[1].length() > 0) {
120 options.backoffIncrementalMillis = parseSeconds(pieces[1]);
122 if (pieces.length > 2 && pieces[2].length() > 0)
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
feature_info.cc 71 std::vector<std::string> pieces; local
72 base::SplitString(types, ',', &pieces);
73 for (size_t i = 0; i < pieces.size(); ++i) {
75 bool succeed = base::StringToInt(pieces[i], &number);
  /libcore/luni/src/main/java/javax/crypto/
Cipher.java 319 String[] pieces = transformation.split("/"); local
320 if (pieces.length > 3) {
323 // Empty or missing pieces are represented by null.
325 for (int i = 0; i < pieces.length; ++i) {
326 String piece = pieces[i].trim();
    [all...]
  /art/compiler/
elf_writer_quick.cc 139 static bool WriteOutFile(const std::vector<ElfFilePiece*>& pieces, File* elf_file) {
141 for (auto it = pieces.begin(); it != pieces.end(); ++it) {
402 std::vector<ElfFilePiece*> pieces; local
494 // We postpone adding an ElfFilePiece to keep the order in "pieces."
569 // Add the rest of the pieces to the list.
570 pieces.push_back(new ElfFileMemoryPiece("Elf Header", 0, &elf_header_, sizeof(elf_header_)));
571 pieces.push_back(new ElfFileMemoryPiece("Program headers", phdr_offset,
573 pieces.push_back(new ElfFileMemoryPiece(".dynamic", dynamic_builder_.section_.sh_offset,
575 pieces.push_back(new ElfFileMemoryPiece(".dynsym", dynsym_builder_.section_.sh_offset
    [all...]
  /build/tools/releasetools/
common.py 210 pieces = line.split() variable in class:LoadRecoveryFSTab.Partition
211 if not (3 <= len(pieces) <= 4):
215 p.mount_point = pieces[0]
216 p.fs_type = pieces[1]
217 p.device = pieces[2]
220 if len(pieces) >= 4:
221 if pieces[3].startswith("/"):
222 p.device2 = pieces[3]
223 if len(pieces) >= 5:
224 options = pieces[4
246 pieces = line.split() variable in class:LoadRecoveryFSTab.Partition
    [all...]

Completed in 1482 milliseconds

1 2 3