Lines Matching defs:comp
67 char *comp, *t;
73 comp = strrchr(buffer, '\\');
74 if (comp == NULL)
75 comp = buffer;
77 t = strrchr(comp, '/');
79 comp = t;
81 comp++;
83 pos = strcspn(comp, "*?");
84 if (comp[pos] != '\0')
93 if (pos > 0 && comp[pos - 1] != '\\' &&
94 comp[pos - 1] != '/') {
95 strcat_s(comp, cch_buffer - (comp - buffer), "\\");
98 strcat_s(comp, cch_buffer - (comp - buffer), "*.*");