Lines Matching refs:pos
114 const char *pos, *gpath = path; in php_glob_stream_path_split() local
116 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split()
117 path = pos+1; in php_glob_stream_path_split()
120 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split()
121 path = pos+1; in php_glob_stream_path_split()
214 const char *tmp, *pos; in php_glob_stream_opener() local
239 pos = path; in php_glob_stream_opener()
240 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener()
241 pos = tmp+1; in php_glob_stream_opener()
244 if ((tmp = strrchr(pos, '\\')) != NULL) { in php_glob_stream_opener()
245 pos = tmp+1; in php_glob_stream_opener()
249 pglob->pattern_len = strlen(pos); in php_glob_stream_opener()
250 pglob->pattern = estrndup(pos, pglob->pattern_len); in php_glob_stream_opener()