Lines Matching refs:scope_name
212 static char *zend_ffi_parse_directives(const char *filename, char *code_pos, char **scope_name, cha…
3156 char *code, *code_pos, *scope_name, *lib; in zend_ffi_load() local
3207 scope_name = NULL; in zend_ffi_load()
3210 code_pos = zend_ffi_parse_directives(filename, code, &scope_name, &lib, preload); in zend_ffi_load()
3245 if (!scope_name) { in zend_ffi_load()
3246 scope_name = "C"; in zend_ffi_load()
3248 scope_name_len = strlen(scope_name); in zend_ffi_load()
3250 scope = zend_hash_str_find_ptr(FFI_G(scopes), scope_name, scope_name_len); in zend_ffi_load()
3345 zend_hash_str_add_ptr(FFI_G(scopes), scope_name, scope_name_len, scope); in zend_ffi_load()
3443 zend_string *scope_name; in ZEND_METHOD() local
3449 Z_PARAM_STR(scope_name) in ZEND_METHOD()
3453 scope = zend_hash_find_ptr(FFI_G(scopes), scope_name); in ZEND_METHOD()
3457 zend_throw_error(zend_ffi_exception_ce, "Failed loading scope '%s'", ZSTR_VAL(scope_name)); in ZEND_METHOD()
4505 static char *zend_ffi_parse_directives(const char *filename, char *code_pos, char **scope_name, cha… in zend_ffi_parse_directives() argument
4509 *scope_name = NULL; in zend_ffi_parse_directives()
4528 if (*scope_name) { in zend_ffi_parse_directives()
4536 *scope_name = p; in zend_ffi_parse_directives()