Home
last modified time | relevance | path

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

123

/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/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/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util_test.cc61 CHECK(LiteralTestUtil::Near(*two, *four, error)) << "two is not near four"; in TEST()
105 EXPECT_TRUE(LiteralTestUtil::Near(*a, *b, ErrorSpec{0.0001})); in TEST()
113 EXPECT_TRUE(LiteralTestUtil::Near(*a, *b, ErrorSpec{0.0001})); in TEST()
120 EXPECT_FALSE(LiteralTestUtil::Near(*a, *b, ErrorSpec{0.0001})); in TEST()
121 EXPECT_FALSE(LiteralTestUtil::Near(*b, *a, ErrorSpec{0.0001})); in TEST()
Dliteral_test_util.cc688 /* static */ ::testing::AssertionResult LiteralTestUtil::Near( in Near() function in xla::LiteralTestUtil
704 Near(expected_element, actual_element, error); in Near()
727 EXPECT_TRUE(Near(expected, actual, error)) in ExpectNear()
738 return Near(expected, actual, *error); in NearOrEqual()
Dliteral_test_util.h132 static ::testing::AssertionResult Near(
/external/mesa3d/src/mesa/main/
Dviewport.c83 GLdouble Near, Far; /**< Depth buffer range */ member
239 if (ctx->ViewportArray[idx].Near == nearval && in set_depth_range_no_notify()
243 ctx->ViewportArray[idx].Near = CLAMP(nearval, 0.0, 1.0); in set_depth_range_no_notify()
329 set_depth_range_no_notify(ctx, i + first, p[i].Near, p[i].Far); in _mesa_DepthRangeArrayv()
412 ctx->ViewportArray[i].Near = 0.0; in _mesa_init_viewport()
483 double n = ctx->ViewportArray[i].Near; in _mesa_get_viewport_xform()
Drastpos.c425 ctx->ViewportArray[0].Near, in _mesa_RasterPos()
674 * (ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near) in window_pos3f()
675 + ctx->ViewportArray[0].Near; in window_pos3f()
Dget.c752 v->value_double_2[0] = ctx->ViewportArray[0].Near; in find_custom_value()
2088 v->value_double_2[0] = ctx->ViewportArray[index].Near; in find_value_indexed()
Dmtypes.h1242 GLdouble Near, Far; /**< Depth buffer range */ member
Dattrib.c1400 _mesa_set_depth_range(ctx, i, vp[i].Near, vp[i].Far); in _mesa_PopAttrib()
/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil.h194 static void Near(const T& a, const T& b, const double abs_err, int index) {
201 static void Near(const Tensor& x, const Tensor& y, const double abs_err) {
208 Near(a[i], b[i], abs_err, i);
224 internal::Expector<T>::Near(x, y, abs_err);
/external/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp88 &MemGroup.Near, in allocateSection()
98 MemGroup.Near = MB; in allocateSection()
/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()
Dnv10_state_fb.c188 a[2] = nv10_transform_depth(ctx, (vp->Far + vp->Near) / 2); in nv10_emit_viewport()
/external/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h107 sys::MemoryBlock Near; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cc.c58 ccv[i].min_depth = MIN2(ctx->ViewportArray[i].Near, in brw_upload_cc_vp()
60 ccv[i].max_depth = MAX2(ctx->ViewportArray[i].Near, in brw_upload_cc_vp()
/external/mesa3d/src/mesa/swrast/
Ds_depth.c174 if (ctx->ViewportArray[0].Near < ctx->ViewportArray[0].Far) { in _swrast_depth_clamp_span()
175 min_f = ctx->ViewportArray[0].Near; in _swrast_depth_clamp_span()
179 max_f = ctx->ViewportArray[0].Near; in _swrast_depth_clamp_span()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSplitKit.cpp754 MachineBasicBlock *Near = in hoistCopiesForSize() local
756 if (Near == ValMBB) in hoistCopiesForSize()
759 else if (Near != Dom.first) in hoistCopiesForSize()
761 Dom = DomPair(Near, SlotIndex()); in hoistCopiesForSize()
/external/llvm/lib/CodeGen/
DSplitKit.cpp857 MachineBasicBlock *Near = in hoistCopies() local
859 if (Near == ValMBB) in hoistCopies()
862 else if (Near != Dom.first) in hoistCopies()
864 Dom = DomPair(Near, SlotIndex()); in hoistCopies()
/external/llvm/include/llvm/DebugInfo/CodeView/
DCodeView.h366 Near = 0x05, enumerator
/external/mesa3d/src/mesa/program/
Dprog_statevars.c361 value[0] = ctx->ViewportArray[0].Near; /* near */ in _mesa_fetch_state()
363 value[2] = ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near; /* far - near */ in _mesa_fetch_state()
/external/tensorflow/tensorflow/examples/ios/
DREADME.md173 - Near the bottom, you'll see a line saying "Touch tf_simple_example.app".
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86Base.h574 typename InstX86Br::Mode Kind = InstX86Br::Near) {
/external/python/cpython3/Lib/test/decimaltestdata/
DddBase.decTest590 -- Near-specials

123