/dports/devel/sysfsutils/sysfsutils-2.1.0/lib/ |
H A D | sysfs_class.c | 109 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 D | sysfs_bus.c | 97 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 D | sysfs_utils.c | 91 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 D | sysfs_module.c | 102 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 D | sysfs_device.c | 188 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 D | sysfs_attr.c | 114 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 D | sysfs_driver.c | 70 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 D | sysfs_dir.c | 149 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 D | sysfs.h | 36 #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 D | sqUnixLocale.c | 65 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 D | systool.c | 35 #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 D | tools.cc | 59 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 D | tools.h | 45 int safestrcpy(char* dest, const char* src, const size_t size);
|
/dports/math/R/R-4.1.2/src/library/grDevices/src/ |
H A D | devPS.c | 1319 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 D | devPS.c | 1319 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 D | namelist.c | 845 static void safestrcpy(char *to, const char *from) { in safestrcpy() function 870 safestrcpy(bits[i].start+len+diff,bits[i].end+diff); in DoReplacements()
|