| /freebsd-12.1/contrib/amd/amd/ |
| H A D | amfs_toplvl.c | 97 xsnprintf(preopts, l, ",%s", MNTTAB_OPT_NOAC); in set_auto_attrcache_timeout() 109 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTIMEO, gopt.auto_attrcache); in set_auto_attrcache_timeout() 113 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMIN, gopt.auto_attrcache); in set_auto_attrcache_timeout() 117 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMAX, gopt.auto_attrcache); in set_auto_attrcache_timeout() 121 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMIN, gopt.auto_attrcache); in set_auto_attrcache_timeout() 125 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMAX, gopt.auto_attrcache); in set_auto_attrcache_timeout() 208 xsnprintf(opts, sizeof(opts), "%s%s,%s=%d,%s,map=%s", in amfs_toplvl_mount() 216 xsnprintf(toplvl_opts, sizeof(toplvl_opts), ",%s=%d", in amfs_toplvl_mount() 221 xsnprintf(toplvl_opts, sizeof(toplvl_opts), ",%s=%d", in amfs_toplvl_mount()
|
| H A D | get_args.c | 82 xsnprintf(vers, len, "%s\n%s\n%s\n%s\n", in get_version_string() 87 xsnprintf(tmpbuf, sizeof(tmpbuf), "%s version %s (build %d).\n", in get_version_string() 90 xsnprintf(tmpbuf, sizeof(tmpbuf), "Report bugs to %s.\n", PACKAGE_BUGREPORT); in get_version_string() 99 xsnprintf(tmpbuf, sizeof(tmpbuf), "Configured by %s@%s on date %s.\n", in get_version_string() 102 xsnprintf(tmpbuf, sizeof(tmpbuf), "Built by %s@%s on date %s.\n", in get_version_string() 106 xsnprintf(tmpbuf, sizeof(tmpbuf), "cpu=%s (%s-endian), arch=%s, karch=%s.\n", in get_version_string() 109 xsnprintf(tmpbuf, sizeof(tmpbuf), "full_os=%s, os=%s, osver=%s, vendor=%s, distro=%s.\n", in get_version_string() 112 xsnprintf(tmpbuf, sizeof(tmpbuf), "domain=%s, host=%s, hostd=%s.\n", in get_version_string() 333 xsnprintf(buf, sizeof(buf), "Amd configuration file (%s)", in get_args()
|
| H A D | info_union.c | 84 xsnprintf(*pval, l, "fs:=%s", *p); in union_search() 125 xsnprintf(val, l, "%s%s", fseq, *dir); in union_reload() 138 xsnprintf(val, l, "%s%s", fseq, *(dir-1)); in union_reload()
|
| H A D | info_nisplus.c | 108 xsnprintf(map_name, l, "%s%s", map, org); in nisplus_reload() 185 xsnprintf(index, l, "[%s%s],%s%s", NISPLUS_KEY, key, map, org); in nisplus_search() 280 xsnprintf(map_name, l, "%s%s", map, org); in nisplus_init()
|
| H A D | ops_cachefs.c | 179 xsnprintf(ca.cfs_cacheid, sizeof(ca.cfs_cacheid), in mount_cachefs() 251 xsnprintf(cmd, sizeof(cmd), "fsck -F cachefs %s", cachedir); in cachefs_umount()
|
| H A D | amfs_host.c | 102 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir); in make_mntpt() 108 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]); in make_mntpt() 110 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir); in make_mntpt()
|
| H A D | info_passwd.c | 174 xsnprintf(val, sizeof(val), "var0:=%s;var1:=%s;var2:=%s;var3:=%s;%s", in passwd_search()
|
| H A D | info_hesiod.c | 105 xsnprintf(hes_key, sizeof(hes_key), "%s.%s", key, map + HES_PREFLEN); in hesiod_search()
|
| H A D | ops_lustre.c | 146 xsnprintf(xmtab, l, "%s:%s", fo->opt_rhost, fo->opt_rfs); in lustre_match()
|
| H A D | mapc.c | 476 xsnprintf(pattern, sizeof(pattern), "^%s$", key); in mapc_add_kv() 1113 xsnprintf(str, sizeof(str), in root_newmap() 1134 xsnprintf(str, sizeof(str), in root_newmap()
|
| H A D | info_ldap.c | 383 xsnprintf(filter, sizeof(filter), AMD_LDAP_TSFILTER, map); in get_ldap_timestamp() 488 xsnprintf(filter, sizeof(filter), AMD_LDAP_FILTER, map, key); in amu_ldap_search()
|
| H A D | ops_nfs.c | 717 xsnprintf(xmtab, l, "%s:%s", fo->opt_rhost, fo->opt_rfs); in nfs_match() 833 xsnprintf(transp_timeo_opts, sizeof(transp_timeo_opts), "%s=%d,", in mount_nfs_fh() 836 xsnprintf(transp_retrans_opts, sizeof(transp_retrans_opts), "%s=%d,", in mount_nfs_fh()
|
| /freebsd-12.1/contrib/amd/mk-amd-map/ |
| H A D | mk-amd-map.c | 304 xsnprintf(maptdb, sizeof(maptdb), "%s.db", maptmp); in main() 311 xsnprintf(maptpag, sizeof(maptpag), "%s.pag", maptmp); in main() 312 xsnprintf(maptdir, sizeof(maptdir), "%s.dir", maptmp); in main() 348 xsnprintf(map_name_db, l, "%s.db", mapsrc); in main() 358 xsnprintf(map_name_pag, l, "%s.pag", mapsrc); in main() 359 xsnprintf(map_name_dir, l, "%s.dir", mapsrc); in main()
|
| /freebsd-12.1/contrib/amd/libamu/ |
| H A D | wire.c | 111 xsnprintf(buf, buf_size, in print_wires() 118 xsnprintf(s, sizeof(s), "Network %d: wire=\"%s\" (netnumber=%s).\n", in print_wires() 210 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu", C(subnet >> 24)); in getwire_lookup() 212 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu", in getwire_lookup() 215 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu.%lu", in getwire_lookup() 219 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu.%lu.%lu", in getwire_lookup() 262 xsnprintf(buf, l, "%ld.%ld.%ld.%ld", in inet_dquad()
|
| H A D | mount_fs.c | 194 xsnprintf(optsbuf, sizeof(optsbuf), in addvers() 289 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%04lx", in mount_fs() 292 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%08lx", in mount_fs() 316 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%s", MNTTAB_OPT_PROTO, nfs_proto); in mount_fs() 341 xsnprintf(str, l, "%ld", time((time_t *) NULL)); in mount_fs() 703 xsnprintf(str, sizeof(str), "%04x", ntohs(arr[i])); in get_hex_string() 1160 xsnprintf(buf, sizeof(buf), ",clientaddr=%s,addr=%s", nap->client_addr.data, in add_nfs4_mntopts() 1203 xsnprintf(num, sizeof(num), "*%d*", nap->auth_flavours[i]); in print_nfs4_security()
|
| H A D | strerror.c | 57 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum); in strerror()
|
| H A D | xutil.c | 340 xsnprintf(nsecs, sizeof(nsecs), ".%09ld", ts.tv_nsec); in show_time_host_and_name() 591 xsnprintf(last_msg, sizeof(last_msg), in real_plog() 603 xsnprintf(last_msg, sizeof(last_msg), in real_plog()
|
| H A D | strutil.c | 213 xsnprintf(char *str, size_t size, const char *format, ...) in _xsnprintf()
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | tc.os.c | 1239 (void) xsnprintf(pathname, pathlen, CGETS(23, 24, in xgetcwd() 1246 (void) xsnprintf(pathname, pathlen, CGETS(23, 19, in xgetcwd() 1251 (void) xsnprintf(pathname, pathlen, CGETS(23, 20, in xgetcwd() 1257 (void) xsnprintf(pathname, pathlen, in xgetcwd() 1263 (void) xsnprintf(pathname, pathlen, in xgetcwd() 1283 (void) xsnprintf(pathname, MAXPATHLEN, CGETS(23, 22, in xgetcwd() 1314 (void) xsnprintf(pathname, pathlen, CGETS(23, 23, in xgetcwd() 1326 (void) xsnprintf(pathname, pathlen, CGETS(23, 24, in xgetcwd() 1346 (void) xsnprintf(pathname, pathlen, CGETS(23, 25, in xgetcwd() 1352 (void) xsnprintf(pathname, pathlen, CGETS(23, 26, in xgetcwd() [all …]
|
| H A D | tw.color.c | 260 l = xsnprintf(*c, 12, "%.2d;%.2d;%.2d;%.2d", ANSI_BOLD_ON, in makecolor() 262 l = xsnprintf(*c, 6, "%.2d;%.2d", in makecolor()
|
| /freebsd-12.1/contrib/amd/hlfsd/ |
| H A D | homedir.c | 98 xsnprintf(linkval, sizeof(linkval), "%s/%s", root_home, home_subdir); in homedir() 100 xsnprintf(linkval, sizeof(linkval), "%s/%s", homename, home_subdir); in homedir() 227 xsnprintf(buf, sizeof(buf), "%s/._hlfstmp_%lu", path, (long) getpid()); in hlfsd_diskspace() 396 xsnprintf(mboxfile, sizeof(mboxfile), 399 xsnprintf(mboxfile, sizeof(mboxfile),
|
| /freebsd-12.1/contrib/amd/fsinfo/ |
| H A D | fsi_util.c | 75 xsnprintf(n, sizeof(n), "%d", total_shown); in show_total() 274 xsnprintf(p, sizeof(p), "%s%s", pref, hn); in pref_open() 301 xsnprintf(buf, l, "%s/%s%s", autodir, hp->h_lochost, vn); in compute_automount_point()
|
| H A D | fsinfo.c | 156 xsnprintf(iptr, sizeof(idvbuf), "-%c%s ", ch, optarg); in fsi_get_args()
|
| /freebsd-12.1/contrib/amd/include/ |
| H A D | am_utils.h | 344 #define xsnprintf(str,size,fmt,...) _xsnprintf(__FILE__,__LINE__,(str),(size),(fmt),__VA_ARGS__) macro 347 #define xsnprintf(str,size,fmt,args...) _xsnprintf(__FILE__,__LINE__,(str),(size),(fmt),args) macro 353 extern int xsnprintf(char *str, size_t size, const char *format, ...);
|
| /freebsd-12.1/contrib/amd/amq/ |
| H A D | pawd.c | 121 xsnprintf(hesiod_lookup, sizeof(hesiod_lookup), in hack_name()
|