/external/python/cpython2/Lib/json/ |
D | __init__.py | 259 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 290 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, 295 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 338 parse_constant is None and object_pairs_hook is None and not kw): 350 if parse_constant is not None: 351 kw['parse_constant'] = parse_constant
|
D | scanner.py | 24 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 | 303 parse_int=None, parse_constant=None, strict=True, argument 352 self.parse_constant = parse_constant or _CONSTANTS.__getitem__
|
/external/python/cpython3/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 356 parse_constant is None and object_pairs_hook is None and not kw): 368 if parse_constant is not None: 369 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__
|
/external/minijail/ |
D | syscall_filter_unittest.cc | 98 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 103 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 115 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 121 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 131 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 142 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 148 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 161 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 164 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() 169 c = parse_constant(const_cast<char*>(constant.data()), &end); in TEST() [all …]
|
D | util.h | 149 long int parse_constant(char *constant_str, char **endptr);
|
D | util.c | 251 long int parse_constant(char *constant_str, char **endptr) in parse_constant() function 291 current_value = parse_constant(group, &end); in parse_constant()
|
D | syscall_filter.c | 248 long int c = parse_constant(constant_str, &constant_str_ptr); in compile_atom() 292 int errno_val = parse_constant(errno_val_str, &errno_val_ptr); in compile_errno()
|
D | minijail0_cli.c | 273 mountflags = parse_constant(flags, &end); in add_mount()
|
/external/python/cpython2/Lib/test/crashers/ |
D | decref_before_assignment.py | 26 parse_constant = None variable in Ctx1
|
/external/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()
|
/external/python/cpython3/Modules/ |
D | _json.c | 36 PyObject *parse_constant; member 46 …{"parse_constant", T_OBJECT, offsetof(PyScannerObject, parse_constant), READONLY, "parse_constant"… 684 Py_VISIT(s->parse_constant); in scanner_traverse() 698 Py_CLEAR(s->parse_constant); in scanner_clear() 934 rval = PyObject_CallFunctionObjArgs(s->parse_constant, cstr, NULL); in _parse_constant() 1240 s->parse_constant = PyObject_GetAttrString(ctx, "parse_constant"); in scanner_new() 1241 if (s->parse_constant == NULL) in scanner_new()
|
/external/python/cpython2/Doc/library/ |
D | json.rst | 213 .. function:: load(fp[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, o… 252 *parse_constant*, if specified, will be called with one of the following 258 *parse_constant* doesn't get called on 'null', 'true', 'false' anymore. 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[… 346 *parse_constant*, if specified, will be called with one of the following 562 behavior. In the deserializer, the *parse_constant* parameter can be used to
|
/external/python/cpython3/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… 303 .. class:: JSONDecoder(*, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, … 358 *parse_constant*, if specified, will be called with one of the following 612 behavior. In the deserializer, the *parse_constant* parameter can be used to
|
/external/python/cpython2/Modules/ |
D | _json.c | 41 PyObject *parse_constant; member 51 …{"parse_constant", T_OBJECT, offsetof(PyScannerObject, parse_constant), READONLY, "parse_constant"… 861 Py_VISIT(s->parse_constant); in scanner_traverse() 877 Py_CLEAR(s->parse_constant); in scanner_clear() 1288 rval = PyObject_CallFunctionObjArgs(s->parse_constant, cstr, NULL); in _parse_constant() 1755 s->parse_constant = PyObject_GetAttrString(ctx, "parse_constant"); in scanner_new() 1756 if (s->parse_constant == NULL) in scanner_new()
|