Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/amd/amd/
H A Damfs_toplvl.c97 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 Dget_args.c82 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 Dinfo_union.c84 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 Dinfo_nisplus.c108 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 Dops_cachefs.c179 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 Damfs_host.c102 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 Dinfo_passwd.c174 xsnprintf(val, sizeof(val), "var0:=%s;var1:=%s;var2:=%s;var3:=%s;%s", in passwd_search()
H A Dinfo_hesiod.c105 xsnprintf(hes_key, sizeof(hes_key), "%s.%s", key, map + HES_PREFLEN); in hesiod_search()
H A Dops_lustre.c146 xsnprintf(xmtab, l, "%s:%s", fo->opt_rhost, fo->opt_rfs); in lustre_match()
H A Dmapc.c476 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 Dinfo_ldap.c383 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 Dops_nfs.c717 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 Dmk-amd-map.c304 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 Dwire.c111 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 Dmount_fs.c194 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 Dstrerror.c57 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum); in strerror()
H A Dxutil.c340 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 Dstrutil.c213 xsnprintf(char *str, size_t size, const char *format, ...) in _xsnprintf()
/freebsd-12.1/contrib/tcsh/
H A Dtc.os.c1239 (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 Dtw.color.c260 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 Dhomedir.c98 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 Dfsi_util.c75 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 Dfsinfo.c156 xsnprintf(iptr, sizeof(idvbuf), "-%c%s ", ch, optarg); in fsi_get_args()
/freebsd-12.1/contrib/amd/include/
H A Dam_utils.h344 #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 Dpawd.c121 xsnprintf(hesiod_lookup, sizeof(hesiod_lookup), in hack_name()

12