/external/pcre/dist/ |
H A D | pcre_stringpiece.cc | 41 std::ostream& operator<<(std::ostream& o, const pcrecpp::StringPiece& piece) { argument 42 return (o << piece.as_string());
|
/external/chromium_org/net/spdy/ |
H A D | spdy_pinnable_buffer_piece_test.cc | 29 SpdyPinnableBufferPiece piece; local 30 EXPECT_TRUE(reader.ReadN(6, &piece)); 33 EXPECT_EQ(StringPiece("foobar"), piece); 34 EXPECT_FALSE(piece.IsPinned()); 35 EXPECT_EQ(prefix_.data(), piece.buffer()); 37 piece.Pin(); 40 EXPECT_EQ(StringPiece("foobar"), piece); 41 EXPECT_TRUE(piece.IsPinned()); 42 EXPECT_NE(prefix_.data(), piece.buffer()); 45 const char* buffer = piece [all...] |
H A D | spdy_prefixed_buffer_reader_test.cc | 43 SpdyPinnableBufferPiece piece; local 44 EXPECT_FALSE(reader.ReadN(10, &piece)); // Not enough buffer. 45 EXPECT_TRUE(reader.ReadN(6, &piece)); 46 EXPECT_FALSE(piece.IsPinned()); 47 EXPECT_EQ(StringPiece("foobar"), piece); 66 SpdyPinnableBufferPiece piece; local 67 EXPECT_FALSE(reader.ReadN(10, &piece)); // Not enough buffer. 68 EXPECT_TRUE(reader.ReadN(6, &piece)); 69 EXPECT_FALSE(piece.IsPinned()); 70 EXPECT_EQ(StringPiece("foobar"), piece); 89 SpdyPinnableBufferPiece piece; local 102 SpdyPinnableBufferPiece piece; local [all...] |
/external/chromium_org/mojo/tools/ |
H A D | message_generator.cc | 22 std::string BinaryToHex(const base::StringPiece& piece) { argument 24 result.reserve(result.size() + (piece.size() * 5)); 25 for (size_t i = 0; i < piece.size(); ++i) 26 base::StringAppendF(&result, "0X%.2X\n", static_cast<int>(piece.data()[i]));
|
/external/valgrind/main/memcheck/tests/ |
H A D | memalign2.c | 29 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/chromium_org/tools/gn/ |
H A D | string_utils.h | 44 // Appends the given string piece to the given string. This avoids an 47 const base::StringPiece& piece) { 48 dest->append(piece.data(), piece.size()); 46 AppendStringPiece(std::string* dest, const base::StringPiece& piece) argument
|
/external/chromium_org/base/ |
H A D | big_endian_unittest.cc | 20 base::StringPiece piece; local 38 EXPECT_TRUE(reader.ReadPiece(&piece, 2)); 39 EXPECT_EQ(2u, piece.size()); 40 EXPECT_EQ(expected.data(), piece.data()); 50 base::StringPiece piece; local 60 EXPECT_FALSE(reader.ReadPiece(&piece, 4));
|
/external/chromium_org/third_party/re2/util/ |
H A D | stringpiece.cc | 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { argument 11 o.write(piece.data(), piece.size());
|
/external/regex-re2/util/ |
H A D | stringpiece.cc | 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { argument 11 o.write(piece.data(), piece.size());
|
/external/chromium_org/third_party/jinja2/ |
H A D | loaders.py | 27 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/chromium_org/chrome/browser/ui/autofill/ |
H A D | generated_credit_card_bubble_controller.cc | 200 base::string16 piece = pieces.front(); local 202 // Every second piece should be bolded. Because |base::SplitString*()| 206 if (!piece.empty() && pieces.size() % 2 == 0) { 209 bold_text.range = gfx::Range(start, start + piece.size()); 214 // Append the piece whether it's bolded or not and move on to the next one. 215 contents_text_.append(piece);
|
/external/chromium_org/net/quic/crypto/ |
H A D | p256_key_exchange_nss.cc | 25 static vector<uint8> StringPieceToVector(StringPiece piece) { argument 26 return vector<uint8>(piece.data(), piece.data() + piece.length());
|
/external/chromium_org/ui/base/resource/ |
H A D | data_pack.cc | 219 base::StringPiece piece; local 220 if (!GetStringPiece(resource_id, &piece)) 223 return new base::RefCountedStaticMemory(piece.data(), piece.length());
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/ |
H A D | string_piece.cc | 16 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { argument 17 o.write(piece.data(), static_cast<std::streamsize>(piece.size()));
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | PlistDiagnostics.cpp | 314 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)) {
|
H A D | BugReporter.cpp | 111 IntrusiveRefCntPtr<PathDiagnosticPiece> piece(path.front()); 114 switch (piece->getKind()) { 116 removeRedundantMsgs(cast<PathDiagnosticCallPiece>(piece)->path); 119 removeRedundantMsgs(cast<PathDiagnosticMacroPiece>(piece)->subPieces); 130 cast<PathDiagnosticEventPiece>(piece); 132 // come up with a preference, record which piece to keep, and consume 133 // another piece from the path. 136 piece = pieceToKeep; 144 path.push_back(piece); 162 // Remove the front piece fro 2998 PathDiagnosticPiece *piece = I->get(); local 3452 PathDiagnosticPiece *piece = local [all...] |
H A D | PathDiagnostic.cpp | 94 // FIXME: This probably shouldn't mutate the original path piece. 135 "The call piece should be in the main file."); 145 // Check if the last piece in the callee path is a call to a function outside 152 // Otherwise, the last piece is in the main file. 164 // We only need to check if the report ends inside headers, if the last piece 165 // is a call piece. 169 // Mark the piece. 225 const PathDiagnosticPiece *piece = I->get(); local 226 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); 234 ArrayRef<SourceRange> Ranges = piece 1040 const PathDiagnosticPiece *piece = it->get(); local [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | javascriptlintrules.py | 118 for piece in identifier.split('.'): 119 if piece.endswith('_'): 120 self._used_private_members.add(piece) 124 for piece in token.string.split('.'): 125 if piece.endswith('_'): 126 self._used_private_members.add(piece)
|
H A D | closurizednamespacesinfo.py | 259 for piece in pieces: 260 if piece.endswith('_'):
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
H A D | javascriptlintrules.py | 134 for piece in identifier.split('.'): 135 if piece.endswith('_'): 136 self._used_private_members.add(piece) 140 for piece in token.string.split('.'): 141 if piece.endswith('_'): 142 self._used_private_members.add(piece)
|
H A D | closurizednamespacesinfo.py | 256 for piece in pieces: 257 if piece.endswith('_'):
|
/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
H A D | db_bench_tree_db.cc | 98 std::string piece; local 102 test::CompressibleString(&rnd, FLAGS_compression_ratio, 100, &piece); 103 data_.append(piece);
|
/external/chromium_org/third_party/re2/re2/ |
H A D | stringpiece.h | 5 // A string-like object that points to a sized piece of memory. 183 extern std::ostream& operator<<(std::ostream& o, const re2::StringPiece& piece);
|
/external/clang/include/clang/Rewrite/Core/ |
H A D | RewriteRope.h | 150 llvm::StringRef piece() const { function in class:clang::RopePieceBTreeIterator
|
/external/regex-re2/re2/ |
H A D | stringpiece.h | 5 // A string-like object that points to a sized piece of memory. 180 extern std::ostream& operator<<(std::ostream& o, const re2::StringPiece& piece);
|