Lines Matching refs:stub
129 const struct mapi_stub *stub; in _glapi_add_dispatch() local
136 stub = stub_find_public(funcName); in _glapi_add_dispatch()
137 if (!stub) in _glapi_add_dispatch()
138 stub = stub_find_dynamic(funcName, 0); in _glapi_add_dispatch()
140 slot = (stub) ? stub_get_slot(stub) : -1; in _glapi_add_dispatch()
146 alias = stub; in _glapi_add_dispatch()
148 function_stubs[i] = stub; in _glapi_add_dispatch()
155 struct mapi_stub *stub; in _glapi_add_dispatch() local
160 stub = stub_find_dynamic(funcName, 1); in _glapi_add_dispatch()
161 if (!stub) in _glapi_add_dispatch()
164 stub_fix_dynamic(stub, alias); in _glapi_add_dispatch()
166 alias = stub; in _glapi_add_dispatch()
184 const struct mapi_stub *stub; in _glapi_get_stub() local
190 stub = stub_find_public(name); in _glapi_get_stub()
196 if (!stub && !is_debug_marker_func(name)) in _glapi_get_stub()
198 if (!stub) in _glapi_get_stub()
200 stub = stub_find_dynamic(name, generate); in _glapi_get_stub()
202 return stub; in _glapi_get_stub()
211 const struct mapi_stub *stub = _glapi_get_stub(funcName, 0); in _glapi_get_proc_offset() local
212 return (stub) ? stub_get_slot(stub) : -1; in _glapi_get_proc_offset()
223 const struct mapi_stub *stub = _glapi_get_stub(funcName, 1); in _glapi_get_proc_address() local
224 return (stub) ? (_glapi_proc) stub_get_addr(stub) : NULL; in _glapi_get_proc_address()
234 const struct mapi_stub *stub = stub_find_by_slot(offset); in _glapi_get_proc_name() local
235 return stub ? stub_get_name(stub) : NULL; in _glapi_get_proc_name()