/PHP-5.5/ext/standard/ |
H A D | php_crypt_r.c | 129 HCRYPTHASH ctx, ctx1; in php_md5_crypt_r() local 171 if(!CryptHashData(ctx, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r() 181 if(!CryptHashData( ctx, (BYTE *)sp, sl, 0)) { in php_md5_crypt_r() 214 CryptHashData(ctx, (const BYTE *)final, 1, 0); in php_md5_crypt_r() 216 CryptHashData(ctx, (const BYTE *)pw, 1, 0); in php_md5_crypt_r() 302 CryptDestroyHash(ctx); in php_md5_crypt_r() 325 PHP_MD5_CTX ctx, ctx1; in php_md5_crypt_r() local 345 PHP_MD5Init(&ctx); in php_md5_crypt_r() 354 PHP_MD5Update(&ctx, (const unsigned char *)sp, sl); in php_md5_crypt_r() 372 PHP_MD5Update(&ctx, final, 1); in php_md5_crypt_r() [all …]
|
H A D | md5.h | 51 PHPAPI void PHP_MD5Init(PHP_MD5_CTX *ctx); 52 PHPAPI void PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size); 53 PHPAPI void PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx);
|
/PHP-5.5/sapi/aolserver/ |
H A D | aolserver.c | 525 path = Ns_ConfigGetPath(ctx->ns_server, ctx->ns_module, NULL); in php_ns_config() 534 Ns_RegisterRequest(ctx->ns_server, "GET", value, php_ns_request_handler, NULL, ctx, 0); in php_ns_config() 535 Ns_RegisterRequest(ctx->ns_server, "POST", value, php_ns_request_handler, NULL, ctx, 0); in php_ns_config() 581 ctx->sapi_module->shutdown(ctx->sapi_module); in php_ns_server_shutdown() 585 free(ctx->ns_module); in php_ns_server_shutdown() 586 free(ctx->ns_server); in php_ns_server_shutdown() 587 free(ctx); in php_ns_server_shutdown() 599 php_ns_context *ctx; in Ns_ModuleInit() local 609 ctx = malloc(sizeof *ctx); in Ns_ModuleInit() 615 php_ns_config(ctx, 1); in Ns_ModuleInit() [all …]
|
/PHP-5.5/sapi/milter/ |
H A D | php_milter.c | 99 SMFICTX *ctx; 224 MG(ctx) = ctx; in mlfi_connect() 258 MG(ctx) = ctx; in mlfi_helo() 298 MG(ctx) = ctx; in mlfi_envfrom() 338 MG(ctx) = ctx; in mlfi_envrcpt() 377 MG(ctx) = ctx; in mlfi_header() 409 MG(ctx) = ctx; in mlfi_eoh() 443 MG(ctx) = ctx; in mlfi_body() 474 MG(ctx) = ctx; in mlfi_eom() 503 MG(ctx) = ctx; in mlfi_abort() [all …]
|
/PHP-5.5/sapi/apache2handler/ |
H A D | php_functions.c | 63 if (!filename || !ctx || !ctx->r) { in php_apache_lookup_uri() 67 return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters); in php_apache_lookup_uri() 175 php_struct *ctx; in PHP_FUNCTION() local 185 ctx = SG(server_context); in PHP_FUNCTION() 199 php_struct *ctx; in PHP_FUNCTION() local 209 ctx = SG(server_context); in PHP_FUNCTION() 223 php_struct *ctx; in PHP_FUNCTION() local 255 php_struct *ctx; in PHP_FUNCTION() local 268 r = ctx->r; in PHP_FUNCTION() 290 php_struct *ctx; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gdtest.c | 26 gdIOCtxPtr ctx; in main() local 79 ctx = gdNewDynamicCtx (sz, iptr); in main() 80 im2 = gdImageCreateFromPngCtx (ctx); in main() 85 ctx->gd_free (ctx); in main() 112 ctx = gdNewDynamicCtx (sz, iptr); in main() 114 im2 = gdImageCreateFromGd2Ctx (ctx); in main() 120 ctx->gd_free (ctx); in main() 147 ctx = gdNewDynamicCtx (sz, iptr); in main() 149 im2 = gdImageCreateFromGdCtx (ctx); in main() 155 ctx->gd_free (ctx); in main()
|
/PHP-5.5/TSRM/ |
H A D | TSRM.h | 162 #define TSRMLS_FETCH_FROM_CTX(ctx) void ***tsrm_ls = (void ***) ctx argument 163 #define TSRMLS_SET_CTX(ctx) ctx = (void ***) tsrm_ls argument 177 #define TSRMLS_FETCH_FROM_CTX(ctx) argument 178 #define TSRMLS_SET_CTX(ctx) argument
|
/PHP-5.5/ext/oci8/ |
H A D | oci8_lob.c | 172 if ((*(ctx->lob_len) + lenp) > (ctx->alloc_len)) { in php_oci_lob_callback() 178 memcpy(*(ctx->lob_data) + *(ctx->lob_len), bufxp, (size_t) lenp); in php_oci_lob_callback() 180 *(*(ctx->lob_data) + *(ctx->lob_len)) = 0x00; in php_oci_lob_callback() 185 if ((*(ctx->lob_len) + lenp) > ctx->alloc_len) { in php_oci_lob_callback() 191 memcpy(*(ctx->lob_data) + *(ctx->lob_len), bufxp, (size_t) lenp); in php_oci_lob_callback() 199 *(ctx->lob_len) = 0; in php_oci_lob_callback() 241 php_oci_lob_ctx ctx; in php_oci_lob_read() local 258 ctx.lob_data = data; in php_oci_lob_read() 259 ctx.alloc_len = 0; in php_oci_lob_read() 351 (dvoid *)&ctx, in php_oci_lob_read() [all …]
|
/PHP-5.5/main/ |
H A D | reentrancy.c | 315 do_rand(unsigned long *ctx) in do_rand() argument 317 return ((*ctx = *ctx * 1103515245 + 12345) % ((u_long)PHP_RAND_MAX + 1)); in do_rand() 322 php_rand_r(unsigned int *ctx) in php_rand_r() argument 324 u_long val = (u_long) *ctx; in php_rand_r() 325 *ctx = do_rand(&val); in php_rand_r() 326 return (int) *ctx; in php_rand_r()
|
/PHP-5.5/ext/standard/tests/streams/ |
H A D | bug44712.phpt | 5 $ctx = stream_context_get_default(); 6 stream_context_set_params($ctx, array("options" => 1));
|
/PHP-5.5/ext/soap/ |
H A D | php_schema.c | 168 if (!ctx->sdl->types) { in load_schema() 172 if (!ctx->attributes) { in load_schema() 176 if (!ctx->attributeGroups) { in load_schema() 279 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema() 283 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema() 2291 sdlPtr sdl = ctx->sdl; in schema_pass2() 2295 if (ctx->attributes) { in schema_pass2() 2302 if (ctx->attributeGroups) { in schema_pass2() 2330 if (ctx->attributes) { in schema_pass2() 2332 efree(ctx->attributes); in schema_pass2() [all …]
|
H A D | php_schema.h | 25 int load_schema(sdlCtx *ctx, xmlNodePtr schema TSRMLS_DC); 26 void schema_pass2(sdlCtx *ctx);
|
H A D | php_sdl.c | 240 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() 1170 if (ctx.sdl->bindings == NULL || ctx.sdl->bindings->nNumOfElements == 0) { in load_wsdl() [all …]
|
/PHP-5.5/ext/standard/tests/http/ |
H A D | bug69337.phpt | 21 $ctx = stream_context_create(); 22 stream_context_set_params($ctx, array("notification" => "stream_notification_callback")); 31 $f = file_get_contents('http://127.0.0.1:22345/', 0, $ctx);
|
H A D | bug67430.phpt | 19 $ctx = stream_context_create($options); 27 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
|
/PHP-5.5/ext/soap/tests/bugs/ |
H A D | bug46427.phpt | 10 $ctx = stream_context_create(); 12 'stream_context' => $ctx,
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fopen_variation6.phpt | 25 $ctx = stream_context_create(); 26 $h = fopen($absfile, "r", true, $ctx); 31 $h = fopen($relfile, "r", true, $ctx);
|
/PHP-5.5/pear/ |
H A D | fetch.php | 64 $ctx = stream_context_create($copt, array("notification" => "stream_notification_callback")); variable 66 $fp = fopen($argv[1], "r", false, $ctx);
|
/PHP-5.5/ext/libxml/ |
H A D | php_libxml.h | 95 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, ...);
|
/PHP-5.5/ext/dom/ |
H A D | xpath.c | 277 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.5/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp5022x.c | 570 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.5/ext/openssl/ |
H A D | xp_ssl.c | 55 SSL_CTX *ctx; member 384 if (sslsock->ctx) { in php_openssl_sockop_close() 385 SSL_CTX_free(sslsock->ctx); in php_openssl_sockop_close() 386 sslsock->ctx = NULL; in php_openssl_sockop_close() 509 sslsock->ctx = SSL_CTX_new(method); in php_openssl_setup_crypto() 510 if (sslsock->ctx == NULL) { in php_openssl_setup_crypto() 518 SSL_CTX_set_options(sslsock->ctx, ssl_ctx_options); in php_openssl_setup_crypto() 547 SSL_CTX_free(sslsock->ctx); in php_openssl_setup_crypto() 548 sslsock->ctx = NULL; in php_openssl_setup_crypto() 997 if (ctx) { in get_sni() [all …]
|
/PHP-5.5/sapi/litespeed/ |
H A D | lsapilib.c | 3314 ctx->bits[0] = 0; in lsapi_MD5Init() 3315 ctx->bits[1] = 0; in lsapi_MD5Init() 3328 t = ctx->bits[0]; in lsapi_MD5Update() 3347 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update() 3356 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update() 3380 p = ctx->in + count; in lsapi_MD5Final() 3391 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final() 3402 ((uint32 *) ctx->in)[14] = ctx->bits[0]; in lsapi_MD5Final() 3403 ((uint32 *) ctx->in)[15] = ctx->bits[1]; in lsapi_MD5Final() 3405 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final() [all …]
|
/PHP-5.5/ext/ldap/ |
H A D | ldap.c | 455 php_ldap_bictx *ctx; in _php_sasl_setdefs() local 477 return ctx; in _php_sasl_setdefs() 485 if (ctx->mech) ber_memfree(ctx->mech); in _php_sasl_freedefs() 486 if (ctx->realm) ber_memfree(ctx->realm); in _php_sasl_freedefs() 487 if (ctx->authcid) ber_memfree(ctx->authcid); in _php_sasl_freedefs() 488 if (ctx->passwd) ber_memfree(ctx->passwd); in _php_sasl_freedefs() 489 if (ctx->authzid) ber_memfree(ctx->authzid); in _php_sasl_freedefs() 490 ber_memfree(ctx); in _php_sasl_freedefs() 506 p = ctx->realm; in _php_sasl_interact() 509 p = ctx->authcid; in _php_sasl_interact() [all …]
|
/PHP-5.5/ext/libxml/tests/ |
H A D | 004.phpt | 20 foreach ($ctxs as $ctx) { 21 var_dump(libxml_set_streams_context($ctx));
|