Lines Matching refs:filename_length
479 PHPAPI zend_string *php_resolve_path(const char *filename, int filename_length, const char *path) argument
488 if (!filename || CHECK_NULL_PATH(filename, filename_length)) {
507 IS_ABSOLUTE_PATH(filename, filename_length) ||
513 filename_length >=2 && IS_SLASH(filename[0]) && !IS_SLASH(filename[1]) ||
539 …if (filename_length > (MAXPATHLEN - 2) || (end-ptr) > MAXPATHLEN || (end-ptr) + 1 + (size_t)filena…
545 memcpy(trypath+(end-ptr)+1, filename, filename_length+1);
550 …if (filename_length > (MAXPATHLEN - 2) || len > MAXPATHLEN || len + 1 + (size_t)filename_length + …
555 memcpy(trypath+len+1, filename, filename_length+1);
588 filename_length < (MAXPATHLEN - 2) &&
589 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
591 memcpy(trypath+exec_fname_length + 1, filename, filename_length+1);
631 int filename_length; local
642 filename_length = (int)strlen(filename);
644 (void) filename_length;
650 || IS_ABSOLUTE_PATH(filename, filename_length)