Lines Matching defs:offset
75 * Return dispatch table offset of the named static (built-in) function.
117 * Return the name of the function at the given offset in the dispatch
121 get_static_proc_name( GLuint offset )
125 if (static_functions[i].Offset == offset) {
226 get_extension_proc_name(GLuint offset)
230 if (ExtEntryTable[i].dispatch_offset == offset) {
257 * Use a temporary dispatch offset of ~0 (i.e. -1). Later, when the driver
258 * calls \c _glapi_add_dispatch we'll put in the proper offset. If that
304 set_entry_info( struct _glapi_function * entry, const char * signature, unsigned offset )
315 fill_in_entrypoint_offset(entry->dispatch_stub, offset);
318 entry->dispatch_offset = offset;
332 * share a common dispatch offset.
343 * The offset in the dispatch table of the named function. A pointer to the
345 * \c dispatch_table[\c offset]. Return -1 if error/problem.
381 int offset = ~0;
388 /* Find the _single_ dispatch offset for all function names that already
389 * exist (and have a dispatch offset).
411 if ( (offset != ~0) && (static_offset != offset) ) {
415 offset = static_offset;
426 /* The offset may be ~0 if the function name was added by
438 if ( (offset != ~0) && (extension_offset != offset) ) {
442 offset = extension_offset;
446 /* If all function names are either new (or with no dispatch offset),
447 * allocate a new dispatch offset.
450 if (offset == ~0) {
451 offset = next_dynamic_offset;
455 /* Fill in the dispatch offset for the new function names (and those with
456 * no dispatch offset).
474 set_entry_info( entry[i], real_sig, offset );
478 return offset;
483 * Return offset of entrypoint for named function within dispatch table.
488 GLint offset;
491 offset = get_extension_proc_offset(funcName);
492 if (offset >= 0)
493 return offset;
527 /* generate entrypoint, dispatch offset must be filled in by the driver */
538 * Return the name of the function at the given dispatch offset.
542 _glapi_get_proc_name(GLuint offset)
547 n = get_static_proc_name(offset);
553 return get_extension_proc_name(offset);