Home
last modified time | relevance | path

Searched refs:safestrcpy (Results 1 – 16 of 16) sorted by relevance

/dports/devel/sysfsutils/sysfsutils-2.1.0/lib/
H A Dsysfs_class.c109 safestrcpy(name, cdev->name); in set_classdev_classname()
112 safestrcpy(cdev->name, c+1); in set_classdev_classname()
114 safestrcpy(cdev->classname, name); in set_classdev_classname()
142 safestrcpy(cdev->classname, c+1); in set_classdev_classname()
181 safestrcpy(temp_path, path); in sysfs_open_class_device_path()
195 safestrcpy(cdev->path, temp_path); in sysfs_open_class_device_path()
430 safestrcpy(cls->name, name); in sysfs_open_class()
431 safestrcpy(cls->path, classpath); in sysfs_open_class()
466 safestrcpy(path, cls->path); in sysfs_get_class_device()
502 safestrcpy(path, cls->path); in add_cdevs_to_classlist()
[all …]
H A Dsysfs_bus.c97 safestrcpy(path, bus->path); in sysfs_get_bus_devices()
111 safestrcpy(devpath, path); in sysfs_get_bus_devices()
152 safestrcpy(path, bus->path); in sysfs_get_bus_drivers()
166 safestrcpy(drvpath, path); in sysfs_get_bus_drivers()
219 safestrcpy(bus->name, name); in sysfs_open_bus()
220 safestrcpy(bus->path, buspath); in sysfs_open_bus()
253 safestrcpy(devpath, bus->path); in sysfs_get_bus_device()
300 safestrcpy(drvpath, bus->path); in sysfs_get_bus_driver()
H A Dsysfs_utils.c91 safestrcpy(tmp, path); in sysfs_get_name_from_path()
132 safestrcpy(devdir, path); in sysfs_get_link()
149 safestrcpy(temp_path, devdir); in sysfs_get_link()
159 safestrcpy(temp_path, d); in sysfs_get_link()
188 safestrcpy(temp_path, devdir); in sysfs_get_link()
194 safestrcpy(temp_path, linkpath); in sysfs_get_link()
H A Dsysfs_module.c102 safestrcpy(mod->path, path); in sysfs_open_module_path()
147 safestrcpy(mod->name, name); in sysfs_open_module()
148 safestrcpy(mod->path, modpath); in sysfs_open_module()
204 safestrcpy(ppath, module->path); in sysfs_get_module_parms()
226 safestrcpy(ppath, module->path); in sysfs_get_module_sections()
H A Dsysfs_device.c188 safestrcpy(dev->path, path); in sysfs_open_device_path()
199 safestrcpy(dev->name, dev->bus_id); in sysfs_open_device_path()
206 safestrcpy(dev->driver_name, SYSFS_UNKNOWN); in sysfs_open_device_path()
211 safestrcpy(dev->subsystem, SYSFS_UNKNOWN); in sysfs_open_device_path()
388 safestrcpy(ppath, dev->path); in sysfs_get_device_parent()
H A Dsysfs_attr.c114 safestrcpy(sysattr->path, path); in sysfs_open_attribute()
406 safestrcpy(file_path, path); in read_dir_links()
478 safestrcpy(file_path, path); in sysfs_read_dir_subdirs()
515 safestrcpy(file_path, path); in read_dir_subdirs()
563 safestrcpy(file_path, path); in get_attributes_list()
600 safestrcpy(path, ((struct sysfs_device *)dev)->path); in get_dev_attributes_list()
612 safestrcpy(file_path, path); in get_dev_attributes_list()
H A Dsysfs_driver.c70 safestrcpy(drvpath, drv->path); in get_driver_bus()
82 safestrcpy(drv->bus, c); in get_driver_bus()
143 safestrcpy(driver->path, path); in sysfs_open_driver_path()
280 safestrcpy(path, drv->path); in sysfs_get_driver_module()
H A Dsysfs_dir.c149 safestrcpy(sysattr->path, path); in sysfs_open_attribute()
489 safestrcpy(sdir->path, path); in sysfs_open_directory()
513 safestrcpy(ln->path, linkpath); in sysfs_open_link()
628 safestrcpy(file_path, sysdir->path); in sysfs_read_dir_attributes()
667 safestrcpy(file_path, sysdir->path); in sysfs_read_dir_links()
709 safestrcpy(file_path, sysdir->path); in sysfs_read_dir_subdirs()
749 safestrcpy(file_path, sysdir->path); in sysfs_read_directory()
895 safestrcpy(new_path, dir->path); in sysfs_get_directory_attribute()
H A Dsysfs.h36 #define safestrcpy(to, from) strncpy(to, from, sizeof(to)-1) macro
/dports/lang/squeak/Squeak-4.10.2.2614-src/unix/plugins/LocalePlugin/
H A DsqUnixLocale.c65 static void safestrcpy(char *dst, const char *src) in safestrcpy() function
621 safestrcpy(str, localeConv->currency_symbol); in sqLocGetCurrencySymbolInto()
646 safestrcpy(str, localeConv->thousands_sep); in sqLocGetDigitGroupingSymbolInto()
654 safestrcpy(str, localeConv->decimal_point); in sqLocGetDecimalSymbolInto()
707 safestrcpy(str, nl_langinfo(D_FMT)); in sqLocGetLongDateFormatInto()
721 safestrcpy(str, nl_langinfo(D_FMT)); in sqLocGetShortDateFormatInto()
735 safestrcpy(str, nl_langinfo(T_FMT)); in sqLocGetTimeFormatInto()
750 safestrcpy(str, getCountry()); in sqLocGetCountryInto()
755 safestrcpy(str, getLanguage()); in sqLocGetLanguageInto()
/dports/devel/sysfsutils/sysfsutils-2.1.0/cmd/
H A Dsystool.c35 #define safestrcpy(to, from) strncpy(to, from, sizeof(to)-1) macro
264 safestrcpy(path, device->path); in show_device()
592 safestrcpy(subsys, sysfs_mnt_path); in show_default_info()
603 safestrcpy(subsys, sysfs_mnt_path); in show_default_info()
614 safestrcpy(subsys, sysfs_mnt_path); in show_default_info()
625 safestrcpy(subsys, sysfs_mnt_path); in show_default_info()
/dports/net/subnetcalc/subnetcalc-2.4.18/src/
H A Dtools.cc59 int safestrcpy(char* dest, const char* src, const size_t size) in safestrcpy() function
179 safestrcpy((char*)&ifnamebuffer, "(BAD!)", sizeof(ifnamebuffer)); in address2string()
199 safestrcpy(buffer, "(unspecified)", length); in address2string()
H A Dtools.h45 int safestrcpy(char* dest, const char* src, const size_t size);
/dports/math/R/R-4.1.2/src/library/grDevices/src/
H A DdevPS.c1319 static void safestrcpy(char *dest, const char *src, int maxlen) in safestrcpy() function
1352 safestrcpy(encoding->encpath, encpath, PATH_MAX); in addEncoding()
1931 safestrcpy(fontfamily->fxname, name, 50); in addCIDFont()
1935 safestrcpy(fontfamily->cmap, cmap, 50); in addCIDFont()
1943 safestrcpy(fontfamily->encoding, in addCIDFont()
1953 safestrcpy(fontfamily->cidfonts[i]->name, in addCIDFont()
2026 safestrcpy(fontfamily->fxname, name, 50); in addFont()
/dports/math/libRmath/R-4.1.1/src/library/grDevices/src/
H A DdevPS.c1319 static void safestrcpy(char *dest, const char *src, int maxlen) in safestrcpy() function
1352 safestrcpy(encoding->encpath, encpath, PATH_MAX); in addEncoding()
1931 safestrcpy(fontfamily->fxname, name, 50); in addCIDFont()
1935 safestrcpy(fontfamily->cmap, cmap, 50); in addCIDFont()
1943 safestrcpy(fontfamily->encoding, in addCIDFont()
1953 safestrcpy(fontfamily->cidfonts[i]->name, in addCIDFont()
2026 safestrcpy(fontfamily->fxname, name, 50); in addFont()
/dports/print/fontforge/fontforge-20201107/fontforge/
H A Dnamelist.c845 static void safestrcpy(char *to, const char *from) { in safestrcpy() function
870 safestrcpy(bits[i].start+len+diff,bits[i].end+diff); in DoReplacements()