Searched refs:exec_fname_length (Results 1 – 3 of 3) sorted by relevance
/PHP-5.5/main/ |
H A D | fopen_wrappers.c | 569 int exec_fname_length = strlen(exec_fname); local 571 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); 573 exec_fname_length > 0 && 574 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) { 575 memcpy(trypath, exec_fname, exec_fname_length + 1); 576 memcpy(trypath+exec_fname_length + 1, filename, filename_length+1); 619 int exec_fname_length; local 646 exec_fname_length = strlen(exec_fname); 649 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); 657 memcpy(pathbuf + path_length + 1, exec_fname, exec_fname_length); [all …]
|
/PHP-5.5/main/streams/ |
H A D | plain_wrapper.c | 1398 int exec_fname_length; in _php_stream_fopen_with_path() local 1473 exec_fname_length = strlen(exec_fname); in _php_stream_fopen_with_path() 1476 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path() 1478 || exec_fname_length<=0) { in _php_stream_fopen_with_path() 1482 pathbuf = (char *) emalloc(exec_fname_length + path_length +1 +1); in _php_stream_fopen_with_path() 1485 memcpy(pathbuf+path_length+1, exec_fname, exec_fname_length); in _php_stream_fopen_with_path() 1486 pathbuf[path_length + exec_fname_length +1] = '\0'; in _php_stream_fopen_with_path()
|
/PHP-5.5/ext/opcache/ |
H A D | ZendAccelerator.c | 1785 int exec_fname_length = strlen(exec_fname); local 1787 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); 1789 exec_fname_length > 0 && 1790 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) { 1791 memcpy(trypath, exec_fname, exec_fname_length + 1); 1792 memcpy(trypath + exec_fname_length + 1, filename, filename_length + 1); 1793 return accel_tsrm_realpath(trypath, exec_fname_length + 1 + filename_length TSRMLS_CC);
|
Completed in 20 milliseconds