Home
last modified time | relevance | path

Searched +defs:val +defs:expected (Results 1 – 25 of 1116) sorted by relevance

12345678910>>...45

/aosp_15_r20/external/rust/android-crates-io/crates/der/src/asn1/
Dreal.rs292 let val = 0.0; in encdec_normal() localVariable
293 let expected = &[0x09, 0x0]; in encdec_normal() localVariable
312 let val = 1.0; in encdec_normal() localVariable
313 let expected = &[0x09, 0x03, 0x80, 0x00, 0x01]; in encdec_normal() localVariable
332 let val = -1.0; in encdec_normal() localVariable
333 let expected = &[0x09, 0x03, 0xc0, 0x00, 0x01]; in encdec_normal() localVariable
352 let val = -1.0000000000000002; in encdec_normal() localVariable
353 let expected = &[0x09, 0x03, 0xc0, 0x00, 0x02]; in encdec_normal() localVariable
373 let val = f64::MIN_POSITIVE; in encdec_normal() localVariable
374 let expected = &[0x09, 0x04, 0x81, 0xfc, 0x02, 0x01]; in encdec_normal() localVariable
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/
H A Dsave_v2_op_test.cc135 TensorShape expected({2}); in TEST_F() local
139 Tensor val; in TEST_F() local
151 TensorShape expected({10}); in TEST_F() local
155 Tensor val; in TEST_F() local
167 TensorShape expected({2, 4}); in TEST_F() local
171 Tensor val; in TEST_F() local
183 TensorShape expected({2, 4}); in TEST_F() local
187 Tensor val; in TEST_F() local
199 TensorShape expected({3, 2}); in TEST_F() local
203 Tensor val; in TEST_F() local
[all …]
H A Dquantization_utils_test.cc202 for (int val = low; val <= high; ++val) { in TestRequantizeManyInNewRange8To32Bit() local
263 auto expected = output_values_ref(i); in TestRequantizeManyInNewRangeEigenVsNonEigen() local
366 int32_t expected = FloatToQuantized<T>(input_array(i), f_min, f_max); in TestFloatToQuantizedInPlaceUsingEigen() local
420 float expected = QuantizedToFloat<T>(input_array(i), f_min, f_max); in TestQuantizedToFloatInPlaceUsingEigen() local
630 Tensor expected(DT_QUINT8, TensorShape({input_height, input_width})); in TestFloatTensorToQuantized() local
660 Tensor expected(DT_QINT32, shape); in TestOverflowWithEigen() local
682 Tensor expected(DT_FLOAT, TensorShape({input_height, input_width})); in TestQuantizedTensorToFloat() local
747 void TestDivide64x2Pow(int64 val, int64 ref) { in TestDivide64x2Pow()
759 void TestDivide64x2PowRound(int64 val, int64 ref) { in TestDivide64x2PowRound()
814 uint8x8_t To8x8(uint8 val) { return vmov_n_u8(val); } in To8x8()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/upb/port/
Datomic.h38 #define upb_Atomic_Init(addr, val) atomic_init(addr, val) argument
40 #define upb_Atomic_Store(addr, val, order) \ argument
42 #define upb_Atomic_Add(addr, val, order) \ argument
44 #define upb_Atomic_Sub(addr, val, order) \ argument
46 #define upb_Atomic_Exchange(addr, val, order) \ argument
48 #define upb_Atomic_CompareExchangeStrong(addr, expected, desired, \ argument
52 #define upb_Atomic_CompareExchangeWeak(addr, expected, desired, success_order, \ argument
61 #define upb_Atomic_Init(addr, val) (*addr = val) argument
63 #define upb_Atomic_Store(addr, val, order) (*(addr) = val) argument
64 #define upb_Atomic_Add(addr, val, order) (*(addr) += val) argument
[all …]
/aosp_15_r20/external/grpc-grpc/third_party/upb/upb/port/
H A Datomic.h20 #define upb_Atomic_Init(addr, val) atomic_init(addr, val) argument
22 #define upb_Atomic_Store(addr, val, order) \ argument
24 #define upb_Atomic_Add(addr, val, order) \ argument
26 #define upb_Atomic_Sub(addr, val, order) \ argument
28 #define upb_Atomic_Exchange(addr, val, order) \ argument
30 #define upb_Atomic_CompareExchangeStrong(addr, expected, desired, \ argument
34 #define upb_Atomic_CompareExchangeWeak(addr, expected, desired, success_order, \ argument
43 #define upb_Atomic_Init(addr, val) (*addr = val) argument
45 #define upb_Atomic_Store(addr, val, order) (*(addr) = val) argument
46 #define upb_Atomic_Add(addr, val, order) (*(addr) += val) argument
[all …]
/aosp_15_r20/hardware/interfaces/renderscript/1.0/vts/functional/
H A DVtsCopyTests.cpp46 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
82 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
119 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
150 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
193 std::vector<float> dataIn(512*512), dataOut(256*256), expected(256*256); in TEST_P() local
194 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
245 std::vector<float> dataIn(128*128*128), dataOut(64*64*64), expected(64*64*64); in TEST_P() local
246 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
294 std::vector<float> dataIn(512*512), dataOut(256*256), expected; in TEST_P() local
295 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
[all …]
/aosp_15_r20/art/test/661-checker-simd-cf-loops/src/
H A DMain.java79 int val = x[i]; in $compile$noinline$FullDiamond() local
148 short val = x[i]; in $compile$noinline$SimpleShort() local
163 char val = x[i]; in $compile$noinline$SimpleChar() local
178 int val = x[i]; in $compile$noinline$SimpleInt() local
195 long val = x[i]; in $compile$noinline$SimpleLong() local
212 float val = x[i]; in $compile$noinline$SimpleFloat() local
229 double val = x[i]; in $compile$noinline$SimpleDouble() local
329 int val = x[i]; in $compile$noinline$SimpleCondition() local
350 int val = x[i]; in $compile$noinline$Select() local
368 int val = x[i]; in $compile$noinline$Phi() local
[all …]
/aosp_15_r20/out/target/common/obj/JAVA_LIBRARIES/android.test.base.impl_intermediates/
Dclasses.jar ... extends junit.framework.TestCase { final synthetic String val$message void <init> (java.lang ...
/aosp_15_r20/out/soong/.intermediates/frameworks/base/test-base/android.test.base.impl/android_common/repackaged-jarjar/javac/
Dandroid.test.base.jar ... extends junit.framework.TestCase { final synthetic String val$message void <init> (java.lang ...
/aosp_15_r20/out/soong/.intermediates/frameworks/base/test-base/android.test.base.impl/android_common/javac/
Dandroid.test.base.jar ... implements java.lang.Runnable { final synthetic Runnable val$r final synthetic Throwable[] val$exceptions ...
/aosp_15_r20/libcore/ojluni/src/test/java/lang/Integer/
H A DParsingTest.java119 private static void check(int expected, String val) { in check()
126 private static void checkFailure(String val) { in checkFailure()
137 private static void checkNumberFormatException(String val, int start, int end, int radix) { in checkNumberFormatException()
151 private static void checkIndexOutOfBoundsException(String val, int start, int end, int radix) { in checkIndexOutOfBoundsException()
179 private static void check(int expected, String val, int start, int end, int radix) { in check()
189 private static int Integer_parseInt(String val, int start, int end, int radix) { in Integer_parseInt()
/aosp_15_r20/libcore/ojluni/src/test/java/lang/Long/
H A DParsingTest.java115 private static void check(long expected, String val) { in check()
122 private static void checkFailure(String val) { in checkFailure()
133 private static void checkNumberFormatException(String val, int start, int end, int radix) { in checkNumberFormatException()
147 private static void checkIndexOutOfBoundsException(String val, int start, int end, int radix) { in checkIndexOutOfBoundsException()
175 private static void check(long expected, String val, int start, int end, int radix) { in check()
185 private static long Long_parseLong(String val, int start, int end, int radix) { in Long_parseLong()
/aosp_15_r20/libcore/ojluni/src/main/java/java/lang/invoke/
H A DMethodHandles.java196 reflectAs(Class<T> expected, MethodHandle target) { in reflectAs()
2441 public static void arrayElementSetter(byte[] array, int i, byte val) { array[i] = val; } in arrayElementSetter()
2443 public static void arrayElementSetter(boolean[] array, int i, boolean val) { array[i] = val; } in arrayElementSetter()
2445 public static void arrayElementSetter(char[] array, int i, char val) { array[i] = val; } in arrayElementSetter()
2447 public static void arrayElementSetter(short[] array, int i, short val) { array[i] = val; } in arrayElementSetter()
2449 public static void arrayElementSetter(int[] array, int i, int val) { array[i] = val; } in arrayElementSetter()
2451 public static void arrayElementSetter(long[] array, int i, long val) { array[i] = val; } in arrayElementSetter()
2453 public static void arrayElementSetter(float[] array, int i, float val) { array[i] = val; } in arrayElementSetter()
2455 public static void arrayElementSetter(double[] array, int i, double val) { array[i] = val; } in arrayElementSetter()
3189 /** @hide */ public static byte identity(byte val) { return val; } in identity()
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/5/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java196 reflectAs(Class<T> expected, MethodHandle target) { in reflectAs()
2441 public static void arrayElementSetter(byte[] array, int i, byte val) { array[i] = val; } in arrayElementSetter()
2443 public static void arrayElementSetter(boolean[] array, int i, boolean val) { array[i] = val; } in arrayElementSetter()
2445 public static void arrayElementSetter(char[] array, int i, char val) { array[i] = val; } in arrayElementSetter()
2447 public static void arrayElementSetter(short[] array, int i, short val) { array[i] = val; } in arrayElementSetter()
2449 public static void arrayElementSetter(int[] array, int i, int val) { array[i] = val; } in arrayElementSetter()
2451 public static void arrayElementSetter(long[] array, int i, long val) { array[i] = val; } in arrayElementSetter()
2453 public static void arrayElementSetter(float[] array, int i, float val) { array[i] = val; } in arrayElementSetter()
2455 public static void arrayElementSetter(double[] array, int i, double val) { array[i] = val; } in arrayElementSetter()
3189 /** @hide */ public static byte identity(byte val) { return val; } in identity()
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java196 reflectAs(Class<T> expected, MethodHandle target) { in reflectAs()
2441 public static void arrayElementSetter(byte[] array, int i, byte val) { array[i] = val; } in arrayElementSetter()
2443 public static void arrayElementSetter(boolean[] array, int i, boolean val) { array[i] = val; } in arrayElementSetter()
2445 public static void arrayElementSetter(char[] array, int i, char val) { array[i] = val; } in arrayElementSetter()
2447 public static void arrayElementSetter(short[] array, int i, short val) { array[i] = val; } in arrayElementSetter()
2449 public static void arrayElementSetter(int[] array, int i, int val) { array[i] = val; } in arrayElementSetter()
2451 public static void arrayElementSetter(long[] array, int i, long val) { array[i] = val; } in arrayElementSetter()
2453 public static void arrayElementSetter(float[] array, int i, float val) { array[i] = val; } in arrayElementSetter()
2455 public static void arrayElementSetter(double[] array, int i, double val) { array[i] = val; } in arrayElementSetter()
3189 /** @hide */ public static byte identity(byte val) { return val; } in identity()
[all …]
/aosp_15_r20/out/soong/.intermediates/external/testng/testng/linux_glibc_common/local-javac-header/
Dtestng.jar ... , java.lang.String) Object actual Object expected String message private static void assertEqualsImpl (java.lang ...
/aosp_15_r20/out/soong/.intermediates/external/testng/testng/linux_glibc_common/javac/
Dtestng.jar ... , java.lang.String) Object actual Object expected String message private static void assertEqualsImpl (java.lang ...
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/
H A Dliteral_comparison.cc41 T GetRawValue(T val) { in GetRawValue()
44 uint16_t GetRawValue(Eigen::half val) { in GetRawValue()
174 Status Equal(LiteralSlice expected, LiteralSlice actual, in Equal()
223 bool IsInf(NativeT val) { in IsInf()
284 static Status Compare(const LiteralSlice& expected, in Compare()
298 NativeT expected; member
321 NearComparator(const LiteralSlice& expected, const LiteralSlice& actual, in NearComparator()
394 void CompareValues(T expected, T actual, int64_t linear_index) { in CompareValues()
483 void CompareValues(complex64 expected, complex64 actual, in CompareValues()
497 void CompareValues(complex128 expected, complex128 actual, in CompareValues()
[all …]
/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java106 public static void equals(final int expected, final int actual) { in equals()
112 public static void equals(final long expected, final long actual) { in equals()
118 public static void equals(final Object expected, final Object actual) { in equals()
125 public static void oneOf(final int actual, final int ...expected) { in oneOf()
135 final int val, final int rangeMinInclusive, final int rangeMaxInclusive) { in inRange()
143 final long val, final long rangeMinInclusive, final long rangeMaxInclusive) { in inRange()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/example/karma/
Dreference.cpp32 void test_generator(char const* expected, G const& g) in test_generator()
45 void test_generator_attr(char const* expected, G const& g, T const& attr) in test_generator_attr()
58 void test_generator_attr(char const* expected, G const& g, T1 const& attr1, in test_generator_attr()
72 void test_generator_attr_delim(char const* expected, G const& g, Delimiter const& d, T const& attr) in test_generator_attr_delim()
85 void test_binary_generator(char const* expected, std::size_t size, G const& g) in test_binary_generator()
98 void test_binary_generator_attr(char const* expected, std::size_t size, G const& g, T const& attr) in test_binary_generator_attr()
309 boost::optional<double> val(1.0); in main() local
318 boost::optional<double> val; // empty optional in main() local
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/fipsmodule/ec/
H A Dp256-nistz_test.cc54 P256_POINT val; in TEST() local
57 P256_POINT expected; in TEST() local
70 P256_POINT val; in TEST() local
84 P256_POINT_AFFINE val; in TEST() local
87 P256_POINT_AFFINE expected; in TEST() local
100 P256_POINT_AFFINE val; in TEST() local
277 const P256_POINT_AFFINE *expected, const P256_POINT *actual) { in ExpectPointsEqual()
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64_test.cc52 P256_POINT val; in TEST() local
55 P256_POINT expected; in TEST() local
68 P256_POINT val; in TEST() local
81 P256_POINT_AFFINE val; in TEST() local
84 P256_POINT_AFFINE expected; in TEST() local
97 P256_POINT_AFFINE val; in TEST() local
275 const P256_POINT_AFFINE *expected, const P256_POINT *actual) { in ExpectPointsEqual()
/aosp_15_r20/external/boringssl/src/crypto/fipsmodule/ec/
H A Dp256-nistz_test.cc54 P256_POINT val; in TEST() local
57 P256_POINT expected; in TEST() local
70 P256_POINT val; in TEST() local
84 P256_POINT_AFFINE val; in TEST() local
87 P256_POINT_AFFINE expected; in TEST() local
100 P256_POINT_AFFINE val; in TEST() local
277 const P256_POINT_AFFINE *expected, const P256_POINT *actual) { in ExpectPointsEqual()
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64_test.cc52 P256_POINT val; in TEST() local
55 P256_POINT expected; in TEST() local
68 P256_POINT val; in TEST() local
81 P256_POINT_AFFINE val; in TEST() local
84 P256_POINT_AFFINE expected; in TEST() local
97 P256_POINT_AFFINE val; in TEST() local
275 const P256_POINT_AFFINE *expected, const P256_POINT *actual) { in ExpectPointsEqual()
/aosp_15_r20/external/double-conversion/test/cctest/
H A Dchecks.h74 const char* expected_source, int expected, in CheckEqualsHelper()
88 int64_t expected, in CheckEqualsHelper()
126 const char* expected, in CheckEqualsHelper()
142 const char* expected, in CheckNonEqualsHelper()
158 const void* expected, in CheckEqualsHelper()
173 const void* expected, in CheckNonEqualsHelper()
188 double expected, in CheckEqualsHelper()
194 volatile double* val = new double[1]; in CheckEqualsHelper() local
209 double expected, in CheckNonEqualsHelper()
215 volatile double* val = new double[1]; in CheckNonEqualsHelper() local
[all …]

12345678910>>...45