/freebsd/usr.bin/mkuzip/ |
H A D | mkuzip.c | 117 char *oname; in main() local 145 oname = NULL; in main() 173 oname = optarg; in main() 258 if (oname == NULL) { in main() 259 asprintf(&oname, "%s%s", cfs.iname, cfs.handler->default_sufx); in main() 260 if (oname == NULL) { in main() 300 cfs.fdw = open(oname, (cfs.en_dedup ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT, in main() 303 err(1, "open(%s)", oname); in main() 306 cleanfile = oname; in main() 359 err(1, "write(%s)", oname); in main() [all …]
|
/freebsd/bin/pax/ |
H A D | tables.c | 502 add_name(char *oname, int onamelen, char *nname) in add_name() argument 519 indx = st_hash(oname, onamelen, N_TAB_SZ); in add_name() 524 while ((pt != NULL) && (strcmp(oname, pt->oname) != 0)) in add_name() 548 if ((pt->oname = strdup(oname)) != NULL) { in add_name() 554 free(pt->oname); in add_name() 570 sub_name(char *oname, int *onamelen, size_t onamesize) in sub_name() argument 580 indx = st_hash(oname, *onamelen, N_TAB_SZ); in sub_name() 588 if (strcmp(oname, pt->oname) == 0) { in sub_name() 593 *onamelen = l_strncpy(oname, pt->nname, onamesize - 1); in sub_name() 594 oname[*onamelen] = '\0'; in sub_name()
|
H A D | tables.h | 90 char *oname; /* old name */ member
|
/freebsd/sbin/bectl/ |
H A D | bectl_list.c | 61 static unsigned long long dataset_space(const char *oname); 116 dataset_space(const char *oname) in dataset_space() argument 124 dsname = strdup(oname); in dataset_space() 180 const char *oname, *dsname, *propstr; in print_info() local 205 if ((oname = get_origin_props(dsprops, &originprops)) != NULL) { in print_info() 206 print_info(oname, originprops, pc); in print_info() 248 oname = get_origin_props(dsprops, &originprops); in print_info() 265 if (pc->show_space && oname != NULL) in print_info() 266 space += dataset_space(oname); in print_info()
|
/freebsd/contrib/less/ |
H A D | opttbl.c | 807 struct optname *oname; in findopt_name() 824 for (oname = o->onames; oname != NULL; oname = oname->onext) in findopt_name() 833 len = sprefix(optname, oname->oname, uppercase); in findopt_name() 855 maxoname = oname; in findopt_name() 858 exact = (len == strlen(oname->oname)); in findopt_name() 790 struct optname *oname; findopt_name() local [all...] |
H A D | option.h | 51 constant char *oname; /* Long (GNU-style) option name */ 50 char *oname; /* Long (GNU-style) option name */ global() member
|
H A D | option.c | 41 SNPRINTF1(buf, sizeof(buf), "--%s", o->onames->oname); in opt_desc() 43 SNPRINTF2(buf, sizeof(buf), "-%c (--%s)", o->oletter, o->onames->oname); in opt_desc()
|
H A D | charset.c | 72 char *oname; member 314 name = a->oname; in icharset()
|
/freebsd/sys/contrib/zstd/examples/ |
H A D | simple_compression.c | 17 static void compress_orDie(const char* fname, const char* oname) in compress_orDie() argument 31 saveFile_orDie(oname, cBuff, cSize); in compress_orDie() 34 printf("%25s : %6u -> %7u - %s \n", fname, (unsigned)fSize, (unsigned)cSize, oname); in compress_orDie()
|
H A D | dictionary_compression.c | 30 static void compress(const char* fname, const char* oname, const ZSTD_CDict* cdict) in compress() argument 48 saveFile_orDie(oname, cBuff, cSize); in compress() 51 printf("%25s : %6u -> %7u - %s \n", fname, (unsigned)fSize, (unsigned)cSize, oname); in compress()
|
H A D | multiple_simple_compression.c | 66 static void compressFile_orDie(resources ress, const char* fname, const char* oname) in compressFile_orDie() argument 77 saveFile_orDie(oname, ress.cBuffer, cSize); in compressFile_orDie() 80 printf("%25s : %6u -> %7u - %s \n", fname, (unsigned)fSize, (unsigned)cSize, oname); in compressFile_orDie()
|
/freebsd/lib/libufs/ |
H A D | type.c | 95 const char *oname; in ufs_disk_fillout_blank() local 101 oname = name; in ufs_disk_fillout_blank() 113 name = oname; in ufs_disk_fillout_blank() 173 if (oname != name) { in ufs_disk_fillout_blank()
|
/freebsd/usr.sbin/btxld/ |
H A D | btxld.c | 93 static const char *oname = variable 160 oname = optarg; in main() 250 if ((size_t)snprintf(name, sizeof(name), "%s.tmp", oname) >= sizeof(name)) in btxld() 251 errx(2, "%s: Filename too long", oname); in btxld() 283 if (rename(tname, oname)) in btxld() 284 err(2, "%s: Can't rename to %s", tname, oname); in btxld()
|
/freebsd/contrib/nvi/common/ |
H A D | exf.c | 124 char *oname, *tname; in file_init() local 170 oname = frp->name; in file_init() 171 if (LF_ISSET(FS_OPENERR) || oname == NULL || !exists) { in file_init() 197 oname = frp->tname; in file_init() 238 msgq_str(sp, M_ERR, oname, in file_init() 259 if ((ep->db = dbopen(rcv_name == NULL ? oname : NULL, in file_init() 264 M_SYSERR, rcv_name == NULL ? oname : rcv_name, "%s"); in file_init() 342 switch (file_lock(sp, oname, ep->db->fd(ep->db), 0)) { in file_init() 350 msgq_str(sp, M_INFO, oname, in file_init()
|
/freebsd/usr.sbin/ppp/ |
H A D | datalink.c | 1297 char *oname, *pname; in iov2datalink() local 1309 oname = NULL; in iov2datalink() 1317 } else if (oname) in iov2datalink() 1320 oname = pname; in iov2datalink() 1325 if (oname) { in iov2datalink() 1326 log_Printf(LogPHASE, "Rename link %s to %s\n", oname, dl->name); in iov2datalink() 1327 free(oname); in iov2datalink() 1436 char *name, *oname; in datalink_NextName() local 1448 oname = dl->name; in datalink_NextName() 1451 return oname; in datalink_NextName()
|
/freebsd/sys/contrib/openzfs/etc/init.d/ |
H A D | zfs-zed.in | 67 pools=$("$ZPOOL" list -H -oname)
|
H A D | zfs-import.in | 86 already_imported=$(find_pools "$ZPOOL" list -H -oname)
|
/freebsd/contrib/nvi/cl/ |
H A D | cl.h | 37 char *oname; /* Original screen window name. */ member
|
H A D | cl_main.c | 135 cl_setname(gp, clp->oname); in main() 146 free(clp->oname); in main()
|
H A D | cl_funcs.c | 623 if (clp->oname == NULL && (wid = getenv("WINDOWID"))) { in cl_rename() 634 clp->oname = strndup(s + 1, e - s - 1); in cl_rename() 642 cl_setname(gp, clp->oname); in cl_rename()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/ |
H A D | projectquota_common.kshlib | 82 typeset cnt=$(zfs projectspace -oname,objused $fs |
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
H A D | groupspace_003_pos.ksh | 59 typeset -i groupspacecnt=$(zfs groupspace -oname,objused $fs |
|
H A D | userspace_003_pos.ksh | 60 typeset -i userspacecnt=$(zfs userspace -oname,objused $fs |
|
/freebsd/crypto/openssh/ |
H A D | ssh-keyscan.c | 396 conalloc(const char *iname, const char *oname, int keytype) in conalloc() argument 416 debug3_f("oname %s kt %d", oname, keytype); in conalloc() 422 fdcon[s].c_output_name = xstrdup(oname); in conalloc()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_pid.c | 567 dt_pid_usdt_mapping(void *data, const prmap_t *pmp, const char *oname) in dt_pid_usdt_mapping() argument 585 if (Pxlookup_by_name(P, PR_LMID_EVERY, oname, syms[i], &sym, in dt_pid_usdt_mapping() 590 if ((mname = strrchr(oname, '/')) == NULL) in dt_pid_usdt_mapping() 591 mname = oname; in dt_pid_usdt_mapping()
|