Home
last modified time | relevance | path

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

123456

/external/tensorflow/tensorflow/python/autograph/converters/
DBUILD18 name = "converters",
55 ":converters",
66 ":converters",
77 ":converters",
89 ":converters",
101 ":converters",
113 ":converters",
124 ":converters",
135 ":converters",
146 ":converters",
[all …]
Dasserts_test.py21 from tensorflow.python.autograph.converters import asserts
22 from tensorflow.python.autograph.converters import side_effect_guards
/external/jcommander/src/main/java/com/beust/jcommander/internal/
DDefaultConverterFactory.java23 import com.beust.jcommander.converters.BigDecimalConverter;
24 import com.beust.jcommander.converters.BooleanConverter;
25 import com.beust.jcommander.converters.DoubleConverter;
26 import com.beust.jcommander.converters.FileConverter;
27 import com.beust.jcommander.converters.FloatConverter;
28 import com.beust.jcommander.converters.ISO8601DateConverter;
29 import com.beust.jcommander.converters.IntegerConverter;
30 import com.beust.jcommander.converters.LongConverter;
31 import com.beust.jcommander.converters.StringConverter;
32 import com.beust.jcommander.converters.URIConverter;
[all …]
/external/python/cpython2/Lib/sqlite3/test/
Dtypes.py138 sqlite.converters["FLOAT"] = lambda x: 47.2
141 sqlite.converters["BOOL"] = lambda x: bool(int(x))
142 sqlite.converters["FOO"] = DeclTypesTests.Foo
143 sqlite.converters["WRONG"] = lambda x: "WRONG"
144 sqlite.converters["NUMBER"] = float
147 del sqlite.converters["FLOAT"]
148 del sqlite.converters["BOOL"]
149 del sqlite.converters["FOO"]
150 del sqlite.converters["NUMBER"]
262 sqlite.converters["FOO"] = lambda x: "[%s]" % x
[all …]
/external/webrtc/webrtc/common_audio/
Daudio_converter.cc108 CompositionConverter(ScopedVector<AudioConverter> converters) in CompositionConverter() argument
109 : converters_(std::move(converters)) { in CompositionConverter()
146 ScopedVector<AudioConverter> converters; in Create() local
147 converters.push_back(new DownmixConverter(src_channels, src_frames, in Create()
149 converters.push_back(new ResampleConverter(dst_channels, src_frames, in Create()
151 sp.reset(new CompositionConverter(std::move(converters))); in Create()
158 ScopedVector<AudioConverter> converters; in Create() local
159 converters.push_back(new ResampleConverter(src_channels, src_frames, in Create()
161 converters.push_back(new UpmixConverter(src_channels, dst_frames, in Create()
163 sp.reset(new CompositionConverter(std::move(converters))); in Create()
/external/python/cpython3/Lib/sqlite3/test/
Dtypes.py111 sqlite.converters["FLOAT"] = lambda x: 47.2
114 sqlite.converters["BOOL"] = lambda x: bool(int(x))
115 sqlite.converters["FOO"] = DeclTypesTests.Foo
116 sqlite.converters["WRONG"] = lambda x: "WRONG"
117 sqlite.converters["NUMBER"] = float
120 del sqlite.converters["FLOAT"]
121 del sqlite.converters["BOOL"]
122 del sqlite.converters["FOO"]
123 del sqlite.converters["NUMBER"]
225 sqlite.converters["FOO"] = lambda x: "[%s]" % x.decode("ascii")
[all …]
/external/tensorflow/tensorflow/python/autograph/impl/
Dconversion.py29 from tensorflow.python.autograph.converters import arg_defaults
30 from tensorflow.python.autograph.converters import asserts
31 from tensorflow.python.autograph.converters import break_statements
32 from tensorflow.python.autograph.converters import builtin_functions
33 from tensorflow.python.autograph.converters import call_trees
34 from tensorflow.python.autograph.converters import conditional_expressions
35 from tensorflow.python.autograph.converters import continue_statements
36 from tensorflow.python.autograph.converters import control_flow
37 from tensorflow.python.autograph.converters import directives
38 from tensorflow.python.autograph.converters import error_handlers
[all …]
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c17 Py_XDECREF(self->converters); in CThunkObject_dealloc()
29 Py_VISIT(self->converters); in CThunkObject_traverse()
39 Py_CLEAR(self->converters); in CThunkObject_clear()
130 PyObject *converters, in _CallPythonObject() argument
142 nArgs = PySequence_Length(converters); in _CallPythonObject()
158 PyObject *cnv = PySequence_GetItem(converters, i); in _CallPythonObject()
296 p->converters, in closure_fcn()
315 p->converters = NULL; in CThunkObject_new()
328 PyObject *converters, in _ctypes_alloc_callback() argument
337 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
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c23 Py_XDECREF(self->converters); in CThunkObject_dealloc()
35 Py_VISIT(self->converters); in CThunkObject_traverse()
45 Py_CLEAR(self->converters); in CThunkObject_clear()
211 PyObject *converters, in _CallPythonObject() argument
225 nArgs = PySequence_Length(converters); in _CallPythonObject()
241 PyObject *cnv = PySequence_GetItem(converters, i); in _CallPythonObject()
380 p->converters, in closure_fcn()
400 p->converters = NULL; in CThunkObject_new()
413 PyObject *converters, in _ctypes_alloc_callback() argument
422 nArgs = PySequence_Size(converters); in _ctypes_alloc_callback()
[all …]
Dctypes.h103 PyObject *converters; member
132 PyObject *converters; member
198 PyObject *converters,
246 PyObject *converters; /* tuple([t.from_param for t in argtypes]) */ member
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java75 private static Map converters = new HashMap(); field in PublicKeyFactory
79 converters.put(PKCSObjectIdentifiers.rsaEncryption, new RSAConverter()); in converters.put()
80 converters.put(PKCSObjectIdentifiers.id_RSASSA_PSS, new RSAConverter()); in converters.put()
81 converters.put(X509ObjectIdentifiers.id_ea_rsa, new RSAConverter()); in converters.put()
82 converters.put(X9ObjectIdentifiers.dhpublicnumber, new DHPublicNumberConverter()); in converters.put()
83 converters.put(PKCSObjectIdentifiers.dhKeyAgreement, new DHAgreementConverter()); in converters.put()
84 converters.put(X9ObjectIdentifiers.id_dsa, new DSAConverter()); in converters.put()
85 converters.put(OIWObjectIdentifiers.dsaWithSHA1, new DSAConverter()); in converters.put()
88 converters.put(X9ObjectIdentifiers.id_ecPublicKey, new ECConverter()); in converters.put()
155 …SubjectPublicKeyInfoConverter converter = (SubjectPublicKeyInfoConverter)converters.get(algId.getA… in createKey()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsConverter.java22 import com.beust.jcommander.converters.FileConverter;
23 import com.beust.jcommander.converters.PathConverter;
24 import com.beust.jcommander.converters.URIConverter;
25 import com.beust.jcommander.converters.URLConverter;
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/
DPublicKeyFactory.java77 private static Map converters = new HashMap(); field in PublicKeyFactory
81 converters.put(PKCSObjectIdentifiers.rsaEncryption, new RSAConverter()); in converters.put()
82 converters.put(PKCSObjectIdentifiers.id_RSASSA_PSS, new RSAConverter()); in converters.put()
83 converters.put(X509ObjectIdentifiers.id_ea_rsa, new RSAConverter()); in converters.put()
84 converters.put(X9ObjectIdentifiers.dhpublicnumber, new DHPublicNumberConverter()); in converters.put()
85 converters.put(PKCSObjectIdentifiers.dhKeyAgreement, new DHAgreementConverter()); in converters.put()
86 converters.put(X9ObjectIdentifiers.id_dsa, new DSAConverter()); in converters.put()
87 converters.put(OIWObjectIdentifiers.dsaWithSHA1, new DSAConverter()); in converters.put()
90 converters.put(X9ObjectIdentifiers.id_ecPublicKey, new ECConverter()); in converters.put()
157 …SubjectPublicKeyInfoConverter converter = (SubjectPublicKeyInfoConverter)converters.get(algId.getA… in createKey()
/external/icu/icu4c/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 …]
/external/python/cpython3/Lib/test/
Dtest_configparser.py1660 parser.converters['decimal'] = decimal.Decimal
1667 self.assertIn('decimal', parser.converters)
1675 self.assertIn('decimal', parser.converters)
1676 del parser.converters['decimal']
1677 self.assertNotIn('decimal', parser.converters)
1938 instance.converters['list'] = lambda v: [e.strip() for e in v.split()
1944 self.assertIn('boolean', cfg.converters)
1945 self.assertIn('list', cfg.converters)
1946 self.assertIsNone(cfg.converters['int'])
1947 self.assertIsNone(cfg.converters['float'])
[all …]
/external/tensorflow/tensorflow/python/autograph/
DCONTRIBUTING.md45 Please include unit tests when contributing new features ([example here](converters/continue_statem…
66 converters;
75 impl -> converters
81 converters -> core
82 converters -> lang
94 …* `converters`: collection of source code transformation modules specialized for particular AutoGr…
102 Note: we have a long term plan to factor out an implementation of `impl` and `converters` that is i…
/external/junit-params/src/test/java/junitparams/
DParamsConverterTest.java17 import junitparams.converters.ConversionFailedException;
18 import junitparams.converters.ConvertParam;
19 import junitparams.converters.Converter;
20 import junitparams.converters.Param;
21 import junitparams.converters.ParamConverter;
/external/jcommander/src/main/java/com/beust/jcommander/
DParameter.java24 import com.beust.jcommander.converters.CommaParameterSplitter;
25 import com.beust.jcommander.converters.IParameterSplitter;
26 import com.beust.jcommander.converters.NoConverter;
/external/fonttools/Doc/source/ufoLib/
Dconverters.rst4 converters title
7 .. automodule:: ufoLib.converters
/external/python/cpython2/Doc/tools/extensions/
Dpyspecific.py26 Body.enum.converters['loweralpha'] = \
27 Body.enum.converters['upperalpha'] = \
28 Body.enum.converters['lowerroman'] = \
29 Body.enum.converters['upperroman'] = lambda x: None
/external/junit-params/src/main/java/junitparams/internal/
DInvokeParameterisedMethod.java10 import junitparams.converters.ConversionFailedException;
11 import junitparams.converters.ConvertParam;
12 import junitparams.converters.ParamAnnotation;
13 import junitparams.converters.ParamConverter;
/external/python/cpython3/Doc/howto/
Dclinic.rst151 the document (like "return converters" and "self converters").
725 Using real Argument Clinic converters, instead of "legacy converters"
730 you to use "legacy converters". "Legacy converters" are a convenience,
736 use Argument Clinic's real syntax for converters. Why? A couple
739 * The proper converters are far easier to read and clearer in their intent.
740 * There are some format units that are unsupported as "legacy converters",
745 won't be available to parameters using legacy converters.
748 converters instead of legacy converters.
750 In a nutshell, the syntax for Argument Clinic (non-legacy) converters
754 the same converters.
[all …]
/external/guice/core/src/com/google/inject/internal/
DInheritingState.java50 private final List<TypeConverterBinding> converters = Lists.newArrayList(); field in InheritingState
101 return converters; in getConvertersThisLevel()
106 converters.add(typeConverterBinding); in addConverter()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java555 Map<Class<?>, Converter<?>> converters = new HashMap<Class<?>, Converter<?>>(); in populateConverters() local
556 converters.put(String.class, new Converter<String>() { in populateConverters()
562 converters.put(Integer.class, new Converter<Integer>() { in populateConverters()
572 converters.put(Boolean.class, new Converter<Boolean>() { in populateConverters()
588 return converters; in populateConverters()

123456