Home
last modified time | relevance | path

Searched refs:ToSize (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dinlined_vector_benchmark.cc449 template <typename T, size_t ToSize>
452 auto size = ToSize; in BM_ConstructFromSize()
465 template <typename T, size_t ToSize>
468 auto size = ToSize; in BM_ConstructFromSizeRef()
483 template <typename T, size_t ToSize>
486 std::array<T, ToSize> arr{}; in BM_ConstructFromRange()
499 template <typename T, size_t ToSize>
502 VecT other_vec(ToSize); in BM_ConstructFromCopy()
516 template <typename T, size_t ToSize>
525 vector_batch[i].resize(ToSize); in BM_ConstructFromMove()
[all …]
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerMutate.cpp280 uint8_t *To, size_t ToSize) { in CopyPartOf() argument
282 size_t ToBeg = Rand(ToSize); in CopyPartOf()
283 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf()
284 assert(ToBeg + CopySize <= ToSize); in CopyPartOf()
289 return ToSize; in CopyPartOf()
295 uint8_t *To, size_t ToSize, in InsertPartOf() argument
297 if (ToSize >= MaxToSize) return 0; in InsertPartOf()
298 size_t AvailableSpace = MaxToSize - ToSize; in InsertPartOf()
303 size_t ToInsertPos = Rand(ToSize + 1); in InsertPartOf()
305 size_t TailSize = ToSize - ToInsertPos; in InsertPartOf()
[all …]
DFuzzerMutate.h107 size_t ToSize, size_t MaxToSize);
109 size_t ToSize);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfoMetadata.cpp1199 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
1203 dwarf::DW_OP_LLVM_convert, ToSize, TK}}; in getExtOps()
1208 unsigned FromSize, unsigned ToSize, in appendExt() argument
1210 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp540 unsigned ToSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits(); in select() local
541 (void)ToSize; in select()
542 assert((ToSize == 32) && "Unsupported integer size for G_FPTOSI"); in select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp540 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
541 if (ToSize != 64 || FromSize != 32) in libcall()
552 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
553 if (ToSize != 32 || FromSize != 64) in libcall()
565 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
566 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall()
570 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall()
580 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
581 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall()
585 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDebugInfoMetadata.h2558 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
2563 unsigned ToSize, bool Signed);