Searched defs:old (Results 1 - 25 of 29) sorted by relevance

12

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_lock.c44 unsigned int old, new, prev; local
48 old = *lock;
49 if (old & _DRM_LOCK_HELD)
50 new = old | _DRM_LOCK_CONT;
53 prev = atomic_cas_uint(lock, old, new);
54 } while (prev != old);
56 if (_DRM_LOCKING_CONTEXT(old) == context) {
57 if (old & _DRM_LOCK_HELD) {
81 unsigned int old, new, prev; local
85 old
97 unsigned int old, new, prev; local
[all...]
H A Ddrm_auth.c137 int old = sequence; local
138 auth.magic = old+1;
139 if (!atomic_cmpset_int(&sequence, old, auth.magic))
H A Ddrm_context.c264 drm_context_switch(drm_device_t *dev, int old, int new) argument
272 old, new);
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_auth.c197 int old = sequence; local
198 auth->magic = old + 1;
199 if (!atomic_cmpset_int(&sequence, old, auth->magic))
H A Ddrm_lock.c167 unsigned int old, new; local
171 old = *lock;
172 if (old & _DRM_LOCK_HELD)
173 new = old | _DRM_LOCK_CONT;
179 } while (!atomic_cmpset_int(lock, old, new));
181 if (_DRM_LOCKING_CONTEXT(old) == context) {
182 if (old & _DRM_LOCK_HELD) {
213 unsigned int old, new; local
218 old = *lock;
220 } while (!atomic_cmpset_int(lock, old, ne
237 unsigned int old, new; local
295 unsigned int old; local
[all...]
H A Ddrm_context.c236 * \param old old context handle.
242 static int drm_context_switch(struct drm_device * dev, int old, int new) argument
249 DRM_DEBUG("Context switch from %d to %d\n", old, new);
H A Ddrm_mm.c497 void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new) argument
499 list_replace(&old->node_list, &new->node_list);
500 list_replace(&old->hole_stack, &new->hole_stack);
501 new->hole_follows = old->hole_follows;
502 new->mm = old->mm;
503 new->start = old->start;
504 new->size = old->size;
505 new->color = old->color;
507 old->allocated = 0;
H A Ddrm_crtc_helper.c367 * @old_fb: old framebuffer, for cleanup
1002 const char *old, *new; local
1004 old = drm_get_connector_status_name(old_status);
1011 old, new);
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Dialog.c212 DialogWidget old = (DialogWidget)current; local
231 if (old->dialog.iconW != (Widget)NULL) {
232 XtSetValues( old->dialog.iconW, args, ONE );
247 XtDestroyWidget(old->dialog.iconW);
263 if ( w->dialog.value != old->dialog.value ) {
266 XtDestroyWidget(old->dialog.valueW);
267 else if (old->dialog.value == NULL) { /* create a new value widget. */
268 w->core.width = old->core.width;
269 w->core.height = old->core.height;
H A DXaw3_1StripChart.c427 StripChartWidget old = (StripChartWidget)current; local
432 if (w->strip_chart.update != old->strip_chart.update) {
433 XtRemoveTimeOut (old->strip_chart.interval_id);
443 if ( w->strip_chart.fgpixel != old->strip_chart.fgpixel )
446 if ( w->strip_chart.hipixel != old->strip_chart.hipixel )
449 DestroyGC(old, new_gc);
H A DXaw3_1TextPop.c1026 Widget new, old; local
1039 old = search->rep_text;
1043 old = search->search_text;
1051 _SetField(new, old);
1056 * Arguments: new, old - new and old text fields.
1061 _SetField(new, old)
1062 Widget new, old;
1068 XBell(XtDisplay(old), 0); /* Don't set field to an inactive Widget. */
1079 XtGetValues(old, arg
[all...]
H A DXaw3_1Paned.c504 Dimension old; local
523 old = pane->size;
546 *sizeused += (pane->size - old);
602 Dimension old = pane->size; local
607 sizeused += pane->size - old;
1695 SetValues(old, request, new)
1696 Widget old, request, new;
1698 PanedWidget old_pw = (PanedWidget) old;
1707 ReleaseGCs(old);
1755 PaneSetValues(old, reques
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DDialog.c238 DialogWidget old = (DialogWidget)current; local
257 if (old->dialog.iconW != (Widget)NULL) {
258 XtSetValues( old->dialog.iconW, args, ONE );
270 } else if (old->dialog.icon != (Pixmap)0) {
273 XtDestroyWidget(old->dialog.iconW);
289 if ( w->dialog.value != old->dialog.value ) {
292 XtDestroyWidget(old->dialog.valueW);
293 else if (old->dialog.value == NULL) { /* create a new value widget. */
294 w->core.width = old->core.width;
295 w->core.height = old
[all...]
H A DStripChart.c446 StripChartWidget old = (StripChartWidget)current; local
451 if (w->strip_chart.update != old->strip_chart.update) {
452 if (old->strip_chart.update > 0)
453 XtRemoveTimeOut (old->strip_chart.interval_id);
464 if ( w->strip_chart.fgpixel != old->strip_chart.fgpixel ) {
469 if ( w->strip_chart.hipixel != old->strip_chart.hipixel ) {
474 DestroyGC(old, new_gc);
H A DTextPop.c1105 Widget new, old; local
1118 old = search->rep_text;
1122 old = search->search_text;
1130 _SetField(new, old);
1135 * Arguments: new, old - new and old text fields.
1140 _SetField(new, old)
1141 Widget new, old;
1147 XBell(XtDisplay(old), 0); /* Don't set field to an inactive Widget. */
1158 XtGetValues(old, arg
[all...]
H A DPaned.c531 Dimension old; local
550 old = pane->size;
573 *sizeused += (pane->size - old);
629 Dimension old = pane->size; local
634 sizeused += pane->size - old;
1728 SetValues(old, request, new, args, num_args)
1729 Widget old, request, new;
1733 PanedWidget old_pw = (PanedWidget) old;
1742 ReleaseGCs(old);
1791 PaneSetValues(old, reques
[all...]
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A DFlags.c115 * these old keywords are turned into standard generic options.
228 XF86OptionPtr old; /* Ptr to existing option, if any */ local
236 old = xf86findOption(head, name);
237 if (old == NULL) {
241 //??? Memory leak in some or all cases (e.g. when old->used==1) ???
242 //??? xf86freeconfig(old->opt_name);
243 //??? xf86freeconfig(old->opt_val);
244 //??? Memory leak in some or all cases (e.g. when old->used==1) ???
245 new = old;
252 if (old
637 XF86OptionPtr option, old; local
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DdpsXclient.c842 XDPSStatusProc old = c->statusProc; local
845 return old;
854 XDPSReadyProc old = c->readyProc; local
857 return old;
976 Bool old = XDPSLGetPassEventsFlag(dpy); local
989 if (old) return dps_event_pass_through;
H A DXDPS.c1486 char *old; local
1492 old = gCSDPS->defaultAgentName;
1497 old = gCSDPS->map[DPY_NUMBER(dpy)];
1500 return(old);
1520 /* +++ Consider using agent->synchandler to store old proc */
/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c177 char **new, **old; local
189 for (old = e; *old; old++)
190 if (strlen (*old) > l &&
191 !strncmp (*old, name, l) && (*old)[l] == '=')
193 if (*old) {
194 free (*old);
195 *old
839 FILE *old, *new; local
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DFontCreato.c113 static Boolean SetValues(Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args);
1548 Widget old, Widget req, Widget new,
1552 FontCreatorWidget oldfc = (FontCreatorWidget) old;
1547 SetValues( Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args) argument
H A DFontSample.c192 static Boolean SetValues(Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args);
1724 Widget old, Widget req, Widget new,
1728 FontSamplerWidget olds = (FontSamplerWidget) old;
1723 SetValues( Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args) argument
/solaris-x11-s11/open-src/app/dispswitch/sun-src/
H A Ddispswitch.c314 set_name_all (name_t *name, name_t *old) argument
316 if (old->kind & name_xid)
317 name->xid = old->xid;
318 if (old->kind & name_string)
319 name->string = old->string;
320 if (old->kind & name_index)
321 name->index = old->index;
322 name->kind |= old->kind;
715 * sure the old size fits then new screen
728 /* old positio
[all...]
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_gem.c2469 struct drm_i915_gem_object *old = reg->obj; local
2471 ret = i915_gem_object_wait_fence(old);
2475 i915_gem_object_fence_lost(old);
3630 /* copy old content to fb buffer */
/solaris-x11-s11/open-src/lib/DPS/sun-src/makepsres/
H A Dmakepsres.c591 char old; local
609 old = *ch;
612 if (old == '\0') return;

Completed in 5737 milliseconds

12