/xen/tools/libxl/ |
A D | libxl_cpuid.c | 288 char *sep, *val, *endptr; in libxl_cpuid_parse_config() local 312 if (endptr != val) { in libxl_cpuid_parse_config() 366 char *endptr; in libxl_cpuid_parse_config_xend() local 373 if (str == endptr) { in libxl_cpuid_parse_config_xend() 378 if (*endptr == ',') { in libxl_cpuid_parse_config_xend() 379 str = endptr + 1; in libxl_cpuid_parse_config_xend() 381 if (str == endptr) { in libxl_cpuid_parse_config_xend() 386 if (*endptr != ':') { in libxl_cpuid_parse_config_xend() 389 str = endptr + 1; in libxl_cpuid_parse_config_xend() 400 str = endptr + 1; in libxl_cpuid_parse_config_xend() [all …]
|
A D | libxl_mem.c | 29 char *mem, *endptr; in libxl_domain_setmaxmem() local 52 memorykb = strtoull(mem, &endptr, 10); in libxl_domain_setmaxmem() 53 if (*endptr != '\0') { in libxl_domain_setmaxmem() 119 *target_memkb = strtoull(target, &endptr, 10); in libxl__fill_dom0_memory_info() 120 if (*endptr != '\0') { in libxl__fill_dom0_memory_info() 130 if (*endptr != '\0') { in libxl__fill_dom0_memory_info() 233 if (*endptr != '\0') { in libxl_set_memory_target() 249 memorykb = strtoull(memmax, &endptr, 10); in libxl_set_memory_target() 250 if (*endptr != '\0') { in libxl_set_memory_target() 379 if (*endptr != '\0') { in libxl__get_memory_target() [all …]
|
A D | libxl_internal.c | 319 char *endptr; in libxl__parse_mac() local 322 for (i = 0, tok = s; *tok && (i < 6); ++i, tok = endptr) { in libxl__parse_mac() 323 mac[i] = strtol(tok, &endptr, 16); in libxl__parse_mac() 324 if (endptr != (tok + 2) || (*endptr != '\0' && *endptr != ':') ) in libxl__parse_mac() 326 if (*endptr == ':') in libxl__parse_mac() 327 endptr++; in libxl__parse_mac()
|
A D | libxl_utils.c | 224 char *target, *endptr; in libxl_is_stubdom() local 232 value = strtol(target, &endptr, 10); in libxl_is_stubdom() 233 if (*endptr != '\0') in libxl_is_stubdom()
|
A D | libxl_dm.c | 3150 char *endptr; in device_model_postconfig_chardev() local 3174 port = strtol(label + seriall, &endptr, 10); in device_model_postconfig_chardev() 3175 if (*(label + seriall) == '\0' || *endptr != '\0') { in device_model_postconfig_chardev()
|
/xen/tools/xl/ |
A D | xl_vcpu.c | 190 char *endptr; in main_vcpupin() local 214 vcpuid = strtol(vcpu, &endptr, 10); in main_vcpupin() 215 if (vcpu == endptr || vcpuid < 0) { in main_vcpupin() 330 char *endptr; in vcpuset() local 337 max_vcpus = strtoul(nr_vcpus, &endptr, 10); in vcpuset() 338 if (nr_vcpus == endptr || max_vcpus > INT_MAX) { in vcpuset()
|
A D | xl_misc.c | 85 char *endptr = NULL; in main_trigger() local 103 vcpuid = strtol(argv[optind], &endptr, 10); in main_trigger() 104 if (vcpuid == 0 && !strcmp(endptr, argv[optind])) { in main_trigger()
|
A D | xl_parse.c | 141 char *endptr; in parse_range() local 143 *a = *b = strtoul(str, &endptr, 10); in parse_range() 147 if (*endptr == '-') { in parse_range() 148 nstr = endptr + 1; in parse_range() 156 if (*endptr != '\0') in parse_range() 391 char *endptr; in parse_ulong() local 394 val = strtoul(str, &endptr, 10); in parse_ulong() 421 char *endptr, *oparg; in parse_nic_config() local 442 oparg = endptr + 1; in parse_nic_config() 2744 char *endptr; in parse_mem_size_kb() local [all …]
|
A D | xl_info.c | 648 char *endptr = NULL; in main_domname() local 654 domid = strtol(argv[optind], &endptr, 10); in main_domname() 655 if (domid == 0 && !strcmp(endptr, argv[optind])) { in main_domname()
|
/xen/tools/libvchan/ |
A D | vchan-socket-proxy.c | 148 char *endptr; in connect_socket() local 151 fd = strtoll(path_or_fd, &endptr, 0); in connect_socket() 152 if (*endptr == '\0') { in connect_socket() 184 char *endptr; in listen_socket() local 187 fd = strtoll(path_or_fd, &endptr, 0); in listen_socket() 188 if (*endptr == '\0') { in listen_socket()
|
/xen/tools/libacpi/ |
A D | mk_dsdt.c | 136 char *endptr; in main() local 138 i = strtol(optarg, &endptr, 10); in main() 139 if ( (*optarg != '\0') && (*endptr == '\0') && (i >= 0) ) in main()
|
/xen/tools/misc/ |
A D | xen-cpuid.c | 407 char *endptr; in main() local 410 domid = strtol(tmp_optarg, &endptr, 0); in main() 411 if ( errno || endptr == tmp_optarg ) in main()
|
/xen/xen/tools/kconfig/ |
A D | preprocess.c | 348 char *tmp, *name, *res, *endptr, *prev, *p; in eval_clause() local 362 n = strtoul(tmp, &endptr, 10); in eval_clause() 363 if (!*endptr && n > 0 && n <= argc) { in eval_clause()
|