Searched refs:endp (Results 1 – 6 of 6) sorted by relevance
/tools/power/cpupower/lib/ |
D | cpupower.c | 54 char *endp; in cpupower_is_cpu_online() local 82 value = strtoull(linebuf, &endp, 0); in cpupower_is_cpu_online() 93 char *endp; in sysfs_topology_read_file() local 100 *result = strtol(linebuf, &endp, 0); in sysfs_topology_read_file() 101 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
|
D | cpuidle.c | 141 char *endp; in cpuidle_state_get_one_value() local 152 value = strtoull(linebuf, &endp, 0); in cpuidle_state_get_one_value() 154 if (endp == linebuf || errno == ERANGE) in cpuidle_state_get_one_value()
|
D | cpufreq.c | 94 char *endp; in sysfs_cpufreq_get_one_value() local 105 value = strtoul(linebuf, &endp, 0); in sysfs_cpufreq_get_one_value() 107 if (endp == linebuf || errno == ERANGE) in sysfs_cpufreq_get_one_value()
|
/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 55 char *endp; in sysfs_is_cpu_online() local 83 value = strtoull(linebuf, &endp, 0); in sysfs_is_cpu_online() 211 char *endp; in sysfs_idlestate_get_one_value() local 222 value = strtoull(linebuf, &endp, 0); in sysfs_idlestate_get_one_value() 224 if (endp == linebuf || errno == ERANGE) in sysfs_idlestate_get_one_value()
|
/tools/perf/util/ |
D | machine.c | 832 char *endp; in machines__create_guest_kernel_maps() local 849 pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10); in machines__create_guest_kernel_maps() 850 if ((*endp != '\0') || in machines__create_guest_kernel_maps() 851 (endp == namelist[i]->d_name) || in machines__create_guest_kernel_maps()
|
D | evsel.c | 1705 static inline bool overflow(const void *endp, u16 max_size, const void *offset, in overflow() argument 1708 return size > max_size || offset + size > endp; in overflow() 1713 if (overflow(endp, (max_size), (offset), (size))) \ 1727 const void *endp = (void *)event + max_size; in perf_evsel__parse_sample() local
|