/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) [all...] |
string_split.cc | 19 // non-piece string type. 24 OutputType PieceToOutputType(BasicStringPiece<Str> piece) { 25 return piece; 28 std::string PieceToOutputType<std::string, std::string>(StringPiece piece) { 29 return piece.as_string(); 32 string16 PieceToOutputType<string16, string16>(StringPiece16 piece) { 33 return piece.as_string(); 51 size_t FindFirstOf(StringPiece piece, char c, size_t pos) { 52 return piece.find(c, pos); 54 size_t FindFirstOf(StringPiece16 piece, char16 c, size_t pos) 86 BasicStringPiece<Str> piece; local [all...] |
/external/libweave/third_party/chromium/base/strings/ |
string_piece_unittest.cc | 187 typedef BasicStringPiece<TypeParam> Piece; 200 Piece e; 204 Piece f(temp); 223 ASSERT_EQ(Piece::npos, TypeParam::npos); 226 ASSERT_EQ(a.find(b, 1), Piece::npos); 229 ASSERT_EQ(a.find(c, Piece::npos), Piece::npos); 230 ASSERT_EQ(b.find(c), Piece::npos); 231 ASSERT_EQ(b.find(c, Piece::npos), Piece::npos) [all...] |
/external/llvm/include/llvm/Bitcode/ |
BitstreamReader.h | 382 uint32_t Piece = Read(NumBits); 383 if ((Piece & (1U << (NumBits-1))) == 0) 384 return Piece; 389 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; 391 if ((Piece & (1U << (NumBits-1))) == 0) 395 Piece = Read(NumBits); 402 uint32_t Piece = Read(NumBits); 403 if ((Piece & (1U << (NumBits-1))) == 0) 404 return uint64_t(Piece); 409 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit [all...] |
/external/pdfium/xfa/src/fee/src/fee/ |
fde_txtedtparag.cpp | 61 const CFX_TxtPiece* Piece = pTxtBreak->GetBreakPiece(j);
62 nTotal += Piece->GetLength();
|
/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/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 68 PathDiagnosticPiece *Piece = I->get(); 70 switch (Piece->getKind()) { 72 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece); 85 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); 89 Current.push_back(Piece); 92 // FIXME: This probably shouldn't mutate the original path piece. 99 Current.push_back(Piece); 133 "The call piece should be in the main file."); 143 // Check if the last piece in the callee path is a call to a function outside 150 // Otherwise, the last piece is in the main file 222 const PathDiagnosticPiece *piece = I->get(); local 1041 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/llvm/lib/CodeGen/AsmPrinter/ |
DwarfDebug.cpp | 803 // Ranges History [var, loc, piece ofs size] 804 // 0 | [x, (reg0, piece 0, 32)] 805 // 1 | | [x, (reg1, piece 32, 32)] <- IsPieceOfPrevEntry 808 // 4 [x, (mem, piece 0, 64)] <- overlapping with both previous pieces of 813 // [0-1] [x, (reg0, piece 0, 32)] 814 // [1-3] [x, (reg0, piece 0, 32), (reg1, piece 32, 32)] 815 // [3-4] [x, (reg1, piece 32, 32)] 816 // [4- ] [x, (mem, piece 0, 64)] 834 // If this piece overlaps with any open ranges, truncate them [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | [all...] |