/external/libchrome/base/strings/ |
string_piece_unittest.cc | 198 typedef BasicStringPiece<TypeParam> Piece; 211 Piece e; 215 Piece f(temp); 234 ASSERT_EQ(Piece::npos, TypeParam::npos); 237 ASSERT_EQ(a.find(b, 1), Piece::npos); 240 ASSERT_EQ(a.find(c, Piece::npos), Piece::npos); 241 ASSERT_EQ(b.find(c), Piece::npos); 242 ASSERT_EQ(b.find(c, Piece::npos), Piece::npos) 711 constexpr StringPiece piece; local 728 constexpr StringPiece piece; local 748 constexpr StringPiece piece; local 764 constexpr StringPiece piece = "def"; local [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DebugHandlerBase.cpp | 147 const DIExpression *Piece = I->first->getDebugExpression(); 150 return !piecesOverlap(Piece, Pred.first->getDebugExpression());
|
/external/pdfium/core/fxcrt/ |
cfx_char.h | 14 enum class CFX_BreakType { None = 0, Piece, Line, Paragraph, Page };
|
/external/tensorflow/tensorflow/compiler/xla/ |
literal.h | 324 class Piece { 326 // Returns the buffer holding the array data for this piece as an array 327 // slice. This piece must be array-shaped. 333 // Returns the buffer holding the array data for this piece as a void*. This 334 // piece must be array-shaped. 339 // is CHECKed against the dimension sizes of the array. This piece must be 358 // Gets or sets the subshape of this piece. This reference points to a 366 // Returns the number of elements in this piece's array. 375 // Returns the child piece at 'index' of this piece 525 const Piece& piece(const ShapeIndex& shape_index) const { function 526 Piece* piece = &const_cast<Piece&>(root_piece()); local [all...] |
/external/tensorflow/tensorflow/core/lib/strings/ |
strcat.h | 133 StringPiece Piece() const { return piece_; } 193 return internal::CatPieces({a.Piece(), b.Piece(), c.Piece(), d.Piece(), 194 e.Piece(), 195 static_cast<const AlphaNum &>(args).Piece()...}); 232 {a.Piece(), b.Piece(), c.Piece(), d.Piece(), e.Piece() [all...] |
/external/clang/lib/Sema/ |
SemaStmtAsm.cpp | 68 const GCCAsmStmt::AsmStringPiece &Piece = AsmStrPieces[p]; 69 if (!Piece.isOperand()) continue; 73 if (Piece.getOperandNo() == OpNo) 363 GCCAsmStmt::AsmStringPiece &Piece = Pieces[i]; 364 if (!Piece.isOperand()) continue; 367 unsigned ConstraintIdx = Piece.getOperandNo(); 394 Literal->getString(), Piece.getModifier(), Size, 400 auto B = Diag(Piece.getRange().getBegin(), 403 SuggestedModifier = "%" + SuggestedModifier + Piece.getString(); 404 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange() [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
BitstreamReader.h | 311 uint32_t Piece = Read(NumBits); 312 if ((Piece & (1U << (NumBits-1))) == 0) 313 return Piece; 318 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; 320 if ((Piece & (1U << (NumBits-1))) == 0) 324 Piece = Read(NumBits); 331 uint32_t Piece = Read(NumBits); 332 if ((Piece & (1U << (NumBits-1))) == 0) 333 return uint64_t(Piece); 338 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
BitstreamReader.h | 223 uint32_t Piece = Read(NumBits); 224 if ((Piece & (1U << (NumBits-1))) == 0) 225 return Piece; 230 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; 232 if ((Piece & (1U << (NumBits-1))) == 0) 236 Piece = Read(NumBits); 243 uint32_t Piece = Read(NumBits); 244 if ((Piece & (1U << (NumBits-1))) == 0) 245 return uint64_t(Piece); 250 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit [all...] |
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
csv_dataset_op.cc | 404 struct Piece { 409 Piece(string buffer, size_t start, size_t len) 416 Status SaveAndFillBuffer(std::vector<Piece>* earlier_pieces, 424 Piece(std::move(temp_buffer), *start, pos_ - *start)); 439 std::vector<Piece> earlier_pieces; 508 const std::vector<Piece>& earlier_pieces, 523 for (const Piece& p : earlier_pieces) { 534 for (const Piece& p : earlier_pieces) { 545 void AppendUnescapedPiece(StringPiece piece, string* field_complete, 548 size_t found = piece.find('\"', from) [all...] |
/external/llvm/include/llvm/Bitcode/ |
BitstreamReader.h | 303 uint32_t Piece = Read(NumBits); 304 if ((Piece & (1U << (NumBits-1))) == 0) 305 return Piece; 310 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; 312 if ((Piece & (1U << (NumBits-1))) == 0) 316 Piece = Read(NumBits); 323 uint32_t Piece = Read(NumBits); 324 if ((Piece & (1U << (NumBits-1))) == 0) 325 return uint64_t(Piece); 330 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 67 PathDiagnosticPiece *Piece = I->get(); 69 switch (Piece->getKind()) { 71 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece); 84 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); 88 Current.push_back(Piece); 91 // FIXME: This probably shouldn't mutate the original path piece. 98 Current.push_back(Piece); 131 "The call piece should be in the main file."); 141 // Check if the last piece in the callee path is a call to a function outside 148 // Otherwise, the last piece is in the main file 220 const PathDiagnosticPiece *piece = I->get(); local 1036 const PathDiagnosticPiece *piece = it->get(); local [all...] |
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 from the path. If it is still something w 2974 PathDiagnosticPiece *piece = I->get(); local 3429 auto piece = llvm::make_unique<PathDiagnosticEventPiece>( local [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | [all...] |
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
NaClBitstreamReader.h | 722 uint32_t Piece = Read(NumBits); 723 if ((Piece & (1U << (NumBits-1))) == 0) 724 return Piece; 729 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; 731 if ((Piece & (1U << (NumBits-1))) == 0) 735 Piece = Read(NumBits); 742 uint32_t Piece = Read(NumBits); 743 if ((Piece & (1U << (NumBits-1))) == 0) 744 return uint64_t(Piece); 749 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | [all...] |