Home
last modified time | relevance | path

Searched refs:exec_fname (Results 1 – 3 of 3) sorted by relevance

/PHP-5.3/main/
H A Dfopen_wrappers.c636 char *exec_fname = zend_get_executed_filename(TSRMLS_C); local
637 int exec_fname_length = strlen(exec_fname);
639 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length]));
640 if (exec_fname && exec_fname[0] != '[' &&
643 memcpy(trypath, exec_fname, exec_fname_length + 1);
682 char *exec_fname; local
737 exec_fname = zend_get_executed_filename(TSRMLS_C);
738 exec_fname_length = strlen(exec_fname);
741 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length]));
742 if ((exec_fname && exec_fname[0] == '[') || exec_fname_length <= 0) {
[all …]
/PHP-5.3/main/streams/
H A Dplain_wrapper.c1324 char *exec_fname; in _php_stream_fopen_with_path() local
1427 exec_fname = zend_get_executed_filename(TSRMLS_C); in _php_stream_fopen_with_path()
1428 exec_fname_length = strlen(exec_fname); in _php_stream_fopen_with_path()
1431 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
1432 if ((exec_fname && exec_fname[0] == '[') in _php_stream_fopen_with_path()
1440 memcpy(pathbuf+path_length+1, exec_fname, exec_fname_length); in _php_stream_fopen_with_path()
/PHP-5.3/ext/phar/
H A Dutil.c525 char *exec_fname = zend_get_executed_filename(TSRMLS_C); in phar_find_in_include_path()
526 int exec_fname_length = strlen(exec_fname); in phar_find_in_include_path()
530 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); in phar_find_in_include_path()
531 if (exec_fname && exec_fname[0] != '[' && in phar_find_in_include_path()
534 memcpy(trypath, exec_fname, exec_fname_length + 1); in phar_find_in_include_path()

Completed in 16 milliseconds