Home
last modified time | relevance | path

Searched refs:gc_buffer (Results 1 – 22 of 22) sorted by relevance

/php-src/Zend/
H A Dzend_gc.h127 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_zval()
131 gc_buffer->cur++; in zend_get_gc_buffer_add_zval()
137 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_obj()
138 zend_get_gc_buffer_grow(gc_buffer); in zend_get_gc_buffer_add_obj()
140 ZVAL_OBJ(gc_buffer->cur, obj); in zend_get_gc_buffer_add_obj()
141 gc_buffer->cur++; in zend_get_gc_buffer_add_obj()
146 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_ptr()
149 ZVAL_PTR(gc_buffer->cur, ptr); in zend_get_gc_buffer_add_ptr()
150 gc_buffer->cur++; in zend_get_gc_buffer_add_ptr()
155 *table = gc_buffer->start; in zend_get_gc_buffer_use()
[all …]
H A Dzend_weakrefs.c497 zend_get_gc_buffer_add_zval(gc_buffer, val); in zend_weakmap_get_gc()
499 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_weakmap_get_gc()
511 zend_get_gc_buffer_add_obj(gc_buffer, key); in zend_weakmap_get_key_entry_gc()
512 zend_get_gc_buffer_add_ptr(gc_buffer, val); in zend_weakmap_get_key_entry_gc()
514 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_weakmap_get_key_entry_gc()
524 zend_get_gc_buffer_add_ptr(gc_buffer, val); in zend_weakmap_get_entry_gc()
526 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_weakmap_get_entry_gc()
556 zend_get_gc_buffer_add_ptr(gc_buffer, zv); in zend_weakmap_get_object_key_entry_gc()
560 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_weakmap_get_object_key_entry_gc()
590 zend_get_gc_buffer_add_ptr(gc_buffer, zv); in zend_weakmap_get_object_entry_gc()
[all …]
H A Dzend_generators.c390 zend_get_gc_buffer_add_zval(gc_buffer, &generator->value); in zend_generator_frame_gc()
391 zend_get_gc_buffer_add_zval(gc_buffer, &generator->key); in zend_generator_frame_gc()
392 zend_get_gc_buffer_add_zval(gc_buffer, &generator->retval); in zend_generator_frame_gc()
393 zend_get_gc_buffer_add_zval(gc_buffer, &generator->values); in zend_generator_frame_gc()
420 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in zend_generator_get_gc() local
421 zend_get_gc_buffer_add_zval(gc_buffer, &generator->value); in zend_generator_get_gc()
422 zend_get_gc_buffer_add_zval(gc_buffer, &generator->key); in zend_generator_get_gc()
423 zend_get_gc_buffer_add_zval(gc_buffer, &generator->retval); in zend_generator_get_gc()
425 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_generator_get_gc()
445 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in zend_generator_get_gc() local
[all …]
H A Dzend_property_hooks.c330 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in zho_it_get_gc() local
331 zend_get_gc_buffer_add_zval(gc_buffer, &iter->data); in zho_it_get_gc()
332 zend_get_gc_buffer_add_zval(gc_buffer, &hooked_iter->declared_props); in zho_it_get_gc()
333 zend_get_gc_buffer_add_zval(gc_buffer, &hooked_iter->current_data); in zho_it_get_gc()
334 zend_get_gc_buffer_use(gc_buffer, table, n); in zho_it_get_gc()
H A Dzend_lazy_objects.c771 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in zend_lazy_object_get_gc() local
775 zend_get_gc_buffer_add_obj(gc_buffer, info->u.instance); in zend_lazy_object_get_gc()
776 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_lazy_object_get_gc()
783 zend_get_gc_buffer_add_obj(gc_buffer, fcc->object); in zend_lazy_object_get_gc()
786 zend_get_gc_buffer_add_obj(gc_buffer, fcc->closure); in zend_lazy_object_get_gc()
788 zend_get_gc_buffer_add_zval(gc_buffer, &info->u.initializer.zv); in zend_lazy_object_get_gc()
795 zend_get_gc_buffer_add_zval(gc_buffer, prop); in zend_lazy_object_get_gc()
798 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_lazy_object_get_gc()
H A Dzend_gc.c2133 zend_get_gc_buffer *gc_buffer = &EG(get_gc_buffer); in zend_get_gc_buffer_create() local
2134 gc_buffer->cur = gc_buffer->start; in zend_get_gc_buffer_create()
2135 return gc_buffer; in zend_get_gc_buffer_create()
2138 ZEND_API void zend_get_gc_buffer_grow(zend_get_gc_buffer *gc_buffer) { in zend_get_gc_buffer_grow() argument
2139 size_t old_capacity = gc_buffer->end - gc_buffer->start; in zend_get_gc_buffer_grow()
2141 gc_buffer->start = erealloc(gc_buffer->start, new_capacity * sizeof(zval)); in zend_get_gc_buffer_grow()
2142 gc_buffer->end = gc_buffer->start + new_capacity; in zend_get_gc_buffer_grow()
2143 gc_buffer->cur = gc_buffer->start + old_capacity; in zend_get_gc_buffer_grow()
2147 zend_get_gc_buffer *gc_buffer = &EG(get_gc_buffer); in zend_get_gc_buffer_release() local
2148 efree(gc_buffer->start); in zend_get_gc_buffer_release()
[all …]
H A Dzend_generators.h137 HashTable *zend_generator_frame_gc(zend_get_gc_buffer *gc_buffer, zend_generator *generator);
H A Dzend_interfaces.c192 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in zend_user_it_get_gc() local
193 zend_get_gc_buffer_add_zval(gc_buffer, &iter->it.data); in zend_user_it_get_gc()
194 zend_get_gc_buffer_add_zval(gc_buffer, &iter->value); in zend_user_it_get_gc()
195 zend_get_gc_buffer_use(gc_buffer, table, n); in zend_user_it_get_gc()
H A Dzend_execute.h436 …cution_gc(zend_execute_data *execute_data, zend_execute_data *call, zend_get_gc_buffer *gc_buffer);
437 …xecute_data *execute_data, zend_execute_data *call, zend_get_gc_buffer *gc_buffer, bool suspended_…
H A Dzend_execute.c4789 …ecution_gc(zend_execute_data *execute_data, zend_execute_data *call, zend_get_gc_buffer *gc_buffer) in zend_unfinished_execution_gc() argument
4791 return zend_unfinished_execution_gc_ex(execute_data, call, gc_buffer, false); in zend_unfinished_execution_gc()
4794 …xecute_data *execute_data, zend_execute_data *call, zend_get_gc_buffer *gc_buffer, bool suspended_… in zend_unfinished_execution_gc_ex() argument
4801 zend_get_gc_buffer_add_obj(gc_buffer, Z_OBJ(execute_data->This)); in zend_unfinished_execution_gc_ex()
4805 zend_get_gc_buffer_add_obj(gc_buffer, ZEND_CLOSURE_OBJECT(EX(func))); in zend_unfinished_execution_gc_ex()
4818 zend_get_gc_buffer_add_zval(gc_buffer, EX_VAR_NUM(i)); in zend_unfinished_execution_gc_ex()
4826 zend_get_gc_buffer_add_zval(gc_buffer, zv++); in zend_unfinished_execution_gc_ex()
4833 zend_get_gc_buffer_add_zval(gc_buffer, &extra_named_params); in zend_unfinished_execution_gc_ex()
4845 zend_unfinished_calls_gc(execute_data, call, op_num, gc_buffer); in zend_unfinished_execution_gc_ex()
4859 zend_get_gc_buffer_add_zval(gc_buffer, var); in zend_unfinished_execution_gc_ex()
H A Dzend_API.h809 static zend_always_inline void zend_get_gc_buffer_add_fcc(zend_get_gc_buffer *gc_buffer, zend_fcall… in zend_get_gc_buffer_add_fcc() argument
813 zend_get_gc_buffer_add_obj(gc_buffer, fcc->object); in zend_get_gc_buffer_add_fcc()
816 zend_get_gc_buffer_add_obj(gc_buffer, fcc->closure); in zend_get_gc_buffer_add_fcc()
/php-src/ext/dom/
H A Dxpath_callbacks.c94 …void php_dom_xpath_callback_ns_get_gc(php_dom_xpath_callback_ns *ns, zend_get_gc_buffer *gc_buffer) in php_dom_xpath_callback_ns_get_gc() argument
98 zend_get_gc_buffer_add_fcc(gc_buffer, entry); in php_dom_xpath_callback_ns_get_gc()
102 …id php_dom_xpath_callbacks_get_gc(php_dom_xpath_callbacks *registry, zend_get_gc_buffer *gc_buffer) in php_dom_xpath_callbacks_get_gc() argument
105 php_dom_xpath_callback_ns_get_gc(registry->php_ns, gc_buffer); in php_dom_xpath_callbacks_get_gc()
110 php_dom_xpath_callback_ns_get_gc(ns, gc_buffer); in php_dom_xpath_callbacks_get_gc()
118 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in php_dom_xpath_callbacks_get_gc_for_whole_object() local
119 php_dom_xpath_callbacks_get_gc(registry, gc_buffer); in php_dom_xpath_callbacks_get_gc_for_whole_object()
120 zend_get_gc_buffer_use(gc_buffer, table, n); in php_dom_xpath_callbacks_get_gc_for_whole_object()
H A Dxpath_callbacks.h57 …d php_dom_xpath_callbacks_get_gc(php_dom_xpath_callbacks *registry, zend_get_gc_buffer *gc_buffer);
/php-src/ext/xml/
H A Dxml.c394 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in xml_parser_get_gc() local
396 zend_get_gc_buffer_add_obj(gc_buffer, parser->object); in xml_parser_get_gc()
399 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->startElementHandler); in xml_parser_get_gc()
402 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->endElementHandler); in xml_parser_get_gc()
405 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->characterDataHandler); in xml_parser_get_gc()
411 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->defaultHandler); in xml_parser_get_gc()
414 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->unparsedEntityDeclHandler); in xml_parser_get_gc()
417 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->notationDeclHandler); in xml_parser_get_gc()
420 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->externalEntityRefHandler); in xml_parser_get_gc()
426 zend_get_gc_buffer_add_fcc(gc_buffer, &parser->endNamespaceDeclHandler); in xml_parser_get_gc()
[all …]
/php-src/ext/curl/
H A Dmulti.c587 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in curl_multi_get_gc() local
590 zend_get_gc_buffer_add_fcc(gc_buffer, &curl_multi->handlers.server_push); in curl_multi_get_gc()
596 zend_get_gc_buffer_add_zval(gc_buffer, pz_ch); in curl_multi_get_gc()
599 zend_get_gc_buffer_use(gc_buffer, table, n); in curl_multi_get_gc()
H A Dinterface.c471 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in curl_get_gc() local
473 zend_get_gc_buffer_add_zval(gc_buffer, &curl->postfields); in curl_get_gc()
476 zend_get_gc_buffer_add_fcc(gc_buffer, &curl->handlers.read->fcc); in curl_get_gc()
496 zend_get_gc_buffer_add_fcc(gc_buffer, &curl->handlers.progress); in curl_get_gc()
500 zend_get_gc_buffer_add_fcc(gc_buffer, &curl->handlers.xferinfo); in curl_get_gc()
504 zend_get_gc_buffer_add_fcc(gc_buffer, &curl->handlers.fnmatch); in curl_get_gc()
508 zend_get_gc_buffer_add_fcc(gc_buffer, &curl->handlers.debug); in curl_get_gc()
513 zend_get_gc_buffer_add_fcc(gc_buffer, &curl->handlers.prereq); in curl_get_gc()
522 zend_get_gc_buffer_add_zval(gc_buffer, &curl->handlers.std_err); in curl_get_gc()
523 zend_get_gc_buffer_add_zval(gc_buffer, &curl->private_data); in curl_get_gc()
[all …]
/php-src/ext/pdo_sqlite/
H A Dsqlite_driver.c703 static void pdo_sqlite_get_gc(pdo_dbh_t *dbh, zend_get_gc_buffer *gc_buffer) in pdo_sqlite_get_gc() argument
710 zend_get_gc_buffer_add_fcc(gc_buffer, &func->func); in pdo_sqlite_get_gc()
713 zend_get_gc_buffer_add_fcc(gc_buffer, &func->step); in pdo_sqlite_get_gc()
716 zend_get_gc_buffer_add_fcc(gc_buffer, &func->fini); in pdo_sqlite_get_gc()
724 zend_get_gc_buffer_add_fcc(gc_buffer, &collation->callback); in pdo_sqlite_get_gc()
/php-src/ext/spl/
H A Dspl_iterators.c940 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in spl_RecursiveIteratorIterator_get_gc() local
949 zend_get_gc_buffer_use(gc_buffer, table, n); in spl_RecursiveIteratorIterator_get_gc()
2059 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in spl_dual_it_get_gc() local
2062 zend_get_gc_buffer_add_obj(gc_buffer, &object->inner.iterator->std); in spl_dual_it_get_gc()
2065 zend_get_gc_buffer_add_zval(gc_buffer, &object->current.data); in spl_dual_it_get_gc()
2066 zend_get_gc_buffer_add_zval(gc_buffer, &object->current.key); in spl_dual_it_get_gc()
2067 zend_get_gc_buffer_add_zval(gc_buffer, &object->inner.zobject); in spl_dual_it_get_gc()
2083 zend_get_gc_buffer_add_zval(gc_buffer, &object->u.append.zarrayit); in spl_dual_it_get_gc()
2088 zend_get_gc_buffer_add_zval(gc_buffer, &object->u.caching.zcache); in spl_dual_it_get_gc()
2094 zend_get_gc_buffer_add_fcc(gc_buffer, &object->u.callback_filter); in spl_dual_it_get_gc()
[all …]
H A Dspl_observer.c360 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in spl_object_storage_get_gc() local
363 zend_get_gc_buffer_add_obj(gc_buffer, element->obj); in spl_object_storage_get_gc()
364 zend_get_gc_buffer_add_zval(gc_buffer, &element->inf); in spl_object_storage_get_gc()
367 zend_get_gc_buffer_use(gc_buffer, table, n); in spl_object_storage_get_gc()
H A Dspl_dllist.c466 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in spl_dllist_object_get_gc() local
470 zend_get_gc_buffer_add_zval(gc_buffer, &current->data); in spl_dllist_object_get_gc()
474 zend_get_gc_buffer_use(gc_buffer, gc_data, gc_data_count); in spl_dllist_object_get_gc()
/php-src/ext/sqlite3/
H A Dsqlite3.c2235 static void php_sqlite3_gc_buffer_add_fcc(zend_get_gc_buffer *gc_buffer, zend_fcall_info_cache *fcc) in php_sqlite3_gc_buffer_add_fcc() argument
2238 zend_get_gc_buffer_add_fcc(gc_buffer, fcc); in php_sqlite3_gc_buffer_add_fcc()
2252 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in php_sqlite3_get_gc() local
2256 php_sqlite3_gc_buffer_add_fcc(gc_buffer, &func->func); in php_sqlite3_get_gc()
2257 php_sqlite3_gc_buffer_add_fcc(gc_buffer, &func->step); in php_sqlite3_get_gc()
2258 php_sqlite3_gc_buffer_add_fcc(gc_buffer, &func->fini); in php_sqlite3_get_gc()
2264 php_sqlite3_gc_buffer_add_fcc(gc_buffer, &collation->cmp_func); in php_sqlite3_get_gc()
2268 zend_get_gc_buffer_use(gc_buffer, table, n); in php_sqlite3_get_gc()
/php-src/ext/pdo/
H A Dpdo_dbh.c1434 zend_get_gc_buffer *gc_buffer = zend_get_gc_buffer_create(); in dbh_get_gc() local
1435 zend_get_gc_buffer_add_zval(gc_buffer, &dbh->def_stmt_ctor_args); in dbh_get_gc()
1437 dbh->methods->get_gc(dbh, gc_buffer); in dbh_get_gc()
1439 zend_get_gc_buffer_use(gc_buffer, gc_data, gc_count); in dbh_get_gc()

Completed in 99 milliseconds