Home
last modified time | relevance | path

Searched refs:HALF (Results 1 – 25 of 79) sorted by relevance

1234

/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil_test.cc70 #define HALF(x) static_cast<T>(x) in TEST() macro
73 EXPECT_TRUE(Expector<T>::Near(HALF(1.0f), HALF(1.0f), 0.0)); in TEST()
74 EXPECT_TRUE(Expector<T>::Near(HALF(0.0f), HALF(-0.0f), 0.0)); in TEST()
75 EXPECT_TRUE(Expector<T>::Near(HALF(3.141592f), HALF(3.141592f), 0.0)); in TEST()
79 EXPECT_TRUE(Expector<T>::Near(HALF(8.9875f), HALF(8.99f), 0.0078125)); in TEST()
80 EXPECT_FALSE(Expector<T>::Near(HALF(8.9875f), HALF(8.99f), 0.007)); in TEST()
84 EXPECT_TRUE(Expector<T>::Near(HALF(720.2f), HALF(720.3f), 0.5)); in TEST()
85 EXPECT_FALSE(Expector<T>::Near(HALF(720.2f), HALF(720.3f), 0.4)); in TEST()
90 EXPECT_TRUE(Expector<T>::Near(HALF(1234.f), HALF(1235.f), 1.0)); in TEST()
91 EXPECT_FALSE(Expector<T>::Near(HALF(1234.5f), HALF(1235.f), 0.5)); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dtimeutils.cc35 const uint32_t HALF = 0x80000000; variable
140 RTC_DCHECK_LT(static_cast<uint32_t>(elapsed), HALF); in TimeAfter()
155 return (diff >= 0 && static_cast<uint32_t>(diff) < HALF); in TimeIsLaterOrEqual()
157 const bool later_or_equal = TimeIsBetween(earlier, later, earlier + HALF); in TimeIsLaterOrEqual()
165 return (diff > 0 && static_cast<uint32_t>(diff) < HALF); in TimeIsLater()
167 const bool earlier_or_equal = TimeIsBetween(later, earlier, later + HALF); in TimeIsLater()
176 const bool later_or_equal = TimeIsBetween(earlier, later, earlier + HALF); in TimeDiff()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-6.c187 HALF, enumerator
193 {SCHED_FIFO, HALF},
196 {SCHED_RR, HALF},
206 case HALF: in get_prio()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_swizzle.c63 {MAKE_SWZ3(HALF, HALF, HALF), R300_ALU_ARGC_HALF, 0, 0}
/external/u-boot/common/
Dmiiphyutil.c482 return HALF; in miiphy_duplex()
505 FULL : HALF; in miiphy_duplex()
508 return (bmcr & BMCR_FULLDPLX) ? FULL : HALF; in miiphy_duplex()
512 return HALF; in miiphy_duplex()
/external/cblas/testing/
Dc_sblat2.f70 REAL ZERO, HALF, ONE variable
71 PARAMETER ( ZERO = 0.0, HALF = 0.5, ONE = 1.0 )
255 EPS = HALF*EPS
470 REAL ZERO, HALF local
471 PARAMETER ( ZERO = 0.0, HALF = 0.5 )
594 TRANSL = HALF
830 REAL ZERO, HALF local
831 PARAMETER ( ZERO = 0.0, HALF = 0.5 )
940 TRANSL = HALF
1189 REAL ZERO, HALF, ONE local
[all …]
Dc_dblat2.f70 DOUBLE PRECISION ZERO, HALF, ONE variable
71 PARAMETER ( ZERO = 0.0D0, HALF = 0.5D0, ONE = 1.0D0 )
255 EPS = HALF*EPS
470 DOUBLE PRECISION ZERO, HALF local
471 PARAMETER ( ZERO = 0.0D0, HALF = 0.5D0 )
594 TRANSL = HALF
830 DOUBLE PRECISION ZERO, HALF local
831 PARAMETER ( ZERO = 0.0D0, HALF = 0.5D0 )
940 TRANSL = HALF
1189 DOUBLE PRECISION ZERO, HALF, ONE local
[all …]
Dc_cblat2.f476 COMPLEX ZERO, HALF local
477 PARAMETER ( ZERO = ( 0.0, 0.0 ), HALF = ( 0.5, 0.0 ) )
603 TRANSL = HALF
831 COMPLEX ZERO, HALF local
832 PARAMETER ( ZERO = ( 0.0, 0.0 ), HALF = ( 0.5, 0.0 ) )
944 TRANSL = HALF
1186 COMPLEX ZERO, HALF, ONE local
1187 PARAMETER ( ZERO = ( 0.0, 0.0 ), HALF = ( 0.5, 0.0 ),
1321 TRANSL = HALF
1568 COMPLEX ZERO, HALF, ONE local
[all …]
Dc_zblat2.f476 COMPLEX*16 ZERO, HALF local
478 $ HALF = ( 0.5D0, 0.0D0 ) )
604 TRANSL = HALF
832 COMPLEX*16 ZERO, HALF local
834 $ HALF = ( 0.5D0, 0.0D0 ) )
946 TRANSL = HALF
1188 COMPLEX*16 ZERO, HALF, ONE local
1190 $ HALF = ( 0.5D0, 0.0D0 ),
1324 TRANSL = HALF
1571 COMPLEX*16 ZERO, HALF, ONE local
[all …]
/external/OpenCL-CTS/test_conformance/half/
DCMakeLists.txt1 set(MODULE_NAME HALF)
/external/webp/src/dsp/
Dalpha_processing.c26 #define HALF ((1u << MFIX) >> 1) macro
30 const uint32_t v = (x * mult + HALF) >> MFIX; in Mult()
177 #undef HALF
/external/elfutils/libelf/
Dgelf_xlate.h34 FUNDAMENTAL (HALF, Half, LIBELFBITS);
/external/python/cpython3/Tools/unicode/python-mappings/
DKOI8-U.TXT174 0x8B 0x2580 # UPPER HALF BLOCK
175 0x8C 0x2584 # LOWER HALF BLOCK
177 0x8E 0x258C # LEFT HALF BLOCK
178 0x8F 0x2590 # RIGHT HALF BLOCK
182 0x93 0x2320 # TOP HALF INTEGRAL
190 0x9B 0x2321 # BOTTOM HALF INTEGRAL
/external/python/cpython2/Tools/unicode/python-mappings/
DKOI8-U.TXT174 0x8B 0x2580 # UPPER HALF BLOCK
175 0x8C 0x2584 # LOWER HALF BLOCK
177 0x8E 0x258C # LEFT HALF BLOCK
178 0x8F 0x2590 # RIGHT HALF BLOCK
182 0x93 0x2320 # TOP HALF INTEGRAL
190 0x9B 0x2321 # BOTTOM HALF INTEGRAL
/external/eigen/blas/testing/
Dcblat2.f451 COMPLEX ZERO, HALF local
452 PARAMETER ( ZERO = ( 0.0, 0.0 ), HALF = ( 0.5, 0.0 ) )
570 TRANSL = HALF
796 COMPLEX ZERO, HALF local
797 PARAMETER ( ZERO = ( 0.0, 0.0 ), HALF = ( 0.5, 0.0 ) )
903 TRANSL = HALF
1143 COMPLEX ZERO, HALF, ONE local
1144 PARAMETER ( ZERO = ( 0.0, 0.0 ), HALF = ( 0.5, 0.0 ),
1259 TRANSL = HALF
1505 COMPLEX ZERO, HALF, ONE local
[all …]
Dzblat2.f452 COMPLEX*16 ZERO, HALF local
454 $ HALF = ( 0.5D0, 0.0D0 ) )
572 TRANSL = HALF
798 COMPLEX*16 ZERO, HALF local
800 $ HALF = ( 0.5D0, 0.0D0 ) )
906 TRANSL = HALF
1146 COMPLEX*16 ZERO, HALF, ONE local
1148 $ HALF = ( 0.5D0, 0.0D0 ),
1263 TRANSL = HALF
1509 COMPLEX*16 ZERO, HALF, ONE local
[all …]
Dsblat2.f444 REAL ZERO, HALF local
445 PARAMETER ( ZERO = 0.0, HALF = 0.5 )
560 TRANSL = HALF
785 REAL ZERO, HALF local
786 PARAMETER ( ZERO = 0.0, HALF = 0.5 )
889 TRANSL = HALF
1127 REAL ZERO, HALF, ONE local
1128 PARAMETER ( ZERO = 0.0, HALF = 0.5, ONE = 1.0 )
1239 TRANSL = HALF
1485 REAL ZERO, HALF, ONE local
[all …]
Ddblat2.f444 DOUBLE PRECISION ZERO, HALF local
445 PARAMETER ( ZERO = 0.0D0, HALF = 0.5D0 )
560 TRANSL = HALF
785 DOUBLE PRECISION ZERO, HALF local
786 PARAMETER ( ZERO = 0.0D0, HALF = 0.5D0 )
889 TRANSL = HALF
1127 DOUBLE PRECISION ZERO, HALF, ONE local
1128 PARAMETER ( ZERO = 0.0D0, HALF = 0.5D0, ONE = 1.0D0 )
1239 TRANSL = HALF
1485 DOUBLE PRECISION ZERO, HALF, ONE local
[all …]
/external/llvm/lib/Target/AMDGPU/
DR600RegisterInfo.cpp35 Reserved.set(AMDGPU::HALF); in getReservedRegs()
DR600RegisterInfo.td134 def HALF : R600Reg<"0.5", 252>;
228 ZERO, HALF, ONE, ONE_INT, PV_X, ALU_LITERAL_X, NEG_ONE, NEG_HALF,
/external/u-boot/include/
Dmiiphy.h95 #define HALF 22 macro
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600RegisterInfo.cpp39 reserveRegisterTuples(Reserved, R600::HALF); in getReservedRegs()
DR600RegisterInfo.td134 def HALF : R600Reg<"0.5", 252>;
229 ZERO, HALF, ONE, ONE_INT, PV_X, ALU_LITERAL_X, NEG_ONE, NEG_HALF,
/external/icu/icu4c/source/data/translit/
Dund_FONIPA_und_FONXSAMP.txt114 ˑ ↔ ':\'; # MODIFIER LETTER HALF TRIANGULAR COLON
130 \u031C ↔ '_c'; # COMBINING LEFT HALF RING BELOW
142 \u0339 ↔ '_O'; # COMBINING RIGHT HALF RING BELOW
/external/libavc/decoder/
Dih264d_cabac.h45 #define HALF (1 << (B_BITS-1)) macro

1234