Home
last modified time | relevance | path

Searched refs:parse_float (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/json/
D__init__.py258 def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None, argument
289 parse_float=parse_float, parse_int=parse_int,
294 def loads(s, encoding=None, cls=None, object_hook=None, parse_float=None, argument
337 parse_int is None and parse_float is None and
346 if parse_float is not None:
347 kw['parse_float'] = parse_float
Dscanner.py22 parse_float = context.parse_float
52 res = parse_float(integer + (frac or '') + (exp or ''))
Ddecoder.py302 def __init__(self, encoding=None, object_hook=None, parse_float=None, argument
350 self.parse_float = parse_float or float
/external/python/cpython3/Lib/json/
D__init__.py274 def load(fp, *, cls=None, object_hook=None, parse_float=None, argument
295 parse_float=parse_float, parse_int=parse_int,
299 def loads(s, *, encoding=None, cls=None, object_hook=None, parse_float=None, argument
346 parse_int is None and parse_float is None and
355 if parse_float is not None:
356 kw['parse_float'] = parse_float
Dscanner.py21 parse_float = context.parse_float
52 res = parse_float(integer + (frac or '') + (exp or ''))
Ddecoder.py284 def __init__(self, *, object_hook=None, parse_float=None, argument
320 self.parse_float = parse_float or float
/external/pcre/pcrecpp/include/
Dpcrecpparg.h87 PCRE_MAKE_PARSER(float, parse_float);
111 static bool parse_float (const char* str, int n, void* dest);
/external/python/cpython2/Lib/test/crashers/
Ddecref_before_assignment.py24 parse_float = None variable in Ctx1
/external/python/cpython2/Modules/
D_json.c39 PyObject *parse_float; member
49 {"parse_float", T_OBJECT, offsetof(PyScannerObject, parse_float), READONLY, "parse_float"},
859 Py_VISIT(s->parse_float); in scanner_traverse()
875 Py_CLEAR(s->parse_float); in scanner_clear()
1372 if (s->parse_float != (PyObject *)&PyFloat_Type) { in _match_number_str()
1373 rval = PyObject_CallFunctionObjArgs(s->parse_float, numstr, NULL); in _match_number_str()
1472 if (s->parse_float != (PyObject *)&PyFloat_Type) { in _match_number_unicode()
1473 rval = PyObject_CallFunctionObjArgs(s->parse_float, numstr, NULL); in _match_number_unicode()
1749 s->parse_float = PyObject_GetAttrString(ctx, "parse_float"); in scanner_new()
1750 if (s->parse_float == NULL) in scanner_new()
/external/python/cpython3/Modules/
D_json.c31 PyObject *parse_float; member
41 {"parse_float", T_OBJECT, offsetof(PyScannerObject, parse_float), READONLY, "parse_float"},
679 Py_VISIT(s->parse_float); in scanner_traverse()
693 Py_CLEAR(s->parse_float); in scanner_clear()
1013 if (is_float && s->parse_float != (PyObject *)&PyFloat_Type) in _match_number_unicode()
1014 custom_func = s->parse_float; in _match_number_unicode()
1228 s->parse_float = PyObject_GetAttrString(ctx, "parse_float"); in scanner_new()
1229 if (s->parse_float == NULL) in scanner_new()
/external/python/cpython2/Lib/json/tests/
Dtest_decode.py9 rval = self.loads('1.1', parse_float=decimal.Decimal)
/external/python/cpython2/Doc/library/
Djson.rst79 >>> json.loads('1.1', parse_float=decimal.Decimal)
213 .. function:: load(fp[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, o…
242 *parse_float*, if specified, will be called with the string of every JSON
265 .. function:: loads(s[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, o…
282 .. class:: JSONDecoder([encoding[, object_hook[, parse_float[, parse_int[, parse_constant[, strict[…
336 *parse_float*, if specified, will be called with the string of every JSON
/external/python/cpython3/Lib/test/test_json/
Dtest_decode.py9 rval = self.loads('1.1', parse_float=decimal.Decimal)
/external/python/cpython3/Doc/library/
Djson.rst82 >>> json.loads('1.1', parse_float=decimal.Decimal)
215 .. function:: load(fp, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_const…
236 *parse_float*, if specified, will be called with the string of every JSON
268 .. function:: loads(s, *, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=No…
288 .. class:: JSONDecoder(*, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, …
333 *parse_float*, if specified, will be called with the string of every JSON
/external/harfbuzz_ng/src/
Dhb-common.cc825 parse_float (const char **pp, const char *end, float *pv) in parse_float() function
1060 return parse_float (pp, end, &variation->value); in parse_variation_value()
/external/mesa3d/src/gallium/tools/trace/
Dparse.py287 def parse_float(self): member in TraceParser
/external/pcre/pcrecpp/
Dpcrecpp.cc693 bool Arg::parse_float(const char* str, int n, void* dest) { in parse_float() function in pcrecpp::Arg
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_text.c239 static boolean parse_float( const char **pcur, float *val ) in parse_float() function
1229 ret = parse_float(&ctx->cur, &values[i].Float); in parse_immediate_data()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_text.c231 static boolean parse_float( const char **pcur, float *val ) in parse_float() function
1254 ret = parse_float(&ctx->cur, &values[i].Float); in parse_immediate_data()