Lines Matching defs:length
263 SLOT_upticks, /*uptime-starttime*/ SLOT_argv0len, // argv[0] length
856 // it'd almost never get used, querying length of a proc file is awkward,
1054 static char *parse_ko(void *data, char *type, int length)
1061 if (length==4 && !strncasecmp(type, "HELP", length)) xexit();
1063 // Get title, length of title, type, end of type, and display width
1066 if ((end = strchr(type, '=')) && length>(end-type)) {
1068 length -= (end-type)+1;
1070 end = type+length;
1076 if (!title) length = width-type;
1081 field = xzalloc(sizeof(struct ofields)+(length+1)*!!title);
1083 memcpy(field->title = (char *)(field+1), title, length);
1084 field->title[field->len = length] = 0;
1259 // Allocate struct procpid array of length count and populate it with ->extra