Home
last modified time | relevance | path

Searched refs:Quantity (Results 1 – 25 of 37) sorted by relevance

12

/external/clang/include/clang/AST/
DCharUnits.h43 QuantityType Quantity;
45 explicit CharUnits(QuantityType C) : Quantity(C) {} in CharUnits()
50 CharUnits() : Quantity(0) {} in CharUnits()
63 static CharUnits fromQuantity(QuantityType Quantity) { in fromQuantity() argument
64 return CharUnits(Quantity); in fromQuantity()
69 Quantity += Other.Quantity;
73 ++Quantity;
77 return CharUnits(Quantity++);
80 Quantity -= Other.Quantity;
84 --Quantity;
[all …]
/external/libcxx/benchmarks/
Dalgorithms.bench.cpp115 void runOpOnCopies(benchmark::State& state, size_t Quantity, Order O, in runOpOnCopies() argument
117 auto Copies = makeOrderedValues<ValueType>(Quantity, O); in runOpOnCopies()
120 const size_t Batch = CountElements ? Copies.size() * Quantity : Copies.size(); in runOpOnCopies()
132 size_t Quantity; member
135 runOpOnCopies<ValueType>(state, Quantity, Order(), false, [](auto& Copy) { in run()
144 std::to_string(Quantity); in name()
150 size_t Quantity; member
153 runOpOnCopies<ValueType>(state, Quantity, Order(), false, [](auto& Copy) { in run()
162 std::to_string(Quantity); in name()
168 size_t Quantity; member
[all …]
Dalgorithms.partition_point.bench.cpp94 size_t Quantity; member
98 TestType::Name + '/' + std::to_string(Quantity); in name()
102 auto Data = TestType::generateInput(Quantity); in run()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DRetireControlUnit.h65 unsigned normalizeQuantity(unsigned Quantity) const { in normalizeQuantity()
69 Quantity = std::min(Quantity, NumROBEntries); in normalizeQuantity()
74 return std::max(Quantity, 1U); in normalizeQuantity()
84 bool isAvailable(unsigned Quantity = 1) const {
85 return AvailableEntries >= normalizeQuantity(Quantity);
/external/cronet/buildtools/third_party/libc++/trunk/benchmarks/algorithms/
Dranges_sort_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order::Heap, BatchSize::CountElements, in run()
25 return "BM_RangesSortHeap" + ValueType::name() + "_" + std::to_string(Quantity); in name()
Dranges_make_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, in run()
26 std::to_string(Quantity); in name()
Dsort_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order::Heap, BatchSize::CountElements, in run()
25 return "BM_SortHeap" + ValueType::name() + "_" + std::to_string(Quantity); in name()
Dmake_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, in run()
26 std::to_string(Quantity); in name()
Dranges_make_heap_then_sort_heap.bench.cpp16 size_t Quantity; member
19 runOpOnCopies<ValueType>(state, Quantity, Order(), BatchSize::CountElements, in run()
28 std::to_string(Quantity); in name()
Dranges_sort.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, in run()
28 std::to_string(Quantity); in name()
Dranges_stable_sort.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, in run()
28 std::to_string(Quantity); in name()
Dmin_max_element.bench.cpp16 size_t Quantity; member
19 runOpOnCopies<ValueType>(state, Quantity, Order(), BatchSize::CountElements, [](auto& Copy) { in run()
25 return "BM_MinMaxElement" + ValueType::name() + Order::name() + "_" + std::to_string(Quantity); in name()
Dranges_pop_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, [](auto& Copy) { in run()
28 return "BM_RangesPopHeap" + ValueType::name() + "_" + std::to_string(Quantity); in name()
Dstable_sort.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, in run()
28 std::to_string(Quantity); in name()
Dsort.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, in run()
28 std::to_string(Quantity); in name()
Dpop_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, [](auto& Copy) { in run()
28 return "BM_PopHeap" + ValueType::name() + "_" + std::to_string(Quantity); in name()
Dmake_heap_then_sort_heap.bench.cpp16 size_t Quantity; member
19 runOpOnCopies<ValueType>(state, Quantity, Order(), BatchSize::CountElements, in run()
28 std::to_string(Quantity); in name()
Dlower_bound.bench.cpp19 size_t Quantity; member
24 …runOpOnCopies<ValueType>(state, Quantity, Order::Ascending, BatchSize::CountBatch, [&](auto& Copy)… in run()
31 return "BM_LowerBound" + ValueType::name() + "_" + std::to_string(Quantity); in name()
Dpush_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, [](auto& Copy) { in run()
31 std::to_string(Quantity); in name()
Dranges_push_heap.bench.cpp16 size_t Quantity; member
20 state, Quantity, Order(), BatchSize::CountElements, [](auto& Copy) { in run()
31 std::to_string(Quantity); in name()
Dcommon.h215 void runOpOnCopies(benchmark::State& state, size_t Quantity, Order O, in runOpOnCopies() argument
217 auto Copies = makeOrderedValues<ValueType>(Quantity, O); in runOpOnCopies()
221 ? Copies.size() * Quantity in runOpOnCopies()
/external/cronet/buildtools/third_party/libc++/trunk/benchmarks/
Dalgorithms.partition_point.bench.cpp94 size_t Quantity; member
98 TestType::Name + '/' + std::to_string(Quantity); in name()
102 auto Data = TestType::generateInput(Quantity); in run()
/external/gson/gson/src/test/java/com/google/gson/functional/
DParameterizedTypesTest.java485 private static class Quantity { class in ParameterizedTypesTest
489 private static class MyQuantity extends Quantity {
500 public static final class Amount<Q extends Quantity>
526 List<Quantity> list = (List<Quantity>) object; in assertCorrectlyDeserialized()
533 TypeToken<List<Quantity>> typeToken = new TypeToken<List<Quantity>>() {}; in testGsonFromJsonTypeToken()
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/
DnistDerivedUnits.txt2 #Quantity Special Name Special symbol Expression in terms of other SI units Expression in terms of …
/external/mesa3d/src/gallium/auxiliary/hud/
Dfont.c68 int Quantity; /* Number of chars in font */ member

12