Home
last modified time | relevance | path

Searched refs:CustomStruct (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/unittests/Support/
DJSONTest.cpp360 struct CustomStruct { struct
361 CustomStruct() : B(false) {} in CustomStruct() argument
362 CustomStruct(std::string S, llvm::Optional<int> I, bool B) in CustomStruct() function
368 inline bool operator==(const CustomStruct &L, const CustomStruct &R) { in operator ==()
372 const CustomStruct &S) { in operator <<()
376 bool fromJSON(const Value &E, CustomStruct &R, Path P) { in fromJSON()
390 std::map<std::string, std::vector<CustomStruct>> R; in TEST()
391 CustomStruct ExpectedStruct = {"foo", 42, true}; in TEST()
392 std::map<std::string, std::vector<CustomStruct>> Expected; in TEST()
403 CustomStruct("foo", 42, true), in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-param-test-test.cc906 struct CustomStruct { struct
907 explicit CustomStruct(int value) : x(value) {} in CustomStruct() argument
911 std::ostream& operator<<(std::ostream& stream, const CustomStruct& val) { in operator <<() argument
916 class CustomStructNamingTest : public TestWithParam<CustomStruct> {};
927 Values(CustomStruct(0), CustomStruct(1)),
/external/googletest/googletest/test/
Dgoogletest-param-test-test.cc938 struct CustomStruct { struct
939 explicit CustomStruct(int value) : x(value) {} in CustomStruct() function
943 std::ostream& operator<<(std::ostream& stream, const CustomStruct& val) { in operator <<() argument
948 class CustomStructNamingTest : public TestWithParam<CustomStruct> {};
959 Values(CustomStruct(0), CustomStruct(1)),
/external/libbrillo/brillo/dbus/
Ddata_serialization_test.cc737 TEST(DBusUtils, CustomStruct) { in TEST() argument