Lines Matching refs:pptr
350 const char *pptr; /* A pointer into path[] */ in ef_expand_file() local
388 for(wild=0,pptr=path; !wild && *pptr; pptr++) { in ef_expand_file()
389 switch(*pptr) { in ef_expand_file()
391 if(pptr[1]) in ef_expand_file()
392 pptr++; in ef_expand_file()
811 const char *pptr = pattern; /* The pointer used to scan the pattern */ in ef_string_matches_pattern() local
816 while(pptr < nextp) { in ef_string_matches_pattern()
820 switch(*pptr) { in ef_string_matches_pattern()
828 pptr++; in ef_string_matches_pattern()
838 if(pptr >= nextp) in ef_string_matches_pattern()
846 if(ef_string_matches_pattern(fptr, pptr, 0, nextp)) in ef_string_matches_pattern()
861 pptr++; in ef_string_matches_pattern()
875 if(xplicit || !ef_matches_range(*fptr++, ++pptr, &pptr)) in ef_string_matches_pattern()
883 pptr++; in ef_string_matches_pattern()
890 if(*fptr == *pptr) { in ef_string_matches_pattern()
892 pptr++; in ef_string_matches_pattern()
929 const char *pptr = pattern; /* The pointer used to scan the pattern */ in ef_matches_range() local
937 if(*pptr == '^') { in ef_matches_range()
938 pptr++; in ef_matches_range()
945 if(*pptr == '-') { in ef_matches_range()
946 pptr++; in ef_matches_range()
948 *endp = pptr; in ef_matches_range()
954 while(*pptr == '-') in ef_matches_range()
955 pptr++; in ef_matches_range()
961 if(*pptr == ']') { in ef_matches_range()
962 pptr++; in ef_matches_range()
964 *endp = pptr; in ef_matches_range()
974 while(!matched && *pptr && *pptr != ']') { in ef_matches_range()
979 if(*pptr == '-') { in ef_matches_range()
980 if(pptr[1] != ']') { in ef_matches_range()
981 if(c >= pptr[-1] && c <= pptr[1]) in ef_matches_range()
983 pptr += 2; in ef_matches_range()
988 } else if(*pptr++ == c) { in ef_matches_range()
995 while(*pptr && *pptr != ']') in ef_matches_range()
996 pptr++; in ef_matches_range()
1000 if(*pptr == ']') { in ef_matches_range()
1001 *endp = pptr + 1; in ef_matches_range()
1008 *endp = pptr; in ef_matches_range()
1047 char *pptr; /* A pointer into the output path */ in ef_expand_special() local
1139 pptr = ef->path->name; in ef_expand_special()
1140 if(*pptr == '~' && path[0] != '\\') { in ef_expand_special()
1153 pptr++; in ef_expand_special()
1157 for(usrlen=0; usrlen<USR_LEN && *pptr && in ef_expand_special()
1158 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN); usrlen++) in ef_expand_special()
1159 ef->usrnam[usrlen] = *pptr++; in ef_expand_special()
1190 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_expand_special()