Home
last modified time | relevance | path

Searched refs:parse_int (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython2/Lib/json/
D__init__.py259 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument
289 parse_float=parse_float, parse_int=parse_int,
295 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument
337 parse_int is None and parse_float is None and
348 if parse_int is not None:
349 kw['parse_int'] = parse_int
Dscanner.py23 parse_int = context.parse_int
54 res = parse_int(integer)
Ddecoder.py303 parse_int=None, parse_constant=None, strict=True, argument
351 self.parse_int = parse_int or int
/external/harfbuzz_ng/src/
Dhb-buffer-deserialize-json.hh537 { if (!parse_int (tok, p, &pos.x_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
541 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
549 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
577 { if (!parse_int (tok, p, &pos.x_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
589 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
601 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
613 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
Dhb-buffer-deserialize-text.hh393 { if (!parse_int (tok, p, &pos.x_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
397 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
401 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
445 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
457 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
469 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
522 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
534 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
546 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
Dhb-buffer-deserialize-text.rl63 action parse_x_offset { if (!parse_int (tok, p, &pos.x_offset )) return false; }
64 action parse_y_offset { if (!parse_int (tok, p, &pos.y_offset )) return false; }
65 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
66 action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; }
Dhb-buffer-deserialize-json.rl64 action parse_x_offset { if (!parse_int (tok, p, &pos.x_offset )) return false; }
65 action parse_y_offset { if (!parse_int (tok, p, &pos.y_offset )) return false; }
66 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
67 action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; }
/external/skqp/third_party/harfbuzz/
Dhb-buffer-deserialize-json.hh537 { if (!parse_int (tok, p, &pos.x_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
541 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
549 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
577 { if (!parse_int (tok, p, &pos.x_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
589 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_json()
601 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
613 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
Dhb-buffer-deserialize-text.hh393 { if (!parse_int (tok, p, &pos.x_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
397 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
401 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
445 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
457 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
469 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
522 { if (!parse_int (tok, p, &pos.y_offset )) return false; } in _hb_buffer_deserialize_glyphs_text()
534 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
546 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
/external/python/cpython3/Lib/json/
D__init__.py275 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument
295 parse_float=parse_float, parse_int=parse_int,
300 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument
344 parse_int is None and parse_float is None and
355 if parse_int is not None:
356 kw['parse_int'] = parse_int
Dscanner.py22 parse_int = context.parse_int
54 res = parse_int(integer)
Ddecoder.py285 parse_int=None, parse_constant=None, strict=True, argument
321 self.parse_int = parse_int or int
/external/python/cpython2/Lib/test/crashers/
Ddecref_before_assignment.py25 parse_int = None variable in Ctx1
/external/android-clat/
Dclatd.h58 static inline int parse_int(const char *str, int *out) { in parse_int() function
Dmain.c106 if (tunfd_str != NULL && !parse_int(tunfd_str, &tunnel.fd4)) { in main()
/external/rust/crates/proc-macro-hack/src/
Dparse.rs119 fn parse_int(tokens: Iter) -> Result<u16, Span> { in parse_int() function
184 let calls = parse_int(tokens).map_err(|span| { in parse_export_args()
/external/python/cpython3/Modules/
D_json.c35 PyObject *parse_int; member
45 {"parse_int", T_OBJECT, offsetof(PyScannerObject, parse_int), READONLY, "parse_int"},
654 Py_VISIT(self->parse_int); in scanner_traverse()
666 Py_CLEAR(self->parse_int); in scanner_clear()
984 else if (!is_float && s->parse_int != (PyObject *) &PyLong_Type) in _match_number_unicode()
985 custom_func = s->parse_int; in _match_number_unicode()
1197 s->parse_int = PyObject_GetAttrString(ctx, "parse_int"); in scanner_new()
1198 if (s->parse_int == NULL) in scanner_new()
/external/e2fsprogs/debugfs/
Dset_fields.c69 static errcode_t parse_int(struct field_set_info *info, char *field, char *arg);
98 { "log_cluster_size", &set_sb.s_log_cluster_size, NULL, 4, parse_int },
105 { "max_mnt_count", &set_sb.s_max_mnt_count, NULL, 2, parse_int },
528 static errcode_t parse_int(struct field_set_info *info, in parse_int() function
775 else if (ss->func == parse_int) in print_possible_fields()
/external/python/cpython2/Lib/json/tests/
Dtest_decode.py14 rval = self.loads('1', parse_int=float)
/external/python/cpython2/Modules/
D_json.c40 PyObject *parse_int; member
50 {"parse_int", T_OBJECT, offsetof(PyScannerObject, parse_int), READONLY, "parse_int"},
860 Py_VISIT(s->parse_int); in scanner_traverse()
876 Py_CLEAR(s->parse_int); in scanner_clear()
1385 if (s->parse_int != (PyObject *)&PyInt_Type) { in _match_number_str()
1386 rval = PyObject_CallFunctionObjArgs(s->parse_int, numstr, NULL); in _match_number_str()
1481 rval = PyObject_CallFunctionObjArgs(s->parse_int, numstr, NULL); in _match_number_unicode()
1752 s->parse_int = PyObject_GetAttrString(ctx, "parse_int"); in scanner_new()
1753 if (s->parse_int == NULL) in scanner_new()
/external/rust/crates/tokio-macros/src/
Dentry.rs77 let worker_threads = parse_int(worker_threads, span, "worker_threads")?; in set_worker_threads()
139 fn parse_int(int: syn::Lit, span: Span, field: &str) -> Result<usize, syn::Error> { in parse_int() function
/external/tinyalsa_new/utils/
Dtinymix.c390 static struct parsed_int parse_int(const char* str) in parse_int() function
443 struct parsed_int parsed_int = parse_int(value_string); in to_control_value()
/external/python/cpython3/Lib/test/test_json/
Dtest_decode.py14 rval = self.loads('1', parse_int=float)
/external/python/cpython2/Doc/library/
Djson.rst213 .. function:: load(fp[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, o…
247 *parse_int*, if specified, will be called with the string of every JSON int
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[…
341 *parse_int*, if specified, will be called with the string of every JSON int
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_text.c194 static boolean parse_int( const char **pcur, int *val ) in parse_int() function
599 parse_int( &ctx->cur, &brackets->index ); in parse_register_bracket()
1260 ret = parse_int(&ctx->cur, &values[i].Int); in parse_immediate_data()
1335 if (!parse_int( &cur2, &arrayid )) { in parse_declaration()

12