Home
last modified time | relevance | path

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

/php-src/win32/
H A Dioutil.h300 if (!pathw) { in php_win32_ioutil_access()
327 if (!pathw) { in php_win32_ioutil_open()
361 if (!pathw) { in php_win32_ioutil_unlink()
385 if (!pathw) { in php_win32_ioutil_rmdir()
413 if (!pathw) { in php_win32_ioutil_fopen()
488 if (!pathw) { in php_win32_ioutil_chdir()
498 free(pathw); in php_win32_ioutil_chdir()
553 if (!pathw) { in php_win32_ioutil_chmod()
565 free(pathw); in php_win32_ioutil_chmod()
774 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.c542 wchar_t *endw, *pathw, *startw; in php_win32_ioutil_dirname() local
552 if (!pathw) { in php_win32_ioutil_dirname()
556 endw = pathw + pathw_len - 1; in php_win32_ioutil_dirname()
558 if ((2 <= pathw_len) && iswalpha((wint_t)(pathw)[0]) && (L':' == pathw[1])) { in php_win32_ioutil_dirname()
559 pathw += 2; in php_win32_ioutil_dirname()
572 if (endw < pathw) { in php_win32_ioutil_dirname()
584 if (endw < pathw) { in php_win32_ioutil_dirname()
595 if (endw < pathw) { in php_win32_ioutil_dirname()
922 pathw[pathw_len-4] == L'.') { in php_win32_ioutil_fstat_int()
924 _wcsnicmp(pathw+pathw_len-3, L"com", 3) == 0) { in php_win32_ioutil_fstat_int()
[all …]
/php-src/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-src/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-src/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-src/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-src/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