Home
last modified time | relevance | path

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

12

/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/pigweed/pw_string/
Dto_string_test.cc29 struct CustomType { struct
35 CustomType() = default;
38 CustomType(const CustomType&) = delete;
39 CustomType& operator=(const CustomType&) = delete;
42 StatusWithSize ToString(const CustomType&, std::span<char> buffer) { in ToString() argument
44 std::snprintf(buffer.data(), buffer.size(), CustomType::kToString); in ToString()
131 CustomType custom; in TEST()
153 ToString(static_cast<const CustomType*>(nullptr), buffer).size()); in TEST()
195 CustomType custom; in TEST()
196 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&, std::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()
438 sb << CustomType(); in TEST()
[all …]
/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/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DRPCUtilsTest.cpp143 class CustomType : public Function<CustomType, RPCFoo(RPCFoo)> { class
536 Server.addHandler<DummyRPCAPI::CustomType>( in TEST()
554 auto Err = Client.callAsync<DummyRPCAPI::CustomType>( in TEST()
579 Server.addHandler<DummyRPCAPI::CustomType>( in TEST()
597 auto Err = Client.callAsync<DummyRPCAPI::CustomType>( in TEST()
825 using DummyCalls3 = APICalls<DummyCalls1, DummyRPCAPI::CustomType>; in TEST()
826 using DummyCallsAll = APICalls<DummyCalls1, DummyCalls2, DummyRPCAPI::CustomType>; in TEST()
830 static_assert(!DummyCalls1::Contains<DummyRPCAPI::CustomType>::value, in TEST()
841 Server.addHandler<DummyRPCAPI::CustomType>([](RPCFoo F) {}); in TEST()
/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/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/rust/crates/grpcio-sys/grpc/third_party/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolTypeCustom.h21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::CustomType)
DPDBTypes.h270 CustomType, enumerator
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolTypeCustom.h21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::CustomType)
DPDBTypes.h272 CustomType, enumerator
/external/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolTypeCustom.h26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::CustomType)
DPDBTypes.h197 CustomType, enumerator
/external/llvm/lib/DebugInfo/PDB/
DPDBSymbol.cpp96 FACTORY_SYMTAG_CASE(CustomType, PDBSymbolTypeCustom) in create()
DPDBExtras.cpp243 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CustomType, OS) in operator <<()
/external/llvm/unittests/DebugInfo/PDB/
DPDBApiTest.cpp355 InsertItemWithTag(PDB_SymType::CustomType); in SetUp()
417 VerifyDyncast<PDBSymbolTypeCustom>(PDB_SymType::CustomType); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBSymbol.cpp93 FACTORY_SYMTAG_CASE(CustomType, PDBSymbolTypeCustom) in createSymbol()
DPDBExtras.cpp253 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CustomType, OS) in operator <<()
/external/llvm-project/llvm/unittests/DebugInfo/PDB/
DPDBApiTest.cpp441 InsertItemWithTag(PDB_SymType::CustomType); in SetUp()
503 VerifyDyncast<PDBSymbolTypeCustom>(PDB_SymType::CustomType); in TEST_F()
/external/python/cpython3/Doc/extending/
Dnewtypes_tutorial.rst55 #. How the :class:`Custom` **type** behaves: this is the ``CustomType`` struct,
89 static PyTypeObject CustomType = {
175 if (PyType_Ready(&CustomType) < 0)
182 Py_INCREF(&CustomType);
183 if (PyModule_AddObject(m, "Custom", (PyObject *) &CustomType) < 0) {
184 Py_DECREF(&CustomType);
281 the object's type might not be :class:`CustomType`, because the object may
327 ``tp_new`` is passed the type being instantiated (not necessarily ``CustomType``,
/external/llvm-project/llvm/lib/DebugInfo/PDB/
DPDBSymbol.cpp93 FACTORY_SYMTAG_CASE(CustomType, PDBSymbolTypeCustom) in createSymbol()

12