Lines Matching refs:filename_length
473 PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_length, const char *path) argument
482 if (!filename || CHECK_NULL_PATH(filename, filename_length)) {
501 IS_ABSOLUTE_PATH(filename, filename_length) ||
507 filename_length >=2 && IS_SLASH(filename[0]) && !IS_SLASH(filename[1]) ||
533 …if (filename_length > (MAXPATHLEN - 2) || (end-ptr) > MAXPATHLEN || (end-ptr) + 1 + filename_lengt…
539 memcpy(trypath+(end-ptr)+1, filename, filename_length+1);
544 …if (filename_length > (MAXPATHLEN - 2) || len > MAXPATHLEN || len + 1 + filename_length + 1 >= MAX…
549 memcpy(trypath+len+1, filename, filename_length+1);
582 filename_length < (MAXPATHLEN - 2) &&
583 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
585 memcpy(trypath+exec_fname_length + 1, filename, filename_length+1);
625 size_t filename_length; local
636 filename_length = strlen(filename);
638 (void) filename_length;
644 || IS_ABSOLUTE_PATH(filename, filename_length)