HomeSort by relevance Sort by last modified time
    Searched refs:piece (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /external/pcre/dist/
pcre_stringpiece.cc 41 std::ostream& operator<<(std::ostream& o, const pcrecpp::StringPiece& piece) {
42 return (o << piece.as_string());
  /external/chromium_org/net/spdy/
spdy_pinnable_buffer_piece_test.cc 29 SpdyPinnableBufferPiece piece; local
30 EXPECT_TRUE(reader.ReadN(6, &piece));
32 // Piece points to underlying prefix storage.
33 EXPECT_EQ(StringPiece("foobar"), piece);
34 EXPECT_FALSE(piece.IsPinned());
35 EXPECT_EQ(prefix_.data(), piece.buffer());
37 piece.Pin();
39 // Piece now points to allocated storage.
40 EXPECT_EQ(StringPiece("foobar"), piece);
41 EXPECT_TRUE(piece.IsPinned())
    [all...]
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/
message_generator.cc 22 std::string BinaryToHex(const base::StringPiece& piece) {
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/
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/
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());
  /external/chromium_org/base/
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/
stringpiece.cc 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) {
11 o.write(piece.data(), piece.size());
  /external/regex-re2/util/
stringpiece.cc 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) {
11 o.write(piece.data(), piece.size());
  /art/runtime/base/
stringpiece.cc 90 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) {
91 o.write(piece.data(), piece.size());
stringpiece.h 17 // A string-like object that points to a sized piece of memory.
209 extern std::ostream& operator<<(std::ostream& o, const StringPiece& piece);
  /external/chromium_org/chrome/browser/ui/autofill/
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/
p256_key_exchange_nss.cc 25 static vector<uint8> StringPieceToVector(StringPiece piece) {
26 return vector<uint8>(piece.data(), piece.data() + piece.length());
  /external/chromium_org/ui/base/resource/
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/jinja2/
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/third_party/libphonenumber/src/phonenumbers/base/strings/
string_piece.cc 16 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) {
17 o.write(piece.data(), static_cast<std::streamsize>(piece.size()));
  /external/clang/lib/StaticAnalyzer/Core/
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)) {
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
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)
closurizednamespacesinfo.py 259 for piece in pieces:
260 if piece.endswith('_'):
  /external/chromium_org/third_party/leveldatabase/src/doc/bench/
db_bench_tree_db.cc 98 std::string piece; local
102 test::CompressibleString(&rnd, FLAGS_compression_ratio, 100, &piece);
103 data_.append(piece);
  /ndk/sources/host-tools/make-3.81/
vmsify.c 909 static char piece[512]; local
915 p = piece;
989 return piece;
  /external/chromium_org/third_party/re2/re2/
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/
RewriteRope.h 150 llvm::StringRef piece() const { function in class:clang::RopePieceBTreeIterator
  /external/regex-re2/re2/
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);
  /external/chromium_org/third_party/closure_linter/closure_linter/
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)

Completed in 649 milliseconds

1 2 3 4