Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 25 of 99) sorted by last modified time

1234

/php-src/ext/curl/
H A Dcurl_private.h93 php_curl_handlers handlers; member
116 php_curlm_handlers handlers; member
H A Dinterface.c163 if (ch->handlers.read && !Z_ISUNDEF(ch->handlers.read->stream)) { in _php_curl_verify_handlers()
191 if (ch->handlers.write && !Z_ISUNDEF(ch->handlers.write->stream)) { in _php_curl_verify_handlers()
1178 ch->handlers.write->stream = source->handlers.write->stream; in _php_setup_easy_copy_handlers()
1179 ch->handlers.write->method = source->handlers.write->method; in _php_setup_easy_copy_handlers()
1183 ch->handlers.read->stream = source->handlers.read->stream; in _php_setup_easy_copy_handlers()
1184 ch->handlers.read->method = source->handlers.read->method; in _php_setup_easy_copy_handlers()
1191 ch->handlers.write->fp = source->handlers.write->fp; in _php_setup_easy_copy_handlers()
1192 ch->handlers.write_header->fp = source->handlers.write_header->fp; in _php_setup_easy_copy_handlers()
1193 ch->handlers.read->fp = source->handlers.read->fp; in _php_setup_easy_copy_handlers()
1194 ch->handlers.read->res = source->handlers.read->res; in _php_setup_easy_copy_handlers()
[all …]
H A Dmulti.c250 if (ch->handlers.write->method == PHP_CURL_RETURN) { in PHP_FUNCTION()
251 if (!ch->handlers.write->buf.s) { in PHP_FUNCTION()
254 smart_str_0(&ch->handlers.write->buf); in PHP_FUNCTION()
255 RETURN_STR_COPY(ch->handlers.write->buf.s); in PHP_FUNCTION()
447 if (ZEND_FCC_INITIALIZED(mh->handlers.server_push)) { in _php_curl_multi_setopt()
448 zend_fcc_dtor(&mh->handlers.server_push); in _php_curl_multi_setopt()
459 zend_fcc_addref(&mh->handlers.server_push); in _php_curl_multi_setopt()
544 if (ZEND_FCC_INITIALIZED(mh->handlers.server_push)) { in curl_multi_free_obj()
545 zend_fcc_dtor(&mh->handlers.server_push); in curl_multi_free_obj()
557 if (ZEND_FCC_INITIALIZED(curl_multi->handlers.server_push)) { in curl_multi_get_gc()
[all …]
/php-src/ext/reflection/
H A Dphp_reflection.c5591 if (zend_hash_exists(classname_obj->handlers->get_properties(classname_obj), name)) { in ZEND_METHOD()
/php-src/Zend/
H A Dzend_compile.c4552 void **handlers = zend_flf_handlers; in find_frameless_function_offset() local
4553 void **current = handlers; in find_frameless_function_offset()
4556 return current - handlers; in find_frameless_function_offset()
H A Dzend_API.h2384 *dest = zobj->handlers->get_properties(zobj); in zend_parse_arg_array_ht()
H A Dzend_builtin_functions.c771 properties = zobj->handlers->get_properties(zobj); in ZEND_FUNCTION()
778 if (EXPECTED(zobj->handlers == &std_object_handlers)) { in ZEND_FUNCTION()
836 properties = obj->handlers->get_properties(obj); in ZEND_FUNCTION()
844 obj->handlers != &std_object_handlers || in ZEND_FUNCTION()
1973 } else if (object->handlers->get_class_name == zend_std_get_class_name) { in zend_fetch_debug_backtrace()
1976 ZVAL_STR(&tmp, object->handlers->get_class_name(object)); in zend_fetch_debug_backtrace()
H A Dzend_API.c730 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_number_or_str_slow()
755 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
1388 zend_object_write_property_t write_property = zobj->handlers->write_property; in zend_merge_properties()
3929 fcc->function_handler = fcc->object->handlers->get_method(&fcc->object, mname, NULL); in zend_is_callable_check_func()
4851 object->handlers->write_property(object, name, value, NULL); in zend_update_property_ex()
4865 object->handlers->write_property(object, property, value, NULL); in zend_update_property()
4889 object->handlers->unset_property(object, property, 0); in zend_unset_property()
5060 value = object->handlers->read_property(object, name, silent?BP_VAR_IS:BP_VAR_R, NULL, rv); in zend_read_property_ex()
H A Dzend_alloc.c777 void *ptr = heap->storage->handlers.chunk_alloc(heap->storage, size, alignment);
789 heap->storage->handlers.chunk_free(heap->storage, addr, size);
800 if (heap->storage->handlers.chunk_truncate) {
801 return heap->storage->handlers.chunk_truncate(heap->storage, addr, old_size, new_size);
819 if (heap->storage->handlers.chunk_extend) {
820 return heap->storage->handlers.chunk_extend(heap->storage, addr, old_size, new_size);
3014 ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_handlers *handlers, void *data, size_t data… argument
3021 memcpy((zend_mm_handlers*)&tmp_storage.handlers, handlers, sizeof(zend_mm_handlers));
3023 …chunk = (zend_mm_chunk*)handlers->chunk_alloc(&tmp_storage, ZEND_MM_CHUNK_SIZE, ZEND_MM_CHUNK_SIZE…
3067 handlers->chunk_free(&tmp_storage, chunk, ZEND_MM_CHUNK_SIZE);
H A Dzend_execute.c1536 obj->handlers->write_dimension(obj, dim, value); in zend_assign_to_object_dim()
1579 obj->handlers->write_dimension(obj, property, &res); in zend_binary_assign_op_obj_dim()
2078 z =object->handlers->read_property(object, name, BP_VAR_R, cache_slot, &rv); in zend_post_incdec_overloaded_property()
2092 object->handlers->write_property(object, name, &z_copy, cache_slot); in zend_post_incdec_overloaded_property()
2125 object->handlers->write_property(object, name, &z_copy, cache_slot); in zend_pre_incdec_overloaded_property()
2148 object->handlers->write_property(object, name, &res, cache_slot); in zend_assign_op_overloaded_property()
2641 retval = obj->handlers->read_dimension(obj, dim, type, result); in zend_fetch_dimension_address()
2847 retval = obj->handlers->read_dimension(obj, dim, type, result); in zend_fetch_dimension_address_read()
3244 ptr = zobj->handlers->get_property_ptr_ptr(zobj, name, type, cache_slot); in zend_fetch_property_address()
3246 ptr = zobj->handlers->read_property(zobj, name, type, cache_slot, result); in zend_fetch_property_address()
[all …]
H A Dzend_observer.c133 zend_observer_fcall_handlers handlers = init(execute_data); in zend_observer_fcall_install() local
134 if (handlers.begin) { in zend_observer_fcall_install()
135 *(begin_handlers++) = handlers.begin; in zend_observer_fcall_install()
137 if (handlers.end) { in zend_observer_fcall_install()
138 *(end_handlers++) = handlers.end; in zend_observer_fcall_install()
H A Dzend_gc.c830 if (UNEXPECTED(obj->handlers->get_gc == zend_weakmap_get_gc)) { in gc_scan_black()
868 ht = obj->handlers->get_gc(obj, &table, &len); in gc_scan_black()
1019 if (UNEXPECTED(obj->handlers->get_gc == zend_weakmap_get_gc)) { in gc_mark_grey()
1044 ht = obj->handlers->get_gc(obj, &table, &len); in gc_mark_grey()
1257 ht = obj->handlers->get_gc(obj, &table, &len); in gc_scan()
1444 && (obj->handlers->dtor_obj != zend_objects_destroy_object in gc_collect_white()
1492 ht = obj->handlers->get_gc(obj, &table, &len); in gc_collect_white()
1695 ht = obj->handlers->get_gc(obj, &table, &len); in gc_remove_nested_data_from_buffer()
1852 if (obj->handlers->dtor_obj != zend_objects_destroy_object in zend_gc_collect_cycles()
1899 obj->handlers->dtor_obj(obj); in zend_gc_collect_cycles()
[all …]
/php-src/main/
H A Doutput.c188 if (OG(handlers).elements) { in php_output_deactivate()
189 while ((handler = zend_stack_top(&OG(handlers)))) { in php_output_deactivate()
191 zend_stack_del_top(&OG(handlers)); in php_output_deactivate()
194 zend_stack_destroy(&OG(handlers)); in php_output_deactivate()
260 zend_stack_del_top(&OG(handlers)); in php_output_flush()
262 zend_stack_push(&OG(handlers), &OG(active)); in php_output_flush()
353 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
559 php_output_handler **handlers; in php_output_handler_started() local
563 handlers = (php_output_handler **) zend_stack_base(&OG(handlers)); in php_output_handler_started()
1222 zend_stack_del_top(&OG(handlers)); in php_output_stack_pop()
[all …]
H A Dphp_output.h139 zend_stack handlers;
/php-src/ext/tidy/
H A Dtidy.c403 static zend_object *tidy_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, t… in tidy_object_new() argument
439 intern->std.handlers = handlers; in tidy_object_new()
/php-src/ext/zend_test/tests/
H A Dobserver_error_05.phpt2 Observer: End handlers fire after a userland fatal error
H A Dobserver_error_01.phpt2 Observer: End handlers fire after a fatal error
H A Dobserver_error_02.phpt2 Observer: End handlers fire after a userland fatal error
H A Dobserver_error_03.phpt2 Observer: non-fatal errors do not fire end handlers prematurely
H A Dobserver_error_04.phpt2 Observer: fatal errors caught with zend_try will not fire end handlers prematurely
24 // try/catch is on main() to ensure ZEND_HANDLE_EXCEPTION does not fire the end handlers again
/php-src/Zend/tests/
H A Dgh10695_4.phpt2 GH-10695: Exception handlers are not called twice
/php-src/ext/mysqli/
H A Dmysqli.c371 zend_object_handlers *handlers; in mysqli_objects_new() local
387 handlers = &mysqli_object_link_handlers; in mysqli_objects_new()
389 handlers = &mysqli_object_driver_handlers; in mysqli_objects_new()
391 handlers = &mysqli_object_stmt_handlers; in mysqli_objects_new()
393 handlers = &mysqli_object_result_handlers; in mysqli_objects_new()
395 handlers = &mysqli_object_warning_handlers; in mysqli_objects_new()
397 handlers = &mysqli_object_handlers; in mysqli_objects_new()
400 intern->zo.handlers = handlers; in mysqli_objects_new()
/php-src/ext/standard/
H A Dvar_unserializer.re1113 * unserialize (in practice unserialization handlers also see it). Ideally we should
/php-src/ext/ffi/
H A Dffi.c250 object->handlers = ce->default_object_handlers; in zend_ffi_object_init()
495 cdata->std.handlers = in zend_ffi_cdata_to_zval_slow()
524 cdata->std.handlers = in zend_ffi_cdata_to_zval_slow_ret()
2466 new_cdata->std.handlers = &zend_ffi_cdata_value_handlers; in zend_ffi_cdata_clone_obj()
3863 cdata->std.handlers = &zend_ffi_cdata_value_handlers; in ZEND_METHOD()
3903 cdata->std.handlers = &zend_ffi_cdata_free_handlers; in ZEND_METHOD()
4006 cdata->std.handlers = &zend_ffi_cdata_value_handlers; in ZEND_METHOD()
4047 cdata->std.handlers = &zend_ffi_cdata_value_handlers; in ZEND_METHOD()
/php-src/ext/libxml/
H A Dphp_libxml.h109 return (php_libxml_node_object *)((char*)(obj) - obj->handlers->offset); in php_libxml_node_fetch_object()

Completed in 202 milliseconds

1234