Home
last modified time | relevance | path

Searched refs:Near (Results 1 – 25 of 150) sorted by relevance

123456

/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DControlFlow.cpp18 #define TestJ(C, Near, Src0, Value0, Src1, Value1, Dest) \ in TEST_F() argument
20 const bool NearJmp = AssemblerX8632::k##Near##Jump; \ in TEST_F()
32 EXPECT_EQ(Value0, test.Src0()) << "Br_" #C ", " #Near; \ in TEST_F()
33 EXPECT_EQ(Value1, test.Src1()) << "Br_" #C ", " #Near; \ in TEST_F()
34 EXPECT_EQ(0xBEEFul, test.Dest()) << "Br_" #C ", " #Near; \ in TEST_F()
38 TestJ(o, Near, eax, 0x80000000ul, ebx, 0x1ul, ecx); in TEST_F()
40 TestJ(no, Near, ecx, 0x1ul, edx, 0x1ul, edi); in TEST_F()
42 TestJ(b, Near, edi, 0x1ul, esi, 0x80000000ul, eax); in TEST_F()
44 TestJ(ae, Near, eax, 0x80000000ul, ebx, 0x1ul, ecx); in TEST_F()
46 TestJ(e, Near, ecx, 0x80000000ul, edx, 0x80000000ul, edi); in TEST_F()
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DControlFlow.cpp17 #define TestJ(C, Near, Dest, Src0, Value0, Src1, Value1) \ in TEST_F() argument
20 "(" #C ", " #Near ", " #Dest ", " #Src0 ", " #Value0 ", " #Src1 \ in TEST_F()
22 const bool NearJmp = AssemblerX8664::k##Near##Jump; \ in TEST_F()
41 TestJ(o, Near, Dst, Src0, 0x80000000ul, Src1, 0x1ul); \ in TEST_F()
43 TestJ(no, Near, Dst, Src0, 0x1ul, Src1, 0x1ul); \ in TEST_F()
45 TestJ(b, Near, Dst, Src0, 0x1ul, Src1, 0x80000000ul); \ in TEST_F()
47 TestJ(ae, Near, Dst, Src0, 0x80000000ul, Src1, 0x1ul); \ in TEST_F()
49 TestJ(e, Near, Dst, Src0, 0x80000000ul, Src1, 0x80000000ul); \ in TEST_F()
51 TestJ(ne, Near, Dst, Src0, 0x80000000ul, Src1, 0x1ul); \ in TEST_F()
53 TestJ(be, Near, Dst, Src0, 0x1ul, Src1, 0x80000000ul); \ in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util_test.cc127 CHECK(LiteralTestUtil::Near(two, four, error)) << "two is not near four"; in TEST()
185 EXPECT_TRUE(LiteralTestUtil::Near(a, b, ErrorSpec{0.0001})); in TEST()
225 EXPECT_TRUE(LiteralTestUtil::Near(a, b, ErrorSpec{0.0001})); in TEST()
226 EXPECT_FALSE(LiteralTestUtil::Near(a, c, ErrorSpec{0.0001})); in TEST()
227 EXPECT_FALSE(LiteralTestUtil::Near(a, d, ErrorSpec{0.0001})); in TEST()
228 EXPECT_FALSE(LiteralTestUtil::Near(c, d, ErrorSpec{0.0001})); in TEST()
268 EXPECT_TRUE(LiteralTestUtil::Near(a, b, ErrorSpec{0.0001})); in TEST()
269 EXPECT_FALSE(LiteralTestUtil::Near(a, c, ErrorSpec{0.0001})); in TEST()
270 EXPECT_FALSE(LiteralTestUtil::Near(a, d, ErrorSpec{0.0001})); in TEST()
271 EXPECT_FALSE(LiteralTestUtil::Near(c, d, ErrorSpec{0.0001})); in TEST()
[all …]
Dbroadcast_test.cc49 EXPECT_TRUE(LiteralTestUtil::Near(LiteralUtil::CreateR0<float>(42.0), result, in XLA_TEST_F()
65 EXPECT_TRUE(LiteralTestUtil::Near( in XLA_TEST_F()
88 EXPECT_TRUE(LiteralTestUtil::Near( in XLA_TEST_F()
92 EXPECT_TRUE(LiteralTestUtil::Near( in XLA_TEST_F()
109 EXPECT_TRUE(LiteralTestUtil::Near( in XLA_TEST_F()
128 EXPECT_TRUE(LiteralTestUtil::Near( in XLA_TEST_F()
145 EXPECT_TRUE(LiteralTestUtil::Near( in XLA_TEST_F()
169 EXPECT_TRUE(LiteralTestUtil::Near( in TEST_F()
199 EXPECT_TRUE(LiteralTestUtil::Near( in TEST_F()
221 EXPECT_TRUE(LiteralTestUtil::Near(LiteralUtil::CreateR4FromArray4D(r4_array), in XLA_TEST_F()
[all …]
Dliteral_test_util.h93 static ::testing::AssertionResult Near(
204 EXPECT_TRUE(Near(LiteralUtil::CreateR0<NativeT>(expected), actual, error)); in ExpectR0Near()
211 EXPECT_TRUE(Near(LiteralUtil::CreateR1<NativeT>(expected), actual, error)); in ExpectR1Near()
218 EXPECT_TRUE(Near(LiteralUtil::CreateR2<NativeT>(expected), actual, error)); in ExpectR2Near()
226 EXPECT_TRUE(Near(LiteralUtil::CreateR3<NativeT>(expected), actual, error)); in ExpectR3Near()
235 EXPECT_TRUE(Near(LiteralUtil::CreateR4<NativeT>(expected), actual, error)); in ExpectR4Near()
242 EXPECT_TRUE(Near(LiteralUtil::CreateR2FromArray2D(expected), actual, error)); in ExpectR2NearArray2D()
249 EXPECT_TRUE(Near(LiteralUtil::CreateR3FromArray3D(expected), actual, error)); in ExpectR3NearArray3D()
256 EXPECT_TRUE(Near(LiteralUtil::CreateR4FromArray4D(expected), actual, error)); in ExpectR4NearArray4D()
Dliteral_test_util.cc93 /* static */ ::testing::AssertionResult LiteralTestUtil::Near( in Near() function in xla::LiteralTestUtil
96 return StatusToAssertion(literal_comparison::Near( in Near()
105 return StatusToAssertion(literal_comparison::Near( in NearOrEqual()
Dcompilation_cache_test.cc51 EXPECT_TRUE(LiteralTestUtil::Near( in ExecuteComputationR0F32()
67 EXPECT_TRUE(LiteralTestUtil::Near( in ExecuteComputationR2F32()
/external/llvm/unittests/Support/
DMemoryTest.cpp266 MemoryBlock Near((void*)(3*PageSize), 16); in TEST_P() local
267 MemoryBlock M1 = Memory::allocateMappedMemory(16, &Near, Flags, EC); in TEST_P()
269 MemoryBlock M2 = Memory::allocateMappedMemory(64, &Near, Flags, EC); in TEST_P()
271 MemoryBlock M3 = Memory::allocateMappedMemory(32, &Near, Flags, EC); in TEST_P()
288 MemoryBlock Near(nullptr, 0); in TEST_P() local
289 MemoryBlock M1 = Memory::allocateMappedMemory(16, &Near, Flags, EC); in TEST_P()
291 MemoryBlock M2 = Memory::allocateMappedMemory(64, &Near, Flags, EC); in TEST_P()
293 MemoryBlock M3 = Memory::allocateMappedMemory(32, &Near, Flags, EC); in TEST_P()
314 MemoryBlock Near((void*)(4*PageSize), 0); in TEST_P() local
315 MemoryBlock M1 = Memory::allocateMappedMemory(16, &Near, Flags, EC); in TEST_P()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp105 Purpose, RequiredSize, &MemGroup.Near, in allocateSection()
113 MemGroup.Near = MB; in allocateSection()
117 if (CodeMem.Near.base() == 0) in allocateSection()
118 CodeMem.Near = MB; in allocateSection()
119 if (RODataMem.Near.base() == 0) in allocateSection()
120 RODataMem.Near = MB; in allocateSection()
121 if (RWDataMem.Near.base() == 0) in allocateSection()
122 RWDataMem.Near = MB; in allocateSection()
/external/llvm-project/llvm/unittests/Support/
DMemoryTest.cpp331 MemoryBlock Near((void*)(3*PageSize), 16); in TEST_P() local
332 MemoryBlock M1 = Memory::allocateMappedMemory(16, &Near, Flags, EC); in TEST_P()
334 MemoryBlock M2 = Memory::allocateMappedMemory(64, &Near, Flags, EC); in TEST_P()
336 MemoryBlock M3 = Memory::allocateMappedMemory(32, &Near, Flags, EC); in TEST_P()
354 MemoryBlock Near(nullptr, 0); in TEST_P() local
355 MemoryBlock M1 = Memory::allocateMappedMemory(16, &Near, Flags, EC); in TEST_P()
357 MemoryBlock M2 = Memory::allocateMappedMemory(64, &Near, Flags, EC); in TEST_P()
359 MemoryBlock M3 = Memory::allocateMappedMemory(32, &Near, Flags, EC); in TEST_P()
381 MemoryBlock Near((void*)(4*PageSize), 0); in TEST_P() local
382 MemoryBlock M1 = Memory::allocateMappedMemory(16, &Near, Flags, EC); in TEST_P()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_test.cc95 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, error)); in TestUnaryOp()
747 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, ErrorSpec(0.031250))); in TEST_P()
1600 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, fft_error_));
1619 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, fft_error_));
1637 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, fft_error_));
1655 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, fft_error_));
1672 EXPECT_TRUE(LiteralTestUtil::Near(fft_c64x2x4x8_1d_, result, fft_error_));
1687 EXPECT_TRUE(LiteralTestUtil::Near(fft_c64x2x4x8_, result, fft_error_));
1709 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, fft_error_));
1731 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, fft_error_));
[all …]
/external/mesa3d/src/mesa/main/
Dviewport.c89 GLdouble Near, Far; /**< Depth buffer range */ member
290 if (ctx->ViewportArray[idx].Near == nearval && in set_depth_range_no_notify()
298 ctx->ViewportArray[idx].Near = SATURATE(nearval); in set_depth_range_no_notify()
367 set_depth_range_no_notify(ctx, i + first, inputs[i].Near, inputs[i].Far); in depth_range_arrayv()
489 ctx->ViewportArray[i].Near = 0.0; in _mesa_init_viewport()
589 double n = ctx->ViewportArray[i].Near; in _mesa_get_viewport_xform()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.h63 Status Near(const LiteralSlice& expected, const LiteralSlice& actual,
/external/llvm-project/llvm/test/tools/llvm-readobj/COFF/
Dcodeview-label.test5 ; CHECK-NEXT: Mode: Near (0x0)
/external/angle/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.h80 bool Near(absl::string_view msg, double actual, double expected, double bound);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.h80 bool Near(absl::string_view msg, double actual, double expected, double bound);
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Ddistribution_test_util.h80 bool Near(absl::string_view msg, double actual, double expected, double bound);
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.h80 bool Near(absl::string_view msg, double actual, double expected, double bound);
/external/openscreen/third_party/abseil/src/absl/random/internal/
Ddistribution_test_util.h80 bool Near(absl::string_view msg, double actual, double expected, double bound);
/external/abseil-cpp/absl/random/internal/
Ddistribution_test_util.h80 bool Near(absl::string_view msg, double actual, double expected, double bound);
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h157 a[MAT_SZ] = fb->_DepthMaxF * (vp->Far - vp->Near) / 2; in get_viewport_scale()
174 a[2] = fb->_DepthMaxF * (vp->Far + vp->Near) / 2; in get_viewport_translate()
/external/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp88 &MemGroup.Near, in allocateSection()
98 MemGroup.Near = MB; in allocateSection()
/external/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h107 sys::MemoryBlock Near; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp105 Purpose, RequiredSize, &MemGroup.Near, in allocateSection()
113 MemGroup.Near = MB; in allocateSection()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h174 sys::MemoryBlock Near; member

123456