Home
last modified time | relevance | path

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

12

/external/openscreen/third_party/abseil/src/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 …]
/external/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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/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 …]
/external/angle/third_party/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 …]
/external/webrtc/third_party/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 …]
/external/libtextclassifier/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 …]
/external/llvm-project/libc/benchmarks/
DLibcMemoryBenchmark.cpp52 const auto ToSize = Conf.Size.To; in MismatchOffsetDistribution() local
53 for (size_t I = ToSize + 1; I < Conf.BufferSize; I += ToSize) in MismatchOffsetDistribution()
DLibcMemoryBenchmarkTest.cpp93 const uint32_t ToSize = 4; in TEST() local
97 Conf.Size.To = ToSize; in TEST()
106 for (size_t Size = Conf.Size.From; Size <= ToSize; ++Size) { in TEST()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerMutate.cpp300 uint8_t *To, size_t ToSize) { in CopyPartOf() argument
302 size_t ToBeg = Rand(ToSize); in CopyPartOf()
303 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf()
304 assert(ToBeg + CopySize <= ToSize); in CopyPartOf()
309 return ToSize; in CopyPartOf()
315 uint8_t *To, size_t ToSize, in InsertPartOf() argument
317 if (ToSize >= MaxToSize) return 0; in InsertPartOf()
318 size_t AvailableSpace = MaxToSize - ToSize; in InsertPartOf()
323 size_t ToInsertPos = Rand(ToSize + 1); in InsertPartOf()
325 size_t TailSize = ToSize - ToInsertPos; in InsertPartOf()
[all …]
DFuzzerMutate.h110 size_t ToSize, size_t MaxToSize);
112 size_t ToSize);
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerMutate.cpp300 uint8_t *To, size_t ToSize) { in CopyPartOf() argument
302 size_t ToBeg = Rand(ToSize); in CopyPartOf()
303 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf()
304 assert(ToBeg + CopySize <= ToSize); in CopyPartOf()
309 return ToSize; in CopyPartOf()
315 uint8_t *To, size_t ToSize, in InsertPartOf() argument
317 if (ToSize >= MaxToSize) return 0; in InsertPartOf()
318 size_t AvailableSpace = MaxToSize - ToSize; in InsertPartOf()
323 size_t ToInsertPos = Rand(ToSize + 1); in InsertPartOf()
325 size_t TailSize = ToSize - ToInsertPos; in InsertPartOf()
[all …]
DFuzzerMutate.h110 size_t ToSize, size_t MaxToSize);
112 size_t ToSize);
/external/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()
/external/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()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp639 unsigned ToSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits(); in select() local
640 (void)ToSize; in select()
641 assert((ToSize == 32) && "Unsupported integer size for G_FPTOSI"); in select()
/external/llvm-project/llvm/lib/IR/
DDebugInfoMetadata.cpp1425 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
1429 dwarf::DW_OP_LLVM_convert, ToSize, TK}}; in getExtOps()
1434 unsigned FromSize, unsigned ToSize, in appendExt() argument
1436 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/external/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()
/external/clang/lib/CodeGen/
DTargetInfo.cpp7018 void pad(uint64_t ToSize) { in pad()
7019 assert(ToSize >= Size && "Cannot remove elements"); in pad()
7020 if (ToSize == Size) in pad()
7025 if (Aligned > Size && Aligned <= ToSize) { in pad()
7031 while (Size + 64 <= ToSize) { in pad()
7037 if (Size < ToSize) { in pad()
7038 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad()
7039 Size = ToSize; in pad()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp728 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
729 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall()
733 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall()
743 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
744 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall()
748 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp9239 void pad(uint64_t ToSize) { in pad()
9240 assert(ToSize >= Size && "Cannot remove elements"); in pad()
9241 if (ToSize == Size) in pad()
9246 if (Aligned > Size && Aligned <= ToSize) { in pad()
9252 while (Size + 64 <= ToSize) { in pad()
9258 if (Size < ToSize) { in pad()
9259 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad()
9260 Size = ToSize; in pad()
/external/clang/lib/Sema/
DSemaOverload.cpp1919 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local
1920 if (FromSize < ToSize || in IsIntegralPromotion()
1921 (FromSize == ToSize && in IsIntegralPromotion()
1945 llvm::APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned()); in IsIntegralPromotion() local
1946 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()
1949 if (BitWidth < ToSize || in IsIntegralPromotion()
1950 (FromType->isSignedIntegerType() && BitWidth <= ToSize)) { in IsIntegralPromotion()
1956 if (FromType->isUnsignedIntegerType() && BitWidth <= ToSize) { in IsIntegralPromotion()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp2160 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local
2161 if (FromSize < ToSize || in IsIntegralPromotion()
2162 (FromSize == ToSize && in IsIntegralPromotion()
2192 llvm::APSInt ToSize(BitWidth->getBitWidth(), BitWidth->isUnsigned()); in IsIntegralPromotion() local
2193 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()
2196 if (*BitWidth < ToSize || in IsIntegralPromotion()
2197 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
2203 if (FromType->isUnsignedIntegerType() && *BitWidth <= ToSize) { in IsIntegralPromotion()
/external/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);
/external/llvm-project/llvm/include/llvm/IR/
DDebugInfoMetadata.h2804 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
2809 unsigned ToSize, bool Signed);
/external/clang/lib/AST/
DASTContext.cpp4793 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() local
4794 if (FromSize < ToSize || in getPromotedIntegerType()
4795 (FromSize == ToSize && in getPromotedIntegerType()

12