Home
last modified time | relevance | path

Searched refs:safestrcat (Results 1 – 13 of 13) sorted by relevance

/dports/devel/sysfsutils/sysfsutils-2.1.0/lib/
H A Dsysfs_bus.c98 safestrcat(path, "/"); in sysfs_get_bus_devices()
112 safestrcat(devpath, "/"); in sysfs_get_bus_devices()
153 safestrcat(path, "/"); in sysfs_get_bus_drivers()
206 safestrcat(buspath, "/"); in sysfs_open_bus()
208 safestrcat(buspath, "/"); in sysfs_open_bus()
209 safestrcat(buspath, name); in sysfs_open_bus()
254 safestrcat(devpath, "/"); in sysfs_get_bus_device()
256 safestrcat(devpath, "/"); in sysfs_get_bus_device()
257 safestrcat(devpath, id); in sysfs_get_bus_device()
301 safestrcat(drvpath, "/"); in sysfs_get_bus_driver()
[all …]
H A Dsysfs_module.c132 safestrcat(modpath, "/"); in sysfs_open_module()
133 safestrcat(modpath, SYSFS_MODULE_NAME); in sysfs_open_module()
134 safestrcat(modpath, "/"); in sysfs_open_module()
135 safestrcat(modpath, name); in sysfs_open_module()
205 safestrcat(ppath,"/"); in sysfs_get_module_parms()
206 safestrcat(ppath, SYSFS_MOD_PARM_NAME); in sysfs_get_module_parms()
227 safestrcat(ppath,"/"); in sysfs_get_module_sections()
228 safestrcat(ppath, SYSFS_MOD_SECT_NAME); in sysfs_get_module_sections()
H A Dsysfs_device.c314 safestrcat(bus_path, "/"); in get_device_absolute_path()
315 safestrcat(bus_path, SYSFS_BUS_NAME); in get_device_absolute_path()
316 safestrcat(bus_path, "/"); in get_device_absolute_path()
317 safestrcat(bus_path, bus); in get_device_absolute_path()
318 safestrcat(bus_path, "/"); in get_device_absolute_path()
319 safestrcat(bus_path, SYSFS_DEVICES_NAME); in get_device_absolute_path()
320 safestrcat(bus_path, "/"); in get_device_absolute_path()
321 safestrcat(bus_path, device); in get_device_absolute_path()
409 safestrcat(dpath, "/"); in sysfs_get_device_parent()
410 safestrcat(dpath, SYSFS_DEVICES_NAME); in sysfs_get_device_parent()
H A Dsysfs_class.c379 safestrcat(linkpath, "/device"); in sysfs_get_classdev_device()
408 safestrcat(classpath, "/"); in sysfs_open_class()
410 safestrcat(classpath, SYSFS_BLOCK_NAME); in sysfs_open_class()
416 safestrcat(classpath, SYSFS_CLASS_NAME); in sysfs_open_class()
417 safestrcat(classpath, "/"); in sysfs_open_class()
418 safestrcat(classpath, name); in sysfs_open_class()
467 safestrcat(path, "/"); in sysfs_get_class_device()
468 safestrcat(path, name); in sysfs_get_class_device()
503 safestrcat(path, "/"); in add_cdevs_to_classlist()
504 safestrcat(path, cdev_name); in add_cdevs_to_classlist()
H A Dsysfs_attr.c407 safestrcat(file_path, "/"); in read_dir_links()
408 safestrcat(file_path, dirent->d_name); in read_dir_links()
479 safestrcat(file_path, "/"); in sysfs_read_dir_subdirs()
480 safestrcat(file_path, dirent->d_name); in sysfs_read_dir_subdirs()
516 safestrcat(file_path, "/"); in read_dir_subdirs()
517 safestrcat(file_path, dirent->d_name); in read_dir_subdirs()
564 safestrcat(file_path, "/"); in get_attributes_list()
565 safestrcat(file_path, dirent->d_name); in get_attributes_list()
613 safestrcat(file_path, "/"); in get_dev_attributes_list()
614 safestrcat(file_path, dirent->d_name); in get_dev_attributes_list()
H A Dsysfs_dir.c629 safestrcat(file_path, "/"); in sysfs_read_dir_attributes()
630 safestrcat(file_path, dirent->d_name); in sysfs_read_dir_attributes()
668 safestrcat(file_path, "/"); in sysfs_read_dir_links()
669 safestrcat(file_path, dirent->d_name); in sysfs_read_dir_links()
710 safestrcat(file_path, "/"); in sysfs_read_dir_subdirs()
711 safestrcat(file_path, dirent->d_name); in sysfs_read_dir_subdirs()
750 safestrcat(file_path, "/"); in sysfs_read_directory()
751 safestrcat(file_path, dirent->d_name); in sysfs_read_directory()
896 safestrcat(new_path, "/"); in sysfs_get_directory_attribute()
897 safestrcat(new_path, attrname); in sysfs_get_directory_attribute()
H A Dsysfs_utils.c157 safestrcat(temp_path, d); in sysfs_get_link()
192 safestrcat(temp_path, linkpath); in sysfs_get_link()
H A Dsysfs_driver.c281 safestrcat(path, "/"); in sysfs_get_driver_module()
282 safestrcat(path, SYSFS_MODULE_NAME); in sysfs_get_driver_module()
H A Dsysfs.h37 #define safestrcat(to, from) strncat(to, from, sizeof(to) - strlen(to)-1) macro
/dports/devel/sysfsutils/sysfsutils-2.1.0/cmd/
H A Dsystool.c36 #define safestrcat(to, from) strncat(to, from, sizeof(to) - strlen(to)-1) macro
265 safestrcat(path, "/config"); in show_device()
593 safestrcat(subsys, "/"); in show_default_info()
594 safestrcat(subsys, SYSFS_BUS_NAME); in show_default_info()
604 safestrcat(subsys, "/"); in show_default_info()
605 safestrcat(subsys, SYSFS_CLASS_NAME); in show_default_info()
615 safestrcat(subsys, "/"); in show_default_info()
616 safestrcat(subsys, SYSFS_DEVICES_NAME); in show_default_info()
626 safestrcat(subsys, "/"); in show_default_info()
627 safestrcat(subsys, SYSFS_MODULE_NAME); in show_default_info()
/dports/net/subnetcalc/subnetcalc-2.4.18/src/
H A Dtools.h46 int safestrcat(char* dest, const char* src, const size_t size);
H A Dtools.cc69 int safestrcat(char* dest, const char* src, const size_t size) in safestrcat() function
/dports/print/py-psautohint/psautohint-2.0.0/libpsautohint/src/
H A Dwrite.c85 safestrcat(char* s1, char* s2) in safestrcat() function
94 #define sws(str) safestrcat(hintmaskstr, (char*)str)