Lines Matching defs:typos
288 /* The typos[] array lists all the types understood by "ps -o", I.E all the
304 * so in this case "NAME" becomes PS_NAME which is the offset into typos[]
317 } static const typos[] = TAGGED_ARRAY(PS,
411 if (strcmp(typos[toybuf[i]].name, typos[toybuf[i+1]].name)>0) {
422 t = (void *)(typos+toybuf[i]);
452 for (i = 0; i<ARRAY_LEN(typos)-jump; i++) toybuf[i] = i+(i>=PS_COMM)*jump;
453 help_fields(ARRAY_LEN(typos)-jump, 1);
454 help_fields(ARRAY_LEN(typos)-jump, 0);
505 int which = field->which, sl = typos[which].slot;
595 if ((ll = slot[typos[which].slot])<0) {
1098 for (i = 0; i<ARRAY_LEN(typos); i++) {
1101 if (!j) s = typos[i].name;
1112 if (i==ARRAY_LEN(typos)) return type;
1113 if (!field->title) field->title = typos[field->which].name;
1114 if (!field->len) field->len = typos[field->which].width;
1115 else if (typos[field->which].width<0) field->len *= -1;
1223 slot = typos[field->which].slot;
1348 && field->which<=PS_RGROUP && (typos[field->which].slot&XX))
1636 int slot = typos[field->which].slot&(XX-1);
1645 " %s: %*s,", typos[field->which].name,