Searched refs:piece (Results 1 - 25 of 65) sorted by relevance

123

/external/pcre/dist/
H A Dpcre_stringpiece.cc41 std::ostream& operator<<(std::ostream& o, const pcrecpp::StringPiece& piece) { argument
42 return (o << piece.as_string());
/external/libchrome/base/strings/
H A Dstring_split.cc19 // non-piece string type.
24 OutputType PieceToOutputType(BasicStringPiece<Str> piece) { argument
25 return piece;
28 std::string PieceToOutputType<std::string, std::string>(StringPiece piece) { argument
29 return piece.as_string();
32 string16 PieceToOutputType<string16, string16>(StringPiece16 piece) { argument
33 return piece.as_string();
51 size_t FindFirstOf(StringPiece piece, char c, size_t pos) { argument
52 return piece.find(c, pos);
54 size_t FindFirstOf(StringPiece16 piece, char1 argument
57 FindFirstOf(StringPiece piece, StringPiece one_of, size_t pos) argument
60 FindFirstOf(StringPiece16 piece, StringPiece16 one_of, size_t pos) argument
86 BasicStringPiece<Str> piece; local
[all...]
/external/valgrind/memcheck/tests/
H A Dmemalign2.c29 int* piece;
43 // We allocate (and then free) a piece of memory smaller than
50 piece = malloc(1024 * 1000); assert (piece);
51 free (piece);
56 piece = malloc(1024 * 100); assert (piece);
58 free (piece);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
H A DFileUtilities.java50 * Replaces all occurances of piece with replacement, and returns new String
52 public static String replace(String source, String piece, String replacement) { argument
53 if (source == null || source.length() < piece.length()) return source;
56 pos = source.indexOf(piece, pos);
58 source = source.substring(0,pos) + replacement + source.substring(pos + piece.length());
H A DCaseIterator.java428 // each piece becomes an array of equivalent values
431 String piece = null;
433 for (int i = 0; i < source.length(); i += piece.length()) {
435 // find *longest* matching piece
440 piece = UTF16.valueOf(source, i);
441 caseFold = (String) toCaseFold.get(piece);
446 piece = source.substring(i, j);
447 caseFold = (String) toCaseFold.get(piece);
454 piece = UTF16.valueOf(source, i);
455 variants[count++] = new String[] {piece}; // singl
[all...]
H A DDataOutputCompressor.java164 String piece = s.substring(common);
167 int inPool = trailingPool.getIndex(piece);
170 writeUTF(piece);
171 trailingPool.put(piece);
H A DTabber.java119 String piece = source.substring(lastPos, pos);
125 result.append(piece);
136 String piece = source.substring(start, limit);
144 startPos = endPos - piece.length();
147 startPos = (startPos + endPos - piece.length() + 1)/2;
154 output.append(piece);
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
H A DFileUtilities.java49 * Replaces all occurances of piece with replacement, and returns new String
51 public static String replace(String source, String piece, String replacement) { argument
52 if (source == null || source.length() < piece.length()) return source;
55 pos = source.indexOf(piece, pos);
57 source = source.substring(0,pos) + replacement + source.substring(pos + piece.length());
H A DCaseIterator.java427 // each piece becomes an array of equivalent values
430 String piece = null;
432 for (int i = 0; i < source.length(); i += piece.length()) {
434 // find *longest* matching piece
439 piece = UTF16.valueOf(source, i);
440 caseFold = (String) toCaseFold.get(piece);
445 piece = source.substring(i, j);
446 caseFold = (String) toCaseFold.get(piece);
453 piece = UTF16.valueOf(source, i);
454 variants[count++] = new String[] {piece}; // singl
[all...]
/external/curl/lib/
H A Dhttp_chunks.c114 size_t piece; local
187 more or less than 'datasize'. Get the smallest piece.
189 piece = curlx_sotouz((ch->datasize >= length)?length:ch->datasize);
200 piece);
211 (ssize_t)piece);
218 (ssize_t)piece);
233 *wrote += piece;
235 ch->datasize -= piece; /* decrease amount left to expect */
236 datap += piece; /* move read pointer forward */
237 length -= piece; /* decreas
[all...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DWebPlatformUrlTestData.java103 String piece = parts[i];
104 if (piece.startsWith("#")) continue;
105 String[] nameAndValue = piece.split(":", 2);
/external/regex-re2/util/
H A Dstringpiece.cc10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { argument
11 o.write(piece.data(), piece.size());
/external/opencv3/3rdparty/jinja2/
H A Dloaders.py27 for piece in template.split('/'):
28 if path.sep in piece \
29 or (path.altsep and path.altsep in piece) or \
30 piece == path.pardir:
32 elif piece and piece != '.':
33 pieces.append(piece)
/external/opencv3/platforms/android/service/engine/src/org/opencv/engine/manager/
H A DManagerActivity.java99 for (String piece : vars) {
100 res += "\n\t" + piece + " -> "
101 + engine.getLibraryList(piece);
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
H A DCaseIterator.java424 // each piece becomes an array of equivalent values
427 String piece = null;
429 for (int i = 0; i < source.length(); i += piece.length()) {
431 // find *longest* matching piece
436 piece = UTF16.valueOf(source, i);
437 caseFold = (String) toCaseFold.get(piece);
442 piece = source.substring(i, j);
443 caseFold = (String) toCaseFold.get(piece);
450 piece = UTF16.valueOf(source, i);
451 variants[count++] = new String[] {piece}; // singl
[all...]
/external/pdfium/xfa/src/fee/src/fee/
H A Dfde_txtedtpage.cpp323 FDE_LPTEXTEDITPIECE piece = m_PieceMassArr.GetPtrAt(i); local
325 if (nStart >= piece->nStart && nStart < (piece->nStart + piece->nCount)) {
326 int32_t nRangeEnd = piece->nCount - 1;
328 if (nEnd >= piece->nStart && nEnd < (piece->nStart + piece->nCount)) {
329 nRangeEnd = nEnd - piece->nStart;
333 m_pTextSet->GetCharRects((FDE_HVISUALOBJ)piece, rcAr
[all...]
/external/elfutils/tests/
H A Drun-varlocs.sh46 [80483f0,80483f6) {implicit_value(8){0200000000000000}, piece(8), implicit_value(8){1500000000000000}, piece(8)}
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DDataOutputCompressor.java163 String piece = s.substring(common);
166 int inPool = trailingPool.getIndex(piece);
169 writeUTF(piece);
170 trailingPool.put(piece);
H A DTabber.java118 String piece = source.substring(lastPos, pos);
124 result.append(piece);
135 String piece = source.substring(start, limit);
143 startPos = endPos - piece.length();
146 startPos = (startPos + endPos - piece.length() + 1)/2;
153 output.append(piece);
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
H A Dhtml_module.py71 for piece in self._parser_results.YieldHTMLInPieces(ctl, minify=minify):
72 f.write(piece)
/external/opencv3/modules/ml/test/
H A Dtest_save_load.cpp177 string piece = suffixes.substr(idx, found - idx); local
178 if (piece.empty())
180 oneTest(piece);
181 idx += (unsigned int)piece.size() + 1;
/external/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp314 const PathDiagnosticPiece *piece = I->get(); local
315 AddFID(FM, Fids, *SM, piece->getLocation().asLocation());
316 ArrayRef<SourceRange> Ranges = piece->getRanges();
324 dyn_cast<PathDiagnosticCallPiece>(piece)) {
333 dyn_cast<PathDiagnosticMacroPiece>(piece)) {
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
H A Djavascriptlintrules.py109 for piece in identifier.split('.'):
110 if piece.endswith('_'):
111 self._used_private_members.add(piece)
115 for piece in token.string.split('.'):
116 if piece.endswith('_'):
117 self._used_private_members.add(piece)
/external/autotest/frontend/client/src/autotest/common/
H A DUtils.java148 String piece = object.toString();
149 if (piece.equals("") && !wantBlanks) {
157 result.append(piece);
/external/libweave/third_party/chromium/base/strings/
H A Dstring_piece.cc49 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { argument
50 o.write(piece.data(), static_cast<std::streamsize>(piece.size()));

Completed in 688 milliseconds

123