Home
last modified time | relevance | path

Searched refs:strscpy (Results 1 – 25 of 25) sorted by relevance

/third_party/eudev/src/udev/
Dudev-builtin.c103 strscpy(name, sizeof(name), command); in udev_builtin_lookup()
120 strscpy(arg, sizeof(arg), command); in udev_builtin_run()
Dudev-event.c266 strscpy(result, sizeof(result), event->program_result); in udev_event_apply_format()
280 strscpy(tmp, sizeof(tmp), cpos); in udev_event_apply_format()
321 strscpy(vbuf, sizeof(vbuf), value); in udev_event_apply_format()
720 strscpy(arg, sizeof(arg), cmd); in udev_event_spawn()
823 strscpy(ifr.ifr_name, IFNAMSIZ, oldname); in rename_netif_dev_fromname_toname()
824 strscpy(ifr.ifr_newname, IFNAMSIZ, name); in rename_netif_dev_fromname_toname()
952 strscpy(newifname, IFNAMSIZ, udev_device_get_sysname(dev));
Dudev-node.c60 l = strscpy(s, l, &node[tail]); in node_symlink()
137 strscpy(buf, bufsize, udev_device_get_devnode(dev)); in link_find_prioritized()
170 strscpy(buf, bufsize, devnode); in link_find_prioritized()
Dudev-builtin-btrfs.c47 strscpy(args.name, sizeof(args.name), argv[2]); in builtin_btrfs()
Dudevadm-test-builtin.c95 strscpy(filename, sizeof(filename), syspath); in adm_builtin()
Dudev-builtin-usb_id.c111 strscpy(to, len, type); in set_usb_mass_storage_ifsubtype()
142 strscpy(to, len, type); in set_scsi_type()
Dudevadm-test.c120 strscpy(filename, sizeof(filename), syspath); in adm_test()
Dudev-ctrl.c102strscpy(uctrl->saddr.un.sun_path, sizeof(uctrl->saddr.un.sun_path), UDEV_ROOT_RUN "/udev/control"); in udev_ctrl_new_from_fd()
270 strscpy(ctrl_msg_wire.buf, sizeof(ctrl_msg_wire.buf), buf); in ctrl_send()
Dudevadm-trigger.c65 strscpy(buf, size,str); in keyval()
Dudevadm-monitor.c124 strscpy(subsys, sizeof(subsys), optarg); in adm_monitor()
Dudevadm-info.c373 strscpy(name, sizeof(name), optarg); in uinfo()
Dudev-rules.c732 strscpy(dirname, sizeof(dirname), attr); in attr_subst_subdir()
1814 strscpy(value, sizeof(value), rules_str(rules, token->key.value_off)); in match_key()
1880 strscpy(vbuf, sizeof(vbuf), value); in match_attr()
2108 strscpy(tmp, sizeof(tmp), filename); in udev_rules_apply_to_event()
2808 strscpy(name_str,UTIL_PATH_SIZE,name); in udev_rules_assigning_name_to()
Dudev-builtin-net_id.c310 strscpy(name, sizeof(name), udev_device_get_sysname(usbdev)); in names_usb()
/third_party/eudev/src/libudev/
Dlibudev-util.c64 strscpy(temp, sizeof(temp), string); in util_resolve_subsys_kernel()
96 strscpy(result, maxsize, val); in util_resolve_subsys_kernel()
130 return strscpy(value, size, pos); in util_get_sys_core_link_value()
Dlibudev-device.c401 strscpy(name, sizeof(name), property); in udev_device_add_property_from_string()
504 strscpy(devlinks, sizeof(devlinks), &property[9]); in udev_device_add_property_from_string_parse()
519 strscpy(tags, sizeof(tags), &property[5]); in udev_device_add_property_from_string_parse()
793 strscpy(path, sizeof(path), syspath); in udev_device_new_from_syspath()
926 strscpy(subsys, sizeof(subsys), &id[1]); in udev_device_new_from_device_id()
987 strscpy(subsys, sizeof(subsys), sysname); in udev_device_new_from_subsystem_sysname()
1065 strscpy(path, sizeof(path), udev_device->syspath); in device_new_from_parent()
/third_party/eudev/src/scsi_id/
Dscsi_id.c104 strscpy(to, len, type); in set_type()
348 strscpy(maj_min_dev, MAX_PATH_LEN, optarg); in set_options()
352 strscpy(config_file, MAX_PATH_LEN, optarg); in set_options()
411 strscpy(maj_min_dev, MAX_PATH_LEN, argv[optind]); in set_options()
/third_party/eudev/src/shared/
Dstrxcpyx.h30 size_t strscpy(char *dest, size_t size, const char *src);
Dstrxcpyx.c78 size_t strscpy(char *dest, size_t size, const char *src) { in strscpy() function
/third_party/libuv/test/
Dtest-strscpy.c28 TEST_IMPL(strscpy) { in TEST_IMPL() argument
Dtest-list.h417 TEST_DECLARE (strscpy)
1067 TEST_ENTRY (strscpy)
/third_party/grpc/third_party/
Dlibuv.BUILD47 "src/strscpy.c",
48 "src/strscpy.h",
/third_party/libuv/
DMakefile.am39 src/strscpy.c \
40 src/strscpy.h \
252 test/test-strscpy.c \
DBUILD.gn84 "src/strscpy.c",
138 "src/strscpy.c",
DCMakeLists.txt127 src/strscpy.c
559 test/test-strscpy.c
DChangeLog1479 * unix: harden string copying, introduce strscpy() (Ben Noordhuis)