Searched refs:strndup (Results 1 – 21 of 21) sorted by relevance
| /tools/lib/ |
| A D | argv_split.c | 86 t = strndup(p, str-p); in argv_split()
|
| /tools/perf/arch/loongarch/util/ |
| A D | header.c | 40 return strndup(line2, nl - line2); in _get_field()
|
| /tools/perf/arch/riscv/util/ |
| A D | header.c | 33 return strndup(line2, nl - line2); in _get_field()
|
| /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()
|
| /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 | 354 threads->map[i].comm = strndup(event->entries[i].comm, 16); in thread_map__copy_event()
|
| A D | parse-events.l | 74 yylval->str = strndup(&text[1], strlen(text) - 2); in quoted_str()
|
| A D | trace-event-info.c | 492 path->system = strndup(name, str - name); in tracepoint_name_to_path()
|
| A D | drm_pmu.c | 150 tmp[*num_events].name = strndup(line, colon - line); in add_event()
|
| A D | probe-event.c | 1719 arg->name = strndup(str, tmp - str); in parse_perf_probe_arg() 1757 arg->var = strndup(str, tmp - str); in parse_perf_probe_arg() 1795 (*fieldp)->name = strndup(str, tmp - str); in parse_perf_probe_arg() 1948 tp->module = strndup(argv[1], p - argv[1]); in parse_probe_trace_command() 3076 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 | 2331 caps->value = strndup(value, strlen(value) - 1); in perf_pmu__new_caps()
|
| A D | disasm.c | 992 tmp_raw_insn = strndup(name_raw_insn, 11); in disasm_line__parse_powerpc()
|
| A D | sort.c | 3138 str = strndup(str, pos - str); in __sort__hde_entry()
|
| /tools/lib/subcmd/ |
| A D | exec-cmd.c | 101 argv0_path = strndup(argv0, slash - argv0); in extract_argv0_path()
|
| /tools/include/nolibc/ |
| A D | string.h | 180 char *strndup(const char *str, size_t maxlen) in strndup() function
|
| /tools/iio/ |
| A D | iio_utils.c | 423 current->name = strndup(ent->d_name, in build_channel_array()
|
| /tools/objtool/ |
| A D | elf.c | 535 pname = strndup(sym->name, pnamelen); in read_symbols()
|
| /tools/testing/selftests/bpf/ |
| A D | veristat.c | 671 f->file_glob = strndup(str, p - str); in append_filter()
|
| /tools/lib/bpf/ |
| A D | libbpf.c | 4272 ext->essent_name = strndup(ext->name, ext_essent_len); in bpf_object__collect_externs()
|
Completed in 83 milliseconds