/PHP-8.2/ext/openssl/tests/ |
H A D | sni_server_key_cert.phpt | 13 $ctx = stream_context_create(['ssl' => [ 30 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 48 $ctx = stream_context_create(['ssl' => $ctxArr]); 49 $client = stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx); 50 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 54 $ctx = stream_context_create(['ssl' => $ctxArr]); 55 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx); 56 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 60 $ctx = stream_context_create(['ssl' => $ctxArr]); 61 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx); [all …]
|
H A D | tls_wrapper_with_tls_v1.3.phpt | 16 $ctx = stream_context_create(['ssl' => [ 21 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 32 $ctx = stream_context_create(['ssl' => [ 40 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 46 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 49 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 52 $client = @stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 55 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 58 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tls_min_v1.0_max_v1.1_wrapper.phpt | 15 $ctx = stream_context_create(['ssl' => [ 22 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 33 $ctx = stream_context_create(['ssl' => [ 41 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 47 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 50 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 53 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 56 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tls_wrapper.phpt | 16 $ctx = stream_context_create(['ssl' => [ 21 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 32 $ctx = stream_context_create(['ssl' => [ 40 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 46 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 49 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 52 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 55 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.0_wrapper.phpt | 15 $ctx = stream_context_create(['ssl' => [ 20 $server = stream_socket_server('tlsv1.0://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 31 $ctx = stream_context_create(['ssl' => [ 39 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.1_wrapper.phpt | 15 $ctx = stream_context_create(['ssl' => [ 20 $server = stream_socket_server('tlsv1.1://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 31 $ctx = stream_context_create(['ssl' => [ 39 $client = stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.2_wrapper.phpt | 15 $ctx = stream_context_create(['ssl' => [ 19 $server = stream_socket_server('tlsv1.2://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 30 $ctx = stream_context_create(['ssl' => [ 37 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 40 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.3_wrapper.phpt | 16 $ctx = stream_context_create(['ssl' => [ 20 $server = stream_socket_server('tlsv1.3://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 31 $ctx = stream_context_create(['ssl' => [ 38 $client = stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 41 $client = @stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
/PHP-8.2/ext/hash/tests/ |
H A D | xxhash_seed.phpt | 8 $ctx = hash_init($a, options: ["seed" => 42]); 9 hash_update($ctx, "Lorem"); 10 hash_update($ctx, " ipsum dolor"); 11 hash_update($ctx, " sit amet,"); 12 hash_update($ctx, " consectetur adipiscing elit."); 13 $h0 = hash_final($ctx);
|
H A D | xxhash_secret.phpt | 19 $ctx = hash_init($a, options: ["seed" => 24, "secret" => $secret]); 25 $ctx = hash_init($a, options: ["secret" => new StringableThrowingClass()]); 31 $ctx = hash_init($a, options: ["secret" => str_repeat('a', 17)]); 36 $ctx = hash_init($a, options: ["secret" => $secret]); 37 hash_update($ctx, "Lorem"); 38 hash_update($ctx, " ipsum dolor"); 39 hash_update($ctx, " sit amet,"); 40 hash_update($ctx, " consectetur adipiscing elit."); 41 $h0 = hash_final($ctx);
|
/PHP-8.2/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | parser.h | 36 void *ctx, bool top_level, 44 void *ctx, lxb_css_syntax_token_type_t stop); 51 void *ctx, lxb_css_syntax_token_type_t stop); 58 void *ctx, lxb_css_syntax_token_type_t stop); 65 void *ctx, lxb_css_syntax_token_type_t stop); 72 void *ctx); 79 void *ctx); 85 void *ctx, lxb_css_syntax_token_type_t stop); 90 void *ctx);
|
/PHP-8.2/ext/standard/ |
H A D | crypt_blowfish.c | 464 R ^= data.ctx.P[N + 1]; \ 485 R ^= data.ctx.P[N + 1]; \ 494 L ^= data.ctx.P[0]; \ 517 ptr = data.ctx.P; \ 525 ptr = data.ctx.S[0]; \ 644 BF_ctx ctx; in BF_crypt() member 685 memcpy(data.ctx.S, BF_init_state.S, sizeof(data.ctx.S)); in BF_crypt() 692 data.ctx.P[i] = L; in BF_crypt() 693 data.ctx.P[i + 1] = R; in BF_crypt() 696 ptr = data.ctx.S[0]; in BF_crypt() [all …]
|
H A D | md5.h | 45 #define PHP_MD5Init(ctx) PHP_MD5InitArgs(ctx, NULL) argument 47 PHPAPI void PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size); 48 PHPAPI void PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx);
|
H A D | php_crypt_r.c | 107 PHP_MD5_CTX ctx, ctx1; in php_md5_crypt_r() local 126 PHP_MD5Init(&ctx); in php_md5_crypt_r() 129 PHP_MD5Update(&ctx, (const unsigned char *)pw, pwl); in php_md5_crypt_r() 132 PHP_MD5Update(&ctx, (const unsigned char *)MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r() 135 PHP_MD5Update(&ctx, (const unsigned char *)sp, sl); in php_md5_crypt_r() 145 PHP_MD5Update(&ctx, final, (unsigned int)(pl > 16 ? 16 : pl)); in php_md5_crypt_r() 153 PHP_MD5Update(&ctx, final, 1); in php_md5_crypt_r() 155 PHP_MD5Update(&ctx, (const unsigned char *)pw, 1); in php_md5_crypt_r() 162 PHP_MD5Final(final, &ctx); in php_md5_crypt_r()
|
/PHP-8.2/ext/dom/lexbor/lexbor/dom/interfaces/ |
H A D | node.c | 507 action = walker_cb(node, ctx); in lxb_dom_node_simple_walk() 665 lxb_dom_node_cb_ctx_t *cb_ctx = ctx; in lxb_dom_node_by_tag_name_cb_all() 682 lxb_dom_node_cb_ctx_t *cb_ctx = ctx; in lxb_dom_node_by_tag_name_cb() 724 lxb_dom_node_cb_ctx_t *cb_ctx = ctx; in lxb_dom_node_by_class_name_cb() 948 lxb_dom_node_cb_ctx_t *cb_ctx = ctx; in lxb_dom_node_by_attr_cb() 1015 ctx->value, ctx->value_length)) in lxb_dom_node_by_attr_cmp_begin_case() 1030 ctx->value, ctx->value_length)) in lxb_dom_node_by_attr_cmp_end() 1047 ctx->value, ctx->value_length)) in lxb_dom_node_by_attr_cmp_end_case() 1062 ctx->value, ctx->value_length)) in lxb_dom_node_by_attr_cmp_contain() 1076 ctx->value, ctx->value_length)) in lxb_dom_node_by_attr_cmp_contain_case() [all …]
|
/PHP-8.2/ext/dom/lexbor/lexbor/html/ |
H A D | serialize.h | 35 (*lxb_html_serialize_cb_f)(const lxb_char_t *data, size_t len, void *ctx); 40 lxb_html_serialize_cb_f cb, void *ctx); 47 lxb_html_serialize_cb_f cb, void *ctx); 54 lxb_html_serialize_cb_f cb, void *ctx); 62 lxb_html_serialize_cb_f cb, void *ctx); 72 lxb_html_serialize_cb_f cb, void *ctx); 82 lxb_html_serialize_cb_f cb, void *ctx);
|
/PHP-8.2/ext/dom/lexbor/lexbor/core/ |
H A D | serialize.c | 12 lexbor_serialize_length_cb(const lxb_char_t *data, size_t length, void *ctx) in lexbor_serialize_length_cb() argument 14 *((size_t *) ctx) += length; in lexbor_serialize_length_cb() 19 lexbor_serialize_copy_cb(const lxb_char_t *data, size_t length, void *ctx) in lexbor_serialize_copy_cb() argument 21 lexbor_str_t *str = ctx; in lexbor_serialize_copy_cb()
|
H A D | serialize.h | 14 #define lexbor_serialize_write(cb, data, length, ctx, status) \ argument 16 (status) = (cb)((lxb_char_t *) (data), (length), (ctx)); \ 25 lexbor_serialize_length_cb(const lxb_char_t *data, size_t length, void *ctx); 29 lexbor_serialize_copy_cb(const lxb_char_t *data, size_t length, void *ctx);
|
/PHP-8.2/ext/dom/lexbor/lexbor/css/at_rule/ |
H A D | state.h | 19 const lxb_css_syntax_token_t *token, void *ctx); 23 const lxb_css_syntax_token_t *token, void *ctx); 26 const lxb_css_syntax_token_t *token, void *ctx); 29 const lxb_css_syntax_token_t *token, void *ctx);
|
/PHP-8.2/ext/dom/lexbor/lexbor/css/ |
H A D | at_rule.h | 56 lexbor_serialize_cb_f cb, void *ctx); 62 lexbor_serialize_cb_f cb, void *ctx); 81 void *ctx); 84 void *ctx); 100 void *ctx); 103 void *ctx); 115 void *ctx); 127 void *ctx);
|
/PHP-8.2/sapi/litespeed/ |
H A D | lsapi_main.c | 925 if (!ctx->path || !*ctx->path) { in lsapi_activate_user_ini_basic_checks() 947 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_path() 949 ctx->path_len = zend_dirname(path, ctx->path_len); in lsapi_activate_user_ini_mk_path() 966 if (!IS_ABSOLUTE_PATH(ctx->path, ctx->path_len)) { in lsapi_activate_user_ini_mk_realpath() 972 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_realpath() 992 ctx->entry = zend_hash_str_find_ptr(&user_config_cache, ctx->path, ctx->path_len); in lsapi_activate_user_ini_mk_user_config() 994 if (!ctx->entry) in lsapi_activate_user_ini_mk_user_config() 1030 if (!ctx->entry->expires || request_time > ctx->entry->expires) in lsapi_activate_user_ini_walk_down_the_path() 1032 docroot_len = ctx->doc_root && ctx->doc_root[0] in lsapi_activate_user_ini_walk_down_the_path() 1038 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path() [all …]
|
/PHP-8.2/sapi/apache2handler/ |
H A D | php_functions.c | 66 if (!filename || !ctx || !ctx->r) { in php_apache_lookup_uri() 70 return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters); in php_apache_lookup_uri() 176 php_struct *ctx; in PHP_FUNCTION() local 186 ctx = SG(server_context); in PHP_FUNCTION() 199 php_struct *ctx; in PHP_FUNCTION() local 209 ctx = SG(server_context); in PHP_FUNCTION() 222 php_struct *ctx; in PHP_FUNCTION() local 253 php_struct *ctx; in PHP_FUNCTION() local 266 r = ctx->r; in PHP_FUNCTION() 287 php_struct *ctx; in PHP_FUNCTION() local [all …]
|
/PHP-8.2/Zend/Optimizer/ |
H A D | sccp.c | 1072 if (!ctx->call_map) { in sccp_visit_instr() 1076 call = ctx->call_map[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1083 ssa_op = &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1653 if (!ctx->call_map) { in sccp_visit_instr() 1658 call = ctx->call_map[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1681 &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 1732 … args[2] = get_op1_value(ctx, op_data, &ctx->scdf.ssa->ops[op_data - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 1736 … args[1] = get_op2_value(ctx, opline, &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 1739 … args[0] = get_op1_value(ctx, opline, &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 2091 ZEND_ASSERT(ctx->call_map); in remove_call() [all …]
|
/PHP-8.2/ext/hash/ |
H A D | php_hash_md.h | 31 #define PHP_MD4Init(ctx) PHP_MD4InitArgs(ctx, NULL) argument 45 #define PHP_MD2Init(ctx) PHP_MD2InitArgs(ctx, NULL) argument
|
/PHP-8.2/ext/zlib/tests/ |
H A D | inflate_get_status.phpt | 15 $ctx = inflate_init(ZLIB_ENCODING_DEFLATE); 16 $status = inflate_get_status($ctx); 21 $buf .= inflate_add($ctx, substr($compressed, $i, 1)); 23 $status = inflate_get_status($ctx); 32 inflate_add($ctx, substr($compressed, 0, 12)); 33 echo 'Status: ' . inflate_get_status($ctx);
|