Lines Matching refs:pptr

352   const char *pptr;     /* A pointer into path[] */  in ef_expand_file()  local
390 for(wild=0,pptr=path; !wild && *pptr; pptr++) { in ef_expand_file()
391 switch(*pptr) { in ef_expand_file()
393 if(pptr[1]) in ef_expand_file()
394 pptr++; in ef_expand_file()
813 const char *pptr = pattern; /* The pointer used to scan the pattern */ in ef_string_matches_pattern() local
818 while(pptr < nextp) { in ef_string_matches_pattern()
822 switch(*pptr) { in ef_string_matches_pattern()
830 pptr++; in ef_string_matches_pattern()
840 if(pptr >= nextp) in ef_string_matches_pattern()
848 if(ef_string_matches_pattern(fptr, pptr, 0, nextp)) in ef_string_matches_pattern()
863 pptr++; in ef_string_matches_pattern()
877 if(xplicit || !ef_matches_range(*fptr++, ++pptr, &pptr)) in ef_string_matches_pattern()
885 pptr++; in ef_string_matches_pattern()
891 if(*fptr == *pptr) { in ef_string_matches_pattern()
893 pptr++; in ef_string_matches_pattern()
930 const char *pptr = pattern; /* The pointer used to scan the pattern */ in ef_matches_range() local
938 if(*pptr == '^') { in ef_matches_range()
939 pptr++; in ef_matches_range()
946 if(*pptr == '-') { in ef_matches_range()
947 pptr++; in ef_matches_range()
949 *endp = pptr; in ef_matches_range()
955 while(*pptr == '-') in ef_matches_range()
956 pptr++; in ef_matches_range()
962 if(*pptr == ']') { in ef_matches_range()
963 pptr++; in ef_matches_range()
965 *endp = pptr; in ef_matches_range()
975 while(!matched && *pptr && *pptr != ']') { in ef_matches_range()
980 if(*pptr == '-') { in ef_matches_range()
981 if(pptr[1] != ']') { in ef_matches_range()
982 if(c >= pptr[-1] && c <= pptr[1]) in ef_matches_range()
984 pptr += 2; in ef_matches_range()
989 } else if(*pptr++ == c) { in ef_matches_range()
996 while(*pptr && *pptr != ']') in ef_matches_range()
997 pptr++; in ef_matches_range()
1001 if(*pptr == ']') { in ef_matches_range()
1002 *endp = pptr + 1; in ef_matches_range()
1009 *endp = pptr; in ef_matches_range()
1048 char *pptr; /* A pointer into the output path */ in ef_expand_special() local
1140 pptr = ef->path->name; in ef_expand_special()
1141 if(*pptr == '~' && path[0] != '\\') { in ef_expand_special()
1154 pptr++; in ef_expand_special()
1158 for(usrlen=0; usrlen<USR_LEN && *pptr && in ef_expand_special()
1159 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN); usrlen++) in ef_expand_special()
1160 ef->usrnam[usrlen] = *pptr++; in ef_expand_special()
1191 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_expand_special()