Searched refs:ctx (Results 1 - 23 of 23) sorted by relevance

/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DText.c103 #define IsValidLine(ctx, num) ( ((num) == 0) || \
104 ((ctx)->text.lt.info[(num)].position != 0) )
345 * Arguments: ctx - the text widget.
350 PositionHScrollBar(ctx)
351 TextWidget ctx;
353 Widget vbar = ctx->text.vbar, hbar = ctx->text.hbar;
356 if (ctx->text.hbar == NULL) return;
361 XtResizeWidget( hbar, ctx->core.width - left, hbar->core.height,
366 top = ctx
523 TextWidget ctx = (TextWidget) new; local
587 TextWidget ctx = (TextWidget)w; local
614 TextWidget ctx = (TextWidget) widget; local
669 TextWidget ctx = (TextWidget)w; local
917 _XawTextBuildLineTable( TextWidget ctx, XawTextPosition position, _XtBoolean force_rebuild) argument
1256 TextWidget ctx = (TextWidget) closure; local
1337 TextWidget ctx = (TextWidget) closure; local
1421 TextWidget ctx = (TextWidget)closure; local
1452 TextWidget ctx = (TextWidget)closure; local
1511 TextWidget ctx = (TextWidget)w; local
1712 TextWidget ctx = (TextWidget) w; local
2055 TextWidget ctx = (TextWidget)w; local
2357 TextWidget ctx = (TextWidget) w; local
2392 TextWidget ctx = (TextWidget) w; local
2622 TextWidget ctx = (TextWidget) w; local
2838 TextWidget ctx = (TextWidget)w; local
2859 TextWidget ctx = (TextWidget) w; local
3214 TextWidget ctx = (TextWidget) w; local
3244 TextWidget ctx = (TextWidget) w; local
3286 TextWidget ctx = (TextWidget) w; local
3318 TextWidget ctx = (TextWidget)w; local
3343 TextWidget ctx = (TextWidget) w; local
3360 TextWidget ctx = (TextWidget) w; local
3392 TextWidget ctx = (TextWidget)w; local
3435 TextWidget ctx = (TextWidget) w; local
3474 TextWidget ctx = (TextWidget) w; local
[all...]
H A DTextAction.c88 StartAction(ctx, event)
89 TextWidget ctx;
92 _XawTextPrepareToUpdate(ctx);
97 ctx->text.time = event->xbutton.time;
101 ctx->text.time = event->xkey.time;
104 ctx->text.time = event->xmotion.time;
108 ctx->text.time = event->xcrossing.time;
114 NotePosition(ctx, event)
115 TextWidget ctx;
121 ctx
193 TextWidget ctx = (TextWidget)w; local
638 TextWidget ctx = (TextWidget)w; local
810 TextWidget ctx = (TextWidget) w; local
1039 TextWidget ctx = (TextWidget) w; local
1191 TextWidget ctx = (TextWidget) w; local
1259 TextWidget ctx = (TextWidget) w; local
1277 TextWidget ctx = (TextWidget) w; local
1419 TextWidget ctx = (TextWidget) w; local
1436 TextWidget ctx = (TextWidget) w; local
1452 TextWidget ctx = (TextWidget) w; local
1468 TextWidget ctx = (TextWidget) w; local
1533 TextWidget ctx = (TextWidget) w; local
1686 TextWidget ctx = (TextWidget) w; local
1762 TextWidget ctx = (TextWidget)w; local
1804 TextWidget ctx = (TextWidget) w; local
2037 TextWidget ctx = (TextWidget) w; local
2067 TextWidget ctx = (TextWidget) w; local
[all...]
H A DTextP.h67 #define GETLASTPOS XawTextSourceScan(ctx->text.source, 0, \
126 #define VMargins(ctx) ( (ctx)->text.margin.top + (ctx)->text.margin.bottom )
127 #define HMargins(ctx) ( (ctx)->text.margin.left + (ctx)->text.margin.right )
129 #define IsPositionVisible(ctx, pos) \
130 (pos >= ctx->text.lt.info[0].position && \
131 pos < ctx
[all...]
H A DTextPop.c169 TextWidget ctx = (TextWidget)w; local
175 XtGetValues(ctx->text.source, args, ONE);
187 if (!ctx->text.file_insert) {
188 ctx->text.file_insert = CreateDialog(w, ptr, "insertFile",
190 XtRealizeWidget(ctx->text.file_insert);
191 SetWMProtocolTranslations(ctx->text.file_insert);
194 CenterWidgetOnPoint(ctx->text.file_insert, event);
195 XtPopup(ctx->text.file_insert, XtGrabNone);
214 TextWidget ctx = (TextWidget) closure; local
216 XtPopdown( ctx
237 TextWidget ctx = (TextWidget) closure; local
516 TextWidget ctx = (TextWidget)w; local
816 TextWidget ctx = (TextWidget)tw; local
885 TextWidget ctx = (TextWidget) XtParent(XtParent(XtParent(w))); local
959 TextWidget ctx = (TextWidget)tw; local
1249 TextWidget ctx = (TextWidget)tw; local
[all...]
H A DAsciiSink.c218 TextWidget ctx = (TextWidget) XtParent(w); local
222 max_x = (Position) ctx->core.width;
227 XDrawImageString(XtDisplay(ctx), XtWindow(ctx), gc,
229 if ( (((Position) width + x) > max_x) && (ctx->text.margin.right != 0) ) {
230 x = ctx->core.width - ctx->text.margin.right;
231 width = ctx->text.margin.right;
232 XFillRectangle(XtDisplay((Widget) ctx), XtWindow( (Widget) ctx),
688 { TextWidget ctx = (TextWidget)XtParent(w); local
[all...]
H A DMultiSink.c244 TextWidget ctx = (TextWidget) XtParent(w); local
250 max_x = (Position) ctx->core.width;
255 XwcDrawImageString(XtDisplay(ctx), XtWindow(ctx), fontset, gc,
257 if ( (((Position) width + x) > max_x) && (ctx->text.margin.right != 0) ) {
258 x = ctx->core.width - ctx->text.margin.right;
259 width = ctx->text.margin.right;
260 XFillRectangle(XtDisplay((Widget) ctx), XtWindow( (Widget) ctx),
[all...]
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Text.c75 #define IsValidLine(ctx, num) ( ((num) == 0) || \
76 ((ctx)->text.lt.info[(num)].position != 0) )
90 void _XawTextPrepareToUpdate(TextWidget ctx);
338 * Arguments: ctx - the text widget.
343 PositionHScrollBar(ctx)
344 TextWidget ctx;
346 Widget vbar = ctx->text.vbar, hbar = ctx->text.hbar;
349 if (ctx->text.hbar == NULL) return;
354 XtResizeWidget( hbar, ctx
481 TextWidget ctx = (TextWidget) new; local
563 TextWidget ctx = (TextWidget)w; local
629 TextWidget ctx = (TextWidget)w; local
1139 TextWidget ctx = (TextWidget) closure; local
1216 TextWidget ctx = (TextWidget) closure; local
1298 TextWidget ctx = (TextWidget)closure; local
1329 TextWidget ctx = (TextWidget)closure; local
1375 TextWidget ctx = (TextWidget)w; local
1508 TextWidget ctx = (TextWidget) w; local
1724 TextWidget ctx = (TextWidget)w; local
1966 TextWidget ctx = (TextWidget) w; local
2001 TextWidget ctx = (TextWidget) w; local
2222 TextWidget ctx = (TextWidget) w; local
2410 TextWidget ctx = (TextWidget)w; local
2431 TextWidget ctx = (TextWidget) w; local
2608 TextWidget ctx = (TextWidget) w; local
2633 TextWidget ctx = (TextWidget) w; local
2667 TextWidget ctx = (TextWidget) w; local
2690 register TextWidget ctx = (TextWidget)w; local
2712 TextWidget ctx = (TextWidget) w; local
2755 TextWidget ctx = (TextWidget) w; local
2768 TextWidget ctx = (TextWidget) w; local
2792 register TextWidget ctx = (TextWidget)w; local
2822 TextWidget ctx = (TextWidget) w; local
2851 TextWidget ctx = (TextWidget) w; local
[all...]
H A DXaw3_1TextAction.c75 void _XawTextPrepareToUpdate(TextWidget ctx);
76 int _XawTextReplace(TextWidget ctx,
81 StartAction(ctx, event)
82 TextWidget ctx;
85 _XawTextPrepareToUpdate(ctx);
90 ctx->text.time = event->xbutton.time;
91 ctx->text.ev_x = event->xbutton.x;
92 ctx->text.ev_y = event->xbutton.y;
96 ctx->text.time = event->xkey.time;
97 ctx
187 TextWidget ctx = (TextWidget)w; local
603 TextWidget ctx = (TextWidget) w; local
729 TextWidget ctx = (TextWidget) w; local
765 TextWidget ctx = (TextWidget) w; local
783 TextWidget ctx = (TextWidget) w; local
897 TextWidget ctx = (TextWidget) w; local
908 TextWidget ctx = (TextWidget) w; local
960 TextWidget ctx = (TextWidget) w; local
1007 TextWidget ctx = (TextWidget) w; local
1054 TextWidget ctx = (TextWidget)w; local
1107 TextWidget ctx = (TextWidget) w; local
1302 TextWidget ctx = (TextWidget) w; local
1334 TextWidget ctx = (TextWidget) w; local
[all...]
H A DXaw3_1TextP.h45 #define GETLASTPOS XawTextSourceScan(ctx->text.source, 0, \
92 #define VMargins(ctx) ( (ctx)->text.margin.top + (ctx)->text.margin.bottom )
93 #define HMargins(ctx) ( (ctx)->text.margin.left + (ctx)->text.margin.right )
95 #define IsPositionVisible(ctx, pos) \
96 (pos >= ctx->text.lt.info[0].position && \
97 pos < ctx
[all...]
H A DXaw3_1TextPop.c152 TextWidget ctx = (TextWidget)w; local
159 XtGetValues(ctx->text.source, args, ONE);
171 if (!ctx->text.file_insert) {
172 ctx->text.file_insert = CreateDialog(w, ptr, "insertFile",
174 XtRealizeWidget(ctx->text.file_insert);
177 CenterWidgetOnPoint(ctx->text.file_insert, event);
178 XtPopup(ctx->text.file_insert, XtGrabNone);
197 TextWidget ctx = (TextWidget) closure; local
199 XtPopdown( ctx->text.file_insert );
200 (void) SetResourceByName( ctx
220 TextWidget ctx = (TextWidget) closure; local
488 TextWidget ctx = (TextWidget)w; local
833 TextWidget ctx = (TextWidget) XtParent(XtParent(XtParent(w))); local
[all...]
H A DXaw3_1AsciiSink.c194 TextWidget ctx = (TextWidget) XtParent(w); local
198 max_x = (Position) ctx->core.width;
203 XDrawImageString(XtDisplay(ctx), XtWindow(ctx), gc,
205 if ( (((Position) width + x) > max_x) && (ctx->text.margin.right != 0) ) {
206 x = ctx->core.width - ctx->text.margin.right;
207 width = ctx->text.margin.right;
208 XFillRectangle(XtDisplay((Widget) ctx), XtWindow( (Widget) ctx),
[all...]
/solaris-x11-s11/open-src/kernel/efb/src/
H A Defb_map.c41 efb_context_t *ctx)
47 mi->next = ctx->mappings;
52 mi->ctx = ctx;
56 ctx->mappings = mi;
70 efb_context_t *ctx;
89 ctx = (efb_context_t *)(radeon_priv->private_data);
90 if (ctx == NULL) {
91 ctx = kmem_zalloc(sizeof (efb_context_t), KM_SLEEP);
92 ctx
39 efb_new_mapping(drm_inst_state_t *mstate, devmap_cookie_t dhp, offset_t off, size_t len, efb_context_t *ctx) argument
186 efb_context_t *ctx; local
217 efb_ctx_save(efb_private_t *efb_priv, efb_context_t *ctx) argument
252 efb_ctx_restore(efb_private_t *efb_priv, efb_context_t *ctx) argument
299 efb_ctx_make_current(efb_private_t *efb_priv, efb_context_t *ctx) argument
387 efb_context_t *ctx; local
473 efb_ctx_unload_mappings(efb_context_t *ctx) argument
503 efb_context_t *ctx; local
[all...]
H A Ddrm_context.c306 drm_ctx_t ctx; local
320 bzero(&ctx, sizeof (ctx));
322 ctx.handle = i;
324 &ctx, sizeof (ctx));
349 drm_ctx_t ctx; local
351 DRM_COPYFROM_WITH_RETURN(&ctx, (void *)data, sizeof (ctx));
353 ctx
383 drm_ctx_t ctx; local
400 drm_ctx_t ctx; local
413 drm_ctx_t ctx; local
428 drm_ctx_t ctx; local
[all...]
H A Dradeon_state.c460 drm_file_t *filp_priv, drm_radeon_context_regs_t *ctx,
468 &ctx->rb3d_depthoffset)) {
474 &ctx->rb3d_coloroffset)) {
481 OUT_RING(ctx->pp_misc);
482 OUT_RING(ctx->pp_fog_color);
483 OUT_RING(ctx->re_solid_color);
484 OUT_RING(ctx->rb3d_blendcntl);
485 OUT_RING(ctx->rb3d_depthoffset);
486 OUT_RING(ctx->rb3d_depthpitch);
487 OUT_RING(ctx
459 radeon_emit_state(drm_radeon_private_t *dev_priv, drm_file_t *filp_priv, drm_radeon_context_regs_t *ctx, drm_radeon_texture_regs_t *tex, unsigned int dirty) argument
[all...]
H A Defb.h50 efb_context_t *ctx; member in struct:efb_mapinfo
184 efb_context_t *ctx);
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_gem_context.c137 struct i915_hw_context *ctx = container_of(ctx_ref, local
140 drm_gem_object_unreference(&ctx->obj->base);
141 kfree(ctx, sizeof(*ctx));
149 struct i915_hw_context *ctx; local
152 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
153 if (ctx == NULL)
156 kref_init(&ctx->ref);
157 ctx
207 is_default_context(struct i915_hw_context *ctx) argument
219 struct i915_hw_context *ctx; local
316 struct i915_hw_context *ctx = p; local
548 struct i915_hw_context *ctx; local
576 struct i915_hw_context *ctx; local
600 i915_gem_context_reference(struct i915_hw_context *ctx) argument
605 i915_gem_context_unreference(struct i915_hw_context *ctx) argument
[all...]
H A Di915_gem.c1561 request->ctx = ring->last_context;
1571 if (request->ctx)
1572 i915_gem_context_reference(request->ctx);
1688 DRM_ERROR("%s hung %s bo (0x%x ctx %d) at 0x%x\n",
1693 request->ctx ? request->ctx->id : 0,
1702 if (request->ctx && request->ctx->id != DEFAULT_CONTEXT_ID)
1703 hs = &request->ctx->hang_stats;
1720 if (request->ctx)
[all...]
H A Dintel_pm.c2868 struct drm_i915_gem_object *ctx; local
2873 ctx = i915_gem_alloc_object(dev, 4096);
2874 if (!ctx) {
2879 ret = i915_gem_object_pin(ctx, 4096, true, false);
2885 ret = i915_gem_object_set_to_gtt_domain(ctx, 1);
2891 return ctx;
2894 i915_gem_object_unpin(ctx);
2896 drm_gem_object_unreference(&ctx->base);
H A Di915_drv.h1401 struct i915_hw_context *ctx; member in struct:drm_i915_gem_request
1807 void i915_gem_context_reference(struct i915_hw_context *ctx);
1808 void i915_gem_context_unreference(struct i915_hw_context *ctx);
H A Di915_irq.c1562 i915_error_object_free(error->ring[i].ctx);
1759 ering->ctx = i915_error_object_create_sized(dev_priv,
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_context.c302 struct drm_ctx ctx; local
306 (void) memset(&ctx, 0, sizeof(ctx));
308 ctx.handle = i;
310 &ctx, sizeof (ctx));
333 struct drm_ctx *ctx = data; local
335 ctx->handle = drm_ctxbitmap_next(dev);
336 if (ctx->handle == DRM_KERNEL_CONTEXT) {
338 ctx
385 struct drm_ctx *ctx = data; local
407 struct drm_ctx *ctx = data; local
427 struct drm_ctx *ctx = data; local
449 struct drm_ctx *ctx = data; local
[all...]
/solaris-x11-s11/open-src/util/build-tools/sun-src/
H A Dtime.c63 ucontext_t ctx; local
65 if (getcontext(&ctx) == 0)
66 walkcontext(&ctx, stack_info, &execname);
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DdpsXuserpath.h121 extern void DPSDoUserPath(DPSContext ctx,
141 extern Bool DPSHitUserPath(DPSContext ctx,

Completed in 331 milliseconds