/vbox/src/VBox/Devices/PC/ipxe/src/crypto/ |
H A D | rsa.c | 148 * @v context RSA context 150 static void rsa_free ( struct rsa_context *context ) { 152 free ( context->dynamic ); 153 context->dynamic = NULL; 159 * @v context RSA context 164 static int rsa_alloc ( struct rsa_context *context, size_t modulus_len, argument 180 rsa_free ( context ); 188 context 209 rsa_parse_integer( struct rsa_context *context, struct asn1_cursor *integer, const struct asn1_cursor *raw ) argument 243 struct rsa_context *context = ctx; local 329 struct rsa_context *context = ctx; local 341 rsa_cipher( struct rsa_context *context, const void *in, void *out ) argument 370 struct rsa_context *context = ctx; local 421 struct rsa_context *context = ctx; local 478 rsa_encode_digest( struct rsa_context *context, struct digest_algorithm *digest, const void *value, void *encoded ) argument 538 struct rsa_context *context = ctx; local 573 struct rsa_context *context = ctx; local 625 struct rsa_context *context = ctx; local [all...] |
H A D | sha1.c | 107 * @v ctx SHA-1 context 110 struct sha1_context *context = ctx; local 112 context->ddd.dd.digest.h[0] = cpu_to_be32 ( 0x67452301 ); 113 context->ddd.dd.digest.h[1] = cpu_to_be32 ( 0xefcdab89 ); 114 context->ddd.dd.digest.h[2] = cpu_to_be32 ( 0x98badcfe ); 115 context->ddd.dd.digest.h[3] = cpu_to_be32 ( 0x10325476 ); 116 context->ddd.dd.digest.h[4] = cpu_to_be32 ( 0xc3d2e1f0 ); 117 context->len = 0; 123 * @v context SHA-1 context 205 struct sha1_context *context = ctx; local 228 struct sha1_context *context = ctx; local [all...] |
H A D | sha256.c | 70 * @v ctx SHA-256 context 73 struct sha256_context *context = ctx; local 75 context->ddd.dd.digest.h[0] = cpu_to_be32 ( 0x6a09e667 ); 76 context->ddd.dd.digest.h[1] = cpu_to_be32 ( 0xbb67ae85 ); 77 context->ddd.dd.digest.h[2] = cpu_to_be32 ( 0x3c6ef372 ); 78 context->ddd.dd.digest.h[3] = cpu_to_be32 ( 0xa54ff53a ); 79 context->ddd.dd.digest.h[4] = cpu_to_be32 ( 0x510e527f ); 80 context->ddd.dd.digest.h[5] = cpu_to_be32 ( 0x9b05688c ); 81 context->ddd.dd.digest.h[6] = cpu_to_be32 ( 0x1f83d9ab ); 82 context 189 struct sha256_context *context = ctx; local 212 struct sha256_context *context = ctx; local [all...] |
H A D | md5.c | 141 * @v ctx MD5 context 144 struct md5_context *context = ctx; local 146 context->ddd.dd.digest.h[0] = cpu_to_le32 ( 0x67452301 ); 147 context->ddd.dd.digest.h[1] = cpu_to_le32 ( 0xefcdab89 ); 148 context->ddd.dd.digest.h[2] = cpu_to_le32 ( 0x98badcfe ); 149 context->ddd.dd.digest.h[3] = cpu_to_le32 ( 0x10325476 ); 150 context->len = 0; 156 * @v context MD5 context 158 static void md5_digest ( struct md5_context *context ) { 231 struct md5_context *context = ctx; local 254 struct md5_context *context = ctx; local [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | concur.c | 75 ** Make the instance of 'context' static (not on the stack) 78 static Context context = {NULL, NULL, 0, 0}; variable 82 Context *context = (Context*)arg; local 83 PR_Lock(context->ml); 84 context->have += 1; 85 while (context->want >= context->have) 86 PR_WaitCondVar(context->cv, PR_INTERVAL_NO_TIMEOUT); 87 context->have -= 1; 88 PR_Unlock(context [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2gc.c | 46 CONTEXTRECORD context; local 47 context.ContextFlags = CONTEXT_INTEGER; 50 context.ContextFlags |= CONTEXT_CONTROL; 51 if (QueryThreadContext(t->md.handle, CONTEXT_CONTROL, &context)) { 52 t->md.gcContext[0] = context.ctx_RegEax; 53 t->md.gcContext[1] = context.ctx_RegEbx; 54 t->md.gcContext[2] = context.ctx_RegEcx; 55 t->md.gcContext[3] = context.ctx_RegEdx; 56 t->md.gcContext[4] = context.ctx_RegEsi; 57 t->md.gcContext[5] = context [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | context.c | 52 void context_bind_fbo(struct wined3d_context *context, GLenum target, GLuint *fbo) argument 54 const struct wined3d_gl_info *gl_info = context->gl_info; 75 if (context->fbo_read_binding == f) return; 76 context->fbo_read_binding = f; 80 if (context->fbo_draw_binding == f) return; 81 context->fbo_draw_binding = f; 85 if (context->fbo_read_binding == f 86 && context->fbo_draw_binding == f) return; 87 context->fbo_read_binding = f; 88 context 118 context_destroy_fbo(struct wined3d_context *context, GLuint *fbo) argument 198 context_attach_depth_stencil_fbo(struct wined3d_context *context, GLenum fbo_target, IWineD3DSurfaceImpl *depth_stencil, BOOL use_render_buffer) argument 270 context_attach_surface_fbo(const struct wined3d_context *context, GLenum fbo_target, DWORD idx, IWineD3DSurfaceImpl *surface) argument 294 context_check_fbo_status(struct wined3d_context *context) argument 335 context_create_fbo_entry(struct wined3d_context *context) argument 352 context_reuse_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry) argument 366 context_destroy_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry) argument 381 context_find_fbo_entry(struct wined3d_context *context) argument 417 context_apply_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry) argument 467 context_apply_fbo_state(struct wined3d_context *context) argument 497 context_alloc_occlusion_query(struct wined3d_context *context, struct wined3d_occlusion_query *query) argument 529 struct wined3d_context *context = query->context; local 554 context_alloc_event_query(struct wined3d_context *context, struct wined3d_event_query *query) argument 601 struct wined3d_context *context = query->context; local 638 struct wined3d_context *context = This->contexts[i]; local 675 context_surface_update(struct wined3d_context *context, IWineD3DSurfaceImpl *surface) argument 906 context_validate_adjust_wnd(struct wined3d_context *context) argument 938 context_destroy_gl_resources(struct wined3d_context *context) argument 1241 context_release(struct wined3d_context *context) argument 1297 context_enter(struct wined3d_context *context) argument 1329 Context_MarkStateDirty(struct wined3d_context *context, DWORD state, const struct StateEntry *StateTable) argument 1504 context_get_device(const struct wined3d_context *context) argument 1516 struct wined3d_context * context = (struct wined3d_context *)pvCtx; local 1517 HeapFree(GetProcessHeap(), 0, context); local 1891 context_acquire_context(struct wined3d_context * context, IWineD3DSurface *target, enum ContextUsage usage, BOOL bReValidate) argument 1955 struct wined3d_context *context = NULL; local 2010 context_destroy(IWineD3DDeviceImpl *This, struct wined3d_context *context) argument 2038 if (destroy) HeapFree(GetProcessHeap(), 0, context); local 2080 SetupForBlit(IWineD3DDeviceImpl *This, struct wined3d_context *context) argument 2345 struct wined3d_context *context; local 2470 struct wined3d_context *context = This->numContexts ? This->contexts[0] : NULL; local 2553 context_apply_draw_buffer(struct wined3d_context *context, BOOL blit) argument 2599 context_set_draw_buffer(struct wined3d_context *context, GLenum buffer) argument 2606 context_set_render_offscreen(struct wined3d_context *context, const struct StateEntry *StateTable, BOOL offscreen) argument 2637 context_validate_onscreen_formats(IWineD3DDeviceImpl *device, struct wined3d_context *context) argument 2658 context_apply_state(struct wined3d_context *context, IWineD3DDeviceImpl *device, enum ContextUsage usage) argument 2771 context_setup_target(IWineD3DDeviceImpl *device, struct wined3d_context *context, IWineD3DSurface *target) argument 2864 struct wined3d_context *context; local [all...] |
H A D | query.c | 45 if (query->context) context_free_event_query(query); 51 struct wined3d_context *context; local 58 if (query->context == NULL) 65 if (!query->context->gl_info->supported[ARB_SYNC] && query->context->tid != GetCurrentThreadId()) 72 context = context_acquire(device, query->context->current_rt, CTXUSAGE_RESOURCELOAD); 73 gl_info = context->gl_info; 127 context_release(context); 133 struct wined3d_context *context; local 206 struct wined3d_context *context; local 335 struct wined3d_context *context; local 499 struct wined3d_context *context; local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | context.c | 55 static void context_bind_fbo(struct wined3d_context *context, GLenum target, GLuint fbo) argument 57 const struct wined3d_gl_info *gl_info = context->gl_info; 62 if (context->fbo_read_binding == fbo) return; 63 context->fbo_read_binding = fbo; 67 if (context->fbo_draw_binding == fbo) return; 68 context->fbo_draw_binding = fbo; 72 if (context->fbo_read_binding == fbo 73 && context->fbo_draw_binding == fbo) return; 74 context->fbo_read_binding = fbo; 75 context 105 context_destroy_fbo(struct wined3d_context *context, GLuint fbo) argument 134 context_attach_depth_stencil_fbo(struct wined3d_context *context, GLenum fbo_target, struct wined3d_surface *depth_stencil, DWORD location) argument 216 context_attach_surface_fbo(struct wined3d_context *context, GLenum fbo_target, DWORD idx, struct wined3d_surface *surface, DWORD location) argument 266 context_check_fbo_status(const struct wined3d_context *context, GLenum target) argument 326 context_create_fbo_entry(const struct wined3d_context *context, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location) argument 347 context_reuse_fbo_entry(struct wined3d_context *context, GLenum target, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location, struct fbo_entry *entry) argument 363 context_destroy_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry) argument 378 context_find_fbo_entry(struct wined3d_context *context, GLenum target, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location) argument 424 context_apply_fbo_entry(struct wined3d_context *context, GLenum target, struct fbo_entry *entry) argument 467 context_apply_fbo_state(struct wined3d_context *context, GLenum target, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location) argument 496 context_apply_fbo_state_blit(struct wined3d_context *context, GLenum target, struct wined3d_surface *render_target, struct wined3d_surface *depth_stencil, DWORD location) argument 508 context_alloc_occlusion_query(struct wined3d_context *context, struct wined3d_occlusion_query *query) argument 538 struct wined3d_context *context = query->context; local 563 context_alloc_event_query(struct wined3d_context *context, struct wined3d_event_query *query) argument 606 struct wined3d_context *context = query->context; local 639 struct wined3d_context *context = device->contexts[i]; local 667 context_queue_fbo_entry_destruction(struct wined3d_context *context, struct fbo_entry *entry) argument 690 context_detach_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry) argument 710 context_surface_update(struct wined3d_context *context, const struct wined3d_surface *surface) argument 927 struct wined3d_context * context = device->contexts[0]; local 966 struct wined3d_context *context; local 1066 context_adjust_any_valid(struct wined3d_context *context) argument 1086 context_destroy_gl_resources(struct wined3d_context *context) argument 1378 context_release(struct wined3d_context *context) argument 1399 context_enter(struct wined3d_context *context) argument 1419 context_invalidate_state(struct wined3d_context *context, DWORD state) argument 1545 bind_dummy_textures(const struct wined3d_device *device, const struct wined3d_context *context) argument 1581 struct wined3d_context * context = (struct wined3d_context *)pvCtx; local 1582 HeapFree(GetProcessHeap(), 0, context); local 2037 context_destroy(struct wined3d_device *device, struct wined3d_context *context) argument 2070 if (destroy) HeapFree(GetProcessHeap(), 0, context); local 2098 context_get_rt_size(const struct wined3d_context *context, SIZE *size) argument 2141 SetupForBlit(const struct wined3d_device *device, struct wined3d_context *context) argument 2332 context_apply_draw_buffers(struct wined3d_context *context, DWORD rt_mask) argument 2382 context_set_draw_buffer(struct wined3d_context *context, GLenum buffer) argument 2398 context_active_texture(struct wined3d_context *context, const struct wined3d_gl_info *gl_info, unsigned int unit) argument 2405 context_bind_texture(struct wined3d_context *context, GLenum target, GLuint name) argument 2454 context_set_render_offscreen(struct wined3d_context *context, BOOL offscreen) argument 2485 context_validate_onscreen_formats(struct wined3d_context *context, const struct wined3d_surface *depth_stencil) argument 2517 context_apply_blit_state(struct wined3d_context *context, const struct wined3d_device *device) argument 2583 context_apply_clear_state(struct wined3d_context *context, const struct wined3d_device *device, UINT rt_count, const struct wined3d_fb_state *fb) argument 2677 find_draw_buffers_mask(const struct wined3d_context *context, const struct wined3d_device *device) argument 2705 context_state_fb(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id) argument 2734 context_state_drawbuf(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id) argument 2751 context_apply_draw_state(struct wined3d_context *context, struct wined3d_device *device) argument 2815 context_setup_target(struct wined3d_context *context, struct wined3d_surface *target) argument 2871 struct wined3d_context *context; local [all...] |
H A D | query.c | 43 if (query->context) context_free_event_query(query); 50 struct wined3d_context *context; local 57 if (!query->context) 64 if (!query->context->gl_info->supported[ARB_SYNC] && query->context->tid != GetCurrentThreadId()) 71 context = context_acquire(device, query->context->current_rt); 72 gl_info = context->gl_info; 122 context_release(context); 129 struct wined3d_context *context; local 201 struct wined3d_context *context; local 316 struct wined3d_context *context; local 472 struct wined3d_context *context; local [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | ntgc.c | 48 CONTEXT context; local 49 context.ContextFlags = CONTEXT_INTEGER; 52 context.ContextFlags |= CONTEXT_CONTROL; 53 if (GetThreadContext(t->md.handle, &context)) { 54 t->md.gcContext[0] = context.Eax; 55 t->md.gcContext[1] = context.Ebx; 56 t->md.gcContext[2] = context.Ecx; 57 t->md.gcContext[3] = context.Edx; 58 t->md.gcContext[4] = context.Esi; 59 t->md.gcContext[5] = context [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/ |
H A D | busfault.h | 32 typedef void (*busfault_notify_ptr) (void *context); 35 busfault_register_mmap(void *addr, size_t size, busfault_notify_ptr notify, void *context);
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/ |
H A D | busfault.h | 32 typedef void (*busfault_notify_ptr) (void *context); 35 busfault_register_mmap(void *addr, size_t size, busfault_notify_ptr notify, void *context);
|
H A D | glxcontext.h | 47 void (*destroy) (__GLXcontext * context); 48 int (*makeCurrent) (__GLXcontext * context); 49 int (*loseCurrent) (__GLXcontext * context); 51 Bool (*wait) (__GLXcontext * context, __GLXclientState * cl, int *error); 56 ** list of context structs 61 ** config struct for this context 66 ** Pointer to screen info data for this context. This is set 67 ** when the context is created. 72 ** If this context is current for a client, this will be that client 77 ** The XID of this context [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/ |
H A D | busfault.h | 32 typedef void (*busfault_notify_ptr) (void *context); 35 busfault_register_mmap(void *addr, size_t size, busfault_notify_ptr notify, void *context);
|
H A D | glxcontext.h | 47 void (*destroy) (__GLXcontext * context); 48 int (*makeCurrent) (__GLXcontext * context); 49 int (*loseCurrent) (__GLXcontext * context); 51 Bool (*wait) (__GLXcontext * context, __GLXclientState * cl, int *error); 56 ** list of context structs 61 ** config struct for this context 66 ** Pointer to screen info data for this context. This is set 67 ** when the context is created. 72 ** If this context is current for a client, this will be that client 77 ** The XID of this context [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/ |
H A D | glxcontext.h | 50 void (*destroy) (__GLXcontext *context); 51 int (*makeCurrent) (__GLXcontext *context); 52 int (*loseCurrent) (__GLXcontext *context); 56 int (*forceCurrent) (__GLXcontext *context); 61 ** list of context structs 67 ** config struct for this context 72 ** Pointer to screen info data for this context. This is set 73 ** when the context is created. 78 ** The XID of this context. 83 ** The XID of the shareList context [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | VBoxGLSupportInfo.cpp | 336 VBOXQGLLOGREL (("failed to make the context current, treating as unsupported\n")); 340 void VBoxGLInfo::initExtSupport(const QGLContext & context) argument 349 VBOXVHWA_PFNINIT_SAME(context, PFNVBOXVHWA_ACTIVE_TEXTURE, ActiveTexture, rc); 350 VBOXVHWA_PFNINIT_SAME(context, PFNVBOXVHWA_MULTI_TEX_COORD2I, MultiTexCoord2i, rc); 351 VBOXVHWA_PFNINIT_SAME(context, PFNVBOXVHWA_MULTI_TEX_COORD2D, MultiTexCoord2d, rc); 352 VBOXVHWA_PFNINIT_SAME(context, PFNVBOXVHWA_MULTI_TEX_COORD2F, MultiTexCoord2f, rc); 356 VBOXVHWA_PFNINIT_ARB(context, PFNVBOXVHWA_ACTIVE_TEXTURE, ActiveTexture, rc); 357 VBOXVHWA_PFNINIT_ARB(context, PFNVBOXVHWA_MULTI_TEX_COORD2I, MultiTexCoord2i, rc); 358 VBOXVHWA_PFNINIT_ARB(context, PFNVBOXVHWA_MULTI_TEX_COORD2D, MultiTexCoord2d, rc); 359 VBOXVHWA_PFNINIT_ARB(context, PFNVBOXVHWA_MULTI_TEX_COORD2 [all...] |
/vbox/src/recompiler/ |
H A D | cpu-exec.c | 289 /* prepare setjmp context for exception handling */ 993 # define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->ss.eip)) 994 # define TRAP_sig(context) ((context)->uc_mcontext->es.trapno) 995 # define ERROR_sig(context) ((context)->uc_mcontext->es.err) 996 # define MASK_sig(context) ((context)->uc_sigmask) 1000 # define EIP_sig(context) ((contex [all...] |
/vbox/src/VBox/Additions/common/crOpenGL/ |
H A D | context.c | 20 * The big issue is switching between Chromium and native GL context 136 ContextInfo *context = (ContextInfo *) data1; local 138 CRASSERT(context); 140 if (context->currentDrawable == data2) 141 context->currentDrawable = NULL; 426 stubContextFree( ContextInfo *context ) 428 crMemZero(context, sizeof(ContextInfo)); /* just to be safe */ 429 crFree(context); 433 stubDestroyContextLocked( ContextInfo *context ) 435 unsigned long contextId = context 487 ContextInfo *context; local 1112 stubCtxCreate(ContextInfo *context) argument 1148 stubCtxCheckCreate(ContextInfo *context) argument 1383 ContextInfo *context; local [all...] |
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpidl/macplugin/ |
H A D | mac_xpidl.cpp | 73 static CWResult Compile(CWPluginContext context); 74 static CWResult Disassemble(CWPluginContext context); 75 static CWResult LocateFile(CWPluginContext context, const char* filename, FSSpec& file); 90 pascal short xpidl_compiler(CWPluginContext context); 97 pascal short xpidl_compiler(CWPluginContext context) argument 100 if (CWGetPluginRequest(context, &request) != cwNoErr) 103 gPluginContext = context; 118 result = Compile(context); 123 result = Disassemble(context); 132 CWDonePluginRequest(context, resul 154 GetSettings(CWPluginContext context, XPIDLSettings& settings) argument 175 Compile(CWPluginContext context) argument 257 Disassemble(CWPluginContext context) argument 263 LocateFile(CWPluginContext context, const char* filename, FSSpec& file) argument [all...] |
H A D | mac_xpt_linker.cpp | 72 static CWResult Link(CWPluginContext context); 73 static CWResult Disassemble(CWPluginContext context); 74 static CWResult GetTargetInfo(CWPluginContext context); 77 pascal short xpt_linker(CWPluginContext context); 100 pascal short xpt_linker(CWPluginContext context) argument 103 if (CWGetPluginRequest(context, &request) != cwNoErr) 106 gPluginContext = context; 121 result = Link(context); 126 result = Disassemble(context); 131 result = GetTargetInfo(context); 202 GetSettings(CWPluginContext context, XPIDLSettings& settings) argument 223 LinkHeaders(CWPluginContext context, XPIDLSettings& settings) argument 279 LinkTypeLib(CWPluginContext context, XPIDLSettings& settings) argument 335 Link(CWPluginContext context) argument 353 Disassemble(CWPluginContext context) argument 411 GetTargetInfo(CWPluginContext context) argument [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/ |
H A D | glxcontext.h | 47 void (*destroy) (__GLXcontext * context); 48 int (*makeCurrent) (__GLXcontext * context); 49 int (*loseCurrent) (__GLXcontext * context); 51 Bool (*wait) (__GLXcontext * context, __GLXclientState * cl, int *error); 56 ** list of context structs 62 ** config struct for this context 67 ** Pointer to screen info data for this context. This is set 68 ** when the context is created. 73 ** The XID of this context. 78 ** The XID of the shareList context [all...] |
/vbox/src/libs/libxml2-2.6.31/doc/tutorial/ |
H A D | includexpath.c | 21 xmlXPathContextPtr context; 24 context = xmlXPathNewContext(doc); 25 if (context == NULL) { 29 result = xmlXPathEvalExpression(xpath, context); 30 xmlXPathFreeContext(context);
|
/vbox/src/VBox/Additions/common/crOpenGL/feedback/ |
H A D | feedback_context.c | 4 * VBox feedback spu, context tracking. 36 /* find an empty context slot */ 38 if (!feedback_spu.context[slot].clientState) { 47 feedback_spu.context[slot].clientState = crStateCreateContext(NULL, visual, NULL); 48 feedback_spu.context[slot].clientCtx = ctx; 76 if (feedback_spu.context[slot].clientCtx == ctx) break; 79 crStateMakeCurrent(feedback_spu.context[slot].clientState); 110 if (feedback_spu.context[slot].clientCtx == ctx) break; 113 crStateDestroyContext(feedback_spu.context[slot].clientState); 115 feedback_spu.context[slo [all...] |