Home
last modified time | relevance | path

Searched refs:NumValues (Results 1 – 25 of 70) sorted by relevance

123

/external/webrtc/modules/video_coding/
Dhistogram_unittest.cc24 TEST_F(TestHistogram, NumValues) { in TEST_F() argument
25 EXPECT_EQ(0ul, histogram_.NumValues()); in TEST_F()
27 EXPECT_EQ(1ul, histogram_.NumValues()); in TEST_F()
36 EXPECT_EQ(5ul, histogram_.NumValues()); in TEST_F()
42 EXPECT_EQ(6ul, histogram_.NumValues()); in TEST_F()
58 EXPECT_EQ(10ul, histogram_.NumValues()); in TEST_F()
66 EXPECT_EQ(10ul, histogram_.NumValues()); in TEST_F()
71 EXPECT_EQ(10ul, histogram_.NumValues()); in TEST_F()
Dhistogram.h34 size_t NumValues() const;
Dhistogram.cc56 size_t Histogram::NumValues() const { in NumValues() function in webrtc::video_coding::Histogram
/external/swiftshader/third_party/subzero/crosstest/
Dtest_arith_main.cpp55 const static size_t NumValues = sizeof(Values) / sizeof(*Values); in testsInt() local
97 for (size_t i = 0; i < NumValues; ++i) { in testsInt()
98 for (size_t j = 0; j < NumValues; ++j) { in testsInt()
130 for (size_t iLo = 0; iLo < NumValues; ++iLo) { in testsInt()
131 for (size_t iHi = 0; iHi < NumValues; ++iHi) { in testsInt()
132 for (size_t jLo = 0; jLo < NumValues; ++jLo) { in testsInt()
133 for (size_t jHi = 0; jHi < NumValues; ++jHi) { in testsInt()
179 const static size_t NumValues = sizeof(Values) / sizeof(*Values); in testsVecInt() local
210 ElementTypeUnsigned Element1 = Values[Index() % NumValues]; in testsVecInt()
211 ElementTypeUnsigned Element2 = Values[Index() % NumValues]; in testsVecInt()
[all …]
Dtest_icmp_main.cpp40 const static size_t NumValues = sizeof(Values) / sizeof(*Values); variable
68 for (size_t i = 0; i < NumValues; ++i) { in testsInt()
69 for (size_t j = 0; j < NumValues; ++j) { in testsInt()
91 for (size_t iLo = 0; iLo < NumValues; ++iLo) { in testsInt()
92 for (size_t iHi = 0; iHi < NumValues; ++iHi) { in testsInt()
93 for (size_t jLo = 0; jLo < NumValues; ++jLo) { in testsInt()
94 for (size_t jHi = 0; jHi < NumValues; ++jHi) { in testsInt()
145 for (size_t i = 0; i < NumValues; ++i) { in testsIntWithZero()
164 for (size_t iLo = 0; iLo < NumValues; ++iLo) { in testsIntWithZero()
165 for (size_t iHi = 0; iHi < NumValues; ++iHi) { in testsIntWithZero()
[all …]
Dtest_fcmp_main.cpp44 size_t NumValues; variable
61 NumValues = sizeof(InitValues) / sizeof(*InitValues); in initializeValues()
94 assert(Values && NumValues); in testsScalar()
97 for (size_t i = 0; i < NumValues; ++i) { in testsScalar()
98 for (size_t j = 0; j < NumValues; ++j) { in testsScalar()
173 assert(Values && NumValues); in testsVector()
180 Value1[j] = Values[Index() % NumValues]; in testsVector()
181 Value2[j] = Values[Index() % NumValues]; in testsVector()
Dtest_select_main.cpp41 static const size_t NumValues = sizeof(Values) / sizeof(*Values); in testSelect() local
49 setElement(Value1, j, Values[Index() % NumValues]); in testSelect()
50 setElement(Value2, j, Values[Index() % NumValues]); in testSelect()
77 static const size_t NumValues = sizeof(Values) / sizeof(*Values); in testSelect() local
85 setElement(Value1, j, Values[Index() % NumValues]); in testSelect()
86 setElement(Value2, j, Values[Index() % NumValues]); in testSelect()
Dtest_bitmanip_main.cpp83 const static size_t NumValues = sizeof(Values) / sizeof(*Values); variable
103 for (size_t i = 0; i < NumValues; ++i) { in testBitManip()
133 for (size_t i = 0; i < NumValues; ++i) { in testByteSwap()
Dtest_sync_atomic_main.cpp79 const static size_t NumValues = sizeof(Values) / sizeof(*Values); variable
107 for (size_t i = 0; i < NumValues; ++i) { in testAtomicRMW()
109 for (size_t j = 0; j < NumValues; ++j) { in testAtomicRMW()
152 for (size_t i = 0; i < NumValues; ++i) { in testValCompareAndSwap()
154 for (size_t j = 0; j < NumValues; ++j) { in testValCompareAndSwap()
Dtest_cast_main.cpp133 static const size_t NumValues = sizeof(Values) / sizeof(*Values); in testVector() local
139 Value[j] = Values[Index() % NumValues]; in testVector()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DBenchmarkResult.h103 assert(NumValues); in avg()
104 return SumValues / NumValues; in avg()
114 int NumValues = 0; variable
DBenchmarkRunner.cpp58 const size_t NumValues = std::max(NewValues.size(), Result->size()); in accumulateCounterValues() local
59 if (NumValues > Result->size()) in accumulateCounterValues()
60 Result->resize(NumValues, 0); in accumulateCounterValues()
/external/tensorflow/tensorflow/core/framework/
Dtensor_util_test.cc463 EXPECT_EQ(tensor::internal::TensorProtoHelper<float>::NumValues(tensor_proto), in TEST()
469 EXPECT_EQ(tensor::internal::TensorProtoHelper<int>::NumValues(tensor_proto), in TEST()
475 EXPECT_EQ(tensor::internal::TensorProtoHelper<uint8>::NumValues(tensor_proto), in TEST()
480 EXPECT_EQ(tensor::internal::TensorProtoHelper<bool>::NumValues(tensor_proto), in TEST()
487 tensor::internal::TensorProtoHelper<Eigen::half>::NumValues(tensor_proto), in TEST()
493 EXPECT_EQ(tensor::internal::TensorProtoHelper<std::complex<float>>::NumValues( in TEST()
575 EXPECT_EQ(TensorProtoHelper::NumValues(tensor_proto), 0); in ConstantTailTest()
578 EXPECT_LE(TensorProtoHelper::NumValues(tensor_proto), in ConstantTailTest()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCFragment.h323 const MCExpr &NumValues; variable
329 MCFillFragment(uint64_t Value, uint8_t VSize, const MCExpr &NumValues,
332 NumValues(NumValues), Loc(Loc) {} in MCFragment()
336 const MCExpr &getNumValues() const { return NumValues; } in getNumValues()
/external/llvm-project/llvm/include/llvm/MC/
DMCFragment.h339 const MCExpr &NumValues; variable
345 MCFillFragment(uint64_t Value, uint8_t VSize, const MCExpr &NumValues,
348 NumValues(NumValues), Loc(Loc) {} in MCFragment()
352 const MCExpr &getNumValues() const { return NumValues; } in getNumValues()
/external/llvm-project/llvm/tools/llvm-rc/
DResourceScriptStmt.cpp184 size_t NumValues = Values.size(); in log() local
185 for (size_t Id = 0; Id < NumValues; ++Id) { in log()
/external/llvm/lib/MC/
DMCAsmStreamer.cpp193 void emitFill(uint64_t NumValues, int64_t Size, int64_t Expr) override;
195 void emitFill(const MCExpr &NumValues, int64_t Size, int64_t Expr,
896 void MCAsmStreamer::emitFill(uint64_t NumValues, int64_t Size, int64_t Expr) { in emitFill() argument
897 if (NumValues == 0) in emitFill()
900 const MCExpr *E = MCConstantExpr::create(NumValues, getContext()); in emitFill()
904 void MCAsmStreamer::emitFill(const MCExpr &NumValues, int64_t Size, in emitFill() argument
908 NumValues.print(OS, MAI); in emitFill()
/external/llvm/include/llvm/TableGen/
DRecord.h653 unsigned NumValues; variable
660 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), NumValues(N) {} in ListInit()
677 assert(i < NumValues && "List element index out of range!"); in getElement()
698 return makeArrayRef(getTrailingObjects<Init *>(), NumValues); in getValues()
702 const_iterator end () const { return begin() + NumValues; } in end()
704 size_t size () const { return NumValues; } in size()
705 bool empty() const { return NumValues == 0; } in empty()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h428 unsigned short NumOperands, NumValues;
693 SDVTList X = { ValueList, NumValues };
723 unsigned getNumValues() const { return NumValues; }
727 assert(ResNo < NumValues && "Illegal result number!");
743 value_iterator value_end() const { return ValueList+NumValues; }
820 NumOperands(0), NumValues(VTs.NumVTs), IROrder(Order),
823 assert(NumValues == VTs.NumVTs &&
/external/llvm-project/llvm/include/llvm/TableGen/
DRecord.h635 unsigned NumValues; variable
642 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), NumValues(N) {} in ListInit()
659 assert(i < NumValues && "List element index out of range!"); in getElement()
683 return makeArrayRef(getTrailingObjects<Init *>(), NumValues); in getValues()
687 const_iterator end () const { return begin() + NumValues; } in end()
689 size_t size () const { return NumValues; } in size()
690 bool empty() const { return NumValues == 0; } in empty()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h663 unsigned NumValues; variable
670 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), NumValues(N) {} in ListInit()
687 assert(i < NumValues && "List element index out of range!"); in getElement()
711 return makeArrayRef(getTrailingObjects<Init *>(), NumValues); in getValues()
715 const_iterator end () const { return begin() + NumValues; } in end()
717 size_t size () const { return NumValues; } in size()
718 bool empty() const { return NumValues == 0; } in empty()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp3193 const MCExpr *NumValues; in parseDirectiveFill() local
3194 if (checkForValidSection() || parseExpression(NumValues)) in parseDirectiveFill()
3228 getStreamer().emitFill(*NumValues, FillSize, FillExpr, NumValuesLoc); in parseDirectiveFill()
4730 int64_t NumValues; in parseDirectiveDCB() local
4731 if (checkForValidSection() || parseAbsoluteExpression(NumValues)) in parseDirectiveDCB()
4734 if (NumValues < 0) { in parseDirectiveDCB()
4754 for (uint64_t i = 0, e = NumValues; i != e; ++i) in parseDirectiveDCB()
4757 for (uint64_t i = 0, e = NumValues; i != e; ++i) in parseDirectiveDCB()
4772 int64_t NumValues; in parseDirectiveRealDCB() local
4773 if (checkForValidSection() || parseAbsoluteExpression(NumValues)) in parseDirectiveRealDCB()
[all …]
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmParser.cpp3219 const MCExpr *NumValues; in parseDirectiveFill() local
3220 if (checkForValidSection() || parseExpression(NumValues)) in parseDirectiveFill()
3254 getStreamer().emitFill(*NumValues, FillSize, FillExpr, NumValuesLoc); in parseDirectiveFill()
4765 int64_t NumValues; in parseDirectiveDCB() local
4766 if (checkForValidSection() || parseAbsoluteExpression(NumValues)) in parseDirectiveDCB()
4769 if (NumValues < 0) { in parseDirectiveDCB()
4789 for (uint64_t i = 0, e = NumValues; i != e; ++i) in parseDirectiveDCB()
4792 for (uint64_t i = 0, e = NumValues; i != e; ++i) in parseDirectiveDCB()
4807 int64_t NumValues; in parseDirectiveRealDCB() local
4808 if (checkForValidSection() || parseAbsoluteExpression(NumValues)) in parseDirectiveRealDCB()
[all …]
/external/llvm/include/llvm/MC/
DMCObjectStreamer.h147 void emitFill(const MCExpr &NumValues, int64_t Size, int64_t Expr,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCObjectStreamer.cpp711 void MCObjectStreamer::emitFill(const MCExpr &NumValues, int64_t Size, in emitFill() argument
715 if (NumValues.evaluateAsAbsolute(IntNumValues, getAssemblerPtr())) { in emitFill()
738 insert(new MCFillFragment(Expr, Size, NumValues, Loc)); in emitFill()

123