/third_party/python/Lib/test/ |
H A D | test_gc.py | 10 import gc namespace 36 # cyclic gc. 46 # Create an instance I. Then gc hasn't happened again so long as 56 # gc collects it. 65 cycle have __del__ methods, the gc refuses to guess an order, 90 gc.collect() 92 self.assertEqual(gc.collect(), 1) 97 gc.collect() 99 self.assertEqual(gc.collect(), 1) 106 gc [all...] |
H A D | test_finalization.py | 6 import gc namespace 50 gc.garbage.clear() 51 gc.collect() 136 self.old_garbage = gc.garbage[:] 137 gc.garbage[:] = [] 140 # None of the tests here should put anything in gc.garbage 142 self.assertEqual(gc.garbage, []) 145 gc.collect() 157 self.assertEqual(sorted(id(x) for x in gc.garbage), sorted(ids)) 174 gc [all...] |
/third_party/mesa3d/src/glx/ |
H A D | indirect_glx.c | 50 __glFreeAttributeState(struct glx_context * gc) in __glFreeAttributeState() argument 54 for (spp = &gc->attributes.stack[0]; in __glFreeAttributeState() 55 spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]; spp++) { in __glFreeAttributeState() 67 indirect_destroy_context(struct glx_context *gc) in indirect_destroy_context() argument 69 __glXFreeVertexArrayState(gc); in indirect_destroy_context() 71 free((char *) gc->vendor); in indirect_destroy_context() 72 free((char *) gc->renderer); in indirect_destroy_context() 73 free((char *) gc->version); in indirect_destroy_context() 74 free((char *) gc->extensions); in indirect_destroy_context() 75 __glFreeAttributeState(gc); in indirect_destroy_context() 151 indirect_bind_context(struct glx_context *gc, struct glx_context *old, GLXDrawable draw, GLXDrawable read) indirect_bind_context() argument 194 indirect_unbind_context(struct glx_context *gc, struct glx_context *new) indirect_unbind_context() argument 213 indirect_wait_gl(struct glx_context *gc) indirect_wait_gl() argument 232 indirect_wait_x(struct glx_context *gc) indirect_wait_x() argument 282 struct glx_context *gc; indirect_create_context_attribs() local [all...] |
H A D | applegl_glx.c | 46 applegl_destroy_context(struct glx_context *gc) in applegl_destroy_context() argument 48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy); in applegl_destroy_context() 53 struct glx_context *gc, struct glx_context *old, in applegl_bind_context() 56 Display *dpy = gc->psc->dpy; in applegl_bind_context() 60 gc ? gc->driContext : NULL, draw); in applegl_bind_context() 72 applegl_unbind_context(struct glx_context *gc, struct glx_context *new) in applegl_unbind_context() argument 78 if (!gc) in applegl_unbind_context() 85 dpy = gc in applegl_unbind_context() 52 applegl_bind_context( struct glx_context *gc, struct glx_context *old, GLXDrawable draw, GLXDrawable read) applegl_bind_context() argument 96 applegl_wait_gl(struct glx_context *gc) applegl_wait_gl() argument 102 applegl_wait_x(struct glx_context *gc) applegl_wait_x() argument 128 struct glx_context *gc; applegl_create_context() local [all...] |
H A D | pixelstore.c | 42 * \param gc Current GLX context 50 send_PixelStore(struct glx_context * gc, unsigned sop, GLenum pname, in send_PixelStore() argument 53 Display *const dpy = gc->currentDpy; in send_PixelStore() 56 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen); in send_PixelStore() 71 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPixelStoref() local 72 __GLXattribute *state = gc->client_state_private; in __indirect_glPixelStoref() 73 Display *dpy = gc->currentDpy; in __indirect_glPixelStoref() 83 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 91 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 99 __glXSetError(gc, GL_INVALID_VALU in __indirect_glPixelStoref() 221 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glPixelStorei() local [all...] |
H A D | indirect_vertex_array.c | 89 static GLboolean validate_mode(struct glx_context * gc, GLenum mode); 90 static GLboolean validate_count(struct glx_context * gc, GLsizei count); 91 static GLboolean validate_type(struct glx_context * gc, GLenum type); 114 __glXFreeVertexArrayState(struct glx_context * gc) in __glXFreeVertexArrayState() argument 116 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __glXFreeVertexArrayState() 133 * \param gc GLX context whose vertex array state is to be initialized. 142 __glXInitVertexArrayState(struct glx_context * gc) in __glXInitVertexArrayState() argument 144 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __glXInitVertexArrayState() 159 __glXSetError(gc, GL_OUT_OF_MEMORY); in __glXInitVertexArrayState() 182 if (__glExtensionBitIsEnabled(gc, GL_EXT_fog_coord_bi in __glXInitVertexArrayState() 529 struct glx_context *gc = __glXGetCurrentContext(); emit_DrawArrays_none() local 591 emit_DrawArrays_header_old(struct glx_context * gc, struct array_state_vector *arrays, size_t * elements_per_request, unsigned int *total_requests, GLenum mode, GLsizei count) emit_DrawArrays_header_old() argument 700 struct glx_context *gc = __glXGetCurrentContext(); emit_DrawArrays_old() local 760 struct glx_context *gc = __glXGetCurrentContext(); emit_DrawElements_none() local 827 struct glx_context *gc = __glXGetCurrentContext(); emit_DrawElements_old() local 915 validate_mode(struct glx_context * gc, GLenum mode) validate_mode() argument 948 validate_count(struct glx_context * gc, GLsizei count) validate_count() argument 967 validate_type(struct glx_context * gc, GLenum type) validate_type() argument 984 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glDrawArrays() local 1003 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glArrayElement() local 1029 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glDrawElements() local 1051 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glDrawRangeElements() local 1077 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glMultiDrawArrays() local 1103 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glMultiDrawElementsEXT() local 1162 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glVertexPointer() local 1207 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glNormalPointer() local 1278 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glColorPointer() local 1333 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glIndexPointer() local 1378 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glEdgeFlagPointer() local 1440 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glTexCoordPointer() local 1513 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glSecondaryColorPointer() local 1573 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glFogCoordPointer() local 1629 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glVertexAttribPointer() local 1741 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glVertexAttribPointerNV() local 1769 struct glx_context *const gc = __glXGetCurrentContext(); __indirect_glClientActiveTexture() local [all...] |
H A D | single2.c | 131 if (gc->error) { in __indirect_glGetError() 133 retval = gc->error; in __indirect_glGetError() 134 gc->error = GL_NO_ERROR; in __indirect_glGetError() 155 get_client_data(struct glx_context * gc, GLenum cap, GLintptr * data) in get_client_data() argument 158 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in get_client_data() 297 *data = (GLintptr) (gc->attributes.stackPointer - gc->attributes.stack); in get_client_data() 345 if (get_client_data(gc, val, &data)) { in __indirect_glGetBooleanv() 396 if (get_client_data(gc, val, &data)) { in __indirect_glGetDoublev() 447 if (get_client_data(gc, va in __indirect_glGetFloatv() 645 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glGetString() local 798 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glGetPointerv() local 846 struct glx_context *const gc = __glXGetCurrentContext(); __indirect_glAreTexturesResident() local 877 struct glx_context *const gc = __glXGetCurrentContext(); glAreTexturesResidentEXT() local 887 struct glx_context *const gc = __glXGetCurrentContext(); glAreTexturesResidentEXT() local [all...] |
H A D | glxcmds.c | 258 glx_context_init(struct glx_context *gc, in glx_context_init() argument 261 gc->majorOpcode = __glXSetupForCommand(psc->display->dpy); in glx_context_init() 262 if (!gc->majorOpcode) in glx_context_init() 265 gc->screen = psc->scr; in glx_context_init() 266 gc->psc = psc; in glx_context_init() 267 gc->config = config; in glx_context_init() 268 gc->isDirect = GL_TRUE; in glx_context_init() 269 gc->currentContextTag = -1; in glx_context_init() 272 gc->renderType = GLX_DONT_CARE; in glx_context_init() 323 struct glx_context *gc; in CreateContext() local 500 struct glx_context *gc = (struct glx_context *) ctx; glXDestroyContext() local 568 struct glx_context *gc = __glXGetCurrentContext(); glXWaitGL() local 581 struct glx_context *gc = __glXGetCurrentContext(); glXWaitX() local 590 struct glx_context *gc = __glXGetCurrentContext(); glXUseXFont() local 631 struct glx_context *gc = __glXGetCurrentContext(); glXCopyContext() local 642 struct glx_context *gc = __glXGetCurrentContext(); glXCopyContext() local 686 struct glx_context *gc = (struct glx_context *) gc_user; glXIsDirect() local 836 struct glx_context * gc = __glXGetCurrentContext(); glXSwapBuffers() local 1399 struct glx_context *gc = __glXGetCurrentContext(); glXGetCurrentDisplay() local 1573 struct glx_context *gc = (struct glx_context *) ctx; glXFreeContextEXT() local 1655 struct glx_context *gc = __glXGetCurrentContext(); glXGetCurrentReadDrawable() local 1740 struct glx_context *gc = __glXGetCurrentContext(); glXSwapIntervalSGI() local 1802 struct glx_context *gc = __glXGetCurrentContext(); glXSwapIntervalMESA() local 1832 struct glx_context *gc = __glXGetCurrentContext(); glXGetSwapIntervalMESA() local 1887 struct glx_context *gc = __glXGetCurrentContext(); glXGetVideoSyncSGI() local 1919 struct glx_context *gc = __glXGetCurrentContext(); glXWaitVideoSyncSGI() local 2033 GLXContext gc = NULL; glXCreateContextWithConfigSGIX() local 2199 struct glx_context *gc = __glXGetCurrentContext(); glXSwapBuffersMscOML() local 2356 struct glx_context *gc; glXCopySubBufferMESA() local 2421 struct glx_context *gc = __glXGetCurrentContext(); glXBindTexImageEXT() local 2482 struct glx_context *gc = __glXGetCurrentContext(); glXReleaseTexImageEXT() local 2740 struct glx_context *gc = (struct glx_context*)context; MesaGLInteropGLXQueryDeviceInfo() local 2765 struct glx_context *gc = (struct glx_context*)context; MesaGLInteropGLXExportObject() local [all...] |
H A D | clientattrib.c | 42 struct glx_context *gc = __glXGetCurrentContext(); in do_enable_disable() local 43 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in do_enable_disable() 51 __glXSetError(gc, GL_INVALID_ENUM); in do_enable_disable() 72 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPushClientAttrib() local 73 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glPushClientAttrib() 74 __GLXattribute **spp = gc->attributes.stackPointer, *sp; in __indirect_glPushClientAttrib() 76 if (spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]) { in __indirect_glPushClientAttrib() 80 __glXSetError(gc, GL_OUT_OF_MEMORY); in __indirect_glPushClientAttrib() 86 gc->attributes.stackPointer = spp + 1; in __indirect_glPushClientAttrib() 96 __glXSetError(gc, GL_STACK_OVERFLO in __indirect_glPushClientAttrib() 104 struct glx_context *gc = __glXGetCurrentContext(); __indirect_glPopClientAttrib() local [all...] |
H A D | indirect_vertex_program.c | 40 struct glx_context *gc = __glXGetCurrentContext(); in do_vertex_attrib_enable() local 41 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in do_vertex_attrib_enable() 45 __glXSetError(gc, GL_INVALID_ENUM); in do_vertex_attrib_enable() 68 struct glx_context *const gc = __glXGetCurrentContext(); in get_parameter() local 69 Display *const dpy = gc->currentDpy; in get_parameter() 73 GLubyte const *pc = __glXSetupVendorRequest(gc, in get_parameter() 125 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribPointerv() local 126 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glGetVertexAttribPointerv() 129 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glGetVertexAttribPointerv() 134 __glXSetError(gc, GL_INVALID_VALU in __indirect_glGetVertexAttribPointerv() 180 get_vertex_attrib(struct glx_context * gc, unsigned vop, GLuint index, GLenum pname, xReply * reply) get_vertex_attrib() argument 198 struct glx_context *const gc = __glXGetCurrentContext(); __indirect_glGetVertexAttribiv() local 232 struct glx_context *const gc = __glXGetCurrentContext(); __indirect_glGetVertexAttribfv() local 266 struct glx_context *const gc = __glXGetCurrentContext(); __indirect_glGetVertexAttribdv() local [all...] |
H A D | glxcurrent.c | 111 struct glx_context *gc = __glXGetCurrentContext(); in glXGetCurrentDrawable() local 112 return gc->currentDrawable; in glXGetCurrentDrawable() 125 struct glx_context *gc = (struct glx_context *) gc_user; in MakeContextCurrent() local 132 if ((gc != NULL) && (gc->xid == None)) { in MakeContextCurrent() 139 if (oldGC == gc && in MakeContextCurrent() 140 gc->currentDrawable == draw && gc->currentReadable == read) { in MakeContextCurrent() 153 oldGC->vtable->unbind(oldGC, gc); in MakeContextCurrent() 157 if (gc) { in MakeContextCurrent() 194 glXMakeCurrent(Display * dpy, GLXDrawable draw, GLXContext gc) glXMakeCurrent() argument [all...] |
H A D | render2.c | 53 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glMap1d() 57 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glMap1d() 62 if (!gc->currentDpy) in __indirect_glMap1d() 65 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glMap1d() 96 __glXSetError(gc, GL_OUT_OF_MEMORY); in __indirect_glMap1d() 100 __glXSendLargeCommand(gc, pc, 32, buf, compsize); in __indirect_glMap1d() 105 __glXSendLargeCommand(gc, pc, 32, pnts, compsize); in __indirect_glMap1d() 120 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glMap1f() 124 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glMap1f() 129 if (!gc in __indirect_glMap1f() [all...] |
H A D | renderpix.c | 63 * \param gc Current GLX context 81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, in __glXSendLargeImage() argument 89 __glXSetError(gc, GL_OUT_OF_MEMORY); in __glXSendLargeImage() 95 __glFillImage(gc, dim, width, height, depth, format, type, in __glXSendLargeImage() 108 __glXSendLargeCommand(gc, gc->pc, pc - gc->pc, buf, compsize); in __glXSendLargeImage() 136 if (!gc->currentDpy) in __indirect_glSeparableFilter2D() 139 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glSeparableFilter2D() 150 __glFillImage(gc, in __indirect_glSeparableFilter2D() [all...] |
H A D | create_context.c | 52 struct glx_context *gc = NULL; in glXCreateContextAttribsARB() local 109 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB() 114 if (gc == NULL) { in glXCreateContextAttribsARB() 116 gc = applegl_create_context(psc, cfg, share, 0); in glXCreateContextAttribsARB() 118 gc = indirect_create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB() 141 gc ? gc->isDirect : direct, in glXCreateContextAttribsARB() 147 if (gc) in glXCreateContextAttribsARB() 148 gc->vtable->destroy(gc); in glXCreateContextAttribsARB() [all...] |
H A D | packrender.h | 57 struct glx_context *gc; \ 62 gc = __glXGetCurrentContext(); \ 63 pc = gc->pc; \ 77 if (pc + (size) > gc->bufEnd) { \ 78 pc = __glXFlushRenderBuffer(gc, pc); \ 84 pc = __glXFlushRenderBuffer(gc, pc); \ 89 if (pc + (size) > gc->bufEnd) { \ 90 pc = __glXFlushRenderBuffer(gc, pc); \ 99 pc = __glXFlushRenderBuffer(gc, pc); \ 107 if (pc + (size) > gc [all...] |
/third_party/python/Modules/ |
H A D | gcmodule.c | 11 http://www.arctrix.com/nas/python/gc/ 29 #include "pycore_interp.h" // PyInterpreterState.gc 38 module gc 123 #define DEBUG_SAVEALL (1<<5) /* save all garbage in gc.garbage */ 135 return &interp->gc; in get_gc_state() 162 GCState *gcstate = &interp->gc; in _PyGC_Init() 188 During a collection, _gc_prev is temporary used for gc_refs, and the gc list 261 /* Remove `node` from the gc list it's currently in. */ 274 /* Move `node` from the gc list it's currently in (which is not explicitly 320 PyGC_Head *gc; in gc_list_size() local 332 PyGC_Head *gc; gc_list_clear_collecting() local 344 PyGC_Head *gc; append_objects() local 395 PyGC_Head *gc = GC_NEXT(head); validate_list() local 421 PyGC_Head *gc = GC_NEXT(containers); update_refs() local 453 PyGC_Head *gc = AS_GC(op); visit_decref() local 474 PyGC_Head *gc = GC_NEXT(containers); subtract_refs() local 492 PyGC_Head *gc = AS_GC(op); visit_reachable() local 562 PyGC_Head *gc = GC_NEXT(young); move_unreachable() local 634 PyGC_Head *next, *gc = GC_NEXT(head); untrack_tuples() local 649 PyGC_Head *next, *gc = GC_NEXT(head); untrack_dicts() local 675 PyGC_Head *gc, *next; move_legacy_finalizers() local 701 PyGC_Head *gc, *next; clear_unreachable_mask() local 716 PyGC_Head *gc = AS_GC(op); visit_move() local 732 PyGC_Head *gc = GC_NEXT(finalizers); move_legacy_finalizer_reachable() local 756 PyGC_Head *gc; handle_weakrefs() local 935 PyGC_Head *gc = GC_NEXT(finalizers); handle_legacy_finalizers() local 971 PyGC_Head *gc = GC_NEXT(collectable); finalize_garbage() local 997 PyGC_Head *gc = GC_NEXT(collectable); delete_garbage() local 1189 PyGC_Head *gc; gc_collect_main() local 1654 PyGC_Head *gc; gc_referrers_for() local 2156 PyGC_Head *gc; gc_fini_untrack() local [all...] |
/third_party/icu/icu4c/source/samples/datecal/ |
H A D | cal.cpp | 28 GregorianCalendar* gc = new GregorianCalendar(status); in cpp_main() local 34 gc->set(2000, UCAL_FEBRUARY, 26); in cpp_main() 35 gc->set(UCAL_HOUR_OF_DAY, 23); in cpp_main() 36 gc->set(UCAL_MINUTE, 0); in cpp_main() 37 gc->set(UCAL_SECOND, 0); in cpp_main() 38 gc->set(UCAL_MILLISECOND, 0); in cpp_main() 44 gc->get(UCAL_YEAR, status), in cpp_main() 45 gc->get(UCAL_MONTH, status) + 1, in cpp_main() 46 gc->get(UCAL_MONTH, status), in cpp_main() 47 gc in cpp_main() [all...] |
/third_party/skia/third_party/externals/icu/source/samples/datecal/ |
H A D | cal.cpp | 26 GregorianCalendar* gc = new GregorianCalendar(status); in cpp_main() local 32 gc->set(2000, UCAL_FEBRUARY, 26); in cpp_main() 33 gc->set(UCAL_HOUR_OF_DAY, 23); in cpp_main() 34 gc->set(UCAL_MINUTE, 0); in cpp_main() 35 gc->set(UCAL_SECOND, 0); in cpp_main() 36 gc->set(UCAL_MILLISECOND, 0); in cpp_main() 42 gc->get(UCAL_YEAR, status), in cpp_main() 43 gc->get(UCAL_MONTH, status) + 1, in cpp_main() 44 gc->get(UCAL_MONTH, status), in cpp_main() 45 gc in cpp_main() [all...] |
/third_party/mesa3d/src/glx/apple/ |
H A D | apple_xgl_api_read.c | 53 struct glx_context *gc = __glXGetCurrentContext(); in SetRead() local 66 if (None != gc->currentReadable in SetRead() 67 && gc->currentReadable != gc->currentDrawable) { in SetRead() 72 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead() 73 gc->currentReadable)) { in SetRead() 75 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead() 76 gc in SetRead() 86 struct glx_context *gc = __glXGetCurrentContext(); UnsetRead() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtpenc_vc2hq.c | 51 GetBitContext gc; in send_picture() local 62 init_get_bits(&gc, buf, 8 * size); in send_picture() 63 get_interleaved_ue_golomb(&gc); /* wavelet_idx */ in send_picture() 64 wavelet_depth = get_interleaved_ue_golomb(&gc); in send_picture() 65 get_interleaved_ue_golomb(&gc); /* num_x */ in send_picture() 66 get_interleaved_ue_golomb(&gc); /* num_y */ in send_picture() 67 prefix_bytes = get_interleaved_ue_golomb(&gc); in send_picture() 68 size_scaler = get_interleaved_ue_golomb(&gc); in send_picture() 70 get_interleaved_ue_golomb(&gc); in send_picture() 73 get_interleaved_ue_golomb(&gc); in send_picture() [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | weakset.js | 23 gc (); /* This will remove the entry, but there is no way to validate it from js. */ 40 gc (); 42 gc (); 45 gc (); 51 gc (); 56 gc (); 65 gc (); 68 gc (); 71 gc(); 94 gc(); [all...] |
H A D | weakmap.js | 23 gc (); /* This will remove the entry, but there is no way to validate it from js. */ 41 gc (); 43 gc (); 46 gc (); 53 gc (); 61 gc (); 70 gc (); 73 gc (); 84 gc(); 109 gc(); [all...] |
/third_party/mesa3d/src/glx/windows/ |
H A D | windowsgl.c | 67 windowsContext *gc; in windows_create_context() local 69 gc = calloc(1, sizeof *gc); in windows_create_context() 70 if (gc == NULL) in windows_create_context() 105 gc->pxfi = pxfi; in windows_create_context() 106 SetPixelFormat(hdc, gc->pxfi, NULL); in windows_create_context() 108 gc->ctx = wglCreateContext(hdc); in windows_create_context() 110 if (shared && gc->ctx) in windows_create_context() 111 wglShareLists(shared->ctx, gc->ctx); in windows_create_context() 116 if (!gc in windows_create_context() 128 windowsContext *gc; windows_create_context_attribs() local [all...] |
/third_party/python/Lib/test/dtracedata/ |
H A D | instance.py | 1 import gc namespace 10 gc.collect() 13 gc.collect() 17 gc.collect() 20 gc.collect() 22 gc.collect() 24 gc.collect()
|
/third_party/mesa3d/src/glx/tests/ |
H A D | create_context_unittest.cpp | 42 glx_context_init(struct glx_context *gc, in glx_context_init() argument 45 gc->majorOpcode = 123; in glx_context_init() 46 gc->screen = psc->scr; in glx_context_init() 47 gc->psc = psc; in glx_context_init() 48 gc->config = config; in glx_context_init() 49 gc->isDirect = GL_TRUE; in glx_context_init() 50 gc->currentContextTag = -1; in glx_context_init() 427 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F() local 429 EXPECT_FALSE(gc->isDirect); in TEST_F() 439 struct glx_context *gc in TEST_F() local 453 struct glx_context *gc = (struct glx_context *) ctx; TEST_F() local 467 struct glx_context *gc = (struct glx_context *) ctx; TEST_F() local 479 struct glx_context *gc = (struct glx_context *) ctx; TEST_F() local 493 struct glx_context *gc = (struct glx_context *) ctx; TEST_F() local 508 struct glx_context *gc = (struct glx_context *) ctx; TEST_F() local 520 struct glx_context *gc = (struct glx_context *) ctx; TEST_F() local [all...] |