Lines Matching refs:ptr
1433 const char *ptr; in _php_stream_fopen_with_path() local
1455 ptr = filename + 1; in _php_stream_fopen_with_path()
1456 if (*ptr == '.') { in _php_stream_fopen_with_path()
1457 while (*(++ptr) == '.'); in _php_stream_fopen_with_path()
1458 if (!IS_SLASH(*ptr)) { /* not a relative path after all */ in _php_stream_fopen_with_path()
1535 ptr = pathbuf; in _php_stream_fopen_with_path()
1537 while (ptr && *ptr) { in _php_stream_fopen_with_path()
1538 end = strchr(ptr, DEFAULT_DIR_SEPARATOR); in _php_stream_fopen_with_path()
1543 if (*ptr == '\0') { in _php_stream_fopen_with_path()
1546 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
1547 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN); in _php_stream_fopen_with_path()
1560 ptr = end; in _php_stream_fopen_with_path()