Lines Matching refs:index
30 size_t resolvedw_len, filespecw_len, index; in opendir() local
57 index = resolvedw_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW - 1; in opendir()
60 index = resolvedw_len - 1; in opendir()
62 if (index >= 0 && filespecw[index] == L'/' || index == 0 && filespecw[index] == L'\\') in opendir()
63 filespecw[index] = L'\0'; in opendir()
149 size_t dirw_len, filespecw_len, index; in rewinddir() local
175 index = dirw_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW - 1; in rewinddir()
178 index = dirw_len - 1; in rewinddir()
181 if (index >= 0 && (filespecw[index] == L'/' || in rewinddir()
182 (filespecw[index] == L'\\' && index == 0))) in rewinddir()
183 filespecw[index] = L'\0'; in rewinddir()