Lines Matching refs:filename_length
473 PHPAPI char *php_resolve_path(const char *filename, int filename_length, const char *path TSRMLS_DC) argument
481 if (!filename || CHECK_NULL_PATH(filename, filename_length)) {
500 IS_ABSOLUTE_PATH(filename, filename_length) ||
525 if ((end-ptr) + 1 + filename_length + 1 >= MAXPATHLEN) {
531 memcpy(trypath+(end-ptr)+1, filename, filename_length+1);
536 if (len + 1 + filename_length + 1 >= MAXPATHLEN) {
541 memcpy(trypath+len+1, filename, filename_length+1);
574 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
576 memcpy(trypath+exec_fname_length + 1, filename, filename_length+1);
618 int filename_length; local
629 filename_length = strlen(filename);
634 || IS_ABSOLUTE_PATH(filename, filename_length)