Searched refs:exec_fname_length (Results 1 – 3 of 3) sorted by relevance
/PHP-5.4/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.4/main/streams/ |
H A D | plain_wrapper.c | 1372 int exec_fname_length; in _php_stream_fopen_with_path() local 1447 exec_fname_length = strlen(exec_fname); in _php_stream_fopen_with_path() 1450 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path() 1452 || exec_fname_length<=0) { in _php_stream_fopen_with_path() 1456 pathbuf = (char *) emalloc(exec_fname_length + path_length +1 +1); in _php_stream_fopen_with_path() 1459 memcpy(pathbuf+path_length+1, exec_fname, exec_fname_length); in _php_stream_fopen_with_path() 1460 pathbuf[path_length + exec_fname_length +1] = '\0'; in _php_stream_fopen_with_path()
|
/PHP-5.4/ext/phar/ |
H A D | util.c | 525 int exec_fname_length = strlen(exec_fname); in phar_find_in_include_path() 529 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); in phar_find_in_include_path() 531 exec_fname_length > 0 && in phar_find_in_include_path() 532 exec_fname_length + 1 + filename_len + 1 < MAXPATHLEN) { in phar_find_in_include_path() 533 memcpy(trypath, exec_fname, exec_fname_length + 1); in phar_find_in_include_path() 534 memcpy(trypath+exec_fname_length + 1, filename, filename_len+1); in phar_find_in_include_path() 539 …if (n < exec_fname_length - 3 && (*p == ':') && (n > 1) && (!strncmp("//", p+1, 2) || !memcmp("dat… in phar_find_in_include_path()
|
Completed in 16 milliseconds