Lines Matching refs:symbols
152 HashTable *symbols; member
159 HashTable *symbols; member
2215 ffi->symbols = NULL; in zend_ffi_new()
2330 if (scope->symbols) { in zend_ffi_scope_hash_dtor()
2331 zend_hash_destroy(scope->symbols); in zend_ffi_scope_hash_dtor()
2332 free(scope->symbols); in zend_ffi_scope_hash_dtor()
2355 if (ffi->symbols) { in zend_ffi_free_obj()
2356 zend_hash_destroy(ffi->symbols); in zend_ffi_free_obj()
2357 efree(ffi->symbols); in zend_ffi_free_obj()
2399 if (ffi->symbols) { in zend_ffi_read_var()
2400 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_read_var()
2443 if (ffi->symbols) { in zend_ffi_write_var()
2444 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_write_var()
2812 if (ffi->symbols) { in zend_ffi_get_func()
2813 sym = zend_hash_find_ptr(ffi->symbols, name); in zend_ffi_get_func()
2911 FFI_G(symbols) = NULL; in ZEND_METHOD()
2919 if (FFI_G(symbols)) { in ZEND_METHOD()
2920 zend_hash_destroy(FFI_G(symbols)); in ZEND_METHOD()
2921 efree(FFI_G(symbols)); in ZEND_METHOD()
2922 FFI_G(symbols) = NULL; in ZEND_METHOD()
2932 if (FFI_G(symbols)) { in ZEND_METHOD()
2936 ZEND_HASH_FOREACH_STR_KEY_PTR(FFI_G(symbols), name, sym) { in ZEND_METHOD()
2961 ffi->symbols = FFI_G(symbols); in ZEND_METHOD()
2964 FFI_G(symbols) = NULL; in ZEND_METHOD()
3126 if (FFI_G(symbols)) { in zend_ffi_cleanup_type()
3127 ZEND_HASH_FOREACH_PTR(FFI_G(symbols), sym) { in zend_ffi_cleanup_type()
3200 FFI_G(symbols) = NULL; in zend_ffi_load()
3254 if (FFI_G(symbols)) { in zend_ffi_load()
3255 ZEND_HASH_FOREACH_STR_KEY_PTR(FFI_G(symbols), name, sym) { in zend_ffi_load()
3288 if (scope && scope->symbols) { in zend_ffi_load()
3289 zend_ffi_symbol *old_sym = zend_hash_find_ptr(scope->symbols, name); in zend_ffi_load()
3337 scope->symbols = FFI_G(symbols); in zend_ffi_load()
3347 if (FFI_G(symbols)) { in zend_ffi_load()
3348 if (!scope->symbols) { in zend_ffi_load()
3349 scope->symbols = FFI_G(symbols); in zend_ffi_load()
3350 FFI_G(symbols) = NULL; in zend_ffi_load()
3352 ZEND_HASH_FOREACH_STR_KEY_PTR(FFI_G(symbols), name, sym) { in zend_ffi_load()
3353 if (!zend_hash_add_ptr(scope->symbols, name, sym)) { in zend_ffi_load()
3358 FFI_G(symbols)->pDestructor = NULL; in zend_ffi_load()
3359 zend_hash_destroy(FFI_G(symbols)); in zend_ffi_load()
3384 ffi->symbols = scope->symbols; in zend_ffi_load()
3390 ffi->symbols = FFI_G(symbols); in zend_ffi_load()
3395 FFI_G(symbols) = NULL; in zend_ffi_load()
3403 if (FFI_G(symbols)) { in zend_ffi_load()
3404 zend_hash_destroy(FFI_G(symbols)); in zend_ffi_load()
3405 pefree(FFI_G(symbols), preload); in zend_ffi_load()
3406 FFI_G(symbols) = NULL; in zend_ffi_load()
3463 ffi->symbols = scope->symbols; in ZEND_METHOD()
3529 if (FFI_G(symbols)) { in zend_ffi_validate_incomplete_type()
3533 ZEND_HASH_FOREACH_STR_KEY_PTR(FFI_G(symbols), key, sym) { in zend_ffi_validate_incomplete_type()
3673 FFI_G(symbols) = ffi->symbols; in ZEND_METHOD()
3676 FFI_G(symbols) = NULL; in ZEND_METHOD()
3690 if (FFI_G(symbols)) { in ZEND_METHOD()
3691 zend_hash_destroy(FFI_G(symbols)); in ZEND_METHOD()
3692 efree(FFI_G(symbols)); in ZEND_METHOD()
3693 FFI_G(symbols) = NULL; in ZEND_METHOD()
3708 if (FFI_G(symbols)) { in ZEND_METHOD()
3709 zend_hash_destroy(FFI_G(symbols)); in ZEND_METHOD()
3710 efree(FFI_G(symbols)); in ZEND_METHOD()
3711 FFI_G(symbols) = NULL; in ZEND_METHOD()
3714 FFI_G(symbols) = NULL; in ZEND_METHOD()
3817 FFI_G(symbols) = ffi->symbols; in ZEND_METHOD()
3820 FFI_G(symbols) = NULL; in ZEND_METHOD()
3834 if (FFI_G(symbols)) { in ZEND_METHOD()
3835 zend_hash_destroy(FFI_G(symbols)); in ZEND_METHOD()
3836 efree(FFI_G(symbols)); in ZEND_METHOD()
3837 FFI_G(symbols) = NULL; in ZEND_METHOD()
3852 if (FFI_G(symbols)) { in ZEND_METHOD()
3853 zend_hash_destroy(FFI_G(symbols)); in ZEND_METHOD()
3854 efree(FFI_G(symbols)); in ZEND_METHOD()
3855 FFI_G(symbols) = NULL; in ZEND_METHOD()
3858 FFI_G(symbols) = NULL; in ZEND_METHOD()
3983 FFI_G(symbols) = ffi->symbols; in ZEND_METHOD()
3986 FFI_G(symbols) = NULL; in ZEND_METHOD()
4000 if (FFI_G(symbols)) { in ZEND_METHOD()
4001 zend_hash_destroy(FFI_G(symbols)); in ZEND_METHOD()
4002 efree(FFI_G(symbols)); in ZEND_METHOD()
4003 FFI_G(symbols) = NULL; in ZEND_METHOD()
4013 if (FFI_G(symbols)) { in ZEND_METHOD()
4014 zend_hash_destroy(FFI_G(symbols)); in ZEND_METHOD()
4015 efree(FFI_G(symbols)); in ZEND_METHOD()
4016 FFI_G(symbols) = NULL; in ZEND_METHOD()
4019 FFI_G(symbols) = NULL; in ZEND_METHOD()
5369 if (FFI_G(symbols)) {
5370 sym = zend_hash_str_find_ptr(FFI_G(symbols), name, name_len);
5388 if (FFI_G(symbols)) {
5389 sym = zend_hash_str_find_ptr(FFI_G(symbols), name, name_len);
5416 } else if (FFI_G(symbols)) {
5417 sym = zend_hash_str_find_ptr(FFI_G(symbols), name, name_len);
5560 if (!FFI_G(symbols)) {
5561 FFI_G(symbols) = pemalloc(sizeof(HashTable), FFI_G(persistent));
5562 …zend_hash_init(FFI_G(symbols), 0, NULL, FFI_G(persistent) ? zend_ffi_symbol_hash_persistent_dtor :…
5564 sym = zend_hash_str_find_ptr(FFI_G(symbols), name, name_len);
5572 zend_hash_str_add_new_ptr(FFI_G(symbols), name, name_len, sym);
6136 if (!FFI_G(symbols)) {
6137 FFI_G(symbols) = pemalloc(sizeof(HashTable), FFI_G(persistent));
6138 …zend_hash_init(FFI_G(symbols), 0, NULL, FFI_G(persistent) ? zend_ffi_symbol_hash_persistent_dtor :…
6141 sym = zend_hash_str_find_ptr(FFI_G(symbols), name, name_len);
6195 zend_hash_str_add_new_ptr(FFI_G(symbols), name, name_len, sym);
6211 zend_hash_str_add_new_ptr(FFI_G(symbols), name, name_len, sym);