Home
last modified time | relevance | path

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

/external/openscreen/cast/streaming/
Dexpanded_value_base_unittest.cc15 class TestValue : public ExpandedValueBase<int64_t, TestValue> { class
17 explicit TestValue(int64_t value) : ExpandedValueBase(value) {} in TestValue() function in openscreen::cast::__anoncddb32f70111::TestValue
31 const TestValue original_value(i); in TEST()
33 const TestValue reference(i); in TEST()
40 const TestValue original_value(i); in TEST()
42 const TestValue reference(i - 1); in TEST()
49 const TestValue original_value(i); in TEST()
51 const TestValue reference(i + 1); in TEST()
60 const TestValue original_value(bias + i); in TEST()
62 const TestValue reference(bias); in TEST()
[all …]
/external/libtextclassifier/native/utils/grammar/semantics/
Dcomposer_test.cc54 const std::string serialized_value = PackFlatbuffer<TestValue>(&value); in TEST_F()
68 const std::string serialized_value = PackFlatbuffer<TestValue>(&value); in TEST_F()
94 const TestValue* value = maybe_value.ValueOrDie()->Table<TestValue>(); in TEST_F()
107 const TestValue* value = maybe_value.ValueOrDie()->Table<TestValue>(); in TEST_F()
128 const std::string serialized_value = PackFlatbuffer<TestValue>(&value); in TEST_F()
171 const TestValue* value = maybe_value.ValueOrDie()->Table<TestValue>(); in TEST_F()
/external/flatbuffers/tests/
Dtest.cpp1629 T TestValue(const char *json, const char *type_name, in TestValue() function
1666 FloatCompare(TestValue<float>("{ Y:0.0314159e+2 }", "float"), 3.14159f), in ValueTest()
1669 TEST_EQ(FloatCompare(TestValue<float>("{ Y:\"0.0314159e+2\" }", "float"), in ValueTest()
1674 TEST_EQ(FloatCompare(TestValue<float>("{ Y:cos(rad(180)) }", "float"), -1), in ValueTest()
1678 TEST_EQ(TestValue<int>("{ Y:\"-876\" }", "int=-123"), -876); in ValueTest()
1679 TEST_EQ(TestValue<int>("{ Y:\"876\" }", "int=-123"), 876); in ValueTest()
1682 TEST_EQ(TestValue<int>("{ Y:-0x8ea0 }", "int=-0x8ea0"), -36512); in ValueTest()
1683 TEST_EQ(TestValue<int>(nullptr, "int=-0x8ea0"), -36512); in ValueTest()
1686 TEST_EQ(TestValue<int>("{ Y:0x1abcdef }", "int=0x1"), 0x1abcdef); in ValueTest()
1688 TEST_EQ(TestValue<int>("{ Y:+0x1abcdef }", "int=+0x1"), 0x1abcdef); in ValueTest()
[all …]
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Dcompose-eval_test.cc72 const TestValue* result_test_value = result_value->Table<TestValue>(); in TEST_F()
102 const TestValue* result_test_value = result_value->Table<TestValue>(); in TEST_F()
167 const TestValue* result_test_value = result_value->Table<TestValue>(); in TEST_F()
231 const TestValue* result_test_value = result_value->Table<TestValue>(); in TEST_F()
278 const TestValue* result_test_value = result_value->Table<TestValue>(); in TEST_F()
Dconstituent-eval_test.cc74 const TestValue* result_value = result.ValueOrDie()->Table<TestValue>(); in TEST_F()
Dconst-eval_test.cc52 const TestValue* result_test_value = result_value->Table<TestValue>(); in TEST_F()
/external/tensorflow/tensorflow/python/kernel_tests/proto/
Dtest_example.proto12 repeated TestValue values = 1;
25 optional TestValue value = 3;
39 message TestValue { message
80 // A PackedTestValue looks exactly the same as a TestValue in the text format,
82 // by loading the same test cases using this definition instead of TestValue.
84 // NOTE: This definition must be kept in sync with TestValue in every way except
151 extend TestValue {
Ddecode_proto_op_test_base.py317 test_example_pb2.TestValue(double_value=[1.0]).SerializeToString(),
318 test_example_pb2.TestValue(
321 test_example_pb2.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/webrtc/third_party/abseil-cpp/absl/memory/
Dmemory_test.cc529 struct TestValue { struct
530 TestValue() {} in TestValue() function
531 explicit TestValue(int* trace) : trace(trace) { ++*trace; } in TestValue() function
532 ~TestValue() { in ~TestValue() argument
543 using value_type = TestValue;
553 TestValue x(&trace); in TEST()
570 EXPECT_EQ(std::numeric_limits<size_t>::max() / sizeof(TestValue), in TEST()
581 using value_type = TestValue;
596 TestValue x(&trace), y; in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/memory/
Dmemory_test.cc527 struct TestValue { struct
528 TestValue() {} in TestValue() argument
529 explicit TestValue(int* trace) : trace(trace) { ++*trace; } in TestValue() argument
530 ~TestValue() { in ~TestValue() argument
541 using value_type = TestValue;
551 TestValue x(&trace); in TEST()
568 EXPECT_EQ(std::numeric_limits<size_t>::max() / sizeof(TestValue), in TEST()
579 using value_type = TestValue;
595 TestValue x(&trace), y; in TEST()
/external/abseil-cpp/absl/memory/
Dmemory_test.cc529 struct TestValue { struct
530 TestValue() {} in TestValue() function
531 explicit TestValue(int* trace) : trace(trace) { ++*trace; } in TestValue() function
532 ~TestValue() { in ~TestValue() argument
543 using value_type = TestValue;
553 TestValue x(&trace); in TEST()
570 EXPECT_EQ(std::numeric_limits<size_t>::max() / sizeof(TestValue), in TEST()
581 using value_type = TestValue;
596 TestValue x(&trace), y; in TEST()
/external/openscreen/third_party/abseil/src/absl/memory/
Dmemory_test.cc527 struct TestValue { struct
528 TestValue() {} in TestValue() function
529 explicit TestValue(int* trace) : trace(trace) { ++*trace; } in TestValue() function
530 ~TestValue() { in ~TestValue() argument
541 using value_type = TestValue;
551 TestValue x(&trace); in TEST()
568 EXPECT_EQ(std::numeric_limits<size_t>::max() / sizeof(TestValue), in TEST()
579 using value_type = TestValue;
595 TestValue x(&trace), y; in TEST()
/external/libtextclassifier/abseil-cpp/absl/memory/
Dmemory_test.cc527 struct TestValue { struct
528 TestValue() {} in TestValue() function
529 explicit TestValue(int* trace) : trace(trace) { ++*trace; } in TestValue() argument
530 ~TestValue() { in ~TestValue() argument
541 using value_type = TestValue;
551 TestValue x(&trace); in TEST()
568 EXPECT_EQ(std::numeric_limits<size_t>::max() / sizeof(TestValue), in TEST()
579 using value_type = TestValue;
595 TestValue x(&trace), y; in TEST()
/external/libtextclassifier/native/utils/grammar/testing/
Dutils.h119 const std::string value_buffer = PackFlatbuffer<TestValue>(&value); in CreateSemanticValue()
142 const std::string value_buffer = PackFlatbuffer<TestValue>(&value); in CreateConstExpression()
156 const std::string value_buffer = PackFlatbuffer<TestValue>(&value); in CreateAndPackConstExpression()
Dvalue.fbs27 table 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.proto162 message TestValue { message
/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py578 message = json_format_proto3_pb2.TestValue()
590 parsed_message = json_format_proto3_pb2.TestValue()
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor_test.cc305 TEST(StatusOr, TestValue) { in TEST() argument
/external/openscreen/third_party/abseil/src/absl/status/
Dstatusor_test.cc1285 TEST(StatusOr, TestValue) { in TEST() argument
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatusor_test.cc1274 TEST(StatusOr, TestValue) { in TEST() argument
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc1274 TEST(StatusOr, TestValue) { in TEST() argument