/external/chromium_org/net/spdy/ |
D | spdy_prefixed_buffer_reader_test.cc | 43 SpdyPinnableBufferPiece piece; in TEST_F() local 44 EXPECT_FALSE(reader.ReadN(10, &piece)); // Not enough buffer. in TEST_F() 45 EXPECT_TRUE(reader.ReadN(6, &piece)); in TEST_F() 46 EXPECT_FALSE(piece.IsPinned()); in TEST_F() 47 EXPECT_EQ(StringPiece("foobar"), piece); in TEST_F() 66 SpdyPinnableBufferPiece piece; in TEST_F() local 67 EXPECT_FALSE(reader.ReadN(10, &piece)); // Not enough buffer. in TEST_F() 68 EXPECT_TRUE(reader.ReadN(6, &piece)); in TEST_F() 69 EXPECT_FALSE(piece.IsPinned()); in TEST_F() 70 EXPECT_EQ(StringPiece("foobar"), piece); in TEST_F() [all …]
|
D | spdy_pinnable_buffer_piece_test.cc | 29 SpdyPinnableBufferPiece piece; in TEST_F() local 30 EXPECT_TRUE(reader.ReadN(6, &piece)); in TEST_F() 33 EXPECT_EQ(StringPiece("foobar"), piece); in TEST_F() 34 EXPECT_FALSE(piece.IsPinned()); in TEST_F() 35 EXPECT_EQ(prefix_.data(), piece.buffer()); in TEST_F() 37 piece.Pin(); in TEST_F() 40 EXPECT_EQ(StringPiece("foobar"), piece); in TEST_F() 41 EXPECT_TRUE(piece.IsPinned()); in TEST_F() 42 EXPECT_NE(prefix_.data(), piece.buffer()); in TEST_F() 45 const char* buffer = piece.buffer(); in TEST_F() [all …]
|
/external/valgrind/main/memcheck/tests/ |
D | memalign2.c | 29 int* piece; in main() 50 piece = malloc(1024 * 1000); assert (piece); in main() 51 free (piece); in main() 56 piece = malloc(1024 * 100); assert (piece); in main() 58 free (piece); in main()
|
/external/chromium_org/mojo/tools/ |
D | message_generator.cc | 22 std::string BinaryToHex(const base::StringPiece& piece) { in BinaryToHex() argument 24 result.reserve(result.size() + (piece.size() * 5)); in BinaryToHex() 25 for (size_t i = 0; i < piece.size(); ++i) in BinaryToHex() 26 base::StringAppendF(&result, "0X%.2X\n", static_cast<int>(piece.data()[i])); in BinaryToHex()
|
/external/chromium_org/base/ |
D | big_endian_unittest.cc | 20 base::StringPiece piece; in TEST() local 38 EXPECT_TRUE(reader.ReadPiece(&piece, 2)); in TEST() 39 EXPECT_EQ(2u, piece.size()); in TEST() 40 EXPECT_EQ(expected.data(), piece.data()); in TEST() 50 base::StringPiece piece; in TEST() local 60 EXPECT_FALSE(reader.ReadPiece(&piece, 4)); in TEST()
|
/external/chromium_org/tools/gn/ |
D | string_utils.h | 47 const base::StringPiece& piece) { in AppendStringPiece() argument 48 dest->append(piece.data(), piece.size()); in AppendStringPiece()
|
/external/pcre/dist/ |
D | pcre_stringpiece.cc | 41 std::ostream& operator<<(std::ostream& o, const pcrecpp::StringPiece& piece) { in operator <<() argument 42 return (o << piece.as_string()); in operator <<()
|
/external/chromium_org/third_party/jinja2/ |
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/ |
D | generated_credit_card_bubble_controller.cc | 200 base::string16 piece = pieces.front(); in SetupAndShow() local 206 if (!piece.empty() && pieces.size() % 2 == 0) { in SetupAndShow() 209 bold_text.range = gfx::Range(start, start + piece.size()); in SetupAndShow() 215 contents_text_.append(piece); in SetupAndShow()
|
/external/regex-re2/util/ |
D | stringpiece.cc | 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { in operator <<() argument 11 o.write(piece.data(), piece.size()); in operator <<()
|
/external/chromium_org/third_party/re2/util/ |
D | stringpiece.cc | 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { in operator <<() argument 11 o.write(piece.data(), piece.size()); in operator <<()
|
/external/chromium_org/net/quic/crypto/ |
D | p256_key_exchange_nss.cc | 25 static vector<uint8> StringPieceToVector(StringPiece piece) { in StringPieceToVector() argument 26 return vector<uint8>(piece.data(), piece.data() + piece.length()); in StringPieceToVector()
|
/external/chromium_org/ui/base/resource/ |
D | data_pack.cc | 219 base::StringPiece piece; in GetStaticMemory() local 220 if (!GetStringPiece(resource_id, &piece)) in GetStaticMemory() 223 return new base::RefCountedStaticMemory(piece.data(), piece.length()); in GetStaticMemory()
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
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)
|
D | closurizednamespacesinfo.py | 259 for piece in pieces: 260 if piece.endswith('_'):
|
/external/chromium_org/chrome/browser/ui/cocoa/applescript/examples/ |
D | tab_manipulation.applescript | 26 cut selection -- Cut a piece of text and place it on the system clipboard. 28 copy selection -- Copy a piece of text and place it on the system clipboard.
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/ |
D | string_piece.cc | 16 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { in operator <<() argument 17 o.write(piece.data(), static_cast<std::streamsize>(piece.size())); in operator <<()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PlistDiagnostics.cpp | 314 const PathDiagnosticPiece *piece = I->get(); in FlushDiagnosticsImpl() local 315 AddFID(FM, Fids, *SM, piece->getLocation().asLocation()); in FlushDiagnosticsImpl() 316 ArrayRef<SourceRange> Ranges = piece->getRanges(); in FlushDiagnosticsImpl() 324 dyn_cast<PathDiagnosticCallPiece>(piece)) { in FlushDiagnosticsImpl() 333 dyn_cast<PathDiagnosticMacroPiece>(piece)) { in FlushDiagnosticsImpl()
|
D | BugReporter.cpp | 111 IntrusiveRefCntPtr<PathDiagnosticPiece> piece(path.front()); in removeRedundantMsgs() local 114 switch (piece->getKind()) { in removeRedundantMsgs() 116 removeRedundantMsgs(cast<PathDiagnosticCallPiece>(piece)->path); in removeRedundantMsgs() 119 removeRedundantMsgs(cast<PathDiagnosticMacroPiece>(piece)->subPieces); in removeRedundantMsgs() 130 cast<PathDiagnosticEventPiece>(piece); in removeRedundantMsgs() 136 piece = pieceToKeep; in removeRedundantMsgs() 144 path.push_back(piece); in removeRedundantMsgs() 164 IntrusiveRefCntPtr<PathDiagnosticPiece> piece(pieces.front()); in removeUnneededCalls() local 167 switch (piece->getKind()) { in removeUnneededCalls() 169 PathDiagnosticCallPiece *call = cast<PathDiagnosticCallPiece>(piece); in removeUnneededCalls() [all …]
|
D | PathDiagnostic.cpp | 225 const PathDiagnosticPiece *piece = I->get(); in HandlePathDiagnostic() local 226 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 234 ArrayRef<SourceRange> Ranges = piece->getRanges(); in HandlePathDiagnostic() 246 dyn_cast<PathDiagnosticCallPiece>(piece)) { in HandlePathDiagnostic() 250 dyn_cast<PathDiagnosticMacroPiece>(piece)) { in HandlePathDiagnostic() 1040 const PathDiagnosticPiece *piece = it->get(); in compute_path_size() local 1042 dyn_cast<PathDiagnosticCallPiece>(piece)) { in compute_path_size()
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
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)
|
D | closurizednamespacesinfo.py | 256 for piece in pieces: 257 if piece.endswith('_'):
|
/external/icu/icu4c/source/layout/ |
D | IndicReordering.cpp | 245 LEUnicode piece = (*splitMatra)[j]; in decomposeReorderMatras() local 247 fOutChars[i+inv_count] = piece; in decomposeReorderMatras() 248 matraClass = classTable->getCharClass(piece); in decomposeReorderMatras() 250 insertCharacter(piece,i+1+inv_count,saveIndex,saveAuxData); in decomposeReorderMatras() 336 LEUnicode piece = (*splitMatra)[i]; in noteMatra() local 337 IndicClassTable::CharClass pieceClass = classTable->getCharClass(piece); in noteMatra() 339 saveMatra(piece, matraIndex, pieceClass); in noteMatra()
|
/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
D | db_bench_tree_db.cc | 98 std::string piece; in RandomGenerator() local 102 test::CompressibleString(&rnd, FLAGS_compression_ratio, 100, &piece); in RandomGenerator() 103 data_.append(piece); in RandomGenerator()
|
/external/bison/m4/ |
D | pathmax.m4 | 14 # Expands to a piece of C program that defines PATH_MAX in the same way as
|