Home
last modified time | relevance | path

Searched refs:TestValue (Results 1 – 8 of 8) sorted by relevance

/external/flatbuffers/tests/
Dtest.cpp1308 template<typename T> T TestValue(const char *json, const char *type_name) { in TestValue() function
1340 TEST_EQ(FloatCompare(TestValue<float>("{ Y:0.0314159e+2 }", "float"), in ValueTest()
1344 TEST_EQ(FloatCompare(TestValue<float>("{ Y:\"0.0314159e+2\" }", "float"), in ValueTest()
1349 TEST_EQ(FloatCompare(TestValue<float>("{ Y:cos(rad(180)) }", "float"), -1), in ValueTest()
1353 TEST_EQ(TestValue<int>("{ Y:\"-876\" }", "int=-123"), -876); in ValueTest()
1354 TEST_EQ(TestValue<int>("{ Y:\"876\" }", "int=-123"), 876); in ValueTest()
1357 TEST_EQ(TestValue<int>("{ Y:-0x8ea0 }", "int=-0x8ea0"), -36512); in ValueTest()
1358 TEST_EQ(TestValue<int>(nullptr, "int=-0x8ea0"), -36512); in ValueTest()
1361 TEST_EQ(TestValue<int>("{ Y:0x1abcdef }", "int=0x1"), 0x1abcdef); in ValueTest()
1363 TEST_EQ(TestValue<int>("{ Y:+0x1abcdef }", "int=+0x1"), 0x1abcdef); in ValueTest()
[all …]
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Dtest_example.proto12 repeated TestValue values = 1;
25 optional TestValue value = 3;
29 message TestValue { message
68 // A PackedTestValue looks exactly the same as a TestValue in the text format,
70 // by loading the same test cases using this definition instead of TestValue.
72 // NOTE: This definition must be kept in sync with TestValue in every way except
137 extend TestValue {
Dencode_proto_op_test_base.py161 in_obj = test_example_pb2.TestValue()
164 out_obj = test_example_pb2.TestValue()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DDataMov.cpp462 #define TestValue(C, Dest, IsTrue, Src0, Value0, Src1, Value1) \ in TEST_F() macro
470 TestValue(o, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
471 TestValue(o, Dest, 0u, Src0, 0x1u, Src1, 0x10000000u); \ in TEST_F()
472 TestValue(no, Dest, 1u, Src0, 0x1u, Src1, 0x10000000u); \ in TEST_F()
473 TestValue(no, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
474 TestValue(b, Dest, 1u, Src0, 0x1, Src1, 0x80000000u); \ in TEST_F()
475 TestValue(b, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
476 TestValue(ae, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
477 TestValue(ae, Dest, 0u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
478 TestValue(e, Dest, 1u, Src0, 0x1u, Src1, 0x1u); \ in TEST_F()
[all …]
/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py391 message = json_format_proto3_pb2.TestValue()
403 parsed_message = json_format_proto3_pb2.TestValue()
/external/protobuf/src/google/protobuf/stubs/
Dstatusor_test.cc158 TEST(StatusOr, TestValue) { in TEST() argument
/external/protobuf/src/google/protobuf/util/
Djson_format_proto3.proto159 message TestValue { message
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor_test.cc305 TEST(StatusOr, TestValue) { in TEST() argument