Searched refs:parse_constant (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/simplejson/
H A Dscanner.py27 parse_constant = context.parse_constant
61 return parse_constant('NaN'), idx + 3
63 return parse_constant('Infinity'), idx + 8
65 return parse_constant('-Infinity'), idx + 9
H A D__init__.py342 parse_int=None, parse_constant=None, object_pairs_hook=None,
379 *parse_constant*, if specified, will be called with one of the
394 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook,
399 parse_int=None, parse_constant=None, object_pairs_hook=None,
435 *parse_constant*, if specified, will be called with one of the
449 parse_constant is None and object_pairs_hook is None
462 if parse_constant is not None:
463 kw['parse_constant'] = parse_constant
[all...]
H A Ddecoder.py343 parse_int=None, parse_constant=None, strict=True,
377 *parse_constant*, if specified, will be called with one of the
393 self.parse_constant = parse_constant or _CONSTANTS.__getitem__
H A D_speedups.c59 PyObject *parse_constant; member in struct:_PyScannerObject
70 {"parse_constant", T_OBJECT, offsetof(PyScannerObject, parse_constant), READONLY, "parse_constant"},
997 Py_VISIT(s->parse_constant);
1014 Py_CLEAR(s->parse_constant);
1472 Returns the result of parse_constant
1481 /* rval = parse_constant(constant) */
1482 rval = PyObject_CallFunctionObjArgs(s->parse_constant, cstr, NULL);
1925 s->parse_constant
[all...]

Completed in 165 milliseconds