Home
last modified time | relevance | path

Searched refs:ctx (Results 51 – 75 of 80) sorted by relevance

1234

/PHP-5.6/ext/standard/tests/http/
H A Dbug73297.phpt18 $ctx = stream_context_create($options);
26 echo file_get_contents('http://127.0.0.1:12342/', false, $ctx);
H A Dbug67430.phpt19 $ctx = stream_context_create($options);
27 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
H A Dbug65634.phpt22 $ctx = stream_context_create($options);
27 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
H A Dbug61548.phpt20 $ctx = stream_context_create($options);
28 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
/PHP-5.6/pear/
H A Dfetch.php64 $ctx = stream_context_create($copt, array("notification" => "stream_notification_callback")); variable
66 $fp = fopen($argv[1], "r", false, $ctx);
/PHP-5.6/ext/soap/
H A Dphp_sdl.c240 l1 = s ? (s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials()
286 if (ctx->context && in sdl_set_uri_credentials()
313 if (ctx->old_header) { in sdl_restore_uri_credentials()
316 ctx->old_header = NULL; in sdl_restore_uri_credentials()
318 ctx->context = NULL; in sdl_restore_uri_credentials()
323 sdlPtr tmpsdl = ctx->sdl; in load_wsdl_ex()
733 sdlCtx ctx; in load_wsdl() local
736 memset(&ctx,0,sizeof(ctx)); in load_wsdl()
749 schema_pass2(&ctx); in load_wsdl()
1172 if (ctx.sdl->bindings == NULL || ctx.sdl->bindings->nNumOfElements == 0) { in load_wsdl()
[all …]
H A Dphp_sdl.h269 void sdl_set_uri_credentials(sdlCtx *ctx, char *uri TSRMLS_DC);
270 void sdl_restore_uri_credentials(sdlCtx *ctx TSRMLS_DC);
H A Dphp_xml.c72 static void soap_ignorableWhitespace(void *ctx, const xmlChar *ch, int len) in soap_ignorableWhitespace() argument
76 static void soap_Comment(void *ctx, const xmlChar *value) in soap_Comment() argument
/PHP-5.6/ext/libxml/
H A Dphp_libxml.h95 PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...);
96 PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...);
97 PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...);
H A Dlibxml.c506 static void php_libxml_ctx_error_level(int level, void *ctx, const char *msg TSRMLS_DC) in php_libxml_ctx_error_level() argument
510 parser = (xmlParserCtxtPtr) ctx; in php_libxml_ctx_error_level()
530 static void php_libxml_internal_error_handler(int error_type, void *ctx, const char **msg, va_list … in php_libxml_internal_error_handler() argument
556 php_libxml_ctx_error_level(E_WARNING, ctx, LIBXML(error_buffer).c TSRMLS_CC); in php_libxml_internal_error_handler()
559 php_libxml_ctx_error_level(E_NOTICE, ctx, LIBXML(error_buffer).c TSRMLS_CC); in php_libxml_internal_error_handler()
715 PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...) in php_libxml_ctx_error() argument
719 php_libxml_internal_error_handler(PHP_LIBXML_CTX_ERROR, ctx, &msg, args); in php_libxml_ctx_error()
723 PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...) in php_libxml_ctx_warning() argument
727 php_libxml_internal_error_handler(PHP_LIBXML_CTX_WARNING, ctx, &msg, args); in php_libxml_ctx_warning()
738 PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...) in php_libxml_error_handler() argument
[all …]
/PHP-5.6/ext/dom/
H A Dxpath.c277 xmlXPathContextPtr ctx, oldctx; in PHP_METHOD() local
289 ctx = xmlXPathNewContext(docp); in PHP_METHOD()
290 if (ctx == NULL) { in PHP_METHOD()
303 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "functionString", in PHP_METHOD()
306 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "function", in PHP_METHOD()
310 intern->ptr = ctx; in PHP_METHOD()
311 ctx->userData = (void *)intern; in PHP_METHOD()
322 xmlXPathContextPtr ctx; in dom_xpath_document_read() local
326 ctx = (xmlXPathContextPtr) obj->ptr; in dom_xpath_document_read()
328 if (ctx) { in dom_xpath_document_read()
[all …]
/PHP-5.6/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp5022x.c570 mbfl_filt_conv_wchar_cp50220_ctx *ctx; in mbfl_filt_conv_wchar_cp50220_ctor() local
575 if (ctx == NULL) { in mbfl_filt_conv_wchar_cp50220_ctor()
582 ctx->last = *filt; in mbfl_filt_conv_wchar_cp50220_ctor()
583 ctx->last.opaque = ctx; in mbfl_filt_conv_wchar_cp50220_ctor()
584 ctx->last.data = filt->data; in mbfl_filt_conv_wchar_cp50220_ctor()
589 filt->data = &ctx->last; in mbfl_filt_conv_wchar_cp50220_ctor()
590 filt->opaque = ctx; in mbfl_filt_conv_wchar_cp50220_ctor()
597 mbfl_filt_conv_wchar_cp50220_ctx *ctx; in mbfl_filt_conv_wchar_cp50220_copy() local
601 if (ctx != NULL) { in mbfl_filt_conv_wchar_cp50220_copy()
605 dest->opaque = ctx; in mbfl_filt_conv_wchar_cp50220_copy()
[all …]
/PHP-5.6/sapi/litespeed/
H A Dlsapilib.c3368 ctx->bits[0] = 0; in lsapi_MD5Init()
3369 ctx->bits[1] = 0; in lsapi_MD5Init()
3382 t = ctx->bits[0]; in lsapi_MD5Update()
3401 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update()
3410 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update()
3434 p = ctx->in + count; in lsapi_MD5Final()
3445 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final()
3456 ((uint32 *) ctx->in)[14] = ctx->bits[0]; in lsapi_MD5Final()
3457 ((uint32 *) ctx->in)[15] = ctx->bits[1]; in lsapi_MD5Final()
3459 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final()
[all …]
/PHP-5.6/ext/libxml/tests/
H A D004.phpt20 foreach ($ctxs as $ctx) {
21 var_dump(libxml_set_streams_context($ctx));
/PHP-5.6/sapi/milter/
H A Dphp_milter.h25 SMFICTX *ctx; member
/PHP-5.6/ext/ldap/
H A Dldap.c532 php_ldap_bictx *ctx; in _php_sasl_setdefs() local
554 return ctx; in _php_sasl_setdefs()
562 if (ctx->mech) ber_memfree(ctx->mech); in _php_sasl_freedefs()
563 if (ctx->realm) ber_memfree(ctx->realm); in _php_sasl_freedefs()
564 if (ctx->authcid) ber_memfree(ctx->authcid); in _php_sasl_freedefs()
565 if (ctx->passwd) ber_memfree(ctx->passwd); in _php_sasl_freedefs()
566 if (ctx->authzid) ber_memfree(ctx->authzid); in _php_sasl_freedefs()
567 ber_memfree(ctx); in _php_sasl_freedefs()
583 p = ctx->realm; in _php_sasl_interact()
586 p = ctx->authcid; in _php_sasl_interact()
[all …]
/PHP-5.6/ext/sockets/
H A Dsendrecvmsg.h24 typedef size_t (calculate_req_space)(const zval *value, ser_context *ctx);
/PHP-5.6/ext/ftp/
H A Dftp.c250 SSL_CTX *ctx = NULL; in ftp_login() local
282 ctx = SSL_CTX_new(SSLv23_client_method()); in ftp_login()
283 if (ctx == NULL) { in ftp_login()
291 SSL_CTX_set_options(ctx, ssl_ctx_options); in ftp_login()
296 ftp->ssl_handle = SSL_new(ctx); in ftp_login()
299 SSL_CTX_free(ctx); in ftp_login()
1500 SSL_CTX *ctx; in data_accept() local
1523 ctx = SSL_get_SSL_CTX(ftp->ssl_handle); in data_accept()
1524 if (ctx == NULL) { in data_accept()
1529 data->ssl_handle = SSL_new(ctx); in data_accept()
[all …]
/PHP-5.6/main/
H A Dphp_output.h110 #define PHP_OUTPUT_TSRMLS(ctx) TSRMLS_FETCH_FROM_CTX((ctx)->tsrm_ls) argument
/PHP-5.6/ext/com_dotnet/
H A Dcom_com.c44 CLSCTX ctx = CLSCTX_SERVER; in PHP_FUNCTION() local
74 ctx = CLSCTX_REMOTE_SERVER; in PHP_FUNCTION()
85 ctx = CLSCTX_REMOTE_SERVER; in PHP_FUNCTION()
112 ctx = (CLSCTX)Z_LVAL_PP(tmp); in PHP_FUNCTION()
203 res = CoCreateInstanceEx(&clsid, NULL, ctx, &info, 1, &qi); in PHP_FUNCTION()
/PHP-5.6/ext/standard/
H A Dfile.h79 …p_copy_file_ctx(const char *src, const char *dest, int src_chk, php_stream_context *ctx TSRMLS_DC);
H A Dfile.c1659 …hp_copy_file_ctx(const char *src, const char *dest, int src_flg, php_stream_context *ctx TSRMLS_DC) in php_copy_file_ctx()
1665 switch (php_stream_stat_path_ex(src, 0, &src_s, ctx)) { in php_copy_file_ctx()
1680 …stream_stat_path_ex(dest, PHP_STREAM_URL_STAT_QUIET | PHP_STREAM_URL_STAT_NOCACHE, &dest_s, ctx)) { in php_copy_file_ctx()
1730 srcstream = php_stream_open_wrapper_ex(src, "rb", src_flg | REPORT_ERRORS, NULL, ctx); in php_copy_file_ctx()
1736 deststream = php_stream_open_wrapper_ex(dest, "wb", REPORT_ERRORS, NULL, ctx); in php_copy_file_ctx()
/PHP-5.6/ext/openssl/
H A Dopenssl.c795 X509V3_CTX ctx; in php_openssl_config_check_syntax() local
797 X509V3_set_ctx_test(&ctx); in php_openssl_config_check_syntax()
798 X509V3_set_conf_lhash(&ctx, config); in php_openssl_config_check_syntax()
3046 X509V3_CTX ctx; in PHP_FUNCTION() local
4920 EVP_CIPHER_CTX ctx; in PHP_FUNCTION() local
4972 EVP_CIPHER_CTX_cleanup(&ctx); in PHP_FUNCTION()
4983 EVP_CIPHER_CTX_cleanup(&ctx); in PHP_FUNCTION()
4990 EVP_CIPHER_CTX_cleanup(&ctx); in PHP_FUNCTION()
5021 EVP_CIPHER_CTX_cleanup(&ctx); in PHP_FUNCTION()
5048 EVP_CIPHER_CTX ctx; in PHP_FUNCTION() local
[all …]
/PHP-5.6/ext/pdo_oci/
H A Doci_statement.c187 static sb4 oci_bind_input_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 *a… in oci_bind_input_cb() argument
189 struct pdo_bound_param_data *param = (struct pdo_bound_param_data*)ctx; in oci_bind_input_cb()
219 static sb4 oci_bind_output_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 *… in oci_bind_output_cb() argument
221 struct pdo_bound_param_data *param = (struct pdo_bound_param_data*)ctx; in oci_bind_output_cb()
/PHP-5.6/ext/curl/
H A Dinterface.c1295 static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx) in curl_write() argument
1297 php_curl *ch = (php_curl *) ctx; in curl_write()
1373 static int curl_fnmatch(void *ctx, const char *pattern, const char *string) in curl_fnmatch() argument
1375 php_curl *ch = (php_curl *) ctx; in curl_fnmatch()
1520 static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx) in curl_read() argument
1522 php_curl *ch = (php_curl *) ctx; in curl_read()
1596 static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_header() argument
1598 php_curl *ch = (php_curl *) ctx; in curl_write_header()
1675 php_curl *ch = (php_curl *) ctx; in curl_debug()
1694 static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen) in curl_passwd() argument
[all …]

Completed in 157 milliseconds

1234