Home
last modified time | relevance | path

Searched refs:non_zero (Results 1 – 25 of 32) sorted by relevance

12

/external/compiler-rt/test/builtins/Unit/
Dmulsc3_test.c24 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
47 return non_zero; in classify()
72 case non_zero: in test__mulsc3()
90 case non_zero: in test__mulsc3()
97 case non_zero: in test__mulsc3()
98 if (classify(r) != non_zero) in test__mulsc3()
128 case non_zero: in test__mulsc3()
153 case non_zero: in test__mulsc3()
178 case non_zero: in test__mulsc3()
Dmultc3_test.c27 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
50 return non_zero; in classify()
75 case non_zero: in test__multc3()
93 case non_zero: in test__multc3()
100 case non_zero: in test__multc3()
101 if (classify(r) != non_zero) in test__multc3()
127 case non_zero: in test__multc3()
152 case non_zero: in test__multc3()
177 case non_zero: in test__multc3()
Dmuldc3_test.c24 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
47 return non_zero; in classify()
72 case non_zero: in test__muldc3()
90 case non_zero: in test__muldc3()
97 case non_zero: in test__muldc3()
98 if (classify(r) != non_zero) in test__muldc3()
124 case non_zero: in test__muldc3()
149 case non_zero: in test__muldc3()
174 case non_zero: in test__muldc3()
Ddivsc3_test.c24 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
47 return non_zero; in classify()
72 case non_zero: in test__divsc3()
90 case non_zero: in test__divsc3()
97 case non_zero: in test__divsc3()
98 if (classify(r) != non_zero) in test__divsc3()
128 case non_zero: in test__divsc3()
153 case non_zero: in test__divsc3()
178 case non_zero: in test__divsc3()
Ddivtc3_test.c25 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
48 return non_zero; in classify()
74 case non_zero: in test__divtc3()
92 case non_zero: in test__divtc3()
99 case non_zero: in test__divtc3()
100 if (classify(r) != non_zero) in test__divtc3()
130 case non_zero: in test__divtc3()
155 case non_zero: in test__divtc3()
180 case non_zero: in test__divtc3()
Dmulxc3_test.c26 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
49 return non_zero; in classify()
74 case non_zero: in test__mulxc3()
92 case non_zero: in test__mulxc3()
99 case non_zero: in test__mulxc3()
100 if (classify(r) != non_zero) in test__mulxc3()
126 case non_zero: in test__mulxc3()
151 case non_zero: in test__mulxc3()
176 case non_zero: in test__mulxc3()
Ddivxc3_test.c26 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
49 return non_zero; in classify()
74 case non_zero: in test__divxc3()
92 case non_zero: in test__divxc3()
99 case non_zero: in test__divxc3()
100 if (classify(r) != non_zero) in test__divxc3()
130 case non_zero: in test__divxc3()
155 case non_zero: in test__divxc3()
180 case non_zero: in test__divxc3()
Ddivdc3_test.c24 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
47 return non_zero; in classify()
72 case non_zero: in test__divdc3()
90 case non_zero: in test__divdc3()
97 case non_zero: in test__divdc3()
98 if (classify(r) != non_zero) in test__divdc3()
128 case non_zero: in test__divdc3()
153 case non_zero: in test__divdc3()
178 case non_zero: in test__divdc3()
/external/libcxx/test/std/numerics/complex.number/complex.ops/
Dcomplex_divide_complex.pass.cpp54 case non_zero: in test_edges()
68 case non_zero: in test_edges()
74 case non_zero: in test_edges()
75 assert(classify(r) == non_zero); in test_edges()
94 case non_zero: in test_edges()
114 case non_zero: in test_edges()
134 case non_zero: in test_edges()
Dcomplex_times_complex.pass.cpp56 case non_zero: in test_edges()
70 case non_zero: in test_edges()
76 case non_zero: in test_edges()
77 assert(classify(r) == non_zero); in test_edges()
96 case non_zero: in test_edges()
116 case non_zero: in test_edges()
136 case non_zero: in test_edges()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensor_dense_matmul_grad_test.py37 non_zero = np.where(x)
38 x_indices = np.vstack(non_zero).astype(indices_dtype).T
39 x_values = x[non_zero]
Dsparse_add_op_test.py42 non_zero = np.where(x)
43 x_indices = np.vstack(non_zero).astype(index_dtype).T
44 x_values = x[non_zero]
/external/tensorflow/tensorflow/core/graph/
Dcostmodel.cc36 std::vector<int32> non_zero; in SuppressInfrequent() local
38 if (v > 0) non_zero.push_back(v); in SuppressInfrequent()
40 const size_t sz = non_zero.size(); in SuppressInfrequent()
42 std::nth_element(non_zero.begin(), non_zero.begin() + sz / 2, in SuppressInfrequent()
43 non_zero.end()); in SuppressInfrequent()
44 int32 median_value = non_zero[sz / 2]; in SuppressInfrequent()
46 VLOG(1) << "num non_zero vals: " << non_zero.size() << " median_value " in SuppressInfrequent()
/external/epid-sdk/epid/member/tiny/math/unittests/
Dfq6-test.cc341 Fq6Elem non_zero = {0}; in TEST() local
342 ++non_zero.y2.x1.limbs.word[4]; in TEST()
343 EXPECT_FALSE(Fq6IsZero(&non_zero)); in TEST()
Dfq2-test.cc347 Fq2Elem non_zero = {0}; in TEST() local
348 ++non_zero.x0.limbs.word[6]; in TEST()
349 EXPECT_FALSE(Fq2IsZero(&non_zero)); in TEST()
Dfq-test.cc139 FqElem non_zero = {{0, 0, 0, 0, 0, 0, 1, 0}}; in TEST() local
140 EXPECT_FALSE(FqIsZero(&non_zero)); in TEST()
/external/libcxx/test/std/numerics/complex.number/
Dcases.h175 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
199 return non_zero; in classify()
212 return non_zero; in classify()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc212 bool non_zero = false; in DecodeLocation() local
215 non_zero = non_zero || curr_encoding != 0.0f; in DecodeLocation()
227 if (!non_zero) { in DecodeLocation()
/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c294 uint64_t non_zero = 10; in readfd_set_test() local
299 ret = set_counter(fd, non_zero); in readfd_set_test()
302 non_zero); in readfd_set_test()
/external/libcxx/test/std/numerics/complex.number/complex.value.ops/
Dnorm.pass.cpp41 case non_zero: in test_edges()
Dabs.pass.cpp41 case non_zero: in test_edges()
Dproj.pass.cpp47 case non_zero: in test_edges()
Dpolar.pass.cpp68 case non_zero: in test_edges()
Darg.pass.cpp55 case non_zero: in test_edges()
/external/webp/src/enc/
Dquant_enc.c778 const int non_zero = in ReconstructIntra16() local
781 it->top_nz_[x] = it->left_nz_[y] = non_zero; in ReconstructIntra16()
783 nz |= non_zero << n; in ReconstructIntra16()
930 const int non_zero = in ReconstructUV() local
933 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = non_zero; in ReconstructUV()
934 nz |= non_zero << n; in ReconstructUV()

12