Home
last modified time | relevance | path

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

12

/external/pigweed/pw_sync/
Dinline_borrowable_test.cc37 class CustomType { class
39 explicit constexpr CustomType(int z) : x_(z), y_(-z) {} in CustomType() function in pw::sync::__anon6038e5dc0111::CustomType
40 constexpr CustomType(int x, int y) : x_(x), y_(y) {} in CustomType() function in pw::sync::__anon6038e5dc0111::CustomType
42 CustomType(const CustomType&) = delete;
43 CustomType& operator=(const CustomType&) = delete;
44 CustomType(CustomType&&) = delete;
45 CustomType&& operator=(CustomType&&) = delete;
84 InlineBorrowable<CustomType> custom(std::in_place, 1); in TEST()
90 InlineBorrowable<CustomType> custom(std::in_place, x); in TEST()
95 InlineBorrowable<CustomType> custom(std::in_place, 1, 2); in TEST()
[all …]
/external/mobly-snippet-lib/examples/ex6_complex_type_conversion/
DREADME.md15 public class CustomType {
17 CustomType(String value) {
36 if (object instanceof CustomType) {
37 CustomType input = (CustomType) object;
46 if (type == CustomType.class) {
47 return new CustomType(jsonObject.getString("Value"));
61 public String passComplexTypeToSnippet(CustomType input) {
63 return "The value in CustomType is: " + input.getMyValue();
67 public CustomType returnComplexTypeFromSnippet(String value) {
68 return new CustomType(value);
[all …]
/external/mobly-snippet-lib/examples/ex6_complex_type_conversion/src/main/java/com/google/android/mobly/snippet/example6/
DExampleSnippet.java34 public String passComplexTypeToSnippet(CustomType input) { in passComplexTypeToSnippet()
40 public CustomType returnComplexTypeFromSnippet(String value) { in returnComplexTypeFromSnippet()
41 return new CustomType(value); in returnComplexTypeFromSnippet()
48 public ArrayList<CustomType> updateValues(ArrayList<CustomType> objects, String newValue) { in updateValues()
49 for (CustomType obj : objects) { in updateValues()
DExampleObjectConverter.java19 if (object instanceof CustomType) { in serialize()
20 CustomType input = (CustomType) object; in serialize()
29 if (type == CustomType.class) { in deserialize()
30 return new CustomType(jsonObject.getString("Value")); in deserialize()
DCustomType.java9 public class CustomType { class
11 CustomType(String value) { in CustomType() method in CustomType
/external/pigweed/pw_string/
Dto_string_test.cc30 struct CustomType { struct
36 CustomType() : a(0), b(0) {} in CustomType() argument
39 CustomType(const CustomType&) = delete;
40 CustomType& operator=(const CustomType&) = delete;
43 StatusWithSize ToString(const CustomType&, span<char> buffer) { in ToString() argument
45 std::snprintf(buffer.data(), buffer.size(), CustomType::kToString); in ToString()
143 CustomType custom; in TEST()
165 ToString(static_cast<const CustomType*>(nullptr), buffer).size()); in TEST()
207 CustomType custom; in TEST()
208 EXPECT_EQ(std::strlen(CustomType::kToString), in TEST()
[all …]
Dstring_builder_test.cc29 struct CustomType { struct
35 CustomType() = default;
38 CustomType(const CustomType&) = delete;
39 CustomType& operator=(const CustomType&) = delete;
47 StatusWithSize ToString<this_pw_test::CustomType>( in ToString() argument
48 const this_pw_test::CustomType&, span<char> buffer) { in ToString() argument
49 return string::Format(buffer, this_pw_test::CustomType::kToString); in ToString()
57 using this_pw_test::CustomType;
77 sb << CustomType() << " is " << 12345; in TEST()
473 sb << CustomType(); in TEST()
[all …]
/external/python/cpython3/Doc/includes/
Dcustom.c9 static PyTypeObject CustomType = { variable
30 if (PyType_Ready(&CustomType) < 0) in PyInit_custom()
37 Py_INCREF(&CustomType); in PyInit_custom()
38 if (PyModule_AddObject(m, "Custom", (PyObject *) &CustomType) < 0) { in PyInit_custom()
39 Py_DECREF(&CustomType); in PyInit_custom()
Dcustom2.c98 static PyTypeObject CustomType = { variable
123 if (PyType_Ready(&CustomType) < 0) in PyInit_custom2()
130 Py_INCREF(&CustomType); in PyInit_custom2()
131 if (PyModule_AddObject(m, "Custom", (PyObject *) &CustomType) < 0) { in PyInit_custom2()
132 Py_DECREF(&CustomType); in PyInit_custom2()
Dcustom3.c148 static PyTypeObject CustomType = { variable
174 if (PyType_Ready(&CustomType) < 0) in PyInit_custom3()
181 Py_INCREF(&CustomType); in PyInit_custom3()
182 if (PyModule_AddObject(m, "Custom", (PyObject *) &CustomType) < 0) { in PyInit_custom3()
183 Py_DECREF(&CustomType); in PyInit_custom3()
Dcustom4.c160 static PyTypeObject CustomType = { variable
188 if (PyType_Ready(&CustomType) < 0) in PyInit_custom4()
195 Py_INCREF(&CustomType); in PyInit_custom4()
196 if (PyModule_AddObject(m, "Custom", (PyObject *) &CustomType) < 0) { in PyInit_custom4()
197 Py_DECREF(&CustomType); in PyInit_custom4()
/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_op_undef.cpp94 typedef AbstractStruct2<cl_int, cl_float> CustomType; in TEST_UNDEF() typedef
95 return test_undef<CustomType>(deviceID, context, queue, "undef_struct_int_float_simple"); in TEST_UNDEF()
100 typedef AbstractStruct2<cl_int, cl_char> CustomType; in TEST_SPIRV_FUNC() typedef
101 return test_undef<CustomType>(deviceID, context, queue, "undef_struct_int_char_simple"); in TEST_SPIRV_FUNC()
/external/webrtc/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc1636 struct CustomType struct
1670 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1671 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1676 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1677 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1686 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1691 CustomType<MyType, kConvToT> v; in TEST()
1701 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1706 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1711 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc1600 struct CustomType struct
1634 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1635 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1640 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1641 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1650 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1655 CustomType<MyType, kConvToT> v; in TEST()
1665 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1670 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1675 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/abseil-cpp/absl/status/
Dstatusor_test.cc1636 struct CustomType struct
1670 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1671 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1676 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1677 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1686 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1691 CustomType<MyType, kConvToT> v; in TEST()
1701 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1706 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1711 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatusor_test.cc1589 struct CustomType struct
1623 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1624 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1629 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1630 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1639 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1644 CustomType<MyType, kConvToT> v; in TEST()
1654 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1659 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1664 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/status/
Dstatusor_test.cc1636 struct CustomType struct
1670 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1671 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1676 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1677 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1686 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1691 CustomType<MyType, kConvToT> v; in TEST()
1701 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1706 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1711 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc1636 struct CustomType struct
1670 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1671 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1676 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1677 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1686 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1691 CustomType<MyType, kConvToT> v; in TEST()
1701 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1706 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1711 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/pigweed/pw_result/
Dstatusor_test.cc1527 struct CustomType struct
1561 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1562 pw::Result<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor(v); in TEST()
1566 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1567 pw::Result<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = v; in TEST()
1575 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1580 CustomType<MyType, kConvToT> v; in TEST()
1590 CustomType<MyType, kConvToResult | kConvExplicit> v; in TEST()
1595 CustomType<MyType, kConvToT | kConvToResult | kConvExplicit> v; in TEST()
1600 CustomType<MyType, kConvToResult | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/status/
Dstatusor_test.cc1600 struct CustomType struct
1634 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1635 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1640 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1641 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1650 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1655 CustomType<MyType, kConvToT> v; in TEST()
1665 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1670 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1675 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc1636 struct CustomType struct
1670 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1671 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor( in TEST()
1676 CustomType<MyType, kConvToStatus | kConvExplicit> v; in TEST()
1677 absl::StatusOr<CustomType<MyType, kConvToStatus | kConvExplicit>> statusor = in TEST()
1686 CustomType<MyType, kConvToT | kConvExplicit> v; in TEST()
1691 CustomType<MyType, kConvToT> v; in TEST()
1701 CustomType<MyType, kConvToStatusOr | kConvExplicit> v; in TEST()
1706 CustomType<MyType, kConvToT | kConvToStatusOr | kConvExplicit> v; in TEST()
1711 CustomType<MyType, kConvToStatusOr | kConvToStatus | kConvExplicit> v; in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolTypeCustom.h21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::CustomType)
/external/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolTypeCustom.h26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::CustomType)
/external/llvm/lib/DebugInfo/PDB/
DPDBSymbol.cpp96 FACTORY_SYMTAG_CASE(CustomType, PDBSymbolTypeCustom) in create()
/external/llvm/unittests/DebugInfo/PDB/
DPDBApiTest.cpp355 InsertItemWithTag(PDB_SymType::CustomType); in SetUp()
417 VerifyDyncast<PDBSymbolTypeCustom>(PDB_SymType::CustomType); in TEST_F()

12