Home
last modified time | relevance | path

Searched refs:parse_uint (Results 1 – 25 of 39) sorted by relevance

12

/third_party/e2fsprogs/debugfs/
Dset_fields.c68 static errcode_t parse_uint(struct field_set_info *info, char *field, char *arg);
88 { "inodes_count", &set_sb.s_inodes_count, NULL, 4, parse_uint },
90 4, parse_uint },
92 &set_sb.s_r_blocks_count_hi, 4, parse_uint },
94 &set_sb.s_free_blocks_hi, 4, parse_uint },
95 { "free_inodes_count", &set_sb.s_free_inodes_count, NULL, 4, parse_uint },
96 { "first_data_block", &set_sb.s_first_data_block, NULL, 4, parse_uint },
97 { "log_block_size", &set_sb.s_log_block_size, NULL, 4, parse_uint },
99 { "blocks_per_group", &set_sb.s_blocks_per_group, NULL, 4, parse_uint },
100 { "clusters_per_group", &set_sb.s_clusters_per_group, NULL, 4, parse_uint },
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-buffer-deserialize-json.hh529 { if (!parse_uint (tok, p, &info.codepoint)) return false; } in _hb_buffer_deserialize_glyphs_json()
533 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_json()
553 { if (!parse_uint (tok, p, &info.codepoint)) return false; } in _hb_buffer_deserialize_glyphs_json()
565 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_json()
Dhb-buffer-deserialize-text.hh389 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
433 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
510 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
Dhb-buffer-deserialize-json.rl62 action parse_gid { if (!parse_uint (tok, p, &info.codepoint)) return false; }
63 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
Dhb-common.cc720 parse_uint (const char **pp, const char *end, unsigned int *pv) in parse_uint() function
939 has_start = parse_uint (pp, end, &feature->start); in parse_feature_indices()
942 parse_uint (pp, end, &feature->end); in parse_feature_indices()
Dhb-buffer-deserialize-text.rl62 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-buffer-deserialize-json.hh584 { if (!parse_uint (tok, p, &info.codepoint)) return false; } in _hb_buffer_deserialize_json()
588 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_json()
642 { if (!parse_uint (tok, p, &info.codepoint)) return false; } in _hb_buffer_deserialize_json()
654 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_json()
Dhb-buffer-deserialize-text.hh494 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_text()
567 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_text()
765 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_text()
Dhb-buffer-deserialize-json.rl66 action parse_codepoint { if (!parse_uint (tok, p, &info.codepoint)) return false; }
67 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
Dhb-common.cc713 parse_uint (const char **pp, const char *end, unsigned int *pv) in parse_uint() function
825 has_start = parse_uint (pp, end, &feature->start); in parse_feature_indices()
828 parse_uint (pp, end, &feature->end); in parse_feature_indices()
Dhb-buffer-deserialize-text.rl68 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
/third_party/nghttp2/src/
Dutil_test.cc329 CU_ASSERT(0 == util::parse_uint("0")); in test_util_parse_uint()
330 CU_ASSERT(1023 == util::parse_uint("1023")); in test_util_parse_uint()
331 CU_ASSERT(-1 == util::parse_uint("1k")); in test_util_parse_uint()
332 CU_ASSERT(9223372036854775807LL == util::parse_uint("9223372036854775807")); in test_util_parse_uint()
334 CU_ASSERT(-1 == util::parse_uint("9223372036854775808")); in test_util_parse_uint()
335 CU_ASSERT(-1 == util::parse_uint("10000000000000000000")); in test_util_parse_uint()
337 CU_ASSERT(-1 == util::parse_uint("1.1")); in test_util_parse_uint()
338 CU_ASSERT(-1 == util::parse_uint("1a")); in test_util_parse_uint()
339 CU_ASSERT(-1 == util::parse_uint("a1")); in test_util_parse_uint()
340 CU_ASSERT(-1 == util::parse_uint("1T")); in test_util_parse_uint()
[all …]
Dshrpx_config.cc135 auto d = util::parse_uint(portstr); in split_host_port()
319 int parse_uint(T *dest, const StringRef &opt, const StringRef &optarg) { in parse_uint() function
320 auto val = util::parse_uint(optarg); in parse_uint()
906 auto n = util::parse_uint(valstr); in parse_downstream_params()
920 auto n = util::parse_uint(valstr); in parse_downstream_params()
999 auto n = util::parse_uint(valstr); in parse_downstream_params()
1021 auto n = util::parse_uint(valstr); in parse_downstream_params()
1310 auto n = util::parse_uint(codestr); in parse_error_page()
2693 return parse_uint(&config->num_worker, opt, optarg); in parse_config()
2700 if (parse_uint(&n, opt, optarg) != 0) { in parse_config()
[all …]
Dutil.h652 int64_t parse_uint(const char *s);
654 int64_t parse_uint(const uint8_t *s, size_t len);
655 int64_t parse_uint(const std::string &s);
656 int64_t parse_uint(const StringRef &s);
Dutil.cc1048 int64_t parse_uint(const char *s) { in parse_uint() function
1049 return parse_uint(reinterpret_cast<const uint8_t *>(s), strlen(s)); in parse_uint()
1052 int64_t parse_uint(const std::string &s) { in parse_uint() function
1053 return parse_uint(reinterpret_cast<const uint8_t *>(s.c_str()), s.size()); in parse_uint()
1056 int64_t parse_uint(const StringRef &s) { in parse_uint() function
1057 return parse_uint(s.byte(), s.size()); in parse_uint()
1060 int64_t parse_uint(const uint8_t *s, size_t len) { in parse_uint() function
Dasio_client_session_impl.cc208 res.status_code(util::parse_uint(value, valuelen)); in on_header_callback()
218 res.content_length(util::parse_uint(value, valuelen)); in on_header_callback()
/third_party/harfbuzz/src/
Dhb-buffer-deserialize-json.hh335 if (!parse_uint (tok, p, &info.codepoint)) return false; } in _hb_buffer_deserialize_json()
345 if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_json()
459 if (!parse_uint (tok, p, &info.codepoint)) return false; } in _hb_buffer_deserialize_json()
481 if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_json()
Dhb-buffer-deserialize-json.rl66 action parse_codepoint { if (!parse_uint (tok, p, &info.codepoint)) return false; }
67 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
Dhb-buffer-deserialize-text.hh317 if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_text()
464 if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_text()
Dhb-common.cc716 parse_uint (const char **pp, const char *end, unsigned int *pv) in parse_uint() function
828 has_start = parse_uint (pp, end, &feature->start); in parse_feature_indices()
831 parse_uint (pp, end, &feature->end); in parse_feature_indices()
Dhb-buffer-deserialize-text.rl68 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_text.c180 static boolean parse_uint( const char **pcur, uint *val ) in parse_uint() function
202 if (parse_uint(&cur, (uint *)val)) { in parse_int()
412 if (parse_uint( &cur, val )) { in parse_label()
517 if (!parse_uint( &ctx->cur, &uindex )) { in parse_register_file_bracket_index()
604 if (!parse_uint( &ctx->cur, &uindex )) { in parse_register_bracket()
621 if (!parse_uint( &ctx->cur, &brackets->ind_array )) { in parse_register_bracket()
696 if (!parse_uint( &ctx->cur, &uindex )) { in parse_register_dcl_bracket()
716 if (!parse_uint( &ctx->cur, &uindex )) { in parse_register_dcl_bracket()
1194 if (!parse_uint( &cur, &target )) { in parse_instruction()
1257 ret = parse_uint(&ctx->cur, &values[i].Uint); in parse_immediate_data()
[all …]
/third_party/e2fsprogs/misc/
Dbadblocks.c1032 static unsigned int parse_uint(const char *str, const char *descr) in parse_uint() function
1099 block_size = parse_uint(optarg, "block size"); in main()
1129 blocks_at_once = parse_uint(optarg, "blocks at once"); in main()
1132 max_bb = parse_uint(optarg, "max bad block count"); in main()
1145 d_flag = parse_uint(optarg, "read delay factor"); in main()
1148 num_passes = parse_uint(optarg, in main()
1173 pattern = parse_uint(optarg, "test pattern"); in main()
1236 last_block = parse_uint(argv[optind], _("last block")); in main()
1242 first_block = parse_uint(argv[optind], _("first block")); in main()
/third_party/nghttp2/lib/
Dnghttp2_http.c52 static int64_t parse_uint(const uint8_t *s, size_t len) { in parse_uint() function
197 stream->content_length = parse_uint(nv->value->base, nv->value->len); in http_request_on_header()
245 stream->status_code = (int16_t)parse_uint(nv->value->base, nv->value->len); in http_response_on_header()
277 stream->content_length = parse_uint(nv->value->base, nv->value->len); in http_response_on_header()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_http.c52 static int64_t parse_uint(const uint8_t *s, size_t len) { in parse_uint() function
197 stream->content_length = parse_uint(nv->value->base, nv->value->len); in http_request_on_header()
245 stream->status_code = (int16_t)parse_uint(nv->value->base, nv->value->len); in http_response_on_header()
277 stream->content_length = parse_uint(nv->value->base, nv->value->len); in http_response_on_header()

12