Home
last modified time | relevance | path

Searched refs:converters (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/boost/libs/python/src/converter/
Dfrom_python.cpp40 , registration const& converters) in rvalue_from_python_stage1() argument
46 …data.convertible = objects::find_instance_impl(source, converters.target_type, converters.is_share… in rvalue_from_python_stage1()
50 for (rvalue_from_python_chain const* chain = converters.rvalue_chain; in rvalue_from_python_stage1()
83 registration const& converters = *static_cast<registration const*>(converters_); in rvalue_result_from_python() local
86 data = rvalue_from_python_stage1(src, converters); in rvalue_result_from_python()
87 return rvalue_from_python_stage2(src, data, converters); in rvalue_result_from_python()
91 PyObject* source, rvalue_from_python_stage1_data& data, registration const& converters) in rvalue_from_python_stage2() argument
103 , converters.target_type.name() in rvalue_from_python_stage2()
122 , registration const& converters) in get_lvalue_from_python() argument
125 void* x = objects::find_instance_impl(source, converters.target_type); in get_lvalue_from_python()
[all …]
Darg_to_python_base.cpp17 void const volatile* source, registration const& converters) in arg_to_python_base() argument
23 (converters.to_python(source)) in arg_to_python_base()
/third_party/python/Lib/sqlite3/test/
Dtypes.py129 sqlite.converters["FLOAT"] = lambda x: 47.2
132 sqlite.converters["BOOL"] = lambda x: bool(int(x))
133 sqlite.converters["FOO"] = DeclTypesTests.Foo
134 sqlite.converters["BAD"] = DeclTypesTests.BadConform
135 sqlite.converters["WRONG"] = lambda x: "WRONG"
136 sqlite.converters["NUMBER"] = float
137 sqlite.converters["CBLOB"] = lambda x: b"blobish"
140 del sqlite.converters["FLOAT"]
141 del sqlite.converters["BOOL"]
142 del sqlite.converters["FOO"]
[all …]
/third_party/typescript/tests/baselines/reference/
DobjectLiteralParameterResolution.types18 >s : { type: string; data: string; success: any; error: any; dataType: string; converters: { "text …
19converters: { "text json": "" }, traditional: true , timeout: 12, }, "") : { type: string…
23converters: { "text json": "" }, traditional: true , timeout: 12, } : { type: string; dat…
51 converters: { "text json": "" },
52 >converters : { "text json": string; }
DobjectLiteralParameterResolution.js13 converters: { "text json": "" }, property
26 converters: { "text json": "" }, property
DobjectLiteralParameterResolution.symbols47 converters: { "text json": "" },
48 >converters : Symbol(converters, Decl(objectLiteralParameterResolution.ts, 10, 22))
/third_party/python/Modules/_ctypes/
Dcallbacks.c19 Py_XDECREF(self->converters); in CThunkObject_dealloc()
31 Py_VISIT(self->converters); in CThunkObject_traverse()
41 Py_CLEAR(self->converters); in CThunkObject_clear()
138 PyObject *converters, in _CallPythonObject() argument
150 nArgs = PySequence_Length(converters); in _CallPythonObject()
166 PyObject *cnv = PySequence_GetItem(converters, i); in _CallPythonObject()
319 p->converters, in closure_fcn()
338 p->converters = NULL; in CThunkObject_new()
351 PyObject *converters, in _ctypes_alloc_callback() argument
360 nArgs = PySequence_Size(converters); in _ctypes_alloc_callback()
[all …]
Dctypes.h63 PyObject *converters; member
92 PyObject *converters; member
158 PyObject *converters,
206 PyObject *converters; /* tuple([t.from_param for t in argtypes]) */ member
/third_party/boost/boost/python/
Dto_python_value.hpp93 …PyTypeObject const* get_pytype() const {return converter::registered<T>::converters.to_python_targ… in get_pytype()
118 …oost::type<shared_ptr<U> &> *) const {return converter::registered<U>::converters.to_python_target… in get_pytype()
120 …type<const shared_ptr<U> &> *) const {return converter::registered<U>::converters.to_python_target… in get_pytype()
123 …:type<std::shared_ptr<U> &> *) const {return converter::registered<U>::converters.to_python_target… in get_pytype()
125 …const std::shared_ptr<U> &> *) const {return converter::registered<U>::converters.to_python_target… in get_pytype()
156 return converter::registered<argument_type>::converters.to_python(&x); in operator ()()
Dextract.hpp164 (rvalue_from_python_stage1)(x, registered<T>::converters) in extract_rvalue()
184 : (rvalue_from_python_stage2)(m_source, m_data.stage1, registered<T>::converters) in operator ()()
192 (get_lvalue_from_python)(obj, registered<Ref>::converters) in extract_reference()
207 (throw_no_reference_from_python)(m_source, registered<Ref>::converters); in operator ()()
216 obj == Py_None ? 0 : (get_lvalue_from_python)(obj, registered_pointee<Ptr>::converters) in extract_pointer()
231 (throw_no_pointer_from_python)(m_source, registered_pointee<Ptr>::converters); in operator ()()
Denum.hpp55 converter::registered<T>::converters.m_class_object in to_python()
72 converter::registered<T>::converters.m_class_object)) in convertible_from_python()
/third_party/ffmpeg/doc/
Dswscale.txt32 These generally are unscaled converters of common
52 8-bit gray, it is converted to planar 8-bit YUV. Two sets of converters
69 There is a large number of combined vertical scalers + output converters.
71 * unscaled output converters
72 * unscaled output converters that average 2 chroma lines
73 * bilinear converters (C, MMX and accurate MMX)
74 * arbitrary filter length converters (C, MMX and accurate MMX)
76 * Plain C 8-bit 4:2:2 YUV -> RGB converters using LUTs
77 * Plain C 17-bit 4:4:4 YUV -> RGB converters using multiplies
78 * MMX 11-bit 4:2:2 YUV -> RGB converters
/third_party/flutter/skia/third_party/externals/icu/source/tools/gencnval/
Dgencnval.c112 static Converter converters[MAX_CONV_COUNT]; variable
287 uprv_memset(converters, 0, sizeof(converters)); in main()
687 lineNum, alias, GET_ALIAS_STR(converters[converter].converter)); in addAlias()
692 if (standard == ALL_TAG_NUM && GET_ALIAS_STR(converters[converter].converter) != alias) { in addAlias()
726 GET_ALIAS_STR(converters[converter].converter)); in addAlias()
732 GET_ALIAS_STR(converters[converter].converter), in addAlias()
733 GET_ALIAS_STR(converters[idx].converter)); in addAlias()
773 GET_ALIAS_STR(converters[converter].converter)); in addAlias()
782 converters[converter].totalAliasCount++; /* One more to the column */ in addAlias()
797 if (ucnv_compareNames(converter, GET_ALIAS_STR(converters[idx].converter)) == 0) { in addConverter()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/gencnval/
Dgencnval.c113 static Converter converters[MAX_CONV_COUNT]; variable
287 uprv_memset(converters, 0, sizeof(converters)); in main()
688 lineNum, alias, GET_ALIAS_STR(converters[converter].converter)); in addAlias()
693 if (standard == ALL_TAG_NUM && GET_ALIAS_STR(converters[converter].converter) != alias) { in addAlias()
727 GET_ALIAS_STR(converters[converter].converter)); in addAlias()
733 GET_ALIAS_STR(converters[converter].converter), in addAlias()
734 GET_ALIAS_STR(converters[idx].converter)); in addAlias()
774 GET_ALIAS_STR(converters[converter].converter)); in addAlias()
783 converters[converter].totalAliasCount++; /* One more to the column */ in addAlias()
798 if (ucnv_compareNames(converter, GET_ALIAS_STR(converters[idx].converter)) == 0) { in addConverter()
[all …]
/third_party/icu/icu4c/source/tools/gencnval/
Dgencnval.c113 static Converter converters[MAX_CONV_COUNT]; variable
287 uprv_memset(converters, 0, sizeof(converters)); in main()
688 lineNum, alias, GET_ALIAS_STR(converters[converter].converter)); in addAlias()
693 if (standard == ALL_TAG_NUM && GET_ALIAS_STR(converters[converter].converter) != alias) { in addAlias()
727 GET_ALIAS_STR(converters[converter].converter)); in addAlias()
733 GET_ALIAS_STR(converters[converter].converter), in addAlias()
734 GET_ALIAS_STR(converters[idx].converter)); in addAlias()
774 GET_ALIAS_STR(converters[converter].converter)); in addAlias()
783 converters[converter].totalAliasCount++; /* One more to the column */ in addAlias()
798 if (ucnv_compareNames(converter, GET_ALIAS_STR(converters[idx].converter)) == 0) { in addConverter()
[all …]
/third_party/python/Lib/test/
Dtest_configparser.py1672 parser.converters['decimal'] = decimal.Decimal
1679 self.assertIn('decimal', parser.converters)
1687 self.assertIn('decimal', parser.converters)
1688 del parser.converters['decimal']
1689 self.assertNotIn('decimal', parser.converters)
1950 instance.converters['list'] = lambda v: [e.strip() for e in v.split()
1956 self.assertIn('boolean', cfg.converters)
1957 self.assertIn('list', cfg.converters)
1958 self.assertIsNone(cfg.converters['int'])
1959 self.assertIsNone(cfg.converters['float'])
[all …]
/third_party/boost/boost/python/converter/
Dreturn_from_python.hpp116 const_cast<registration*>(&registered<T>::converters) in return_rvalue_from_python()
139 (reference_result_from_python)(obj, registered<T>::converters) in operator ()()
147 (pointer_result_from_python)(obj, registered_pointee<T>::converters) in operator ()()
Dpytype_function.hpp93 return registered<T>::converters.m_class_object; in get_pytype()
105 return registered<T>::converters.expected_from_python_type(); in get_pytype()
126 return registered<T>::converters.to_python_target_type(); in get_pytype()
Darg_from_python.hpp245 , p == Py_None ? p : converter::get_lvalue_from_python(p, registered_pointee<T>::converters) in pointer_cref_arg_from_python()
268 p == Py_None ? p : converter::get_lvalue_from_python(p, registered_pointee<T>::converters)) in pointer_arg_from_python()
282 : arg_lvalue_from_python_base(converter::get_lvalue_from_python(p,registered<T>::converters)) in reference_arg_from_python()
297 : m_data(converter::rvalue_from_python_stage1(obj, registered<T>::converters)) in arg_rvalue_from_python()
Dshared_ptr_to_python.hpp25 return converter::registered<shared_ptr<T> const&>::converters.to_python(&x); in shared_ptr_to_python()
37 return converter::registered<std::shared_ptr<T> const&>::converters.to_python(&x); in shared_ptr_to_python()
Dregistered.hpp38 static registration const& converters; member
118 registration const& registered_base<T>::converters = detail::registry_lookup1(type<T>()); member in boost::python::converter::detail::registered_base<T>
/third_party/boost/libs/convert/doc/
Dconverters.qbk7 [section:converters Converters]
13converters for common type conversions with varying degrees of formatting support and performance.…
41 With regard to converters the ['Boost.Convert] framework has been designed with the following requi…
47 …For example, depending on the context the `take_double` and `take_int` converters below might not …
Dintroduction.qbk32 * an extendible collection of pluggable converters.
39converters is independent of the `boost::convert()` API facade and is designed to be ['extendible]…
47 The converters provide new and familiar functionality and demonstrate how existing and independent …
Duser_types.qbk20 Unsurprisingly, the converters based on the ['`std::iostream`] library use the mechanism introduced…
35 That allows handling conversions of user-defined types with ['`std::iostream`]-based converters:
41converters (based on `boost::cnv::cnvbase`) implement support for user types similarly but without…
/third_party/boost/boost/python/object/
Dmake_ptr_instance.hpp39 return converter::registered<T>::converters.get_class_object(); in get_pytype()
54 return converter::registered<T>::converters.get_class_object(); in get_class_object_impl()

1234567