Searched defs:pieces (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/common/
H A Dchrome_content_client_unittest.cc15 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/third_party/icu/source/common/unicode/
H A Dcaniter.h83 * 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/icu/icu4c/source/common/unicode/
H A Dcaniter.h83 * 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/gpu/config/
H A Dgpu_util.cc37 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 Dgpu_info_collector.cc71 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 Dgpu_info_collector_android.cc40 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 Dgpu_info_collector_linux.cc239 std::vector<std::string> pieces; local
240 base::SplitStringAlongWhitespace(gl_version, &pieces);
243 if (pieces.size() < 3)
246 std::string driver_version = pieces[2];
253 gpu_info->driver_vendor = pieces[1];
H A Dgpu_control_list.cc1352 std::vector<std::string> pieces; local
1353 if (!ProcessVersionString(version_, '.', &pieces))
/external/chromium_org/extensions/renderer/
H A Dextensions_render_frame_observer.cc37 std::vector<base::string16> pieces; local
44 &pieces);
45 *message = pieces[0];
50 &pieces);
54 if (index < pieces.size()) {
55 for (; index < pieces.size(); ++index) {
56 scoped_ptr<StackFrame> frame = StackFrame::CreateFromText(pieces[index]);
/external/chromium_org/chrome/browser/ui/passwords/
H A Dmanage_passwords_bubble_model.cc41 std::vector<base::string16> pieces; local
44 &pieces);
45 DCHECK_EQ(3u, pieces.size());
46 *link_range = gfx::Range(pieces[0].size(),
47 pieces[0].size() + pieces[1].size());
48 *text = JoinString(pieces, base::string16());
/external/chromium_org/chrome/browser/safe_browsing/
H A Dprotocol_parser.cc103 // 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);
288 std::vector<base::StringPiece> pieces; local
289 if (!reader.GetPieces(2, &pieces))
292 base::StringPiece& command = pieces[0];
306 StringToRanges(pieces[
[all...]
/external/chromium_org/chrome/browser/ui/autofill/
H A Dautofill_dialog_types.cc39 std::vector<base::string16> pieces; local
40 base::SplitStringDontTrim(display_text, kRangeSeparator, &pieces);
41 if (pieces.size() > 1) {
42 size_t start = pieces[0].size();
43 size_t end = start + pieces[1].size();
45 display_text_ = JoinString(pieces, base::string16());
H A Dgenerated_credit_card_bubble_controller.cc196 std::vector<base::string16> pieces; local
197 base::SplitStringDontTrim(to_split, kRangeSeparator, &pieces);
199 while (!pieces.empty()) {
200 base::string16 piece = pieces.front();
204 // to work for "|highlighting| starts here". Ignore empty pieces because
206 if (!piece.empty() && pieces.size() % 2 == 0) {
216 pieces.erase(pieces.begin(), pieces.begin() + 1);
H A Dpassword_generation_popup_controller_impl.cc88 std::vector<base::string16> pieces; local
92 &pieces); local
93 DCHECK_EQ(3u, pieces.size());
94 link_range_ = gfx::Range(pieces[0].size(),
95 pieces[0].size() + pieces[1].size());
96 help_text_ = JoinString(pieces, base::string16());
/external/ceres-solver/examples/
H A Dnist.cc147 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/components/autofill/core/browser/
H A Dautofill_field.cc345 std::vector<base::string16> pieces; local
346 base::SplitString(value, base::char16('/'), &pieces);
347 if (pieces.size() != 2)
351 base::string16 month = pieces[0];
352 base::string16 year = pieces[1];
/external/chromium_org/gpu/command_buffer/service/
H A Dfeature_info.cc71 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);
/external/chromium_org/net/ftp/
H A Dftp_network_transaction.cc182 // 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/src/google/protobuf/stubs/
H A Dstrutil.cc195 // at most the specified number of pieces greedily. This means that the
196 // last piece may possibly be split further. To split into as many pieces
197 // as possible, specify 0 as the number of pieces.
201 // If "pieces" is negative for some reason, it returns the whole string
207 int pieces,
212 for (int i = 0; (i < pieces-1) || (pieces == 0); i++) {
205 SplitStringToIteratorAllowEmpty(const StringType& full, const char* delim, int pieces, ITR& result) argument
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dssearch.cpp1159 int32_t pieces = (m_rand() % 4) + 1; local
1168 for(int32_t piece = 0; piece < pieces; piece += 1) {
/external/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp1037 static void compute_path_size(const PathPieces &pieces, unsigned &size) { argument
1038 for (PathPieces::const_iterator it = pieces.begin(),
1039 et = pieces.end(); it != et; ++it) {
H A DBugReporter.cpp101 /// can lead to redundant diagnostic pieces at the same point in a path.
131 // Check to see if we should keep one of the two pieces. If we
153 /// Recursively scan through a path and prune out calls and macros pieces
156 static bool removeUnneededCalls(PathPieces &pieces, BugReport *R, argument
159 const unsigned N = pieces.size();
164 IntrusiveRefCntPtr<PathDiagnosticPiece> piece(pieces.front());
165 pieces.pop_front();
202 pieces.push_back(piece);
215 /// Recursively scan through a path and make sure that all call pieces have
285 /// Remove all pieces wit
1977 addContextEdges(PathPieces &pieces, SourceManager &SM, const ParentMap &PM, const LocationContext *LCtx) argument
2058 simplifySimpleBranches(PathPieces &pieces) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dssearch.cpp1156 int32_t pieces = (m_rand() % 4) + 1; local
1165 for(int32_t piece = 0; piece < pieces; piece += 1) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...

Completed in 281 milliseconds

12