Searched refs:trypath (Results 1 – 3 of 3) sorted by relevance
/PHP-5.6/main/ |
H A D | fopen_wrappers.c | 476 char trypath[MAXPATHLEN]; local 529 memcpy(trypath, ptr, end-ptr); 530 trypath[end-ptr] = '/'; 539 memcpy(trypath, ptr, len); 540 trypath[len] = '/'; 541 memcpy(trypath+len+1, filename, filename_length+1); 544 actual_path = trypath; 554 return estrdup(trypath); 578 actual_path = trypath; 591 return estrdup(trypath); [all …]
|
/PHP-5.6/main/streams/ |
H A D | plain_wrapper.c | 1401 char trypath[MAXPATHLEN]; in _php_stream_fopen_with_path() local 1456 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1462 if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(trypath TSRMLS_CC)) { in _php_stream_fopen_with_path() 1466 return php_stream_fopen_rel(trypath, mode, opened_path, options); in _php_stream_fopen_with_path() 1510 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1514 …if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir_ex(trypath, 0 TSRMLS_… in _php_stream_fopen_with_path() 1518 stream = php_stream_fopen_rel(trypath, mode, opened_path, options); in _php_stream_fopen_with_path()
|
/PHP-5.6/ext/opcache/ |
H A D | ZendAccelerator.c | 1825 char trypath[MAXPATHLEN]; local 1849 memcpy(trypath, ptr, len); 1850 trypath[len] = '/'; 1851 memcpy(trypath + len + 1, filename, filename_length + 1); 1853 if ((resolved_path = accel_tsrm_realpath(trypath, len + 1 + filename_length TSRMLS_CC)) != NULL) { 1868 memcpy(trypath, exec_fname, exec_fname_length + 1); 1869 memcpy(trypath + exec_fname_length + 1, filename, filename_length + 1); 1870 return accel_tsrm_realpath(trypath, exec_fname_length + 1 + filename_length TSRMLS_CC);
|
Completed in 22 milliseconds