Lines Matching refs:pos
102 const char *pos, *gpath = path; in php_glob_stream_path_split() local
104 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split()
105 path = pos+1; in php_glob_stream_path_split()
108 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split()
109 path = pos+1; in php_glob_stream_path_split()
202 const char *tmp, *pos; in php_glob_stream_opener() local
227 pos = path; in php_glob_stream_opener()
228 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener()
229 pos = tmp+1; in php_glob_stream_opener()
232 if ((tmp = strrchr(pos, '\\')) != NULL) { in php_glob_stream_opener()
233 pos = tmp+1; in php_glob_stream_opener()
237 pglob->pattern_len = strlen(pos); in php_glob_stream_opener()
238 pglob->pattern = estrndup(pos, pglob->pattern_len); in php_glob_stream_opener()