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

/PHP_TRUNK/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc28 * @param string|resource file contents or open file handle
/PHP_TRUNK/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_TRUNK/ext/imap/tests/
H A Dimap_include.inc98 * @param resource $imap_stream
131 * @param resource $imap_stream
/PHP_TRUNK/ext/standard/tests/mail/
H A Dmail_include.inc52 * @param resource $imap_stream
85 * @param resource $imap_stream
/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc83 Function : bool fill_file(resource $file_handle, string $fill_type, string $file_size);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_unix.c9 #include <sys/resource.h>
/PHP_TRUNK/ext/phar/
H A Ddirstream.c305 php_url *resource = NULL; local
314 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
320 if (!resource->scheme || !resource->host || !resource->path) {
321 if (resource->host && !resource->path) {
322 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);
323 php_url_free(resource);
326 php_url_free(resource);
418 php_url *resource = NULL; local
550 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
568 php_url *resource = NULL; local
676 php_url *resource; local
[all...]
H A Dphar_object.c3561 /* {{{ add a file within the phar archive from a string or resource
3778 php_stream *resource; local
3799 if (!(resource = php_stream_open_wrapper(fname, "rb", 0, NULL))) {
3809 php_stream_to_zval(resource, &zresource);
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c561 const char *resource = NULL; local
623 resource = Z_STRVAL(retval);
630 "resource, but it is not a stream",
653 /* retval not string nor resource nor null; convert to string */
661 if (resource == NULL) {
668 /* we got the resource in the form of a string; open it */
669 ret = xmlNewInputFromFile(context, resource);
690 * we don't even have a resource list by then), but then whether one
902 /* the steam_context resource will be released by resource lis
[all...]
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h123 zend_resource *id; /* resource id */
135 zend_resource *id; /* resource ID */
358 #define PHP_OCI_REGISTER_RESOURCE(resource, le_resource) \
360 resource->id = ZEND_REGISTER_RESOURCE(NULL, resource, le_resource); \
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c44 #include <sys/resource.h>
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c572 pdo_raise_impl_error(stmt->dbh, stmt, "HY105", "Expected a stream resource" TSRMLS_CC);
/PHP_TRUNK/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_TRUNK/ext/standard/
H A Dmicrotime.c35 #include <sys/resource.h>
H A Dftp_fopen_wrapper.c138 php_url *resource = NULL; local
144 resource = php_url_parse(path);
145 if (resource == NULL || resource->path == NULL) {
146 if (resource && presource) {
147 *presource = resource;
152 use_ssl = resource->scheme && (strlen(resource->scheme) > 3) && resource->scheme[3] == 's';
155 if (resource
418 php_url *resource = NULL; local
692 php_url *resource = NULL; local
780 php_url *resource = NULL; local
903 php_url *resource = NULL; local
1032 php_url *resource = NULL; local
1126 php_url *resource = NULL; local
[all...]
H A Dhttp_fopen_wrapper.c117 php_url *resource = NULL; local
156 resource = php_url_parse(path);
157 if (resource == NULL) {
161 if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
166 php_url_free(resource);
181 php_url_free(resource);
185 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);
394 if (resource->host != NULL) RETVAL_STRING(resource->host);
397 if (resource->port != 0) RETVAL_LONG(resource->port);
400 if (resource
[all...]
/PHP_TRUNK/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_TRUNK/ext/ldap/
H A Dldap.c292 /* {{{ proto resource ldap_connect([string host [, int port [, string wallet [, string wallet_passwd [, int authmode]]]]])
408 /* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
530 /* {{{ 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]]]]]]])
570 /* {{{ proto bool ldap_unbind(resource link)
679 zval *entry, resource; local
766 ZEND_REGISTER_RESOURCE(&resource, ldap_res, le_result);
767 add_next_index_zval(return_value, &resource);
835 /* {{{ proto resource ldap_read(resource|array link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])
843 /* {{{ proto resource ldap_lis
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h46 # include <sys/resource.h>
/PHP_TRUNK/ext/tidy/
H A Dtidy.c328 ZEND_ARG_INFO(0, resource)
1333 /* {{{ proto string tidy_get_opt_doc(tidy resource, string optname)
1670 /* {{{ proto TidyNode tidy_get_body(resource tidy)

Completed in 55 milliseconds