/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...] |
/build/target/board/emulator/ |
BoardConfig.mk | 6 # The generic product target doesn't have any hardware-specific pieces.
|
/external/chromium_org/gpu/config/ |
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.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_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];
|
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 111 String[] pieces = param.substring(8).split("\\+"); local 112 if (pieces.length > 3) { 115 if (pieces.length > 0 && pieces[0].length() > 0) { 116 options.backoffFixedMillis = parseSeconds(pieces[0]); 118 if (pieces.length > 1 && pieces[1].length() > 0) { 119 options.backoffIncrementalMillis = parseSeconds(pieces[1]); 121 if (pieces.length > 2 && pieces[2].length() > 0) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
multiway_mergesort.h | 86 /** @brief Pieces of data to merge @c [thread][sequence] */ 87 std::vector<Piece<difference_type> >* pieces; member in struct:__gnu_parallel::PMWMSSortingData 161 sd->pieces[iam][seq].end = offsets[seq] - seqs[seq].first; 164 sd->pieces[iam][seq].end = 174 sd->pieces[iam][seq].begin = sd->pieces[iam - 1][seq].end; 177 sd->pieces[iam][seq].begin = 0; 216 sd->pieces[iam][s].begin = 225 sd->pieces[iam][s].begin = 0; 228 sd->pieces[iam][s].end [all...] |
/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 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[0].c_str()) [all...] |
/device/generic/armv7-a-neon/ |
BoardConfig.mk | 6 # The generic product target doesn't have any hardware-specific pieces.
|
/external/chromium_org/chrome/browser/ui/autofill/ |
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/ |
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[0] = new UnicodeString[1] [all...] |
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/ |
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[0] = new UnicodeString[1] [all...] |
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,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
repr.py | 48 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)] 49 if n > maxiter: pieces.append('...') 50 s = ', '.join(pieces) 82 pieces = [] 86 pieces.append('%s: %s' % (keyrepr, valrepr)) 87 if n > self.maxdict: pieces.append('...') 88 s = ', '.join(pieces)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
repr.py | 48 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)] 49 if n > maxiter: pieces.append('...') 50 s = ', '.join(pieces) 82 pieces = [] 86 pieces.append('%s: %s' % (keyrepr, valrepr)) 87 if n > self.maxdict: pieces.append('...') 88 s = ', '.join(pieces)
|
/build/tools/releasetools/ |
sign_target_files_apks | 189 pieces = value.split("/") 190 pieces[-1] = EditTags(pieces[-1]) 191 value = "/".join(pieces) 193 pieces = value.split(" ") 194 assert len(pieces) == 5 195 pieces[-1] = EditTags(pieces[-1]) 196 value = " ".join(pieces)
|
common.py | 189 pieces = line.split() variable in class:LoadRecoveryFSTab.Partition 190 if not (3 <= len(pieces) <= 4): 194 p.mount_point = pieces[0] 195 p.fs_type = pieces[1] 196 p.device = pieces[2] 199 if len(pieces) >= 4: 200 if pieces[3].startswith("/"): 201 p.device2 = pieces[3] 202 if len(pieces) >= 5: 203 options = pieces[4 225 pieces = line.split() variable in class:LoadRecoveryFSTab.Partition [all...] |
/frameworks/base/core/java/android/net/ |
LinkAddress.java | 71 String [] pieces = address.split("/", 2); local 72 prefixLength = Integer.parseInt(pieces[1]); 73 inetAddress = InetAddress.parseNumericAddress(pieces[0]);
|
/external/srec/srec/cfront/ |
himul32.h | 106 pieces; 112 return result.pieces.hi;
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
ByteStringTest.java | 148 final List<ByteString> pieces = makeConcretePieces(testBytes); local 150 ByteString byteString = ByteString.copyFrom(pieces); 156 return pieces.iterator(); 545 List<ByteString> pieces = makeConcretePieces(referenceBytes); local 546 ByteString listString = ByteString.copyFrom(pieces); 581 List<ByteString> pieces = makeConcretePieces(referenceBytes); local 582 ByteString listString = ByteString.copyFrom(pieces); 594 List<ByteString> pieces = makeConcretePieces(referenceBytes); local 596 Iterator<ByteString> iter = pieces.iterator(); 680 List<ByteString> pieces = new ArrayList<ByteString>() local [all...] |
/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 | 174 * Split the string into pieces that are likely to be common 180 ArrayList<String> pieces = new ArrayList<String>(20); local 208 pieces.add(raw.substring(at, endAt)); 212 int size = pieces.size(); 216 list.set(i, new CstString(pieces.get(i)));
|
/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/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)));
|