Home
last modified time | relevance | path

Searched refs:objects_store (Results 1 – 14 of 14) sorted by relevance

/PHP-7.1/Zend/
H A Dzend_objects_API.c114 if (EG(objects_store).free_list_head != -1) { in zend_objects_store_put()
115 handle = EG(objects_store).free_list_head; in zend_objects_store_put()
116 …EG(objects_store).free_list_head = GET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[handle]); in zend_objects_store_put()
118 if (EG(objects_store).top == EG(objects_store).size) { in zend_objects_store_put()
119 uint32_t new_size = 2 * EG(objects_store).size; in zend_objects_store_put()
120 …EG(objects_store).object_buckets = (zend_object **) erealloc(EG(objects_store).object_buckets, new… in zend_objects_store_put()
122 EG(objects_store).size = new_size; in zend_objects_store_put()
124 handle = EG(objects_store).top++; in zend_objects_store_put()
131 …SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[handle], EG(objects_store).free_list_head);…
132 EG(objects_store).free_list_head = handle;
[all …]
H A Dzend_gc.c382 if (EXPECTED(IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) && in gc_scan_black()
532 if (UNEXPECTED(!EG(objects_store).object_buckets) && in gc_mark_grey()
567 UNEXPECTED(!EG(objects_store).object_buckets)) { in gc_mark_grey()
582 UNEXPECTED(!EG(objects_store).object_buckets)) { in gc_mark_grey()
1114 if (EG(objects_store).object_buckets) {
1130 if (IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) &&
1167 if (EG(objects_store).object_buckets &&
1168 IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle])) {
1169 EG(objects_store).object_buckets[obj->handle] = SET_OBJ_INVALID(obj);
1179 …SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[obj->handle], EG(objects_store).free_list_h…
[all …]
H A Dzend_globals.h210 zend_objects_store objects_store; member
H A Dzend_execute_API.c172 zend_objects_store_init(&EG(objects_store), 1024); in init_executor()
244 zend_objects_store_call_destructors(&EG(objects_store)); in shutdown_destructors()
247 zend_objects_store_mark_destructed(&EG(objects_store)); in shutdown_destructors()
363 zend_objects_store_free_object_storage(&EG(objects_store)); in shutdown_executor()
393 zend_objects_store_destroy(&EG(objects_store)); in shutdown_executor()
771 (!EG(objects_store).object_buckets || in zend_call_function()
772 !IS_OBJ_VALID(EG(objects_store).object_buckets[fci->object->handle]))) { in zend_call_function()
H A Dzend_API.c3209 (!EG(objects_store).object_buckets || in zend_is_callable_ex()
3210 !IS_OBJ_VALID(EG(objects_store).object_buckets[object->handle]))) { in zend_is_callable_ex()
3298 if (!EG(objects_store).object_buckets || in zend_is_callable_ex()
3299 !IS_OBJ_VALID(EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(obj)])) { in zend_is_callable_ex()
H A Dzend.c579 executor_globals->objects_store.object_buckets = NULL; in executor_globals_ctor()
/PHP-7.1/Zend/tests/
H A Dbug34617.phpt2 Bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_prompt.c1106 zend_object **obj = EG(objects_store).object_buckets + i; in PHPDBG_COMMAND()
1107 if (i < EG(objects_store).top && *obj && IS_OBJ_VALID(*obj) && (*obj)->ce == zend_ce_generator) { in PHPDBG_COMMAND()
1122 for (i = 0; i < EG(objects_store).top; i++) { in PHPDBG_COMMAND()
1123 zend_object *obj = EG(objects_store).object_buckets[i]; in PHPDBG_COMMAND()
H A Dphpdbg.c2098 zend_objects_store_mark_destructed(&EG(objects_store)); in main()
/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_statement.c65 && IS_OBJ_VALID(EG(objects_store).object_buckets[Z_OBJ_HANDLE(stmt->database_object_handle)]) in pgsql_stmt_dtor()
/PHP-7.1/ext/pdo_mysql/
H A Dmysql_statement.c92 && IS_OBJ_VALID(EG(objects_store).object_buckets[Z_OBJ_HANDLE(stmt->database_object_handle)]) in pdo_mysql_stmt_dtor()
/PHP-7.1/main/
H A Dmain.c1253 zend_objects_store_mark_destructed(&EG(objects_store)); in php_error_cb()
/PHP-7.1/ext/opcache/
H A DZendAccelerator.c2319 if (EG(objects_store).top > 1 || zend_hash_num_elements(&EG(regular_list)) > 0) { in zend_accel_fast_shutdown()
/PHP-7.1/ext/soap/
H A Dsoap.c2139 …if (!PG(modules_activated) || !SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_bu…

Completed in 101 milliseconds