Searched refs:strndup (Results 1 - 19 of 19) sorted by relevance
/linux-master/tools/lib/ |
H A D | argv_split.c | 86 t = strndup(p, str-p);
|
/linux-master/tools/perf/arch/riscv/util/ |
H A D | header.c | 33 return strndup(line2, nl - line2);
|
/linux-master/scripts/kconfig/ |
H A D | util.c | 148 p = strndup(s, n);
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | proc.c | 47 ret->header_name = strndup(type, len); 49 test_error("strndup()"); 102 nc->name = strndup(pos, new_pos - pos); 104 test_error("strndup()");
|
/linux-master/tools/perf/util/ |
H A D | cgroup.c | 274 s = strndup(str, e - str); 326 s = strndup(str, e - str); 381 s = strndup(str, e - str);
|
H A D | strfilter.c | 138 cur->r->p = strndup(s, e - s);
|
H A D | thread_map.c | 380 threads->map[i].comm = strndup(event->entries[i].comm, 16);
|
H A D | parse-events.l | 60 yylval->str = strndup(&text[1], strlen(text) - 2);
|
H A D | trace-event-info.c | 492 path->system = strndup(name, str - name);
|
H A D | probe-event.c | 1678 arg->name = strndup(str, tmp - str); 1716 arg->var = strndup(str, tmp - str); 1754 (*fieldp)->name = strndup(str, tmp - str); 1907 tp->module = strndup(argv[1], p - argv[1]); 3005 buf = strndup(norm, ver - norm);
|
H A D | srcline.c | 855 strndup(sym->name, sym->namelen) : SRCLINE_UNKNOWN;
|
H A D | pmu.c | 1865 caps->value = strndup(value, strlen(value) - 1);
|
H A D | sort.c | 2877 str = strndup(str, pos - str);
|
/linux-master/tools/lib/subcmd/ |
H A D | exec-cmd.c | 101 argv0_path = strndup(argv0, slash - argv0);
|
/linux-master/tools/include/nolibc/ |
H A D | string.h | 172 char *strndup(const char *str, size_t maxlen) function
|
/linux-master/tools/iio/ |
H A D | iio_utils.c | 423 current->name = strndup(ent->d_name,
|
/linux-master/tools/objtool/ |
H A D | elf.c | 532 pname = strndup(sym->name, pnamelen);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | veristat.c | 580 f->file_glob = strndup(str, p - str);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 4160 ext->essent_name = strndup(ext->name, ext_essent_len);
|
Completed in 282 milliseconds