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

/PHP_5_5/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc28 * @param string|resource file contents or open file handle
/PHP_5_5/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_5/ext/imap/tests/
H A Dimap_include.inc98 * @param resource $imap_stream
131 * @param resource $imap_stream
/PHP_5_5/ext/standard/tests/mail/
H A Dmail_include.inc52 * @param resource $imap_stream
85 * @param resource $imap_stream
/PHP_5_5/ext/standard/tests/file/
H A Dfile.inc83 Function : bool fill_file(resource $file_handle, string $fill_type, string $file_size);
/PHP_5_5/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_5/ext/pcntl/
H A Dpcntl.c44 #include <sys/resource.h>
/PHP_5_5/ext/pdo/
H A Dpdo_sql_parser.c583 pdo_raise_impl_error(stmt->dbh, stmt, "HY105", "Expected a stream resource" TSRMLS_CC);
/PHP_5_5/ext/phar/
H A Ddirstream.c320 php_url *resource = NULL; local
330 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
336 if (!resource->scheme || !resource->host || !resource->path) {
337 if (resource->host && !resource->path) {
338 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);
339 php_url_free(resource);
342 php_url_free(resource);
437 php_url *resource = NULL; local
569 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.c3616 /* {{{ add a file within the phar archive from a string or resource
3833 php_stream *resource; local
3854 if (!(resource = php_stream_open_wrapper(fname, "rb", 0, NULL))) {
3865 php_stream_to_zval(resource, zresource);
3868 php_stream_close(resource);
/PHP_5_5/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");
1305 Get system resource consumption limits (This is not a POSIX function, but a BSDism and a SVR4ism. We compile conditionally) */
/PHP_5_5/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
416 php_url *resource = NULL; local
698 php_url *resource = NULL; local
786 php_url *resource = NULL; local
909 php_url *resource = NULL; local
1038 php_url *resource = NULL; local
1132 php_url *resource = NULL; local
[all...]
H A Dmicrotime.c35 #include <sys/resource.h>
H A Dhttp_fopen_wrapper.c114 php_url *resource = NULL; local
149 resource = php_url_parse(path);
150 if (resource == NULL) {
154 if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
159 php_url_free(resource);
174 php_url_free(resource);
178 use_ssl = resource->scheme && (strlen(resource->scheme) > 4) && resource
[all...]
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_5/ext/tidy/
H A Dtidy.c327 ZEND_ARG_INFO(0, resource)
1366 /* {{{ proto string tidy_get_opt_doc(tidy resource, string optname)
1699 /* {{{ proto TidyNode tidy_get_body(resource tidy)
/PHP_5_5/Zend/
H A Dzend_list.c22 /* resource lists */
113 void *resource; local
123 zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
129 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);
138 resource = zend_list_find(id, &actual_resource_type);
139 if (!resource) {
142 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);
154 return resource;
161 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 const char *zend_rsrc_list_get_rsrc_type(int resource TSRMLS_DC);
/PHP_5_5/ext/libxml/
H A Dlibxml.c557 const char *resource = NULL; local
619 resource = Z_STRVAL_P(retval_ptr);
626 "resource, but it is not a stream",
649 /* retval not string nor resource nor null; convert to string */
657 if (resource == NULL) {
664 /* we got the resource in the form of a string; open it */
665 ret = xmlNewInputFromFile(context, resource);
688 * we don't even have a resource list by then), but then whether one
891 /* the steam_context resource will be released by resource lis
[all...]
/PHP_5_5/ext/opcache/
H A DZendAccelerator.h46 # include <sys/resource.h>
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_unix.c9 #include <sys/resource.h>
/PHP_5_5/sapi/litespeed/
H A Dlsapilib.c63 #include <sys/resource.h>
716 "The website is temporarily unable to service your request as it exceeded resource limit.\n"
736 LSAPI_perror_r(pReq, "LSAPI: lve_enter() failure, reached resource limit.", NULL );
/PHP_5_5/ext/ldap/
H A Dldap.c289 /* {{{ proto resource ldap_connect([string host [, int port [, string wallet [, string wallet_passwd [, int authmode]]]]])
405 /* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
527 /* {{{ 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]]]]]]])
567 /* {{{ proto bool ldap_unbind(resource link)
676 zval **entry, *resource; local
759 MAKE_STD_ZVAL(resource);
764 ZEND_REGISTER_RESOURCE(resource, ldap_res, le_result);
765 add_next_index_zval(return_value, resource);
833 /* {{{ proto resource ldap_read(resource|arra
[all...]

Completed in 48 milliseconds