Lines Matching refs:pos
110 const char *pos, *gpath = path; in php_glob_stream_path_split() local
112 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split()
113 path = pos+1; in php_glob_stream_path_split()
116 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split()
117 path = pos+1; in php_glob_stream_path_split()
219 const char *tmp, *pos; in php_glob_stream_opener() local
254 pos = path; in php_glob_stream_opener()
255 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener()
256 pos = tmp+1; in php_glob_stream_opener()
259 if ((tmp = strrchr(pos, '\\')) != NULL) { in php_glob_stream_opener()
260 pos = tmp+1; in php_glob_stream_opener()
264 pglob->pattern_len = strlen(pos); in php_glob_stream_opener()
265 pglob->pattern = estrndup(pos, pglob->pattern_len); in php_glob_stream_opener()