/php-src/ext/dom/ |
H A D | html5_parser.c | 290 memset(ctx, 0, sizeof(*ctx)); in lexbor_libxml2_bridge_parse_context_init() 294 lexbor_libxml2_bridge_parse_context *ctx, in lexbor_libxml2_bridge_parse_set_error_callbacks() argument 299 ctx->tokenizer_error_reporter = tokenizer_error_reporter; in lexbor_libxml2_bridge_parse_set_error_callbacks() 300 ctx->tree_error_reporter = tree_error_reporter; in lexbor_libxml2_bridge_parse_set_error_callbacks() 331 const lexbor_libxml2_bridge_parse_context *ctx, in lexbor_libxml2_bridge_report_errors() argument 347 if (ctx->tokenizer_error_reporter) { in lexbor_libxml2_bridge_report_errors() 348 ctx->tokenizer_error_reporter( in lexbor_libxml2_bridge_report_errors() 349 ctx->application_data, in lexbor_libxml2_bridge_report_errors() 364 if (ctx->tree_error_reporter) { in lexbor_libxml2_bridge_report_errors() 365 ctx->tree_error_reporter( in lexbor_libxml2_bridge_report_errors() [all …]
|
H A D | html5_serializer.h | 29 zend_result dom_html5_serialize(dom_html5_serialize_context *ctx, const xmlNode *node); 30 zend_result dom_html5_serialize_outer(dom_html5_serialize_context *ctx, const xmlNode *node);
|
/php-src/sapi/fuzzer/ |
H A D | generate_unserializehash_corpus.php | 7 $ctx = hash_init($algo); variable 10 $serialized = serialize($ctx);
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | base.h | 82 (*lexbor_serialize_cb_f)(const lxb_char_t *data, size_t len, void *ctx); 85 (*lexbor_serialize_cb_cp_f)(const lxb_codepoint_t *cps, size_t len, void *ctx); 90 void *ctx; member
|
H A D | plog.h | 53 lexbor_plog_push(lexbor_plog_t *plog, const lxb_char_t *data, void *ctx, in lexbor_plog_push() argument 68 entry->context = ctx; in lexbor_plog_push() 90 lexbor_plog_push_noi(lexbor_plog_t *plog, const lxb_char_t *data, void *ctx,
|
H A D | fs.h | 20 size_t filename_len, void *ctx); 46 lexbor_fs_dir_file_f callback, void *ctx);
|
H A D | avl.h | 23 lexbor_avl_node_t *node, void *ctx); 81 lexbor_avl_node_f cb, void *ctx); 85 lexbor_avl_node_f callback, void *ctx);
|
/php-src/ext/hash/tests/ |
H A D | hash_serialize_003.phpt | 232 $ctx = unserialize(base64_decode($serial)); 233 hash_update($ctx, "Can’t tell if this is true or dream"); 234 $hash2 = hash_final($ctx); 248 $ctx = hash_init($algo); 249 hash_update($ctx, "I can't remember anything"); 250 $serial = base64_encode(serialize($ctx));
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 1185 ctx->ra = ra; in zend_jit_allocate_registers() 1267 zend_jit_ctx ctx; in zend_jit() local 1268 zend_jit_ctx *jit = &ctx; in zend_jit() 1310 ra = ctx.ra; in zend_jit() 1355 zend_jit_free_ctx(&ctx); in zend_jit() 1367 zend_jit_free_ctx(&ctx); in zend_jit() 1376 zend_jit_bb_start(&ctx, b); in zend_jit() 1426 zend_jit_bb_end(&ctx, b); in zend_jit() 2649 zend_jit_bb_end(&ctx, b); in zend_jit() 2692 zend_jit_free_ctx(&ctx); in zend_jit() [all …]
|
/php-src/ext/standard/tests/streams/ |
H A D | bug44712.phpt | 5 $ctx = stream_context_get_default(); 7 stream_context_set_params($ctx, array("options" => 1));
|
/php-src/Zend/Optimizer/ |
H A D | optimize_temp_vars_5.c | 42 void zend_optimize_temporary_variables(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimize_temporary_variables() argument 54 void *checkpoint = zend_arena_checkpoint(ctx->arena); in zend_optimize_temporary_variables() 57 taken_T = (zend_bitset) zend_arena_alloc(&ctx->arena, bitset_len * ZEND_BITSET_ELM_SIZE); in zend_optimize_temporary_variables() 58 start_of_T = (zend_op **) zend_arena_alloc(&ctx->arena, T * sizeof(zend_op *)); in zend_optimize_temporary_variables() 59 map_T = (int *) zend_arena_alloc(&ctx->arena, T * sizeof(int)); in zend_optimize_temporary_variables() 175 zend_arena_release(&ctx->arena, checkpoint); in zend_optimize_temporary_variables()
|
/php-src/ext/gd/libgd/ |
H A D | gd_tga.c | 62 gdImagePtr gdImageCreateFromTgaCtx(gdIOCtx* ctx) in gdImageCreateFromTgaCtx() argument 80 if (read_header_tga(ctx, tga) < 0) { in gdImageCreateFromTgaCtx() 90 if (read_image_tga(ctx, tga) < 0) { in gdImageCreateFromTgaCtx() 146 int read_header_tga(gdIOCtx *ctx, oTga *tga) in read_header_tga() argument 151 if (gdGetBuf(header, sizeof(header), ctx) < 18) { in read_header_tga() 194 gdGetBuf(tga->ident, tga->identsize, ctx); in read_header_tga() 206 int read_image_tga( gdIOCtx *ctx, oTga *tga ) in read_image_tga() argument 253 if (gdGetBuf(conversion_buffer, image_block_size, ctx) != image_block_size) { in read_image_tga() 282 rle_size = gdGetBuf(conversion_buffer, image_block_size, ctx); in read_image_tga()
|
H A D | gd_tga.h | 48 int read_header_tga(gdIOCtx *ctx, oTga *tga); 49 int read_image_tga(gdIOCtx *ctx, oTga *tga);
|
/php-src/ext/standard/ |
H A D | sha1.h | 30 #define PHP_SHA1Init(ctx) PHP_SHA1InitArgs(ctx, NULL) argument
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_builder.h | 16 #define _ir_CTX ctx 648 void _ir_AFREE(ir_ctx *ctx, ir_ref size); 659 void _ir_START(ir_ctx *ctx); 661 void _ir_BEGIN(ir_ctx *ctx, ir_ref src); 662 ir_ref _ir_END(ir_ctx *ctx); 676 ir_ref _ir_LOOP_END(ir_ctx *ctx); 678 void _ir_UNREACHABLE(ir_ctx *ctx); 679 ir_ref _ir_SWITCH(ir_ctx *ctx, ir_ref val); 682 void _ir_RETURN(ir_ctx *ctx, ir_ref val); 683 void _ir_IJMP(ir_ctx *ctx, ir_ref addr); [all …]
|
H A D | ir_private.h | 883 IR_ALWAYS_INLINE bool ir_ref_is_true(ir_ctx *ctx, ir_ref ref) in ir_ref_is_true() argument 891 return ir_const_is_true(&ctx->ir_base[ref]); in ir_ref_is_true() 1008 ir_ref var = ir_hashtab_find(ctx->binding, ref); in ir_binding_find() 1032 ir_use_list *__use_list = &ctx->use_lists[_ref]; \ 1101 uint32_t ir_next_block(const ir_ctx *ctx, uint32_t b); 1317 int8_t *regs = ctx->regs[ref]; in ir_set_alocated_reg() 1328 int8_t *regs = ctx->regs[ref]; in ir_get_alocated_reg() 1358 void ir_fix_stack_frame(ir_ctx *ctx); 1361 ir_type ir_get_return_type(ir_ctx *ctx); 1362 bool ir_is_fastcall(const ir_ctx *ctx, const ir_insn *insn); [all …]
|
/php-src/ext/dom/lexbor/lexbor/encoding/ |
H A D | base.h | 174 (*lxb_encoding_encode_f)(lxb_encoding_encode_t *ctx, const lxb_codepoint_t **cp, 178 (*lxb_encoding_decode_f)(lxb_encoding_decode_t *ctx, 182 (*lxb_encoding_encode_single_f)(lxb_encoding_encode_t *ctx, lxb_char_t **data, 186 (*lxb_encoding_decode_single_f)(lxb_encoding_decode_t *ctx,
|
/php-src/ext/standard/tests/file/ |
H A D | fopen_variation6.phpt | 19 $ctx = stream_context_create(); 20 $h = fopen($absfile, "r", true, $ctx); 25 $h = fopen($relfile, "r", true, $ctx);
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug46427.phpt | 9 $ctx = stream_context_create(); 11 'stream_context' => $ctx,
|
/php-src/ext/dom/lexbor/lexbor/css/ |
H A D | rule.h | 216 lexbor_serialize_cb_f cb, void *ctx); 220 lexbor_serialize_cb_f cb, void *ctx); 227 lexbor_serialize_cb_f cb, void *ctx); 234 void *ctx); 238 void *ctx); 245 lexbor_serialize_cb_f cb, void *ctx); 252 lexbor_serialize_cb_f cb, void *ctx); 260 lexbor_serialize_cb_f cb, void *ctx); 268 lexbor_serialize_cb_f cb, void *ctx); 272 lexbor_serialize_cb_f cb, void *ctx);
|
/php-src/ext/xsl/ |
H A D | php_xsl.c | 223 void *ctx, in xsl_try_output_replaced_error_message() argument 233 …php_libxml_ctx_error(ctx, "%.*s%s%s", (int) (msg_replace_location - msg), msg, replace, msg_replac… in xsl_try_output_replaced_error_message() 241 #define XSL_TRY_OUTPUT_REPLACED_ERROR_MESSAGE(ctx, msg, args, search, replace) \ argument 242 xsl_try_output_replaced_error_message(ctx, msg, args, "" search, sizeof("" search) - 1, "" replace) 246 static void xsl_libxslt_error_handler(void *ctx, const char *msg, ...) in xsl_libxslt_error_handler() argument 254 …bool output = XSL_TRY_OUTPUT_REPLACED_ERROR_MESSAGE(ctx, msg_arg, args, "xsltMaxDepth (--maxdepth)… in xsl_libxslt_error_handler() 255 …|| XSL_TRY_OUTPUT_REPLACED_ERROR_MESSAGE(ctx, msg_arg, args, "maxTemplateVars (--maxvars)", "$maxT… in xsl_libxslt_error_handler() 258 php_libxml_ctx_error(ctx, "%s", msg_arg); in xsl_libxslt_error_handler() 261 php_libxml_error_handler_va(PHP_LIBXML_ERROR, ctx, msg, args); in xsl_libxslt_error_handler()
|
/php-src/ext/standard/tests/http/ |
H A D | bug69337.phpt | 20 $ctx = stream_context_create(); 21 stream_context_set_params($ctx, array("notification" => "stream_notification_callback")); 30 $f = file_get_contents($uri, 0, $ctx);
|
H A D | bug75981.phpt | 18 $ctx = stream_context_create($options); 25 echo @file_get_contents($uri, false, $ctx);
|
/php-src/ext/soap/ |
H A D | php_schema.c | 142 load_schema(ctx, schema); in schema_load_file() 171 if (!ctx->sdl->types) { in load_schema() 175 if (!ctx->attributes) { in load_schema() 179 if (!ctx->attributeGroups) { in load_schema() 282 schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx); in load_schema() 286 schema_attribute(ctx->sdl, tns, trav, NULL, ctx); in load_schema() 2298 sdlPtr sdl = ctx->sdl; in schema_pass2() 2302 if (ctx->attributes) { in schema_pass2() 2307 if (ctx->attributeGroups) { in schema_pass2() 2327 if (ctx->attributes) { in schema_pass2() [all …]
|
H A D | php_schema.h | 22 int load_schema(sdlCtx *ctx, xmlNodePtr schema); 23 void schema_pass2(sdlCtx *ctx);
|