Searched refs:end_ptr (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/resctrl/ |
D | fill_buf.c | 86 static int fill_one_span_read(unsigned char *start_ptr, unsigned char *end_ptr) in fill_one_span_read() argument 92 while (p < end_ptr) { in fill_one_span_read() 101 void fill_one_span_write(unsigned char *start_ptr, unsigned char *end_ptr) in fill_one_span_write() argument 106 while (p < end_ptr) { in fill_one_span_write() 112 static int fill_cache_read(unsigned char *start_ptr, unsigned char *end_ptr, in fill_cache_read() argument 119 ret = fill_one_span_read(start_ptr, end_ptr); in fill_cache_read() 136 static int fill_cache_write(unsigned char *start_ptr, unsigned char *end_ptr, in fill_cache_write() argument 140 fill_one_span_write(start_ptr, end_ptr); in fill_cache_write() 152 unsigned char *start_ptr, *end_ptr; in fill_cache() local 165 end_ptr = start_ptr + buf_size; in fill_cache() [all …]
|
/tools/perf/util/ |
D | thread_map.c | 189 char *end_ptr; in thread_map__new_by_pid_str() local 198 pid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_pid_str() 201 (*end_ptr != '\0' && *end_ptr != ',')) in thread_map__new_by_pid_str() 248 char *end_ptr; in thread_map__new_by_tid_str() local 262 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str() 265 (*end_ptr != '\0' && *end_ptr != ',')) in thread_map__new_by_tid_str()
|
/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 154 char *dash, *end_ptr; in build_memory_map() local 163 start_addr[range_count] = strtoull(line, &end_ptr, 16); in build_memory_map() 164 end_addr[range_count] = strtoull(end_ptr, NULL, 16); in build_memory_map()
|
/tools/perf/tests/ |
D | pmu-events.c | 695 char *end_ptr; in is_number() local 699 v = strtod(str, &end_ptr); in is_number() 701 return errno == 0 && end_ptr != str; in is_number()
|
/tools/testing/selftests/filesystems/fuse/ |
D | fuse_test.c | 2195 char *end_ptr; in parse_range() local 2198 start = strtol(range, &end_ptr, 10); in parse_range() 2199 if (*end_ptr != '-' || start <= 0 || start > tests) in parse_range() 2204 end = strtol(dash + 1, &end_ptr, 10); in parse_range() 2205 if (*end_ptr || end <= start || end > tests) in parse_range()
|
/tools/testing/selftests/filesystems/incfs/ |
D | incfs_test.c | 4854 char *end_ptr; in parse_range() local 4857 start = strtol(range, &end_ptr, 10); in parse_range() 4858 if (*end_ptr != '-' || start <= 0 || start > tests) in parse_range() 4863 end = strtol(dash + 1, &end_ptr, 10); in parse_range() 4864 if (*end_ptr || end <= start || end > tests) in parse_range()
|