Lines Matching refs:scope_name
225 static char *zend_ffi_parse_directives(const char *filename, char *code_pos, char **scope_name, cha…
3261 char *code, *code_pos, *scope_name, *lib, *err; in zend_ffi_load() local
3316 scope_name = NULL; in zend_ffi_load()
3319 code_pos = zend_ffi_parse_directives(filename, code, &scope_name, &lib, preload); in zend_ffi_load()
3365 if (!scope_name) { in zend_ffi_load()
3366 scope_name = "C"; in zend_ffi_load()
3368 scope_name_len = strlen(scope_name); in zend_ffi_load()
3370 scope = zend_hash_str_find_ptr(FFI_G(scopes), scope_name, scope_name_len); in zend_ffi_load()
3465 zend_hash_str_add_ptr(FFI_G(scopes), scope_name, scope_name_len, scope); in zend_ffi_load()
3563 zend_string *scope_name; in ZEND_METHOD() local
3569 Z_PARAM_STR(scope_name) in ZEND_METHOD()
3573 scope = zend_hash_find_ptr(FFI_G(scopes), scope_name); in ZEND_METHOD()
3577 zend_throw_error(zend_ffi_exception_ce, "Failed loading scope '%s'", ZSTR_VAL(scope_name)); in ZEND_METHOD()
4961 static char *zend_ffi_parse_directives(const char *filename, char *code_pos, char **scope_name, cha… in zend_ffi_parse_directives() argument
4965 *scope_name = NULL; in zend_ffi_parse_directives()
4984 if (*scope_name) { in zend_ffi_parse_directives()
4992 *scope_name = p; in zend_ffi_parse_directives()