/freebsd-current/bin/chio/ |
H A D | chio.c | 182 * where ET == element type and EU == element unit. 200 /* Check for voltag virtual type */ 213 /* Check for voltag virtual type, and report error */ 260 * where ET == element type and EU == element unit. 278 /* Check for voltag virtual type */ 291 /* Check for voltag virtual type */ 369 * where ET == element type and EU == element unit. 575 * where ET == element type, start == first element to report, 733 (void) fprintf(stderr, "usage: %s %s [-vVsSbaA] [<element type> [<start-addr> [<end-addr>] ] ]\n", 855 errx(1, "invalid element type ` 945 uint16_t type, element; local 1005 get_element_status(unsigned int type, unsigned int element, int use_voltags) argument [all...] |
/freebsd-current/bin/cp/ |
H A D | cp.c | 88 enum op type; local 233 type = DIR_TO_DNE; 235 type = FILE_TO_FILE; 237 type = FILE_TO_FILE; 239 if (have_trailing_slash && type == FILE_TO_FILE) { 250 type = FILE_TO_DIR; 259 exit (copy(argv, type, fts_options, (type == DIR_TO_DNE ? NULL : 264 copy(char *argv[], enum op type, int fts_options, struct stat *root_stat) argument 316 if (type ! [all...] |
/freebsd-current/bin/date/ |
H A D | vary.c | 57 domktime(struct tm *t, char type) argument 63 adjhour(t, type == '-' ? type : '+', 1, 0); 127 adjyear(struct tm *t, char type, int64_t val, int mk) argument 129 switch (type) { 144 return !mk || domktime(t, type) != -1; 148 adjmon(struct tm *t, char type, int64_t val, int istext, int mk) argument 155 switch (type) { 204 return !mk || domktime(t, type) != -1; 208 adjday(struct tm *t, char type, int64_ argument 252 adjwday(struct tm *t, char type, int64_t val, int istext, int mk) argument 288 adjhour(struct tm *t, char type, int64_t val, int mk) argument 333 adjmin(struct tm *t, char type, int64_t val, int mk) argument 374 adjsec(struct tm *t, char type, int64_t val, int mk) argument 417 char type; local [all...] |
/freebsd-current/bin/dd/ |
H A D | dd.c | 249 * Truncate the output file. If it fails on a type of output file 314 int type; local 321 if (ioctl(io->fd, FIODTYPE, &type) == -1) { 324 if (type & D_TAPE) 326 else if (type & (D_DISK | D_MEM)) 328 if (S_ISCHR(sb.st_mode) && (type & D_TAPE) == 0)
|
/freebsd-current/bin/ed/ |
H A D | ed.h | 1 /* ed.h: type and constant definitions for the ed editor. */ 70 /* type of undo nodes */ 76 int type; /* command type */ member in struct:undo
|
H A D | undo.c | 39 push_undo_stack(int type, long from, long to) argument 55 ustack[u_p].type = type; 97 switch(ustack[n].type) { 116 ustack[n].type ^= 1; 137 if (ustack[u_p].type == UDEL) {
|
/freebsd-current/bin/expr/ |
H A D | expr.y | 34 enum valtype type; 91 %type <val> start expr 126 vp->type = integer; 141 vp->type = numeric_string; 143 vp->type = string; 151 if (vp->type == string || vp->type == numeric_string) 161 if (vp->type == numeric_string) { 168 vp->type = integer; 171 return (vp->type [all...] |
/freebsd-current/bin/getfacl/ |
H A D | getfacl.c | 83 print_acl(char *path, acl_type_t type, int hflag, int iflag, int nflag, argument 105 if (type == ACL_TYPE_DEFAULT) { 110 type = ACL_TYPE_NFS4; 126 acl = acl_get_link_np(path, type); 128 acl = acl_get_file(path, type); 135 if (type == ACL_TYPE_DEFAULT) 169 print_acl_from_stdin(acl_type_t type, int hflag, int iflag, int nflag, argument 178 if (print_acl(pathname, type, hflag, iflag, nflag, 190 acl_type_t type = ACL_TYPE_ACCESS; local 203 type [all...] |
/freebsd-current/bin/ls/ |
H A D | print.c | 775 static int type = ACL_TYPE_ACCESS; local 801 type = ACL_TYPE_NFS4; 810 type = ACL_TYPE_ACCESS; 820 facl = acl_get_link_np(name, type);
|
/freebsd-current/bin/pax/ |
H A D | ar_subs.c | 76 * figure out archive type; pass any format specific options to the 156 * figure out archive type; pass any format specific options to the 198 * test of being the same type is required). 277 * all ok, extract this member based on type 279 if ((arcn->type != PAX_REG) && (arcn->type != PAX_CTG)) { 285 if ((arcn->type == PAX_HLK) || (arcn->type == PAX_HRG)) 420 if ((arcn->type == PAX_REG) || (arcn->type [all...] |
H A D | cpio.c | 109 arcn->type = PAX_FIF; 112 arcn->type = PAX_DIR; 115 arcn->type = PAX_BLK; 118 arcn->type = PAX_CHR; 121 arcn->type = PAX_SLK; 124 arcn->type = PAX_SCK; 134 arcn->type = PAX_REG; 160 last.type = PAX_REG; 381 if ((arcn->type != PAX_BLK) && (arcn->type ! [all...] |
H A D | file_subs.c | 96 if (unlnk_exist(arcn->name, arcn->type) != 0) 207 if (arcn->type == PAX_DIR) 284 * try to get rid of the file, based on the type 344 * create node based on type, if that fails try to unlink the node and 352 switch(arcn->type) { 388 paxwarn(0, "%s has an unknown file type, skipping", 405 if ((ign = unlnk_exist(arcn->name, arcn->type)) < 0) 435 if (arcn->type == PAX_DIR && strcmp(NM_CPIO, argv0) != 0) { 479 * Remove node from file system with the specified name. We pass the type 490 unlnk_exist(char *name, int type) argument [all...] |
H A D | ftree.c | 52 * file args supplied to pax are stored on a single linked list (of type FTREE) 199 if (!dflag || (arcn->type != PAX_DIR)) 372 * handle each type of fts_read() flag 430 * file type based set up and copy into the arcn struct 441 arcn->type = PAX_DIR; 449 arcn->type = PAX_CHR; 452 arcn->type = PAX_BLK; 461 arcn->type = PAX_REG; 465 arcn->type = PAX_SLK; 488 arcn->type [all...] |
H A D | gen_subs.c | 113 if ((arcn->type == PAX_CHR) || (arcn->type == PAX_BLK)) 124 if ((arcn->type == PAX_HLK) || (arcn->type == PAX_HRG)) 126 else if (arcn->type == PAX_SLK)
|
H A D | pat_rep.c | 304 if (!dflag && ((pt->pend != NULL) || (arcn->type == PAX_DIR))) { 308 * match. This is tagged as a DIR_MTCH type. 602 (arcn->type == PAX_HLK || arcn->type == PAX_HRG)) { 643 if (((arcn->type == PAX_SLK) || (arcn->type == PAX_HLK) || 644 (arcn->type == PAX_HRG)) && 655 if ((arcn->type == PAX_SLK) || (arcn->type == PAX_HLK) || 656 (arcn->type [all...] |
H A D | pax.h | 62 * Device type of the current archive volume 184 * encoded in a structure of this type. The name fields are declared statically 204 int type; /* type of file node */ member in struct:archd
|
H A D | tables.c | 134 if ((arcn->type == PAX_DIR) || (arcn->sb.st_nlink <= 1)) 156 * found a link. set the node type and copy in the 164 if (arcn->type == PAX_REG) 165 arcn->type = PAX_HRG; 167 arcn->type = PAX_HLK; 221 if ((arcn->sb.st_nlink <= 1) || (arcn->type == PAX_DIR) || 222 (arcn->type == PAX_HLK) || (arcn->type == PAX_HRG))
|
H A D | tar.c | 404 * symbolic link, need to get the link name and set the type in 407 arcn->type = PAX_SLK; 415 * hard link, need to get the link name, set the type in the 418 arcn->type = PAX_HLK; 425 * no idea of what type this thing really points at, but 434 arcn->type = PAX_DIR; 452 arcn->type = PAX_DIR; 461 arcn->type = PAX_REG; 501 switch(arcn->type) { 540 if (arcn->type [all...] |
/freebsd-current/bin/pkill/ |
H A D | pkill.c | 699 makelist(struct listhead *head, enum listtype type, char *src) argument 723 if (type != LT_CLASS) 726 if (type != LT_CLASS && *ep == '\0') { 727 switch (type) { 764 switch (type) {
|
/freebsd-current/bin/ps/ |
H A D | print.c | 754 switch (v->type) {
|
H A D | ps.h | 35 enum type { CHAR, UCHAR, SHORT, USHORT, INT, UINT, LONG, ULONG, KPTR, PGTOK }; enum 81 enum type type; /* type of element */ member in struct:var
|
/freebsd-current/bin/sh/ |
H A D | eval.c | 201 TRACE(("evaltree(%p: %d) called\n", (void *)n, n->type)); 202 switch (n->type) { 285 out1fmt("Node type = %d\n", n->type); 325 if (n->type == NWHILE) { 396 cp->type == NCLISTFALLTHRU && 400 cp->type == NCLISTFALLTHRU) 422 int backgnd = (n->type == NBACKGND); 527 switch (redir->type) { 623 return (n->type [all...] |
H A D | jobs.c | 1366 if (n->type == NTOFD || n->type == NFROMFD) { 1387 switch (n->type) {
|
H A D | mknodes.c | 61 int type; /* type of field */ member in struct:field 76 static struct str *nodestr[MAXTYPES]; /* type of structure used by the node */ 153 char type[BUFLEN]; local 161 if (! nextfield(type)) 162 error("No field type"); 165 if (strcmp(type, "nodeptr") == 0) { 166 fp->type = T_NODE; 168 } else if (strcmp(type, "nodelist") == 0) { 169 fp->type [all...] |
H A D | mksyntax.c | 234 add_one(const char *key, const char *type) argument 236 fprintf(cfile, "\t[SYNBASE + %s] = %s,\n", key, type); 276 add(const char *p, const char *type) argument 287 fprintf(cfile, "\t[SYNBASE + '%c'] = %s,\n", c, type); 290 fprintf(cfile, "\t[SYNBASE + '\\%c'] = %s,\n", c, type);
|