Searched refs:exec_fname_length (Results 1 – 2 of 2) sorted by relevance
604 size_t exec_fname_length = ZSTR_LEN(exec_filename); local606 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));607 if (exec_fname_length > 0 &&609 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {610 memcpy(trypath, exec_fname, exec_fname_length + 1);611 memcpy(trypath+exec_fname_length + 1, filename, filename_length+1);684 size_t exec_fname_length = ZSTR_LEN(exec_filename); local686 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));687 if ((exec_fname && exec_fname[0] == '[') || exec_fname_length <= 0) {696 memcpy(pathbuf + path_length + 1, exec_fname, exec_fname_length);[all …]
1691 size_t exec_fname_length = ZSTR_LEN(exec_filename); in _php_stream_fopen_with_path() local1693 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()1694 if (exec_fname_length<=0) { in _php_stream_fopen_with_path()1700 pathbuf = (char *) emalloc(exec_fname_length + path_length +1 +1); in _php_stream_fopen_with_path()1703 memcpy(pathbuf+path_length+1, exec_fname, exec_fname_length); in _php_stream_fopen_with_path()1704 pathbuf[path_length + exec_fname_length +1] = '\0'; in _php_stream_fopen_with_path()
Completed in 10 milliseconds