Searched refs:exec_fname_length (Results 1 – 2 of 2) sorted by relevance
578 size_t exec_fname_length = ZSTR_LEN(exec_filename); local580 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));581 if (exec_fname_length > 0 &&583 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {584 memcpy(trypath, exec_fname, exec_fname_length + 1);585 memcpy(trypath+exec_fname_length + 1, filename, filename_length+1);657 size_t exec_fname_length = ZSTR_LEN(exec_filename); local659 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));660 if ((exec_fname && exec_fname[0] == '[') || exec_fname_length <= 0) {669 memcpy(pathbuf + path_length + 1, exec_fname, exec_fname_length);[all …]
1575 size_t exec_fname_length = ZSTR_LEN(exec_filename); in _php_stream_fopen_with_path() local1577 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()1578 if (exec_fname_length<=0) { in _php_stream_fopen_with_path()1584 pathbuf = (char *) emalloc(exec_fname_length + path_length +1 +1); in _php_stream_fopen_with_path()1587 memcpy(pathbuf+path_length+1, exec_fname, exec_fname_length); in _php_stream_fopen_with_path()1588 pathbuf[path_length + exec_fname_length +1] = '\0'; in _php_stream_fopen_with_path()
Completed in 10 milliseconds