Searched refs:name (Results 1 - 25 of 5975) sorted by path

1234567891011>>

/freebsd-9.3-release/
H A DMakefile426 ! -name DEFAULTS ! -name NOTES
/freebsd-9.3-release/bin/dd/
H A Dargs.c17 * 4. Neither the name of the University nor the names of its contributors
74 const char *name; member in struct:arg
116 tmp.name = oper;
120 errx(1, "unknown operand %s", tmp.name);
123 tmp.name);
182 return (strcmp(((const struct arg *)a)->name,
183 ((const struct arg *)b)->name));
259 in.name = arg;
280 out.name = arg;
310 const char *name; member in struct:conv
[all...]
H A Dconv.c17 * 4. Neither the name of the University nor the names of its contributors
256 warnx("%s: short input record", in.name);
H A Ddd.c17 * 4. Neither the name of the University nor the names of its contributors
130 if (in.name == NULL) {
131 in.name = "stdin";
134 in.fd = open(in.name, O_RDONLY, 0);
136 err(1, "%s", in.name);
144 if (out.name == NULL) {
147 out.name = "stdout";
151 out.fd = open(out.name, O_RDWR | OFLAGS, DEFFILEMODE);
158 out.fd = open(out.name, O_WRONLY | OFLAGS, DEFFILEMODE);
162 err(1, "%s", out.name);
[all...]
H A Ddd.h17 * 4. Neither the name of the University nor the names of its contributors
54 const char *name; /* name */ member in struct:__anon2
H A Dposition.c17 * 4. Neither the name of the University nor the names of its contributors
73 err(1, "%s", in.name);
115 warn("%s", in.name);
121 err(1, "%s", in.name);
141 err(1, "%s", out.name);
155 err(1, "%s", out.name);
165 err(1, "%s", out.name);
175 err(1, "%s", out.name);
180 err(1, "%s", out.name);
182 errx(1, "%s: write failure", out.name);
[all...]
/freebsd-9.3-release/bin/df/
H A Ddf.c18 * 4. Neither the name of the University nor the names of its contributors
303 getmntpt(const char *name) argument
310 if (!strcmp(mntbuf[i].f_mntfromname, name))
/freebsd-9.3-release/bin/kill/
H A Dkill.c13 * 4. Neither the name of the University nor the names of its contributors
169 nosig(const char *name) argument
172 warnx("unknown signal %s; valid signals:", name);
/freebsd-9.3-release/bin/ls/
H A Dls.c16 * 4. Neither the name of the University nor the names of its contributors
121 static int f_numericonly; /* don't convert uid/gid to name */
126 int f_samesort; /* sort time and name in same direction */
137 static int f_timesort; /* sort by time vice name */
538 * directory with its name.
751 char name[PATH_MAX + 1]; local
764 snprintf(name, sizeof(name),
767 snprintf(name, sizeof(name),
[all...]
H A Dprint.c16 * 4. Neither the name of the University nor the names of its contributors
121 * print name in current style
124 printname(const char *name) argument
127 return prn_octal(name);
129 return prn_printable(name);
131 return prn_normal(name);
317 * print [inode] [size] name
578 char name[MAXPATHLEN + 1]; local
582 (void)snprintf(name, sizeof(name), "
624 char name[MAXPATHLEN + 1]; local
[all...]
/freebsd-9.3-release/bin/pax/
H A Dar_io.c17 * 4. Neither the name of the University nor the names of its contributors
69 static char none[] = "<NONE>"; /* pseudo name for no file */
70 static char stdo[] = "<STDOUT>"; /* pseudo name for stdout */
71 static char stdn[] = "<STDIN>"; /* pseudo name for stdin */
83 const char *arcname; /* printable name of archive */
84 const char *gzip_program; /* name of gzip program */
95 * Note: we may be called with name == NULL on the first open only.
101 ar_open(const char *name) argument
118 if (name == NULL) {
121 } else if ((arfd = open(name, EXT_MOD
[all...]
H A Dar_subs.c17 * 4. Neither the name of the University nor the names of its contributors
88 * the name and group caches.
118 * modify the name as requested by the user if name
205 * than the file with the same name in the file system (nos
207 * NOTE: this test is done BEFORE name modifications as
210 * file AFTER the name mod. In honesty the pax spec is probably
213 if ((uflag || Dflag) && ((lstat(arcn->name, &sb) == 0))) {
232 * this archive member is now been selected. modify the name.
238 * a bad name mo
[all...]
H A Dbuf_subs.c17 * 4. Neither the name of the University nor the names of its contributors
670 char *fnm = arcn->name;
741 paxwarn(1,"Actual crc does not match expected crc %s",arcn->name);
758 char *fnm = arcn->name;
803 arcn->org_name, arcn->name);
806 arcn->org_name, arcn->name);
811 arcn->org_name, arcn->name);
H A Dcache.c17 * 4. Neither the name of the University nor the names of its contributors
63 static UIDC **uidtb = NULL; /* uid to name cache */
64 static GIDC **gidtb = NULL; /* gid to name cache */
65 static UIDC **usrtb = NULL; /* user name to uid cache */
66 static GIDC **grptb = NULL; /* group name to gid cache */
134 paxwarn(1, "Unable to allocate memory for user name cache table");
158 paxwarn(1,"Unable to allocate memory for group name cache table");
166 * caches the name (if any) for the uid. If frc set, we always return the
167 * the stored name (if valid or invalid match). We use a simple hash table.
169 * Pointer to stored name (o
314 uid_name(char *name, uid_t *uid) argument
378 gid_name(char *name, gid_t *gid) argument
[all...]
H A Dcache.h17 * 4. Neither the name of the University nor the names of its contributors
45 * NOTE: name lengths must be as large as those stored in ANY PROTOCOL and
48 #define UNMLEN 32 /* >= user name found in any protocol */
49 #define GNMLEN 32 /* >= group name found in any protocol */
53 #define GNM_SZ 317 /* size of group name cache */
54 #define VALID 1 /* entry and name are valid */
55 #define INVALID 2 /* entry valid, name NOT valid */
63 char name[UNMLEN]; /* uid name */ member in struct:uidc
69 char name[GNMLE member in struct:gidc
[all...]
H A Dcpio.c17 * 4. Neither the name of the University nor the names of its contributors
97 if ((strcmp(arcn->name, TRAILER) == 0) && (arcn->sb.st_size == 0))
114 arcn->org_name = arcn->name;
153 * write the special file with the name trailer in the proper format
170 (void)strcpy(last.name, TRAILER);
176 * read in the file name which follows the cpio header
187 if ((nsz == 0) || (nsz > (int)sizeof(arcn->name))) {
188 paxwarn(1, "Cpio file name length %d is out of range", nsz);
193 * read the name and make sure it is not empty and is \0 terminated
195 if ((rd_wrbuf(arcn->name,ns
[all...]
H A Dfile_subs.c17 * 4. Neither the name of the University nor the names of its contributors
86 * file and a character device or fifo exists with the same name, we
94 if ((fd = open(arcn->name, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL,
103 if (unlnk_exist(arcn->name, arcn->type) != 0)
112 if ((fd = open(arcn->name, O_WRONLY | O_CREAT | O_TRUNC,
116 if (nodirs || chk_path(arcn->name,arcn->sb.st_uid,arcn->sb.st_gid) < 0) {
117 syswarn(1, oerrno, "Unable to create %s", arcn->name);
141 arcn->name);
149 res = set_ids(arcn->name, arcn->sb.st_uid, arcn->sb.st_gid);
159 set_pmode(arcn->name, arc
497 unlnk_exist(char *name, int type) argument
548 chk_path( char *name, uid_t st_uid, gid_t st_gid) argument
749 file_write(int fd, char *str, int cnt, int *rem, int *isempt, int sz, char *name) argument
[all...]
H A Dftree.c17 * 4. Neither the name of the University nor the names of its contributors
125 paxwarn(1, "Unable to allocate memory for file name buffer");
154 paxwarn(0, "Invalid file name argument");
326 * and set farray[0] to point at the buffer with the file name
507 * set link name length, watch out readlink does not
529 * copy file name, set file name length
531 arcn->nlen = l_strncpy(arcn->name, ftent->fts_path, sizeof(arcn->name) - 1);
532 arcn->name[arc
[all...]
H A Dgen_subs.c17 * 4. Neither the name of the University nor the names of its contributors
85 * if not verbose, just print the file name
88 (void)fprintf(fp, "%s\n", arcn->name);
137 * print name and link info for hard and soft links
139 (void)fprintf(fp, "%s %s", f_date, arcn->name);
177 tty_prnt("%s%s %s\n", f_mode, f_date, arcn->name);
H A Doptions.c17 * 4. Neither the name of the University nor the names of its contributors
93 * name, blksz, hdsz, udev, hlk, blkagn, inhead, id, st_read,
328 * file name substitution name pattern
367 tmp.name = optarg;
376 (void)fprintf(stderr, " %s", fsub[i].name);
405 * modification of the file name. Non standard option.
427 * archive by group (gid or name)
470 * archive by user (uid or name)
488 * modification of the file name
1485 char *name, *temp; local
[all...]
H A Dpat_rep.c17 * 4. Neither the name of the University nor the names of its contributors
59 * routines to handle pattern matching, name modification (regular expression
60 * substitution and interactive renames), and destination name modification for
61 * copy (-rw). Both file name and link names are adjusted as required in these
340 * into arcn->name and arcn->name has not been modified.
351 if ((pt->pstr = strdup(arcn->name)) == NULL) {
444 * check for a file name match unless we have DIR_MTCH set in
454 if ((arcn->name[pt->plen] == '/') &&
455 (strncmp(pt->pstr, arcn->name, p
859 rep_name(char *name, int *nlen, int prnt) argument
[all...]
H A Dpax.h17 * 4. Neither the name of the University nor the names of its contributors
87 const char *name; /* name of format, this is the name the user */ member in struct:fsub
185 * encoded in a structure of this type. The name fields are declared statically
187 * consideration. Eventually converting the name fields to a dynamic length
192 int nlen; /* file name length */
193 char name[PAXPATHLEN+1]; /* file name */ member in struct:archd
194 int ln_nlen; /* link name lengt
224 char *name; /* option variable name e.g. name= */ member in struct:oplist
[all...]
H A Dtables.c17 * 4. Neither the name of the University nor the names of its contributors
77 static int ffd = -1; /* tmp file for file time table name storage */
118 * Looks up entry in hard link hash table. If found, it copies the name
163 * name of the file it is to link to. we need to
167 arcn->ln_nlen = l_strncpy(arcn->ln_name, pt->name,
181 free(pt->name);
193 if ((pt->name = strdup(arcn->name)) != NULL) {
257 free(pt->name);
291 free(ppt->name);
1124 add_dir(char *name, int nlen, struct stat *psb, int frc_mode) argument
1167 char name[PAXPATHLEN+1]; local
1228 st_hash(char *name, int len, int tabsz) argument
[all...]
H A Dtables.h17 * 4. Neither the name of the University nor the names of its contributors
58 char *name; /* name of first file seen with this ino/dev */ member in struct:hrdlnk
68 * file time (mod time) and the file name length (for a quick check) are
77 int namelen; /* file name length */
91 char *oname; /* old name */
92 char *nname; /* new name typed in by the user */
143 char *name; /* name of directory to reset */ member in struct:atdir
163 int nlen; /* length of the directory name (include
[all...]
H A Dtar.c17 * 4. Neither the name of the University nor the names of its contributors
132 * a block of all 0 (we must have a valid file name).
318 if (hd->name[0] == '\0')
340 if (strcmp(opt->name, TAR_OPTION) ||
343 opt->name, opt->value);
354 opt->name, opt->value);
382 arcn->org_name = arcn->name;
387 * copy out the name and values in the stat buffer
391 * old tar format specifies the name always be null-terminated,
395 arcn->nlen = l_strncpy(arcn->name, h
1079 name_split(char *name, int len) argument
[all...]

Completed in 158 milliseconds

1234567891011>>