/third_party/alsa-utils/alsactl/ |
D | init_sysfs.c | 41 strlcpy(sysfs_path, env, sizeof(sysfs_path)); in sysfs_init() 44 strlcpy(sysfs_path, "/sys", sizeof(sysfs_path)); in sysfs_init() 47 strlcpy(sysfs_test, sysfs_path, sizeof(sysfs_test)); in sysfs_init() 50 strlcpy(sysfs_test, sysfs_path, sizeof(sysfs_test)); in sysfs_init() 85 sysfs_len = strlcpy(path_full, sysfs_path, sizeof(path_full)); in sysfs_attr_get_value() 105 strlcpy(attr->path, path, sizeof(attr->path)); in sysfs_attr_get_value() 126 strlcpy(attr->value_local, &pos[1], sizeof(attr->value_local)); in sysfs_attr_get_value() 158 strlcpy(attr->value_local, value, sizeof(attr->value_local)); in sysfs_attr_get_value()
|
D | init_parse.c | 956 strlcpy(res, attr, ressize); in get_key_attribute() 1049 strlcpy(temp, head+2, sizeof(temp)); in apply_format() 1050 strlcpy(head+1, temp, maxsize); in apply_format() 1068 strlcpy(temp, head+2, sizeof(temp)); in apply_format() 1069 strlcpy(head+1, temp, maxsize); in apply_format() 1090 strlcpy(temp, tail, sizeof(temp)); in apply_format() 1136 strlcpy(temp2, cpos, sizeof(temp2)); in apply_format() 1166 size = strlcpy(temp2, value, sizeof(temp2)); in apply_format() 1257 strlcpy(result, res, ressize); in run_program1() 1329 strlcpy(result, value, sizeof(result)); in parse_line() [all …]
|
D | init_utils_run.c | 46 strlcpy(arg, command0, sizeof(arg)); in run_program0() 87 strlcpy(program, "/lib/alsa/", sizeof(program)); in run_program0()
|
D | init_sysdeps.c | 21 static size_t strlcpy(char *dst, const char *src, size_t size) in strlcpy() function
|
/third_party/cups-filters/cupsfilters/ |
D | ppdgenerator.c | 176 strlcpy(char *dst, /* O - Destination string */ in strlcpy() function 270 strlcpy(buf, temp, (size_t)(bufend - buf + 1)); in _cupsStrFormatd() 938 strlcpy(ptr + 1, start, strlen(start) + 1); in load_opt_strings_catalog() 942 strlcpy(human_readable, start, strlen(start) + 1); in load_opt_strings_catalog() 1278 strlcpy(ppdname, psname, PPD_MAX_NAME); in generate_sizes() 1280 strlcpy(ppdname, "Unknown", PPD_MAX_NAME); in generate_sizes() 1282 strlcpy(ppdname, "Unknown", PPD_MAX_NAME); in generate_sizes() 1289 strlcpy(ppdname, psname, PPD_MAX_NAME); in generate_sizes() 1291 strlcpy(ppdname, "Unknown", PPD_MAX_NAME); in generate_sizes() 1346 strlcpy(temp.media, psname, sizeof(temp.media)); in generate_sizes() [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | string.c | 83 TEST(i, strlcpy(b, "abc", sizeof b - 1), 3, "length %d != %d"); in main() 88 TEST(i, strlcpy(b, "abc", 2), 3, "length %d != %d"); in main() 93 TEST(i, strlcpy(b, "abc", 3), 3, "length %d != %d"); in main() 96 TEST(i, strlcpy(NULL, "abc", 0), 3, "length %d != %d"); in main()
|
/third_party/mksh/ |
D | strlcpy.c | 28 #undef strlcpy 30 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
|
D | BUILD.gn | 46 "strlcpy.c", 160 "strlcpy.c",
|
/third_party/cups-filters/filter/foomatic-rip/ |
D | postscript.c | 680 strlcpy(optionname, p, 128); in _print_ps() 683 strlcpy(value, p, 128); in _print_ps() 690 strlcpy(optionname, p, 128); in _print_ps() 698 strlcpy(value, p, 128); in _print_ps() 799 strlcpy(value, tmp->data, 128); in _print_ps() 806 strlcpy(value, option_get_value(o, optset), 128); in _print_ps() 822 strlcpy(value, tmp->data, 128); in _print_ps() 860 strlcpy(value, tmp->data, 128); in _print_ps()
|
D | foomaticrip.c | 194 strlcpy(cupsfilterpath, value, PATH_MAX); in config_set_option() 196 strlcpy(modern_shell, value, 32); in config_set_option() 198 strlcpy(gspath, value, PATH_MAX); in config_set_option() 200 strlcpy(echopath, value, PATH_MAX); in config_set_option() 329 strlcpy(colorprofile, value, 128); in process_cmdline_options() 770 strlcpy(job->user, passwd->pw_name, 128); in create_job() 1034 strlcpy(cupsfilter, tmp, 256); in main() 1060 strlcpy(gstoraster, tmp, 256); in main()
|
D | spooler.c | 179 strlcpy(configfile, user_default_path, 1024); in find_default_printer() 183 strlcpy(configfile, user_default_path, 1024); in find_default_printer() 201 strlcpy(user_default_path, getenv("HOME"), 256); in init_direct()
|
D | util.c | 169 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() function 322 strlcpy(filepath, path, PATH_MAX); in find_in_path() 328 strlcpy(found_in, path, PATH_MAX); in find_in_path() 362 strlcpy(tmp, path, len); in make_absolute_path() 366 strlcpy(path, cwd, len); in make_absolute_path()
|
/third_party/lwip/src/netif/ppp/ |
D | auth.c | 464 strlcpy(ppp_settings.user, u, sizeof(ppp_settings.user)); 468 strlcpy(ppp_settings.passwd, p, sizeof(ppp_settings.passwd)); 1378 strlcpy(our_name, hostname, sizeof(our_name)); in auth_check_options() 1382 strlcpy(ppp_settings.user, our_name, sizeof(ppp_settings.user)); in auth_check_options() 1764 strlcpy(passwd, secret, MAXSECRETLEN); 1933 strlcpy(secbuf, ppp_settings.passwd, sizeof(secbuf)); in get_secret() 2000 strlcpy(secret, ppp_settings.passwd, MAXWORDLEN); 2409 strlcpy(atfile, word+1, sizeof(atfile)); 2422 strlcpy(lsecret, word, sizeof(lsecret)); 2451 strlcpy(secret, lsecret, MAXWORDLEN);
|
/third_party/mesa3d/src/util/ |
D | os_misc.c | 181 p += strlcpy(p, "mesa.", end - p); in os_get_android_option() 182 p += strlcpy(p, name, end - p); in os_get_android_option()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | string.h | 40 extern size_t strlcpy(char *dest, const char *src, size_t size);
|
/third_party/musl/porting/liteos_a/kernel/src/string/ |
D | strlcat.c | 8 return l + strlcpy(d+l, s, n-l); in strlcat()
|
D | strlcpy.c | 11 size_t strlcpy(char *d, const char *s, size_t n) in strlcpy() function
|
/third_party/musl/src/string/ |
D | strlcat.c | 8 return l + strlcpy(d+l, s, n-l); in strlcat()
|
D | strlcpy.c | 11 size_t strlcpy(char *d, const char *s, size_t n) in strlcpy() function
|
/third_party/selinux/libselinux/src/ |
D | selinux_internal.c | 7 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() function
|
D | canonicalize_context.c | 36 if (strlcpy(buf, con, size) >= size) { in security_canonicalize_context_raw()
|
D | selinux_internal.h | 102 size_t strlcpy(char *dest, const char *src, size_t size);
|
/third_party/musl/porting/linux/user/include/fortify/ |
D | string.h | 140 size_t strlcpy(char *const dest __DIAGNOSE_PASS_OBJECT_SIZE, const char *src, size_t size) in strlcpy() function 148 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(strlcpy)(dest, src, size); in strlcpy()
|
/third_party/musl/include/fortify/linux/ |
D | string.h | 140 size_t strlcpy(char *const dest __DIAGNOSE_PASS_OBJECT_SIZE, const char *src, size_t size) in strlcpy() function 148 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(strlcpy)(dest, src, size); in strlcpy()
|
/third_party/musl/porting/liteos_m/user/include/ |
D | string.h | 84 size_t strlcpy (char *, const char *, size_t);
|