Lines Matching defs:ptr
83 char *ptr;
88 if (ptr = strchr(buf, '#'))
89 *ptr = 0;
92 for (ptr = buf; *ptr && ((*ptr == ' ') || (*ptr == '\t'));
93 ptr++);
95 if (!*ptr)
99 if ((*ptr != '/') && (*ptr != '~')) {
100 llen = getalist(&ptr, listbuf);
104 while (*ptr && ((*ptr == ' ') || (*ptr == '\t')))
105 ptr++;
106 if (!applies || !*ptr)
110 llen = getalist(&ptr, listbuf);
115 while (*ptr && ((*ptr == ' ') || (*ptr == '\t')))
116 ptr++;
118 if (!applies || !*ptr)
122 for (applies = 0; *ptr && (*ptr >= '0') && (*ptr <= '7');
123 applies = (applies << 3) | (*(ptr++) - '0'));
125 while (*ptr && ((*ptr == ' ') || (*ptr == '\t')))
126 ptr++;
128 if (!*ptr)
132 llen = getalist(&ptr, listbuf);