Home
last modified time | relevance | path

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

/PHP-5.3/main/
H A Dfopen_wrappers.c637 int exec_fname_length = strlen(exec_fname); local
639 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length]));
641 exec_fname_length > 0 &&
642 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
643 memcpy(trypath, exec_fname, exec_fname_length + 1);
644 memcpy(trypath+exec_fname_length + 1, filename, filename_length+1);
688 int exec_fname_length; local
738 exec_fname_length = strlen(exec_fname);
741 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length]));
749 memcpy(pathbuf + path_length + 1, exec_fname, exec_fname_length);
[all …]
/PHP-5.3/main/streams/
H A Dplain_wrapper.c1329 int exec_fname_length; in _php_stream_fopen_with_path() local
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()
1433 || exec_fname_length<=0) { in _php_stream_fopen_with_path()
1437 pathbuf = (char *) emalloc(exec_fname_length + path_length +1 +1); in _php_stream_fopen_with_path()
1440 memcpy(pathbuf+path_length+1, exec_fname, exec_fname_length); in _php_stream_fopen_with_path()
1441 pathbuf[path_length + exec_fname_length +1] = '\0'; in _php_stream_fopen_with_path()
/PHP-5.3/ext/phar/
H A Dutil.c526 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()
532 exec_fname_length > 0 && in phar_find_in_include_path()
533 exec_fname_length + 1 + filename_len + 1 < MAXPATHLEN) { in phar_find_in_include_path()
534 memcpy(trypath, exec_fname, exec_fname_length + 1); in phar_find_in_include_path()
535 memcpy(trypath+exec_fname_length + 1, filename, filename_len+1); in phar_find_in_include_path()
540 …if (n < exec_fname_length - 3 && (*p == ':') && (n > 1) && (!strncmp("//", p+1, 2) || !memcmp("dat… in phar_find_in_include_path()

Completed in 15 milliseconds