Searched defs:new (Results 1 - 25 of 30) sorted by relevance

12

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_lock.c44 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...]
H A Ddrm_context.c264 drm_context_switch(drm_device_t *dev, int old, int new) argument
272 old, new);
274 if (new == dev->last_context) {
283 drm_context_switch_complete(drm_device_t *dev, int new) argument
285 dev->last_context = new; /* PRE/POST: This is the _only_ writer. */
355 /* Skip kernel's context and get a new one. */
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A DModule.c229 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...]
H A Dread.c317 xf86addListItem (GenericListPtr head, GenericListPtr new) argument
330 last->next = new;
334 return (new);
H A DFlags.c207 * Append a new Option record to the specified Option list if the
218 char *name, /* Ptr to new option name string */
219 char *val, /* Ptr to new option value string */
227 XF86OptionPtr new; /* Ptr to new or existing option */ local
238 new = xf86confcalloc (1, sizeof (XF86OptionRec));
239 new->list.next = NULL;
245 new = old;
248 new->opt_name = name;
249 new
[all...]
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_lock.c167 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...]
H A Ddrm_context.c81 * Allocate a new idr from drm_device::ctx_idr while holding the
237 * \param new new 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);
251 if (new == dev->last_context) {
263 * \param new new context handle.
271 struct drm_file *file_priv, int new)
273 dev->last_context = new; /* PR
270 drm_context_switch_complete(struct drm_device *dev, struct drm_file *file_priv, int new) argument
[all...]
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;
508 new->allocated = 1;
H A Ddrm_crtc_helper.c375 * entire output pipe to be disabled and re-enabled in a new configuration. For
532 * drm_crtc_helper_set_config - set a new config from userspace
538 * Setup a new configuration, provided by the upper layers (either an ioctl call
717 /* Make sure the new CRTC will work with the encoder */
849 * implementing the DPMS connector attribute. It computes the new desired DPMS
1002 const char *old, *new; local
1005 new = drm_get_connector_status_name(connector->status);
1011 old, new);
H A Ddrm_modes.c599 * @new: dst list
604 * Move all the modes from @head to @new.
606 void drm_mode_list_concat(struct list_head *head, struct list_head *new) argument
612 list_move_tail(entry, new, (caddr_t)entry);
804 * Just allocate a new mode, copy the existing mode into it, and return
805 * a pointer to it. Used to create new instances of established modes.
1098 /* go through current modes checking for the new probed mode */
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Logo.c84 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 DXaw3_1Mailbox.c18 * I recommend that you use the new mailfull and mailempty bitmaps instead of
192 static void Initialize (request, new)
193 Widget request, new;
195 MailboxWidget w = (MailboxWidget) new;
235 * pretend there is new mail; put widget in flagup state
275 * look to see if there is new mail; if so, Set, else Unset
538 MailboxWidget new = (MailboxWidget) gnew; local
541 if (current->mailbox.update != new->mailbox.update) {
544 new->mailbox.interval_id = XtAddTimeOut (new
[all...]
H A DXaw3_1AsciiSrc.c180 * new - the new widget with both resource and non
187 Initialize(request, new)
188 Widget request, new;
190 AsciiSrcObject src = (AsciiSrcObject) new;
198 if (XtIsSubclass(XtParent(new), asciiDiskWidgetClass)) {
205 if (XtIsSubclass(XtParent(new), asciiStringWidgetClass)) {
251 * Description: Replaces a block of text with new text.
254 * text - new text to be inserted into buffer at startPos.
607 * new
645 XawTextSetSource( XtParent(new), new, 0); /* Tell text widget local
1191 Piece * new = AllocNewPiece(src, piece); local
[all...]
H A DXaw3_1Clock.c157 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 DXaw3_1TextPop.c1026 Widget new, old; local
1038 new = search->search_text;
1044 new = search->rep_text;
1051 _SetField(new, old);
1056 * Arguments: new, old - new and old text fields.
1061 _SetField(new, old)
1062 Widget new, old;
1067 if (!XtIsSensitive(new)) {
1072 XtSetKeyboardFocus(XtParent(new), ne local
[all...]
H A DXaw3_1TextAction.c365 XawTextPosition new, next_line, junk; local
373 new = SrcScan(ctx->text.source, ctx->text.insertPos,
376 FindDist(ctx->text.sink, new, ctx->text.margin.left, ctx->text.insertPos,
379 new = SrcScan(ctx->text.source, ctx->text.insertPos, XawstEOL, dir,
382 next_line = SrcScan(ctx->text.source, new, XawstEOL, XawsdRight, 1, FALSE);
384 FindPos(ctx->text.sink, new, ctx->text.margin.left, from_left, FALSE,
1140 * Returns: the new ending location (we may add some caracters).
1213 * Description: Inserts the new Carrige Returns.
1371 * Store new text is source.
1451 /* new lin
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DRepeater.c207 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 DAsciiSrc.c190 * new - the new widget with both resource and non
197 Initialize(request, new, args, num_args)
198 Widget request, new;
202 AsciiSrcObject src = (AsciiSrcObject) new;
212 if (XtIsSubclass(XtParent(new), asciiDiskWidgetClass)) {
219 if (XtIsSubclass(XtParent(new), asciiStringWidgetClass)) {
262 * Description: Replaces a block of text with new text.
265 * text - new text to be inserted into buffer at startPos.
621 * new
657 XawTextSetSource( XtParent(new), new, 0); /* Tell text widget local
1270 Piece * new = AllocNewPiece(src, piece); local
[all...]
H A DPanner.c78 { "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 DTree.c331 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 DMultiSrc.c215 * new - the new widget with both resource and non
222 Initialize(request, new, args, num_args)
223 Widget request, new;
227 MultiSrcObject src = (MultiSrcObject) new;
274 * Description: Replaces a block of text with new text.
277 * text - new text to be inserted into buffer at startPos.
378 /* STEP 4: insert the new stuff */
702 * new - what the widget will become.
708 SetValues(current, request, new, arg
744 XawTextSetSource( XtParent(new), new, 0); /* Tell text widget local
1412 MultiPiece * new = AllocNewPiece(src, piece); local
[all...]
H A DTextPop.c1105 Widget new, old; local
1117 new = search->search_text;
1123 new = search->rep_text;
1130 _SetField(new, old);
1135 * Arguments: new, old - new and old text fields.
1140 _SetField(new, old)
1141 Widget new, old;
1146 if (!XtIsSensitive(new)) {
1151 XtSetKeyboardFocus(XtParent(new), ne local
[all...]
/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c177 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/DPS/sun-src/libdpstk/
H A DFontCreato.c113 static Boolean SetValues(Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args);
118 static void Initialize(Widget request, Widget new, ArgList args, Cardinal *num_args);
1397 Widget request, Widget new,
1401 FontCreatorWidget fc = (FontCreatorWidget) new;
1406 XtAppErrorMsg(XtWidgetToApplicationContext(new),
1416 XtAppWarningMsg(XtWidgetToApplicationContext(new),
1425 XtAppWarningMsg(XtWidgetToApplicationContext(new),
1548 Widget old, Widget req, Widget new,
1553 FontCreatorWidget newfc = (FontCreatorWidget) new;
1560 XtAppWarningMsg(XtWidgetToApplicationContext(new),
1396 Initialize( Widget request, Widget new, ArgList args, Cardinal *num_args) argument
1547 SetValues( Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args) argument
[all...]
H A DFontSample.c192 static Boolean SetValues(Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args);
200 static void Initialize(Widget request, Widget new, ArgList args, Cardinal *num_args);
1206 Widget request, Widget new,
1210 FontSamplerWidget sampler = (FontSamplerWidget) new;
1215 XtAppErrorMsg(XtWidgetToApplicationContext(new),
1225 XtAppWarningMsg(XtWidgetToApplicationContext(new),
1234 XtAppWarningMsg(XtWidgetToApplicationContext(new),
1724 Widget old, Widget req, Widget new,
1729 FontSamplerWidget news = (FontSamplerWidget) new;
1759 XtAppWarningMsg(XtWidgetToApplicationContext(new),
1205 Initialize( Widget request, Widget new, ArgList args, Cardinal *num_args) argument
1723 SetValues( Widget old, Widget req, Widget new, ArgList args, Cardinal *num_args) argument
[all...]

Completed in 260 milliseconds

12