Home
last modified time | relevance | path

Searched refs:parse_constant (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/json/
D__init__.py275 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
Dscanner.py23 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
Ddecoder.py285 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/
Drc_test_helpers.h52 int parse_constant(unsigned *index, float *data, const char *const_str);
Drc_test_helpers.c441 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.c36 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/
Djson.rst227 …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