Searched refs:parse_constant (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/json/ |
D | __init__.py | 275 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 296 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) 300 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 345 parse_constant is None and object_pairs_hook is None and not kw): 357 if parse_constant is not None: 358 kw['parse_constant'] = parse_constant
|
D | scanner.py | 23 parse_constant = context.parse_constant 57 return parse_constant('NaN'), idx + 3 59 return parse_constant('Infinity'), idx + 8 61 return parse_constant('-Infinity'), idx + 9
|
D | decoder.py | 285 parse_int=None, parse_constant=None, strict=True, argument 322 self.parse_constant = parse_constant or _CONSTANTS.__getitem__
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.h | 52 int parse_constant(unsigned *index, float *data, const char *const_str);
|
D | rc_test_helpers.c | 441 int parse_constant(unsigned *index, float *data, const char *const_str) in parse_constant() function 474 if (!parse_constant(&index, data, const_str)) { in add_constant()
|
/third_party/python/Modules/ |
D | _json.c | 36 PyObject *parse_constant; member 46 …{"parse_constant", T_OBJECT, offsetof(PyScannerObject, parse_constant), READONLY, "parse_constant"… 658 Py_VISIT(self->parse_constant); in scanner_traverse() 670 Py_CLEAR(self->parse_constant); in scanner_clear() 900 rval = PyObject_CallOneArg(s->parse_constant, cstr); in _parse_constant() 1203 s->parse_constant = PyObject_GetAttrString(ctx, "parse_constant"); in scanner_new() 1204 if (s->parse_constant == NULL) in scanner_new()
|
/third_party/python/Doc/library/ |
D | json.rst | 227 …fp, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_p… 258 *parse_constant*, if specified, will be called with one of the following 264 *parse_constant* doesn't get called on 'null', 'true', 'false' anymore. 280 …(s, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_p… 302 .. class:: JSONDecoder(*, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, … 357 *parse_constant*, if specified, will be called with one of the following 610 behavior. In the deserializer, the *parse_constant* parameter can be used to
|