Lines Matching refs:ptr
2383 const char *ptr, *name_ext;
2390 for(ptr=name; *ptr != '\0'; ptr++) {
2391 if (*ptr == '.') {
2392 name_ext = ptr;
2405 ptr = &extension_table[0];
2406 for(i=0; i < nexts; i++, ptr+=max_ext_width) {
2407 extlen = strlen(ptr);
2408 if (strncasecmp(name_ext, ptr, extlen) == 0 && name_ext[extlen] == '\0') {
2421 char *ptr, *end;
2435 ptr = end;
2447 if (is_package_name(ptr, end - ptr)) {