Home
last modified time | relevance | path

Searched refs:Piece (Results 1 – 15 of 15) sorted by relevance

/external/libweave/third_party/chromium/base/strings/
Dstring_piece_unittest.cc187 typedef BasicStringPiece<TypeParam> Piece; in TYPED_TEST() typedef
200 Piece e; in TYPED_TEST()
204 Piece f(temp); in TYPED_TEST()
223 ASSERT_EQ(Piece::npos, TypeParam::npos); in TYPED_TEST()
226 ASSERT_EQ(a.find(b, 1), Piece::npos); in TYPED_TEST()
229 ASSERT_EQ(a.find(c, Piece::npos), Piece::npos); in TYPED_TEST()
230 ASSERT_EQ(b.find(c), Piece::npos); in TYPED_TEST()
231 ASSERT_EQ(b.find(c, Piece::npos), Piece::npos); in TYPED_TEST()
237 Piece g(not_found); in TYPED_TEST()
238 ASSERT_EQ(a.find(g), Piece::npos); in TYPED_TEST()
[all …]
/external/libchrome/base/strings/
Dstring_piece_unittest.cc198 typedef BasicStringPiece<TypeParam> Piece; in TYPED_TEST() typedef
211 Piece e; in TYPED_TEST()
215 Piece f(temp); in TYPED_TEST()
234 ASSERT_EQ(Piece::npos, TypeParam::npos); in TYPED_TEST()
237 ASSERT_EQ(a.find(b, 1), Piece::npos); in TYPED_TEST()
240 ASSERT_EQ(a.find(c, Piece::npos), Piece::npos); in TYPED_TEST()
241 ASSERT_EQ(b.find(c), Piece::npos); in TYPED_TEST()
242 ASSERT_EQ(b.find(c, Piece::npos), Piece::npos); in TYPED_TEST()
248 Piece g(not_found); in TYPED_TEST()
249 ASSERT_EQ(a.find(g), Piece::npos); in TYPED_TEST()
[all …]
Dstring_split.cc139 using Piece = BasicStringPiece<Str>; in SplitStringUsingSubstrT() typedef
140 using size_type = typename Piece::size_type; in SplitStringUsingSubstrT()
143 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT()
146 Piece term = end_index == Piece::npos in SplitStringUsingSubstrT()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h382 uint32_t Piece = Read(NumBits); in ReadVBR() local
383 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR()
384 return Piece; in ReadVBR()
389 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR()
391 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR()
395 Piece = Read(NumBits); in ReadVBR()
402 uint32_t Piece = Read(NumBits); in ReadVBR64() local
403 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR64()
404 return uint64_t(Piece); in ReadVBR64()
409 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR64()
[all …]
/external/clang/lib/Sema/
DSemaStmtAsm.cpp68 const GCCAsmStmt::AsmStringPiece &Piece = AsmStrPieces[p]; in isOperandMentioned() local
69 if (!Piece.isOperand()) continue; in isOperandMentioned()
73 if (Piece.getOperandNo() == OpNo) in isOperandMentioned()
363 GCCAsmStmt::AsmStringPiece &Piece = Pieces[i]; in ActOnGCCAsmStmt() local
364 if (!Piece.isOperand()) continue; in ActOnGCCAsmStmt()
367 unsigned ConstraintIdx = Piece.getOperandNo(); in ActOnGCCAsmStmt()
394 Literal->getString(), Piece.getModifier(), Size, in ActOnGCCAsmStmt()
400 auto B = Diag(Piece.getRange().getBegin(), in ActOnGCCAsmStmt()
403 SuggestedModifier = "%" + SuggestedModifier + Piece.getString(); in ActOnGCCAsmStmt()
404 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtparag.cpp61 const CFX_TxtPiece* Piece = pTxtBreak->GetBreakPiece(j); in LoadParag() local
62 nTotal += Piece->GetLength(); in LoadParag()
/external/curl/tests/data/
Dtest130827 Piece of the file that is to uploaded as a formpost
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp68 PathDiagnosticPiece *Piece = I->get(); in flattenTo() local
70 switch (Piece->getKind()) { in flattenTo()
72 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece); in flattenTo()
85 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); in flattenTo()
89 Current.push_back(Piece); in flattenTo()
99 Current.push_back(Piece); in flattenTo()
DBugReporter.cpp515 PathDiagnosticPiece *Piece = V->VisitNode(N, Pred, PDB, *R); in GenerateVisitorsOnlyPathDiagnostic() local
516 delete Piece; in GenerateVisitorsOnlyPathDiagnostic()
1967 PathDiagnosticControlFlowPiece *Piece = in addContextEdges() local
1970 if (!Piece) in addContextEdges()
1973 PathDiagnosticLocation SrcLoc = Piece->getStartLocation(); in addContextEdges()
1989 const Stmt *Dst = getLocStmt(Piece->getEndLocation()); in addContextEdges()
2004 Piece->setStartLocation(DstContext); in addContextEdges()
2026 Piece = new PathDiagnosticControlFlowPiece(SrcLoc, DstContext); in addContextEdges()
2027 I = pieces.insert(I, Piece); in addContextEdges()
3131 if (std::unique_ptr<PathDiagnosticPiece> Piece = in generatePathDiagnostic() local
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1157 const DIExpression *Piece = I->first->getDebugExpression(); in beginFunction() local
1160 return !piecesOverlap(Piece, Pred.first->getDebugExpression()); in beginFunction()
1543 for (auto Piece : Values) { in finalize() local
1544 const DIExpression *Expr = Piece.getExpression(); in finalize()
1558 emitDebugLocValue(AP, BT, Streamer, Piece, PieceOffset); in finalize()
/external/llvm/test/DebugInfo/X86/
Dsroasplit-1.ll27 ; Read Var and Piece:
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp3993 struct Piece { in splitAlloca() struct
3997 Piece(AllocaInst *AI, uint64_t O, uint64_t S) in splitAlloca() argument
4000 SmallVector<Piece, 4> Pieces; in splitAlloca()
4011 Pieces.push_back(Piece(NewAI, P.beginOffset() * SizeOfByte, Size)); in splitAlloca()
4028 for (auto Piece : Pieces) { in splitAlloca() local
4036 uint64_t Start = Offset + Piece.Offset; in splitAlloca()
4037 uint64_t Size = Piece.Size; in splitAlloca()
4049 if (DbgDeclareInst *OldDDI = FindAllocaDbgDeclare(Piece.Alloca)) in splitAlloca()
4052 DIB.insertDeclare(Piece.Alloca, Var, PieceExpr, DbgDecl->getDebugLoc(), in splitAlloca()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1680 Constant *Piece = ConstantExpr::getLShr(C, ConstantInt::get(C->getType(), in collectInsertionElements() local
1682 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
1683 if (!collectInsertionElements(Piece, ShiftI, Elements, VecEltTy, in collectInsertionElements()
/external/clang/docs/
DClangFormatStyleOptions.rst88 Disabling Formatting on a Piece of Code
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp27859 for (StringRef Piece : Pieces) { in matchAsm() local
27860 if (!S.startswith(Piece)) // Check if the piece matches. in matchAsm()
27863 S = S.substr(Piece.size()); in matchAsm()