/external/libchrome/base/strings/ |
H A D | string_piece_unittest.cc | 198 typedef BasicStringPiece<TypeParam> Piece; typedef 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 [all...] |
H A D | string_split.cc | 139 using Piece = BasicStringPiece<Str>; 140 using size_type = typename Piece::size_type; 143 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; 146 Piece term = end_index == Piece::npos
|
/external/libweave/third_party/chromium/base/strings/ |
H A D | string_piece_unittest.cc | 187 typedef BasicStringPiece<TypeParam> Piece; typedef 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 [all...] |
/external/llvm/include/llvm/Bitcode/ |
H A D | BitstreamReader.h | 382 uint32_t Piece = Read(NumBits); local 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); local 403 if ((Piece & (1U << (NumBits-1))) == 0) 404 return uint64_t(Piece); 409 Result |= uint64_t(Piece [all...] |
/external/pdfium/xfa/src/fee/src/fee/ |
H A D | fde_txtedtparag.cpp | 61 const CFX_TxtPiece* Piece = pTxtBreak->GetBreakPiece(j);
local 62 nTotal += Piece->GetLength();
|
/external/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 68 const GCCAsmStmt::AsmStringPiece &Piece = AsmStrPieces[p]; local 69 if (!Piece.isOperand()) continue; 73 if (Piece.getOperandNo() == OpNo) 363 GCCAsmStmt::AsmStringPiece &Piece = Pieces[i]; local 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 [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | PathDiagnostic.cpp | 68 PathDiagnosticPiece *Piece = I->get(); local 70 switch (Piece->getKind()) { 72 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece); 85 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); 89 Current.push_back(Piece); 99 Current.push_back(Piece);
|
H A D | BugReporter.cpp | 515 PathDiagnosticPiece *Piece = V->VisitNode(N, Pred, PDB, *R); local 516 delete Piece; 1967 PathDiagnosticControlFlowPiece *Piece = local 1970 if (!Piece) 1973 PathDiagnosticLocation SrcLoc = Piece->getStartLocation(); 1989 const Stmt *Dst = getLocStmt(Piece->getEndLocation()); 2004 Piece->setStartLocation(DstContext); 2026 Piece = new PathDiagnosticControlFlowPiece(SrcLoc, DstContext); 2027 I = pieces.insert(I, Piece); 3131 if (std::unique_ptr<PathDiagnosticPiece> Piece [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.cpp | 1157 const DIExpression *Piece = I->first->getDebugExpression(); local 1160 return !piecesOverlap(Piece, Pred.first->getDebugExpression()); 1543 for (auto Piece : Values) { 1544 const DIExpression *Expr = Piece.getExpression(); 1558 emitDebugLocValue(AP, BT, Streamer, Piece, PieceOffset);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 3993 struct Piece { 3997 Piece(AllocaInst *AI, uint64_t O, uint64_t S) 4000 SmallVector<Piece, 4> Pieces; 4011 Pieces.push_back(Piece(NewAI, P.beginOffset() * SizeOfByte, Size)); 4028 for (auto Piece : Pieces) { 4034 // Piece.Offset describes the offset inside the scalar. 4036 uint64_t Start = Offset + Piece.Offset; 4037 uint64_t Size = Piece.Size; 4049 if (DbgDeclareInst *OldDDI = FindAllocaDbgDeclare(Piece.Alloca)) 4052 DIB.insertDeclare(Piece [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1680 Constant *Piece = ConstantExpr::getLShr(C, ConstantInt::get(C->getType(), local 1682 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); 1683 if (!collectInsertionElements(Piece, ShiftI, Elements, VecEltTy,
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | [all...] |