Home
last modified time | relevance | path

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

12

/NextBSD/contrib/amd/amd/
HDamfs_toplvl.c101 xsnprintf(preopts, l, ",%s", MNTTAB_OPT_NOAC); in set_auto_attrcache_timeout()
113 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTIMEO, gopt.auto_attrcache); in set_auto_attrcache_timeout()
117 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMIN, gopt.auto_attrcache); in set_auto_attrcache_timeout()
121 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMAX, gopt.auto_attrcache); in set_auto_attrcache_timeout()
125 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMIN, gopt.auto_attrcache); in set_auto_attrcache_timeout()
129 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMAX, gopt.auto_attrcache); in set_auto_attrcache_timeout()
212 xsnprintf(opts, sizeof(opts), "%s%s,%s=%d,%s,map=%s", in amfs_toplvl_mount()
220 xsnprintf(toplvl_opts, sizeof(toplvl_opts), ",%s=%d", in amfs_toplvl_mount()
225 xsnprintf(toplvl_opts, sizeof(toplvl_opts), ",%s=%d", in amfs_toplvl_mount()
HDget_args.c86 xsnprintf(vers, len, "%s\n%s\n%s\n%s\n", in get_version_string()
91 xsnprintf(tmpbuf, sizeof(tmpbuf), "%s version %s (build %d).\n", in get_version_string()
94 xsnprintf(tmpbuf, sizeof(tmpbuf), "Report bugs to %s.\n", PACKAGE_BUGREPORT); in get_version_string()
96 xsnprintf(tmpbuf, sizeof(tmpbuf), "cpu=%s (%s-endian), arch=%s, karch=%s.\n", in get_version_string()
99 xsnprintf(tmpbuf, sizeof(tmpbuf), "full_os=%s, os=%s, osver=%s, vendor=%s, distro=%s.\n", in get_version_string()
102 xsnprintf(tmpbuf, sizeof(tmpbuf), "domain=%s, host=%s, hostd=%s.\n", in get_version_string()
323 xsnprintf(buf, sizeof(buf), "Amd configuration file (%s)", in get_args()
HDinfo_union.c88 xsnprintf(*pval, l, "fs:=%s", *p); in union_search()
128 xsnprintf(val, l + 5, "fs:=%s", *dir); in union_reload()
141 xsnprintf(val, l, "fs:=%s", *(dir-1)); in union_reload()
HDinfo_nisplus.c111 xsnprintf(map_name, l, "%s%s", map, org); in nisplus_reload()
188 xsnprintf(index, l, "[%s%s],%s%s", NISPLUS_KEY, key, map, org); in nisplus_search()
278 xsnprintf(map_name, l, "%s%s", map, org); in nisplus_init()
HDops_cachefs.c183 xsnprintf(ca.cfs_cacheid, sizeof(ca.cfs_cacheid), in mount_cachefs()
255 xsnprintf(cmd, sizeof(cmd), "fsck -F cachefs %s", cachedir); in cachefs_umount()
HDamfs_host.c106 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir); in make_mntpt()
112 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]); in make_mntpt()
114 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir); in make_mntpt()
HDinfo_passwd.c178 xsnprintf(val, sizeof(val), "var0:=%s;var1:=%s;var2:=%s;var3:=%s;%s", in passwd_search()
HDinfo_hesiod.c108 xsnprintf(hes_key, sizeof(hes_key), "%s.%s", key, map + HES_PREFLEN); in hesiod_search()
HDmapc.c423 xsnprintf(pattern, sizeof(pattern), "^%s$", key); in mapc_add_kv()
1047 xsnprintf(str, sizeof(str), in root_newmap()
1068 xsnprintf(str, sizeof(str), in root_newmap()
HDinfo_ldap.c367 xsnprintf(filter, sizeof(filter), AMD_LDAP_TSFILTER, map); in get_ldap_timestamp()
472 xsnprintf(filter, sizeof(filter), AMD_LDAP_FILTER, map, key); in amu_ldap_search()
HDops_nfs.c709 xsnprintf(xmtab, l, "%s:%s", fo->opt_rhost, fo->opt_rfs); in nfs_match()
807 xsnprintf(transp_timeo_opts, sizeof(transp_timeo_opts), "%s=%d,", in mount_nfs_fh()
810 xsnprintf(transp_retrans_opts, sizeof(transp_retrans_opts), "%s=%d,", in mount_nfs_fh()
/NextBSD/contrib/amd/mk-amd-map/
HDmk-amd-map.c308 xsnprintf(maptdb, sizeof(maptdb), "%s.db", maptmp); in main()
315 xsnprintf(maptpag, sizeof(maptpag), "%s.pag", maptmp); in main()
316 xsnprintf(maptdir, sizeof(maptdir), "%s.dir", maptmp); in main()
352 xsnprintf(map_name_db, l, "%s.db", mapsrc); in main()
362 xsnprintf(map_name_pag, l, "%s.pag", mapsrc); in main()
363 xsnprintf(map_name_dir, l, "%s.dir", mapsrc); in main()
/NextBSD/contrib/amd/libamu/
HDwire.c115 xsnprintf(buf, buf_size, in print_wires()
122 xsnprintf(s, sizeof(s), "Network %d: wire=\"%s\" (netnumber=%s).\n", in print_wires()
214 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu", C(subnet >> 24)); in getwire_lookup()
216 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu", in getwire_lookup()
219 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu.%lu", in getwire_lookup()
223 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu.%lu.%lu", in getwire_lookup()
266 xsnprintf(buf, l, "%ld.%ld.%ld.%ld", in inet_dquad()
HDmount_fs.c249 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%04lx", in mount_fs()
252 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%08lx", in mount_fs()
267 xsnprintf(optsbuf, sizeof(optsbuf), in mount_fs()
280 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%s", MNTTAB_OPT_PROTO, nfs_proto); in mount_fs()
305 xsnprintf(str, l, "%ld", time((time_t *) NULL)); in mount_fs()
868 xsnprintf(str, sizeof(str), "%04x", ntohs(arr[i])); in get_hex_string()
HDstrerror.c61 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum); in strerror()
HDxutil.c338 xsnprintf(nsecs, sizeof(nsecs), ".%09ld", ts.tv_nsec); in show_time_host_and_name()
528 xsnprintf(last_msg, sizeof(last_msg), in real_plog()
540 xsnprintf(last_msg, sizeof(last_msg), in real_plog()
HDstrutil.c217 xsnprintf(char *str, size_t size, const char *format, ...) in _xsnprintf()
/NextBSD/contrib/tcsh/
HDtc.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 …]
/NextBSD/contrib/amd/hlfsd/
HDhomedir.c102 xsnprintf(linkval, sizeof(linkval), "%s/%s", root_home, home_subdir); in homedir()
104 xsnprintf(linkval, sizeof(linkval), "%s/%s", homename, home_subdir); in homedir()
230 xsnprintf(buf, sizeof(buf), "%s/._hlfstmp_%lu", path, (long) getpid()); in hlfsd_diskspace()
398 xsnprintf(mboxfile, sizeof(mboxfile),
401 xsnprintf(mboxfile, sizeof(mboxfile),
HDhlfsd.c476 xsnprintf(hostpid_fs, sizeof(hostpid_fs), in main()
530 xsnprintf(progpid_fs, sizeof(progpid_fs), in main()
/NextBSD/contrib/amd/include/
HDam_utils.h337 #define xsnprintf(str,size,fmt,...) _xsnprintf(__FILE__,__LINE__,(str),(size),(fmt),__VA_ARGS__) macro
340 #define xsnprintf(str,size,fmt,args...) _xsnprintf(__FILE__,__LINE__,(str),(size),(fmt),args) macro
346 extern int xsnprintf(char *str, size_t size, const char *format, ...);
/NextBSD/contrib/amd/fsinfo/
HDfsi_util.c79 xsnprintf(n, sizeof(n), "%d", total_shown); in show_total()
278 xsnprintf(p, sizeof(p), "%s%s", pref, hn); in pref_open()
305 xsnprintf(buf, l, "%s/%s%s", autodir, hp->h_lochost, vn); in compute_automount_point()
HDfsinfo.c160 xsnprintf(iptr, sizeof(idvbuf), "-%c%s ", ch, optarg); in fsi_get_args()
HDfsi_analyze.c224 xsnprintf(n, sizeof(n), "%s/%s", parent->m_name, mp->m_name); in analyze_dkmount_tree()
636 xsnprintf(nname, sizeof(nname), "%s/%s", pref, ap->a_name); in analyze_automount_tree()
/NextBSD/contrib/amd/amq/
HDpawd.c125 xsnprintf(hesiod_lookup, sizeof(hesiod_lookup), in hack_name()

12