/linux/tools/lib/subcmd/ |
H A D | exec-cmd.c | 51 strlcpy(buf, pwd, sz); in get_pwd_cwd() 60 if (strlcpy(buf, path, sz) >= sz) in make_nonrelative_path()
|
/linux/tools/perf/ui/tui/ |
H A D | helpline.c | 27 strlcpy(ui_helpline__current, msg, sz); in tui_helpline__push()
|
/linux/tools/include/linux/ |
H A D | string.h | 27 extern size_t strlcpy(char *dest, const char *src, size_t size);
|
/linux/tools/perf/jvmti/ |
H A D | Build | 4 # For strlcpy
|
H A D | libjvmti.c | 161 strlcpy(result, file_name, max_length); in copy_class_filename()
|
/linux/tools/perf/ |
H A D | builtin-buildid-cache.c | 39 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid() 107 strlcpy(to_dir, to_subdir, to_dir_sz); in build_id_cache__kcore_existing() 124 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
|
H A D | builtin-daemon.c | 610 strlcpy(addr.sun_path, path, sizeof(addr.sun_path) - 1); in setup_server_socket() 881 strlcpy(addr.sun_path, path, sizeof(addr.sun_path) - 1); in setup_client_socket()
|
/linux/tools/include/nolibc/ |
H A D | dirent.h | 95 strlcpy(entry->d_name, ldir->d_name, sizeof(entry->d_name)); in readdir_r()
|
H A D | string.h | 222 size_t strlcpy(char *dst, const char *src, size_t size) in strlcpy() function
|
/linux/tools/perf/arch/x86/util/ |
H A D | event.c | 60 strlcpy(event->mmap.filename, kmap->name, PATH_MAX); in perf_event__synthesize_extra_kmaps_cb()
|
H A D | machine.c | 43 strlcpy(mi->maps[mi->cnt].name, name, KMAP_NAME_LEN); in add_extra_kernel_map()
|
/linux/tools/lib/ |
H A D | string.c | 86 * strlcpy - Copy a C-string into a sized buffer 96 * If libc has strlcpy() then that version will override this 103 size_t __weak strlcpy(char *dest, const char *src, size_t size) in strlcpy() function
|
/linux/tools/perf/tests/ |
H A D | symbols.c | 77 strlcpy(filename, dso_to_test, max_sz); in get_test_dso_filename()
|
H A D | hwmon_pmu.c | 167 strlcpy(str, test_event, sizeof(str)); in do_test()
|
H A D | dlfilter-test.c | 241 strlcpy(buf, dirname(path), sz); in get_dlfilters_path()
|
/linux/tools/perf/util/ |
H A D | hwmon_pmu.c | 169 strlcpy(fn_type, filename, sizeof(fn_type)); in parse_hwmon_filename() 205 strlcpy(fn_type, fn_item, fn_item_len - 5); in parse_hwmon_filename()
|
H A D | machine.c | 1055 strlcpy(kmap->name, xm->name, KMAP_NAME_LEN); in machine__create_extra_kernel_map() 1160 strlcpy(xm.name, ENTRY_TRAMPOLINE_NAME, KMAP_NAME_LEN); in machine__map_x86_64_entry_trampolines() 1759 strlcpy(xm.name, event->mmap2.filename, KMAP_NAME_LEN); in machine__process_mmap2_event() 1816 strlcpy(xm.name, event->mmap.filename, KMAP_NAME_LEN); in machine__process_mmap_event()
|
H A D | svghelper.c | 336 strlcpy(cpu_m, &buf[13], 255); in cpu_model()
|
H A D | probe-file.c | 443 strlcpy(sbuildid, target, SBUILD_ID_SIZE); in probe_cache__open()
|
H A D | symbol.c | 1916 strlcpy(name, new_name, PATH_MAX); in dso__load() 2099 strlcpy(dir, kallsyms_filename, dir_sz); in find_matching_kcore()
|
H A D | disasm.c | 1320 strlcpy(filename, new_name, filename_size); in dso__disassemble_filename() 2254 strlcpy(symfs_filename, kce.extract_filename, sizeof(symfs_filename)); in symbol__disassemble()
|
H A D | synthetic-events.c | 2017 strlcpy(ev->unit, evsel->unit, size + 1); in perf_event__synthesize_event_update_unit() 2051 strlcpy(ev->name, evsel->name, len + 1); in perf_event__synthesize_event_update_name()
|
/linux/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 1458 CASE_TEST(strlcpy_0); EXPECT_STRBUFEQ(is_nolibc, strlcpy(buf, "bar", 0), buf, 3, "test"); break; in run_stdlib() 1459 CASE_TEST(strlcpy_1); EXPECT_STRBUFEQ(is_nolibc, strlcpy(buf, "bar", 1), buf, 3, ""); break; in run_stdlib() 1460 CASE_TEST(strlcpy_2); EXPECT_STRBUFEQ(is_nolibc, strlcpy(buf, "bar", 2), buf, 3, "b"); break; in run_stdlib() 1461 CASE_TEST(strlcpy_3); EXPECT_STRBUFEQ(is_nolibc, strlcpy(buf, "bar", 3), buf, 3, "ba"); break; in run_stdlib() 1462 CASE_TEST(strlcpy_4); EXPECT_STRBUFEQ(is_nolibc, strlcpy(buf, "bar", 4), buf, 3, "bar"); break; in run_stdlib()
|
/linux/Documentation/translations/it_IT/process/ |
H A D | deprecated.rst | 165 strlcpy() 167 La funzione strlcpy(), per prima cosa, legge interamente il buffer di 172 ritorno di strlcpy(), dato che strscpy() ritorna un valore di errno
|
/linux/Documentation/translations/sp_SP/process/ |
H A D | deprecated.rst | 169 strlcpy() 171 strlcpy() primero lee por completo el buffer de origen (ya que el valor 177 strlcpy(), ya que strscpy() devolverá valores negativos de erno cuando se
|