Lines Matching refs:endptr
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()
100 char *target = NULL, *staticmax = NULL, *endptr = NULL; in libxl__fill_dom0_memory_info() local
119 *target_memkb = strtoull(target, &endptr, 10); in libxl__fill_dom0_memory_info()
120 if (*endptr != '\0') { in libxl__fill_dom0_memory_info()
129 *max_memkb = strtoull(staticmax, &endptr, 10); in libxl__fill_dom0_memory_info()
130 if (*endptr != '\0') { in libxl__fill_dom0_memory_info()
181 char *memmax, *endptr, *videoram_s = NULL, *target = NULL; in libxl_set_memory_target() local
232 current_target_memkb = strtoull(target, &endptr, 10); in libxl_set_memory_target()
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()
353 char *target = NULL, *static_max = NULL, *endptr = NULL; in libxl__get_memory_target() local
378 target_memkb = strtoull(target, &endptr, 10); in libxl__get_memory_target()
379 if (*endptr != '\0') { in libxl__get_memory_target()
384 max_memkb = strtoull(static_max, &endptr, 10); in libxl__get_memory_target()
385 if (*endptr != '\0') { in libxl__get_memory_target()