Searched refs:strndup (Results 1 – 21 of 21) sorted by relevance
| /linux/scripts/include/ |
| A D | xalloc.h | 46 char *p = strndup(s, n); in xstrndup()
|
| /linux/tools/lib/ |
| A D | argv_split.c | 86 t = strndup(p, str-p); in argv_split()
|
| /linux/tools/perf/arch/loongarch/util/ |
| A D | header.c | 40 return strndup(line2, nl - line2); in _get_field()
|
| /linux/tools/perf/arch/riscv/util/ |
| A D | header.c | 33 return strndup(line2, nl - line2); in _get_field()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| A D | proc.c | 47 ret->header_name = strndup(type, len); in lookup_get() 102 nc->name = strndup(pos, new_pos - pos); in netstat_read_type()
|
| /linux/tools/perf/util/ |
| A D | cgroup.c | 274 s = strndup(str, e - str); in list_cgroups() 326 s = strndup(str, e - str); in match_cgroups() 381 s = strndup(str, e - str); in parse_cgroups()
|
| A D | strfilter.c | 138 cur->r->p = strndup(s, e - s); in strfilter_node__new()
|
| A D | thread_map.c | 380 threads->map[i].comm = strndup(event->entries[i].comm, 16); in thread_map__copy_event()
|
| A D | parse-events.l | 68 yylval->str = strndup(&text[1], strlen(text) - 2); in str()
|
| A D | trace-event-info.c | 492 path->system = strndup(name, str - name); in tracepoint_name_to_path()
|
| A D | probe-event.c | 1678 arg->name = strndup(str, tmp - str); in parse_perf_probe_arg() 1716 arg->var = strndup(str, tmp - str); in parse_perf_probe_arg() 1754 (*fieldp)->name = strndup(str, tmp - str); in parse_perf_probe_arg() 1907 tp->module = strndup(argv[1], p - argv[1]); in parse_probe_trace_command() 3005 buf = strndup(norm, ver - norm); in find_probe_functions()
|
| A D | srcline.c | 914 strndup(sym->name, sym->namelen) : SRCLINE_UNKNOWN; in __get_srcline()
|
| A D | pmu.c | 2037 caps->value = strndup(value, strlen(value) - 1); in perf_pmu__new_caps()
|
| A D | disasm.c | 990 tmp_raw_insn = strndup(name_raw_insn, 11); in disasm_line__parse_powerpc()
|
| A D | sort.c | 2938 str = strndup(str, pos - str); in __sort__hde_entry()
|
| /linux/tools/lib/subcmd/ |
| A D | exec-cmd.c | 101 argv0_path = strndup(argv0, slash - argv0); in extract_argv0_path()
|
| /linux/tools/include/nolibc/ |
| A D | string.h | 173 char *strndup(const char *str, size_t maxlen) in strndup() function
|
| /linux/tools/iio/ |
| A D | iio_utils.c | 423 current->name = strndup(ent->d_name, in build_channel_array()
|
| /linux/tools/objtool/ |
| A D | elf.c | 532 pname = strndup(sym->name, pnamelen); in read_symbols()
|
| /linux/tools/testing/selftests/bpf/ |
| A D | veristat.c | 581 f->file_glob = strndup(str, p - str); in append_filter()
|
| /linux/tools/lib/bpf/ |
| A D | libbpf.c | 4231 ext->essent_name = strndup(ext->name, ext_essent_len); in bpf_object__collect_externs()
|
Completed in 82 milliseconds