Searched refs:resource (Results 1 - 22 of 22) sorted by relevance

/PHP_5_3/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc28 * @param string|resource file contents or open file handle
/PHP_5_3/ext/standard/tests/file/
H A Dfile.inc83 Function : bool fill_file(resource $file_handle, string $fill_type, string $file_size);
/PHP_5_3/ext/standard/tests/mail/
H A Dmail_include.inc52 * @param resource $imap_stream
85 * @param resource $imap_stream
/PHP_5_3/ext/sybase_ct/tests/
H A Dtest.inc52 // {{{ resource sybase_connect_ex(string charset= NULL, string appname= NULL, bool new= FALSE)
63 // {{{ void sybase_select_ex(resource dbh, string query)
79 // {{{ mixed sybase_select_single(resource dbh, string query)
/PHP_5_3/ext/imap/tests/
H A Dimap_include.inc98 * @param resource $imap_stream
131 * @param resource $imap_stream
/PHP_5_3/ext/ldap/
H A Dldap.c280 /* {{{ proto resource ldap_connect([string host [, int port [, string wallet [, string wallet_passwd [, int authmode]]]]])
379 /* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
489 /* {{{ proto bool ldap_sasl_bind(resource link [, string binddn [, string password [, string sasl_mech [, string sasl_realm [, string sasl_authc_id [, string sasl_authz_id [, string props]]]]]]])
529 /* {{{ proto bool ldap_unbind(resource link)
638 zval **entry, *resource; local
721 MAKE_STD_ZVAL(resource);
726 ZEND_REGISTER_RESOURCE(resource, ldap_res, le_result);
727 add_next_index_zval(return_value, resource);
795 /* {{{ proto resource ldap_read(resource|arra
[all...]
/PHP_5_3/ext/oci8/
H A Dphp_oci8_int.h142 int rsrc_id; /* resource ID */
327 #define PHP_OCI_REGISTER_RESOURCE(resource, le_resource) \
329 resource->id = ZEND_REGISTER_RESOURCE(NULL, resource, le_resource); \
/PHP_5_3/ext/pcntl/
H A Dpcntl.c44 #include <sys/resource.h>
/PHP_5_3/ext/pdo/
H A Dpdo_sql_parser.c578 pdo_raise_impl_error(stmt->dbh, stmt, "HY105", "Expected a stream resource" TSRMLS_CC);
/PHP_5_3/ext/posix/
H A Dposix.c38 #include <sys/resource.h>
695 /* Checks if the provides resource is a stream and if it provides a file descriptor */
703 php_error_docref(NULL TSRMLS_CC, E_WARNING, "expects argument 1 to be a valid stream resource");
1320 Get system resource consumption limits (This is not a POSIX function, but a BSDism and a SVR4ism. We compile conditionally) */
/PHP_5_3/ext/standard/
H A Dftp_fopen_wrapper.c137 php_url *resource = NULL; local
143 resource = php_url_parse(path);
144 if (resource == NULL || resource->path == NULL) {
145 if (resource && presource) {
146 *presource = resource;
151 use_ssl = resource->scheme && (strlen(resource->scheme) > 3) && resource->scheme[3] == 's';
154 if (resource
417 php_url *resource = NULL; local
699 php_url *resource = NULL; local
787 php_url *resource = NULL; local
910 php_url *resource = NULL; local
1039 php_url *resource = NULL; local
1133 php_url *resource = NULL; local
[all...]
H A Dhttp_fopen_wrapper.c90 php_url *resource = NULL; local
124 resource = php_url_parse(path);
125 if (resource == NULL) {
129 if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
134 php_url_free(resource);
149 php_url_free(resource);
153 use_ssl = resource->scheme && (strlen(resource->scheme) > 4) && resource
[all...]
H A Dmicrotime.c35 #include <sys/resource.h>
H A Durl.c375 php_url *resource; local
382 resource = php_url_parse_ex(str, str_len);
383 if (resource == NULL) {
391 if (resource->scheme != NULL) RETVAL_STRING(resource->scheme, 1);
394 if (resource->host != NULL) RETVAL_STRING(resource->host, 1);
397 if (resource->port != 0) RETVAL_LONG(resource->port);
400 if (resource
[all...]
/PHP_5_3/ext/tidy/
H A Dtidy.c325 ZEND_ARG_INFO(0, resource)
1318 /* {{{ proto string tidy_get_opt_doc(tidy resource, string optname)
1657 /* {{{ proto TidyNode tidy_get_body(resource tidy)
/PHP_5_3/sapi/litespeed/
H A Dlsapilib.c69 #include <sys/resource.h>
/PHP_5_3/Zend/
H A Dzend_list.c22 /* resource lists */
114 void *resource; local
124 zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
130 zend_error(E_WARNING, "%s%s%s(): supplied argument is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
139 resource = zend_list_find(id, &actual_resource_type);
140 if (!resource) {
143 zend_error(E_WARNING, "%s%s%s(): %d is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), id, resource_type_name);
155 return resource;
162 zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_nam
[all...]
H A Dzend_list.h85 ZEND_API char *zend_rsrc_list_get_rsrc_type(int resource TSRMLS_DC);
/PHP_5_3/ext/phar/
H A Ddirstream.c324 php_url *resource = NULL; local
334 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
340 if (!resource->scheme || !resource->host || !resource->path) {
341 if (resource->host && !resource->path) {
342 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: no directory in \"%s\", must have at least phar://%s/ for root directory (always use full path to a new phar)", path, resource->host);
343 php_url_free(resource);
346 php_url_free(resource);
441 php_url *resource = NULL; local
573 php_url *resource = NULL; local
[all...]
H A Dstream.c61 php_url *resource; local
85 resource = ecalloc(1, sizeof(php_url));
86 resource->scheme = estrndup("phar", 4);
87 resource->host = arch;
89 resource->path = entry;
91 if (resource) {
93 fprintf(stderr, "Scheme: %s\n", resource->scheme);
94 /* fprintf(stderr, "User: %s\n", resource->user);*/
95 /* fprintf(stderr, "Pass: %s\n", resource->pass ? "***" : NULL);*/
96 fprintf(stderr, "Host: %s\n", resource
165 php_url *resource = NULL; local
569 php_url *resource = NULL; local
691 php_url *resource; local
[all...]
H A Dphar_object.c3696 /* {{{ add a file within the phar archive from a string or resource
3913 php_stream *resource; local
3934 if (!(resource = php_stream_open_wrapper(fname, "rb", 0, NULL))) {
3945 php_stream_to_zval(resource, zresource);
3948 php_stream_close(resource);
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_unix.c9 #include <sys/resource.h>

Completed in 39 milliseconds