Lines Matching refs:NULL
35 NULL, /* cast */
36 NULL, /* stat */
37 NULL, /* set option */
50 stream->abstract = NULL; in phar_dir_close()
190 zend_hash_init(data, 64, NULL, NULL, 0); in phar_make_dirstream()
196 return php_stream_alloc(&phar_dir_ops, data, NULL, "r"); in phar_make_dirstream()
226 if (NULL != (found = (char *) memchr(ZSTR_VAL(str_key), '/', keylen))) { in phar_make_dirstream()
259 if (NULL != (found = (char *) memchr(save, '/', keylen - dirlen - 1))) { in phar_make_dirstream()
290 return NULL; in phar_make_dirstream()
292 return php_stream_alloc(&phar_dir_ops, data, NULL, "r"); in phar_make_dirstream()
295 return php_stream_alloc(&phar_dir_ops, data, NULL, "r"); in phar_make_dirstream()
305 php_url *resource = NULL; in phar_wrapper_open_dir()
311 phar_entry_info *entry = NULL; in phar_wrapper_open_dir()
314 if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) { in phar_wrapper_open_dir()
316 return NULL; in phar_wrapper_open_dir()
324 return NULL; in phar_wrapper_open_dir()
328 return NULL; in phar_wrapper_open_dir()
334 return NULL; in phar_wrapper_open_dir()
341 if (FAILURE == phar_get_archive(&phar, ZSTR_VAL(resource->host), host_len, NULL, 0, &error)) { in phar_wrapper_open_dir()
349 return NULL; in phar_wrapper_open_dir()
366 return NULL; in phar_wrapper_open_dir()
369 …if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, strlen(internal_file))… in phar_wrapper_open_dir()
371 return NULL; in phar_wrapper_open_dir()
404 return NULL; in phar_wrapper_open_dir()
414 phar_archive_data *phar = NULL; in phar_wrapper_mkdir()
417 php_url *resource = NULL; in phar_wrapper_mkdir()
426 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in phar_wrapper_mkdir()
427 phar = NULL; in phar_wrapper_mkdir()
438 if ((resource = phar_parse_url(wrapper, url_from, "w", options)) == NULL) { in phar_wrapper_mkdir()
457 if (FAILURE == phar_get_archive(&phar, ZSTR_VAL(resource->host), host_len, NULL, 0, &error)) { in phar_wrapper_mkdir()
519 …if (NULL == zend_hash_str_add_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&ent… in phar_wrapper_mkdir()
546 phar_archive_data *phar = NULL; in phar_wrapper_rmdir()
549 php_url *resource = NULL; in phar_wrapper_rmdir()
561 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in phar_wrapper_rmdir()
562 phar = NULL; in phar_wrapper_rmdir()
573 if ((resource = phar_parse_url(wrapper, url, "w", options)) == NULL) { in phar_wrapper_rmdir()
592 if (FAILURE == phar_get_archive(&phar, ZSTR_VAL(resource->host), host_len, NULL, 0, &error)) { in phar_wrapper_rmdir()