/external/libchrome/base/strings/ |
D | string_piece_unittest.cc | 198 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 …]
|
D | string_split.cc | 139 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/tensorflow/tensorflow/core/lib/strings/ |
D | strcat.h | 133 StringPiece Piece() const { return piece_; } in Piece() function 193 return internal::CatPieces({a.Piece(), b.Piece(), c.Piece(), d.Piece(), in StrCat() 194 e.Piece(), in StrCat() 195 static_cast<const AlphaNum &>(args).Piece()...}); in StrCat() 232 {a.Piece(), b.Piece(), c.Piece(), d.Piece(), e.Piece(), in StrAppend() 233 static_cast<const AlphaNum &>(args).Piece()...}); in StrAppend()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal.h | 324 class Piece { 376 Piece& child(int64 index) { return children_[index]; } in child() 379 void emplace_back(Piece child_piece) { in emplace_back() 393 [&func](const ShapeIndex& index, const Piece& piece) { in ForEachSubpiece() 422 [&func](const ShapeIndex& index, Piece* piece) { in ForEachMutableSubpiece() 426 const_cast<xla::LiteralBase::Piece*>(this), &index) in ForEachMutableSubpiece() 436 func, const_cast<xla::LiteralBase::Piece*>(this), &index); in ForEachMutableSubpieceWithStatus() 441 bool EqualElements(const Piece& other) const; 448 Status CopyFrom(const Piece& src); 463 Status ForEachHelper(const Fn& func, const Piece& piece, in ForEachHelper() [all …]
|
D | literal.cc | 110 void Literal::SetPiece(const Shape& shape, Piece* piece, bool allocate_arrays) { in SetPiece() 115 auto child_piece = Piece(); in SetPiece() 149 root_piece_ = new Piece(); in Literal() 165 [&](const ShapeIndex& index, Piece* piece) { in DeallocateBuffers() 190 [&](const ShapeIndex& index, Piece* piece) { in CreateFromShape() 308 [&](const ShapeIndex& index, Piece* piece) { in CreateFromProto() 346 [&](const ShapeIndex& index, Piece* dest_piece) { in DecomposeTuple() 351 Piece& src_piece = piece(src_index); in DecomposeTuple() 387 Status LiteralBase::Piece::CopyFrom(const LiteralBase::Piece& src) { in CopyFrom() 441 [&](const ShapeIndex& index, Piece* piece) { in CopyFrom() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitstreamReader.h | 223 uint32_t Piece = Read(NumBits); in ReadVBR() local 224 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 225 return Piece; in ReadVBR() 230 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR() 232 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 236 Piece = Read(NumBits); in ReadVBR() 243 uint32_t Piece = Read(NumBits); in ReadVBR64() local 244 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR64() 245 return uint64_t(Piece); in ReadVBR64() 250 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR64() [all …]
|
/external/llvm/include/llvm/Bitcode/ |
D | BitstreamReader.h | 303 uint32_t Piece = Read(NumBits); in ReadVBR() local 304 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 305 return Piece; in ReadVBR() 310 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR() 312 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 316 Piece = Read(NumBits); in ReadVBR() 323 uint32_t Piece = Read(NumBits); in ReadVBR64() local 324 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR64() 325 return uint64_t(Piece); in ReadVBR64() 330 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR64() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
D | BitstreamReader.h | 311 uint32_t Piece = Read(NumBits); in ReadVBR() local 312 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 313 return Piece; in ReadVBR() 318 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR() 320 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 324 Piece = Read(NumBits); in ReadVBR() 331 uint32_t Piece = Read(NumBits); in ReadVBR64() local 332 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR64() 333 return uint64_t(Piece); in ReadVBR64() 338 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR64() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 722 uint32_t Piece = Read(NumBits); in ReadVBR() local 723 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 724 return Piece; in ReadVBR() 729 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR() 731 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR() 735 Piece = Read(NumBits); in ReadVBR() 742 uint32_t Piece = Read(NumBits); in ReadVBR64() local 743 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR64() 744 return uint64_t(Piece); in ReadVBR64() 749 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR64() [all …]
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | csv_dataset_op.cc | 404 struct Piece { struct in tensorflow::data::__anonb9a3e0620111::CSVDatasetOp::Dataset::Iterator 409 Piece(string buffer, size_t start, size_t len) in Piece() argument 416 Status SaveAndFillBuffer(std::vector<Piece>* earlier_pieces, in SaveAndFillBuffer() 424 Piece(std::move(temp_buffer), *start, pos_ - *start)); in SaveAndFillBuffer() 439 std::vector<Piece> earlier_pieces; in ParseQuotedField() 508 const std::vector<Piece>& earlier_pieces, in QuotedFieldToOutput() 523 for (const Piece& p : earlier_pieces) { in QuotedFieldToOutput() 534 for (const Piece& p : earlier_pieces) { in QuotedFieldToOutput() 572 std::vector<Piece> earlier_pieces; in ParseUnquotedField() 757 const std::vector<Piece>& earlier_pieces, in UnquotedFieldToOutput() [all …]
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 68 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/ |
D | BenchmarkResult.cpp | 67 for (llvm::StringRef Piece : Pieces) { in deserialize() local 70 Value.setOpcode(Context.getInstrOpcode(Piece)); in deserialize() 74 Value.addOperand(deserialize(Context, Piece)); in deserialize()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugHandlerBase.cpp | 147 const DIExpression *Piece = I->first->getDebugExpression(); in beginFunction() local 150 return !piecesOverlap(Piece, Pred.first->getDebugExpression()); in beginFunction()
|
/external/curl/tests/data/ |
D | test1308 | 27 Piece of the file that is to uploaded as a formpost
|
/external/pdfium/core/fxcrt/ |
D | cfx_char.h | 14 enum class CFX_BreakType { None = 0, Piece, Line, Paragraph, Page }; enumerator
|
/external/pdfium/xfa/fgas/layout/ |
D | cfx_rtfbreak.cpp | 250 if (dwStatus != CFX_BreakType::Piece) in EndBreak() 257 if (dwStatus != CFX_BreakType::Piece) in EndBreak() 270 if (dwStatus == CFX_BreakType::Piece) in EndBreak() 389 tp.m_dwStatus = CFX_BreakType::Piece; in EndBreak_BidiLine() 413 tp.m_dwStatus = CFX_BreakType::Piece; in EndBreak_BidiLine()
|
D | cfx_breakpiece.cpp | 10 : m_dwStatus(CFX_BreakType::Piece), in CFX_BreakPiece()
|
D | cfx_txtbreak.h | 34 return type == CFX_BreakType::None || type == CFX_BreakType::Piece; in CFX_BreakTypeNoneOrPiece()
|
D | cfx_txtbreak.cpp | 313 tp.m_dwStatus = CFX_BreakType::Piece; in EndBreak_BidiLine() 330 tp.m_dwStatus = CFX_BreakType::Piece; in EndBreak_BidiLine() 472 if (dwStatus != CFX_BreakType::Piece) in EndBreak() 479 if (dwStatus != CFX_BreakType::Piece) in EndBreak() 491 if (dwStatus == CFX_BreakType::Piece) in EndBreak()
|
D | cfx_break.cpp | 104 tc->m_dwStatus = CFX_BreakType::Piece; in SetBreakStatus()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 67 PathDiagnosticPiece *Piece = I->get(); in flattenTo() local 69 switch (Piece->getKind()) { in flattenTo() 71 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece); in flattenTo() 84 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); in flattenTo() 88 Current.push_back(Piece); in flattenTo() 98 Current.push_back(Piece); in flattenTo()
|
D | BugReporter.cpp | 515 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/ |
D | TargetLoweringObjectFileImpl.cpp | 504 for (const auto &Piece : cast<MDNode>(Option)->operands()) in emitModuleFlags() local 505 StrOptions.push_back(cast<MDString>(Piece)->getString()); in emitModuleFlags() 1045 for (const auto &Piece : cast<MDNode>(Option)->operands()) { in emitModuleFlags() local 1048 Directive.append(cast<MDString>(Piece)->getString()); in emitModuleFlags()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 695 for (const auto &Piece : cast<MDNode>(Option)->operands()) in emitModuleMetadata() local 696 StrOptions.push_back(cast<MDString>(Piece)->getString()); in emitModuleMetadata() 1241 for (const auto &Piece : cast<MDNode>(Option)->operands()) { in emitModuleMetadata() local 1244 Directive.append(cast<MDString>(Piece)->getString()); in emitModuleMetadata()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/ |
D | sroasplit-1.ll | 27 ; Read Var and Piece:
|