Lines Matching refs:scope_name
213 static char *zend_ffi_parse_directives(const char *filename, char *code_pos, char **scope_name, cha…
3136 char *code, *code_pos, *scope_name, *lib; in zend_ffi_load() local
3187 scope_name = NULL; in zend_ffi_load()
3190 code_pos = zend_ffi_parse_directives(filename, code, &scope_name, &lib, preload); in zend_ffi_load()
3225 if (!scope_name) { in zend_ffi_load()
3226 scope_name = "C"; in zend_ffi_load()
3228 scope_name_len = strlen(scope_name); in zend_ffi_load()
3230 scope = zend_hash_str_find_ptr(FFI_G(scopes), scope_name, scope_name_len); in zend_ffi_load()
3325 zend_hash_str_add_ptr(FFI_G(scopes), scope_name, scope_name_len, scope); in zend_ffi_load()
3423 zend_string *scope_name; in ZEND_METHOD() local
3429 Z_PARAM_STR(scope_name) in ZEND_METHOD()
3433 scope = zend_hash_find_ptr(FFI_G(scopes), scope_name); in ZEND_METHOD()
3437 zend_throw_error(zend_ffi_exception_ce, "Failed loading scope '%s'", ZSTR_VAL(scope_name)); in ZEND_METHOD()
4477 ZEND_ARG_INFO(0, scope_name)
4568 static char *zend_ffi_parse_directives(const char *filename, char *code_pos, char **scope_name, cha… in zend_ffi_parse_directives() argument
4572 *scope_name = NULL; in zend_ffi_parse_directives()
4591 if (*scope_name) { in zend_ffi_parse_directives()
4599 *scope_name = p; in zend_ffi_parse_directives()