Home
last modified time | relevance | path

Searched refs:pathw (Results 1 – 8 of 8) sorted by relevance

/PHP-8.4/win32/
H A Dioutil.h283 if (!pathw) { in php_win32_ioutil_access()
310 if (!pathw) { in php_win32_ioutil_open()
344 if (!pathw) { in php_win32_ioutil_unlink()
368 if (!pathw) { in php_win32_ioutil_rmdir()
396 if (!pathw) { in php_win32_ioutil_fopen()
471 if (!pathw) { in php_win32_ioutil_chdir()
481 free(pathw); in php_win32_ioutil_chdir()
536 if (!pathw) { in php_win32_ioutil_chmod()
548 free(pathw); in php_win32_ioutil_chmod()
757 free(pathw); in php_win32_ioutil_stat_ex()
[all …]
H A Dftok.c34 if (!pathw) { in ftok()
38 if (_wstat(pathw, &st) < 0) { in ftok()
43 …if ((fh = CreateFileW(pathw, FILE_GENERIC_READ, PHP_WIN32_IOUTIL_DEFAULT_SHARE_MODE, 0, OPEN_EXIST… in ftok()
H A Dioutil.c525 wchar_t *endw, *pathw, *startw; in php_win32_ioutil_dirname() local
535 if (!pathw) { in php_win32_ioutil_dirname()
539 endw = pathw + pathw_len - 1; in php_win32_ioutil_dirname()
541 if ((2 <= pathw_len) && iswalpha((wint_t)(pathw)[0]) && (L':' == pathw[1])) { in php_win32_ioutil_dirname()
542 pathw += 2; in php_win32_ioutil_dirname()
555 if (endw < pathw) { in php_win32_ioutil_dirname()
567 if (endw < pathw) { in php_win32_ioutil_dirname()
578 if (endw < pathw) { in php_win32_ioutil_dirname()
926 pathw[pathw_len-4] == L'.') { in php_win32_ioutil_fstat_int()
928 _wcsnicmp(pathw+pathw_len-3, L"com", 3) == 0) { in php_win32_ioutil_fstat_int()
[all …]
/PHP-8.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp874_to_utf8_0.phpt35 $pathw = __DIR__ . DIRECTORY_SEPARATOR . iconv('cp874', 'utf-8', $name) . ".txt";
37 file_put_contents($pathw, "hello" . $i++);
39 get_basename_with_cp($pathw, 65001);
40 var_dump(file_get_contents($pathw));
42 unlink($pathw);
/PHP-8.4/main/
H A Dphp_open_temporary_file.c97 wchar_t *cwdw, *random_prefix_w, pathw[MAXPATHLEN]; in php_do_open_temporary_file() local
182 if (GetTempFileNameW(cwdw, random_prefix_w, 0, pathw)) { in php_do_open_temporary_file()
183 opened_path = php_win32_ioutil_conv_w_to_any(pathw, PHP_WIN32_CP_IGNORE_LEN, &opened_path_len); in php_do_open_temporary_file()
/PHP-8.4/TSRM/
H A Dtsrm_win32.c216 if (!pathw) { in tsrm_win32_access()
221 int ret = php_win32_ioutil_access_w(pathw, mode); in tsrm_win32_access()
318 if(GetFileSecurityW(pathw, sec_info, NULL, 0, &sec_desc_length)) { in tsrm_win32_access()
324 …!GetFileSecurityW(pathw, sec_info, (PSECURITY_DESCRIPTOR)psec_desc, sec_desc_length, &sec_desc_len… in tsrm_win32_access()
806 if (!pathw) { in win32_utime()
810 hFile = CreateFileW(pathw, GENERIC_WRITE, FILE_SHARE_WRITE|FILE_SHARE_READ, NULL, in win32_utime()
/PHP-8.4/Zend/
H A Dzend_virtual_cwd.c497 wchar_t *pathw = NULL; in tsrm_realpath_r()
500 do { free(pathw); } while(0); in tsrm_realpath_r()
600 pathw = php_win32_ioutil_any_to_w(path); in tsrm_realpath_r()
601 if (!pathw) { in tsrm_realpath_r()
604 PHP_WIN32_IOUTIL_CHECK_PATH_W(pathw, (size_t)-1, 1); in tsrm_realpath_r()
605 hFind = FindFirstFileExW(pathw, FindExInfoBasic, &dataw, FindExSearchNameMatch, NULL, 0); in tsrm_realpath_r()
649 hLink = CreateFileW(pathw, in tsrm_realpath_r()
835 pathw = php_win32_ioutil_any_to_w(path); in tsrm_realpath_r()
836 if (!pathw) { in tsrm_realpath_r()
839 attrs = GetFileAttributesW(pathw); in tsrm_realpath_r()
/PHP-8.4/ext/standard/
H A Dfilestat.c115 …if (GetDiskFreeSpaceExW(pathw, &FreeBytesAvailableToCaller, &TotalNumberOfBytes, &TotalNumberOfFre… in php_disk_total_space()
200 …if (GetDiskFreeSpaceExW(pathw, &FreeBytesAvailableToCaller, &TotalNumberOfBytes, &TotalNumberOfFre… in php_disk_free_space()

Completed in 22 milliseconds