/external/python/cpython2/Lib/json/ |
D | __init__.py | 258 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
|
D | scanner.py | 22 parse_float = context.parse_float 52 res = parse_float(integer + (frac or '') + (exp or ''))
|
D | decoder.py | 302 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__.py | 274 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, *, cls=None, object_hook=None, parse_float=None, argument 344 parse_int is None and parse_float is None and 353 if parse_float is not None: 354 kw['parse_float'] = parse_float
|
D | scanner.py | 21 parse_float = context.parse_float 52 res = parse_float(integer + (frac or '') + (exp or ''))
|
D | decoder.py | 284 def __init__(self, *, object_hook=None, parse_float=None, argument 320 self.parse_float = parse_float or float
|
/external/python/cpython2/Lib/test/crashers/ |
D | decref_before_assignment.py | 24 parse_float = None variable in Ctx1
|
/external/python/cpython3/Modules/ |
D | _json.c | 34 PyObject *parse_float; member 44 {"parse_float", T_OBJECT, offsetof(PyScannerObject, parse_float), READONLY, "parse_float"}, 653 Py_VISIT(self->parse_float); in scanner_traverse() 665 Py_CLEAR(self->parse_float); in scanner_clear() 982 if (is_float && s->parse_float != (PyObject *)&PyFloat_Type) in _match_number_unicode() 983 custom_func = s->parse_float; in _match_number_unicode() 1194 s->parse_float = PyObject_GetAttrString(ctx, "parse_float"); in scanner_new() 1195 if (s->parse_float == NULL) in scanner_new()
|
/external/python/cpython2/Modules/ |
D | _json.c | 39 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/cpython2/Lib/json/tests/ |
D | test_decode.py | 9 rval = self.loads('1.1', parse_float=decimal.Decimal)
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/ |
D | pcre.h | 586 MAKE_PARSER(float, parse_float); 620 static bool parse_float (const char* str, size_t n, void* dest);
|
D | pcre.cc | 994 bool PCRE::Arg::parse_float(const char* str, size_t n, void* dest) { in parse_float() function in re2::PCRE::Arg
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_decode.py | 9 rval = self.loads('1.1', parse_float=decimal.Decimal)
|
/external/python/cpython2/Doc/library/ |
D | json.rst | 79 >>> 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/Doc/library/ |
D | json.rst | 82 >>> json.loads('1.1', parse_float=decimal.Decimal) 227 .. function:: load(fp, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_const… 248 *parse_float*, if specified, will be called with the string of every JSON 280 .. function:: loads(s, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_const… 302 .. class:: JSONDecoder(*, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, … 347 *parse_float*, if specified, will be called with the string of every JSON
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | re2.h | 806 MAKE_PARSER(float, parse_float) in MAKE_PARSER() 839 static bool parse_float (const char* str, size_t n, void* dest);
|
D | re2.cc | 1295 bool RE2::Arg::parse_float(const char* str, size_t n, void* dest) { in GlobalReplace() function in re2::RE2::Arg
|
/external/mesa3d/src/gallium/tools/trace/ |
D | parse.py | 287 def parse_float(self): member in TraceParser
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_text.c | 231 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()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_text.c | 239 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()
|