Lines Matching defs:name

150     -L	Send SIGNAL instead of printing name
151 -l Show command name
276 command name, tty device, selinux label... They're stored one after the
291 * name: the column name, displayed at top and used to select column with -o
315 char *name, *help;
345 {"NAME", "Process name (PID's argv[0])", -27, -7},
349 {"CMD", "Thread name (/proc/TID/stat:2)", -15, -1},
353 {"USER", "User name", -12, XX|SLOT_uid},
355 {"RUSER", "Real (before suid) user name", -8, XX|SLOT_ruid},
357 {"GROUP", "Group name", -8, XX|SLOT_gid},
359 {"RGROUP", "Real (before sgid) group name", -8, XX|SLOT_rgid},
411 if (strcmp(typos[toybuf[i]].name, typos[toybuf[i+1]].name)>0) {
424 if (multi) printf(" %-8s%s\n", t->name, t->help);
428 printf(" %-8s%*s%c"+2*!left, t->name, -30*left, t->help, 10+22*left);
705 char *name; // Path under /proc/$PID directory
715 char *name, *s, *buf = tb->str, *end = 0;
727 slot[SLOT_tid] = *slot = atol(new->name);
743 // parse oddball fields: the first field is same as new->name (skip it)
744 // and the second and third (name and state) are the only non-numeric fields.
747 // TODO: kernel task struct actually limits name to 16 chars?
748 if (!(name = strchr(buf, '('))) return 0;
749 for (s = ++name; *s; s++) if (*s == ')') end = s;
750 if (!end || end-name>255) return 0;
759 // Now we've read the data, move status and name right after slot[] array,
761 for (i = 0; i<end-name; i++)
762 if ((tb->str[i] = name[i]) < ' ')
877 sprintf(buf, "%lld/%s", slot[SLOT_tid], fetch[j].name);
914 // Can we readlink() our way to a name?
1007 pid = atol(new->name);
1053 // Parse one FIELD argument (with optional =name :width) into struct ofields
1065 // Chip off =name to display
1101 if (!j) s = typos[i].name;
1113 if (!field->title) field->title = typos[field->which].name;
1184 char name[256];
1192 memcpy(name, str, len);
1193 name[len] = 0;
1195 struct group *gr = getgrnam(name);
1202 struct passwd *pw = getpwnam(name);
1566 if (*toys.which->name == 't') {
1645 " %s: %*s,", typos[field->which].name,
1846 char *name = tb->str+tb->offset[4]*!!FLAG(f);
1853 if (regexec(&reg->reg, name, 1, &match, 0)) continue;
1855 if (match.rm_so || match.rm_eo!=strlen(name)) continue;
1873 TT.pgrep.snapshot = xmemdup(toybuf, (name+strlen(name)+1)-toybuf);