Searched defs:ctx (Results 51 - 75 of 213) sorted by relevance

123456789

/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Dmd5.c141 * @v ctx MD5 context
143 static void md5_init ( void *ctx ) {
144 struct md5_context *context = ctx;
226 * @v ctx MD5 context
230 static void md5_update ( void *ctx, const void *data, size_t len ) { argument
231 struct md5_context *context = ctx;
250 * @v ctx MD5 context
253 static void md5_final ( void *ctx, void *out ) { argument
254 struct md5_context *context = ctx;
264 md5_update ( ctx,
[all...]
H A Dsha1.c107 * @v ctx SHA-1 context
109 static void sha1_init ( void *ctx ) {
110 struct sha1_context *context = ctx;
200 * @v ctx SHA-1 context
204 static void sha1_update ( void *ctx, const void *data, size_t len ) { argument
205 struct sha1_context *context = ctx;
224 * @v ctx SHA-1 context
227 static void sha1_final ( void *ctx, void *out ) { argument
228 struct sha1_context *context = ctx;
238 sha1_update ( ctx,
[all...]
H A Dsha256.c70 * @v ctx SHA-256 context
72 static void sha256_init ( void *ctx ) {
73 struct sha256_context *context = ctx;
184 * @v ctx SHA-256 context
188 static void sha256_update ( void *ctx, const void *data, size_t len ) { argument
189 struct sha256_context *context = ctx;
208 * @v ctx SHA-256 context
211 static void sha256_final ( void *ctx, void *out ) { argument
212 struct sha256_context *context = ctx;
222 sha256_update ( ctx,
[all...]
/vbox/src/VBox/Main/src-all/
H A DDisplayPNGUtil.cpp148 PNGWriteCtx ctx; local
149 ctx.pu8PNG = NULL;
150 ctx.cbPNG = 0;
151 ctx.cbAllocated = 0;
152 ctx.rc = VINF_SUCCESS;
155 (png_voidp)&ctx,
181 rc = ctx.rc;
185 *ppu8PNG = ctx.pu8PNG;
186 *pcbPNG = ctx.cbPNG;
189 LogFlowFunc(("PNG %d bytes, bitmap %d bytes\n", ctx
[all...]
/vbox/src/VBox/Main/src-server/darwin/
H A DHostDnsServiceDarwin.cpp86 SCDynamicStoreContext ctx; local
87 RT_ZERO(ctx);
89 ctx.info = this;
93 &ctx);
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate_occlude.c15 crStateOcclusionInit(CRContext *ctx) argument
17 CROcclusionState *o = &ctx->occlusion;
25 crStateOcclusionDestroy(CRContext *ctx) argument
27 CROcclusionState *o = &(ctx->occlusion);
H A Dstate_point.c11 void crStatePointInit (CRContext *ctx) argument
13 CRPointState *p = &ctx->point;
19 RESET(pb->enableSmooth, ctx->bitid);
21 RESET(pb->size, ctx->bitid);
24 RESET(pb->minSize, ctx->bitid);
26 RESET(pb->maxSize, ctx->bitid);
28 RESET(pb->fadeThresholdSize, ctx->bitid);
32 RESET(pb->distanceAttenuation, ctx->bitid);
36 RESET(pb->enableSprite, ctx->bitid);
39 RESET(pb->coordReplacement[i], ctx
[all...]
H A Dstate_current.c18 void crStateCurrentInit( CRContext *ctx )
20 CRCurrentState *c = &ctx->current;
63 RESET(cb->dirty, ctx->bitid);
65 RESET(cb->vertexAttrib[i], ctx->bitid);
67 RESET(cb->edgeFlag, ctx->bitid);
68 RESET(cb->colorIndex, ctx->bitid);
69 RESET(cb->rasterPos, ctx->bitid);
105 void crStateSetCurrentPointers( CRContext *ctx, CRCurrentStatePointers *current ) argument
107 CRCurrentState *c = &(ctx->current);
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_context.c163 static int crServerRemoveClientContext(CRClient *pClient, GLint ctx) argument
169 if (pClient->contextList[pos] == ctx)
182 CRContext *ctx = (CRContext *) data2; local
184 CR_STATE_SHAREDOBJ_USAGE_CLEAR(mural, ctx);
188 crServerDispatchDestroyContext( GLint ctx )
196 crCtxInfo = (CRContextInfo *) crHashtableSearch(cr_server.contextTable, ctx);
198 crWarning("CRServer: DestroyContext invalid context %d", ctx);
204 crDebug("CRServer: DestroyContext context %d", ctx);
215 crHashtableDelete(cr_server.contextTable, ctx, NULL);
234 found = crServerRemoveClientContext(cr_server.curClient, ctx);
291 CRContext *ctx, *oldCtx = NULL; local
[all...]
H A Dserver_framebuffer.c77 CRContext *ctx = crStateGetCurrent(); local
78 if (ctx->buffer.drawBuffer == GL_FRONT || ctx->buffer.drawBuffer == GL_FRONT_LEFT || ctx->buffer.drawBuffer == GL_FRONT_RIGHT)
/vbox/src/VBox/Devices/PC/ipxe/src/net/80211/
H A Dwep.c100 struct wep_ctx *ctx = crypto->priv; local
102 ctx->keylen = ( keylen > WEP_MAX_KEY ? WEP_MAX_KEY : keylen );
103 memcpy ( ctx->key + WEP_IV_LEN, key, ctx->keylen );
120 struct wep_ctx *ctx = crypto->priv; local
140 memcpy ( ctx->key, &iv, WEP_IV_LEN );
143 cipher_setkey ( &arc4_algorithm, &ctx->arc4, ctx->key,
144 ctx->keylen + WEP_IV_LEN );
145 cipher_encrypt ( &arc4_algorithm, &ctx
169 struct wep_ctx *ctx = crypto->priv; local
[all...]
/vbox/src/VBox/GuestHost/OpenGL/include/state/
H A Dcr_evaluators.h79 DECLEXPORT(void) crStateEvaluatorInit (CRContext *ctx); variable
80 DECLEXPORT(void) crStateEvaluatorDestroy (CRContext *ctx); variable
H A Dcr_lighting.h78 DECLEXPORT(void) crStateLightingInit (CRContext *ctx); variable
79 DECLEXPORT(void) crStateLightingDestroy (CRContext *ctx); variable
H A Dcr_pixel.h62 DECLEXPORT(void) crStatePixelInit( CRContext *ctx ); variable
H A Dcr_stencil.h95 DECLEXPORT(void) crStateStencilInit(CRContext *ctx); variable
H A Dcr_transform.h68 DECLEXPORT(void) crStateTransformInit(CRContext *ctx); variable
69 DECLEXPORT(void) crStateTransformDestroy(CRContext *ctx); variable
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/drivers/dri/common/
H A Dspantmp.h45 static void TAG(WriteRGBASpan)( GLcontext *ctx, argument
88 static void TAG(WriteRGBSpan)( GLcontext *ctx, argument
127 static void TAG(WriteRGBAPixels)( GLcontext *ctx, argument
173 static void TAG(WriteMonoRGBASpan)( GLcontext *ctx, argument
213 static void TAG(WriteMonoRGBAPixels)( GLcontext *ctx, argument
255 static void TAG(ReadRGBASpan)( GLcontext *ctx, argument
283 static void TAG(ReadRGBAPixels)( GLcontext *ctx, argument
H A Dspantmp2.h156 static void TAG(WriteRGBASpan)( GLcontext *ctx, argument
199 static void TAG(WriteRGBSpan)( GLcontext *ctx, argument
238 static void TAG(WriteRGBAPixels)( GLcontext *ctx, argument
284 static void TAG(WriteMonoRGBASpan)( GLcontext *ctx, argument
323 static void TAG(WriteMonoRGBAPixels)( GLcontext *ctx, argument
365 static void TAG(ReadRGBASpan)( GLcontext *ctx, argument
397 static void TAG2(ReadRGBASpan,_MMX)( GLcontext *ctx,
446 static void TAG2(ReadRGBASpan,_SSE2)( GLcontext *ctx,
480 static void TAG2(ReadRGBASpan,_SSE)( GLcontext *ctx,
522 static void TAG(ReadRGBAPixels)( GLcontext *ctx, argument
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/swrast/
H A Ds_aalinetemp.h37 NAME(plot)(GLcontext *ctx, struct LineInfo *line, int ix, int iy) argument
39 const SWcontext *swrast = SWRAST_CONTEXT(ctx);
79 && !ctx->FragmentProgram._Active) {
105 _swrast_write_rgba_span(ctx, &(line->span));
107 _swrast_write_index_span(ctx, &(line->span));
119 NAME(line)(GLcontext *ctx, const SWvertex *v0, const SWvertex *v1) argument
121 SWcontext *swrast = SWRAST_CONTEXT(ctx);
135 line.halfWidth = 0.5F * CLAMP(ctx->Line.Width,
136 ctx->Const.MinLineWidthAA,
137 ctx
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/swrast_setup/
H A Dss_tritmp.h33 static void TAG(triangle)(GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 ) argument
35 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
36 SScontext *swsetup = SWSETUP_CONTEXT(ctx);
37 SWvertex *verts = SWSETUP_CONTEXT(ctx)->verts;
62 facing = (cc < 0.0) ^ ctx->Polygon._FrontBit;
65 mode = facing ? ctx->Polygon.BackMode : ctx->Polygon.FrontMode;
144 const GLfloat max = ctx->DrawBuffer->_DepthMaxF;
152 offset = ctx->Polygon.OffsetUnits;
159 offset += MAX2(dzdx, dzdy) * ctx
234 quadfunc( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) argument
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/tnl/
H A Dt_vb_cliptmp.h55 interp( ctx, t, newvert, idx, idxPrev, GL_TRUE ); \
61 interp( ctx, t, newvert, idxPrev, idx, GL_FALSE ); \
118 TAG(clip_line)( GLcontext *ctx, GLuint v0, GLuint v1, GLubyte mask ) argument
120 TNLcontext *tnl = TNL_CONTEXT(ctx);
140 for (p = 0; p < ctx->Const.MaxClipPlanes; p++) {
141 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) {
142 const GLfloat a = ctx->Transform._ClipUserPlane[p][0];
143 const GLfloat b = ctx->Transform._ClipUserPlane[p][1];
144 const GLfloat c = ctx->Transform._ClipUserPlane[p][2];
145 const GLfloat d = ctx
187 clip_tri( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLubyte mask ) argument
237 clip_quad( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3, GLubyte mask ) argument
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/tnl_dd/
H A Dt_dd_dmatmp2.h73 static ELT_TYPE *TAG(emit_elts)( GLcontext *ctx, argument
92 static ELT_TYPE *TAG(emit_consecutive_elts)( GLcontext *ctx, argument
117 static void TAG(render_points_verts)( GLcontext *ctx, argument
125 EMIT_PRIM( ctx, GL_POINTS, HW_POINTS, start, count );
129 static void TAG(render_lines_verts)( GLcontext *ctx, argument
141 if ((flags & PRIM_BEGIN) && ctx->Line.StippleFlag) {
146 EMIT_PRIM( ctx, GL_LINES, HW_LINES, start, count );
148 if ((flags & PRIM_END) && ctx->Line.StippleFlag)
153 static void TAG(render_line_strip_verts)( GLcontext *ctx, argument
164 if ((flags & PRIM_BEGIN) && ctx
200 render_line_loop_verts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
287 render_triangles_verts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
308 render_tri_strip_verts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
353 render_tri_fan_verts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
396 render_poly_verts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
410 render_quad_strip_verts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
461 render_quads_verts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
510 render_noop( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
540 render_points_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
563 render_lines_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
601 render_line_strip_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
629 render_line_loop_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
680 render_triangles_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
712 render_tri_strip_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
741 render_tri_fan_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
767 render_poly_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
792 render_quad_strip_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
853 render_quads_elts( GLcontext *ctx, GLuint start, GLuint count, GLuint flags ) argument
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A DtestC14N.c230 xmlXPathContextPtr ctx; local
273 ctx = xmlXPathNewContext(parent_doc);
274 if(ctx == NULL) {
286 if(xmlXPathRegisterNs(ctx, ns->prefix, ns->href) != 0) {
289 xmlXPathFreeContext(ctx);
299 xpath = xmlXPathEvalExpression(expr, ctx);
303 xmlXPathFreeContext(ctx);
311 xmlXPathFreeContext(ctx);
/vbox/src/recompiler/tests/
H A Dsha1.c223 SHA1_CTX ctx; local
230 SHA1Init(&ctx);
232 SHA1Update(&ctx, buf, BUFSIZE);
233 SHA1Final(hash, &ctx);
/vbox/src/VBox/Devices/Network/slirp/
H A Dip_icmpwin.c53 static VOID WINAPI icmpwin_callback_apc(void *ctx, PIO_STATUS_BLOCK iob, ULONG reserved);
54 static VOID WINAPI icmpwin_callback_old(void *ctx);
247 icmpwin_callback_apc(void *ctx, PIO_STATUS_BLOCK iob, ULONG reserved) argument
249 struct pong *pong = (struct pong *)ctx;
256 icmpwin_callback_old(void *ctx) argument
258 struct pong *pong = (struct pong *)ctx;

Completed in 132 milliseconds

123456789