Lines Matching defs:ptr

42     char *ptr, *name, *state;
78 ptr = statline;
79 nexttok(&ptr); // skip pid
80 ptr++; // skip "("
82 name = ptr;
83 ptr = strrchr(ptr, ')'); // Skip to *last* occurence of ')',
84 *ptr++ = '\0'; // and null-terminate name.
86 ptr++; // skip " "
87 state = nexttok(&ptr);
88 ppid = atoi(nexttok(&ptr));
89 nexttok(&ptr); // pgrp
90 nexttok(&ptr); // sid
91 tty = atoi(nexttok(&ptr));
93 nexttok(&ptr); // tpgid
94 nexttok(&ptr); // flags
95 nexttok(&ptr); // minflt
96 nexttok(&ptr); // cminflt
97 nexttok(&ptr); // majflt
98 nexttok(&ptr); // cmajflt
100 utime = atoi(nexttok(&ptr));
101 stime = atoi(nexttok(&ptr));
103 nexttok(&ptr); // utime
104 nexttok(&ptr); // stime
106 nexttok(&ptr); // cutime
107 nexttok(&ptr); // cstime
108 prio = atoi(nexttok(&ptr));
109 nice = atoi(nexttok(&ptr));
110 nexttok(&ptr); // threads
111 nexttok(&ptr); // itrealvalue
112 nexttok(&ptr); // starttime
113 vss = strtoul(nexttok(&ptr), 0, 10); // vsize
114 rss = strtoul(nexttok(&ptr), 0, 10); // rss
115 nexttok(&ptr); // rlim
116 nexttok(&ptr); // startcode
117 nexttok(&ptr); // endcode
118 nexttok(&ptr); // startstack
119 nexttok(&ptr); // kstkesp
120 eip = strtoul(nexttok(&ptr), 0, 10); // kstkeip
121 nexttok(&ptr); // signal
122 nexttok(&ptr); // blocked
123 nexttok(&ptr); // sigignore
124 nexttok(&ptr); // sigcatch
125 wchan = strtoul(nexttok(&ptr), 0, 10); // wchan
126 nexttok(&ptr); // nswap
127 nexttok(&ptr); // cnswap
128 nexttok(&ptr); // exit signal
129 psr = atoi(nexttok(&ptr)); // processor
130 rtprio = atoi(nexttok(&ptr)); // rt_priority
131 sched = atoi(nexttok(&ptr)); // scheduling policy
133 tty = atoi(nexttok(&ptr));