Lines Matching defs:ptr
67 char *ptr;
78 if ((ptr = strchr(toybuf, '('))) {
79 char *tmp = strchr(++ptr, ')');
84 if (((ptr[0] == 'g' || ptr[0] == 'k' || ptr[0] == 'x') && ptr[1] == 'd'
85 && ptr[2] == 'm') || strstr(ptr, "getty")) login_flag = 1;
101 char *ptr = line;
103 while (*ptr == ' ' || *ptr == '\t') ptr++;
104 if (!*ptr || *ptr == '#' || *ptr == '\n') continue;
105 if (strstart(&ptr, "SAMPLE_PERIOD=")) {
108 sscanf(ptr, "%lf", &dd);
110 } else if (strstart(&ptr, "PROCESS_ACCOUNTING="))
111 if (strstart(&ptr, "\"on\"") || strstart(&ptr, "\"yes\""))