/solaris-x11-s11/open-src/kernel/efb/src/ |
H A D | drm_lock.c | 44 unsigned int old, new, prev; local 50 new = old | _DRM_LOCK_CONT; 52 new = context | _DRM_LOCK_HELD; 53 prev = atomic_cas_uint(lock, old, new); 65 if ((_DRM_LOCKING_CONTEXT(new)) == context && 66 _DRM_LOCK_IS_HELD(new)) { 81 unsigned int old, new, prev; local 86 new = context | _DRM_LOCK_HELD; 87 prev = atomic_cas_uint(lock, old, new); 97 unsigned int old, new, pre local [all...] |
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_lock.c | 167 unsigned int old, new; local 173 new = old | _DRM_LOCK_CONT; 175 new = context | _DRM_LOCK_HELD | 179 } while (!atomic_cmpset_int(lock, old, new)); 191 if ((_DRM_LOCKING_CONTEXT(new)) == context && (new & _DRM_LOCK_HELD)) { 213 unsigned int old, new; local 219 new = context | _DRM_LOCK_HELD; 220 } while (!atomic_cmpset_int(lock, old, new)); 237 unsigned int old, new; local [all...] |
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/ |
H A D | Module.c | 229 XF86LoadPtr new; local 232 new = xf86confcalloc (1, sizeof (XF86LoadRec)); 233 new->load_name = name; 234 new->load_type = type; 235 new->load_opt = opts; 236 new->ignore = 0; 237 new->list.next = NULL; 240 new->load_comment = xf86addComment(new->load_comment, val.str); 244 return ((XF86LoadPtr) xf86addListItem ((glp) head, (glp) new)); [all...] |
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/ |
H A D | Xaw3_1Logo.c | 84 static void Initialize (request, new) 85 Widget request, new; 87 LogoWidget w = (LogoWidget)new; 141 LogoWidget new = (LogoWidget) gnew; local 145 if ((new->logo.fgpixel != current->logo.fgpixel) || 146 (new->core.background_pixel != current->core.background_pixel)) { 149 gcv.foreground = new->logo.fgpixel; 150 new->logo.foreGC = XtGetGC(gnew, GCForeground, &gcv); 151 gcv.foreground = new->core.background_pixel; 152 new [all...] |
H A D | Xaw3_1Simple.c | 149 static Boolean SetValues(current, request, new) 150 Widget current, request, new; 153 SimpleWidget s_new = (SimpleWidget) new; 155 if ( XtIsSensitive(current) != XtIsSensitive(new) ) 156 (*((SimpleWidgetClass)XtClass(new))-> 157 simple_class.change_sensitive) ( new ); 159 if ( (s_old->simple.cursor != s_new->simple.cursor) && XtIsRealized(new)) 160 XDefineCursor(XtDisplay(new), XtWindow(new), s_new->simple.cursor);
|
H A D | Xaw3_1Vendor.c | 135 static void _VendorShellInitialize(req, new) 136 Widget req, new; 141 static Boolean _VendorShellSetValues(old, ref, new) 142 Widget old, ref, new;
|
H A D | Xaw3_1SmeLine.c | 146 * new - the new widget with both resource and non 153 Initialize(request, new) 154 Widget request, new; 156 SmeLineObject entry = (SmeLineObject) new; 161 CreateGC(new); 246 * new - what the widget will become. 252 SetValues(current, request, new) 253 Widget current, request, new; 255 SmeLineObject entry = (SmeLineObject) new; [all...] |
H A D | Xaw3_1Dialog.c | 132 static void Initialize(request, new) 133 Widget request, new; 135 DialogWidget dw = (DialogWidget)new; 147 new, arglist, num_args ); 156 new, arglist, num_args); 170 static void ConstraintInitialize(request, new) 171 Widget request, new; 173 DialogWidget dw = (DialogWidget)new->core.parent; 174 DialogConstraints constraint = (DialogConstraints)new->core.constraints; 176 if (!XtIsSubclass(new, commandWidgetClas [all...] |
H A D | Xaw3_1Toggle.c | 208 static void Initialize(request, new) 209 Widget request, new; 211 ToggleWidget tw = (ToggleWidget) new; 217 tw->toggle.radio_data = (caddr_t) new->core.name; 221 CreateRadioGroup(new, tw->toggle.widget); 223 AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); 225 XtAddCallback(new, XtNdestroyCallback, ToggleDestroy, NULL); 239 ToggleSet(new, NULL, NULL, 0); 298 SetValues (current, request, new) 299 Widget current, request, new; [all...] |
H A D | Xaw3_1Clock.c | 157 static void Initialize (request, new) 158 Widget request, new; 160 ClockWidget w = (ClockWidget)new; 733 ClockWidget new = (ClockWidget) gnew; local 741 if (new->clock.update != current->clock.update) { 744 if (XtIsRealized((Widget)new)) 745 new->clock.interval_id = XtAppAddTimeOut( 747 new->clock.update*1000, 751 new->clock.show_second_hand =(new [all...] |
H A D | Xaw3_1Sme.c | 146 * new - the new widget with both resource and non 155 Initialize(request, new) 156 Widget request, new; 158 SmeObject entry = (SmeObject) new;
|
H A D | Xaw3_1Form.c | 220 static void Initialize(request, new) 221 Widget request, new; 223 FormWidget fw = (FormWidget)new; 343 static Position TransformCoord(loc, old, new, type) 345 Dimension old, new; 350 loc = (loc * new) / old; 353 loc += (Position)new - (Position)old; 447 static Boolean SetValues(current, request, new) 448 Widget current, request, new; 455 static void ConstraintInitialize(request, new) [all...] |
H A D | Xaw3_1SmeBSB.c | 162 * new - the new widget with both resource and non 169 Initialize(request, new) 170 Widget request, new; 172 SmeBSBObject entry = (SmeBSBObject) new; 175 entry->sme_bsb.label = XtName(new); 179 GetDefaultSize(new, &(entry->rectangle.width), &(entry->rectangle.height)); 180 CreateGCs(new); 185 GetBitmapInfo(new, TRUE); /* Left Bitmap Info */ 186 GetBitmapInfo(new, FALS [all...] |
/solaris-x11-s11/open-src/app/mkcookie/sun-src/ |
H A D | mkcookie.c | 177 char **new, **old; local 199 new = (char **) realloc ((char *) e, 203 new = (char **) malloc (2 * sizeof (char *)); 205 if (!new) { 210 new[envsize] = newe; 211 new[envsize+1] = 0; 212 return new; 279 struct addrList *new; local 283 new = (struct addrList *) malloc (sizeof (struct addrList)); 284 if (!new) { 649 Xauth *new; local 839 FILE *old, *new; local [all...] |
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/ |
H A D | AsciiText.c | 135 Initialize(request, new, args, num_args) 136 Widget request, new; 140 AsciiWidget w = (AsciiWidget) new; 150 new->core.height = DEFAULT_TEXT_HEIGHT; 158 new, args, *num_args ); 160 new, args, *num_args ); 165 new, args, *num_args ); 167 new, args, *num_args ); 178 XawTextDisableRedisplay(new); 179 XawTextEnableRedisplay(new); [all...] |
H A D | Tree.c | 331 TreeWidget request = (TreeWidget) grequest, new = (TreeWidget) gnew; local 338 if ((int)request->core.width <= 0) new->core.width = 5; 339 if ((int)request->core.height <= 0) new->core.height = 5; 346 new->tree.hpad = TREE_HORIZONTAL_DEFAULT_SPACING; 347 new->tree.vpad = TREE_VERTICAL_DEFAULT_SPACING; 349 new->tree.hpad = TREE_VERTICAL_DEFAULT_SPACING; 350 new->tree.vpad = TREE_HORIZONTAL_DEFAULT_SPACING; 357 new->tree.gc = get_tree_gc (new); 362 new 421 TreeWidget current = (TreeWidget) gcurrent, new = (TreeWidget) gnew; local [all...] |
H A D | Panner.c | 78 { "notify", ActionNotify }, /* callback new position */ 506 PannerWidget req = (PannerWidget) greq, new = (PannerWidget) gnew; local 509 if (req->panner.canvas_width < 1) new->panner.canvas_width = 1; 510 if (req->panner.canvas_height < 1) new->panner.canvas_height = 1; 512 new->panner.default_scale = PANNER_DEFAULT_SCALE; 515 if (req->core.width < 1) new->core.width = defwidth; 516 if (req->core.height < 1) new->core.height = defheight; 518 new->panner.shadow_gc = NULL; 519 reset_shadow_gc (new); /* shadowColor */ 520 new 625 PannerWidget new = (PannerWidget) gnew; local [all...] |
H A D | Repeater.c | 207 RepeaterWidget new = (RepeaterWidget) gnew; local 209 if (new->repeater.minimum_delay < 0) new->repeater.minimum_delay = 0; 210 new->repeater.timer = (XtIntervalId) 0; 226 RepeaterWidget new = (RepeaterWidget) gnew; local 229 if (cur->repeater.minimum_delay != new->repeater.minimum_delay) { 230 if (new->repeater.next_delay < new->repeater.minimum_delay) 231 new->repeater.next_delay = new [all...] |
H A D | Simple.c | 205 * Description: Converts a name to a new cursor. 241 static Boolean SetValues(current, request, new, args, num_args) 242 Widget current, request, new; 247 SimpleWidget s_new = (SimpleWidget) new; 253 if ( XtIsSensitive(current) != XtIsSensitive(new) ) 254 (*((SimpleWidgetClass)XtClass(new))-> 255 simple_class.change_sensitive) ( new ); 268 ConvertCursor(new); 272 if (new_cursor && XtIsRealized(new)) 273 XDefineCursor(XtDisplay(new), XtWindo [all...] |
H A D | Vendor.c | 319 static void XawVendorShellInitialize(req, new, args, num_args) 320 Widget req, new; 324 XtAddEventHandler(new, (EventMask) 0, TRUE, _XEditResCheckMessages, NULL); 325 XtAddEventHandler(new, (EventMask) 0, TRUE, XmuRegisterExternalAgent, NULL); 327 new, args, *num_args); 331 static Boolean XawVendorShellSetValues(old, ref, new) 332 Widget old, ref, new; 356 static void XawVendorShellExtInitialize(req, new) 357 Widget req, new; 359 _XawImInitialize(new [all...] |
H A D | SmeLine.c | 129 * new - the new widget with both resource and non 136 Initialize(request, new, args, num_args) 137 Widget request, new; 141 SmeLineObject entry = (SmeLineObject) new; 146 CreateGC(new); 232 * new - what the widget will become. 238 SetValues(current, request, new, args, num_args) 239 Widget current, request, new; 243 SmeLineObject entry = (SmeLineObject) new; [all...] |
H A D | Dialog.c | 154 static void Initialize(request, new, args, num_args) 155 Widget request, new; 159 DialogWidget dw = (DialogWidget)new; 171 new, arglist, arg_cnt ); 180 new, arglist, arg_cnt); 194 static void ConstraintInitialize(request, new, args, num_args) 195 Widget request, new; 199 DialogWidget dw = (DialogWidget)new->core.parent; 200 DialogConstraints constraint = (DialogConstraints)new->core.constraints; 202 if (!XtIsSubclass(new, commandWidgetClas [all...] |
H A D | Toggle.c | 201 static void Initialize(request, new, args, num_args) 202 Widget request, new; 206 ToggleWidget tw = (ToggleWidget) new; 212 tw->toggle.radio_data = (XtPointer) new->core.name; 216 CreateRadioGroup(new, tw->toggle.widget); 218 AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); 220 XtAddCallback(new, XtNdestroyCallback, ToggleDestroy, (XtPointer)NULL); 234 ToggleSet(new, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); 295 SetValues (current, request, new, args, num_args) 296 Widget current, request, new; [all...] |
H A D | Form.c | 235 static void Initialize(request, new, args, num_args) 236 Widget request, new; 240 FormWidget fw = (FormWidget)new; 254 * width, height - the new width and height. 319 * current locations to the new ones. 478 static Position TransformCoord(loc, old, new, type) 480 Dimension old, new; 485 loc = (int)(loc * new) / (int)old; 488 loc += (Position)new - (Position)old; 563 * then it is necessary to compute a new layou [all...] |
/solaris-x11-s11/open-src/common/ |
H A D | X-parfait.conf | 35 *p == new(result); 40 *p == new(result); 47 result == new(undefined); 85 result == new(undefined); 96 result == new(undefined); 104 result == new(*n); 112 result == new(undefined); 152 result == new(112); /* sizeof(struct _XGC) */ 188 result == new(undefined); /* n * char* + extension strings */ 194 result == new( [all...] |