Home
last modified time | relevance | path

Searched refs:scopes (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/ext/ffi/
H A Dphp_ffi.h40 HashTable *scopes; /* list of preloaded scopes */ variable
H A Dffi.c3249 if (FFI_G(scopes)) { in zend_ffi_load()
3250 scope = zend_hash_str_find_ptr(FFI_G(scopes), scope_name, scope_name_len); in zend_ffi_load()
3340 if (!FFI_G(scopes)) { in zend_ffi_load()
3341 FFI_G(scopes) = malloc(sizeof(HashTable)); in zend_ffi_load()
3342 zend_hash_init(FFI_G(scopes), 0, NULL, zend_ffi_scope_hash_dtor, 1); in zend_ffi_load()
3345 zend_hash_str_add_ptr(FFI_G(scopes), scope_name, scope_name_len, scope); in zend_ffi_load()
3452 if (FFI_G(scopes)) { in ZEND_METHOD()
3453 scope = zend_hash_find_ptr(FFI_G(scopes), scope_name); in ZEND_METHOD()
5216 if (ffi_globals->scopes) {
5217 zend_hash_destroy(ffi_globals->scopes);
[all …]

Completed in 24 milliseconds