Searched refs:pos (Results 1 - 25 of 32) sorted by relevance

12

/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_linux_list.h140 #define list_for_each(pos, head) \
141 for (pos = (head)->next; pos != head; pos = (pos)->next)
143 #define list_for_each_safe(pos, n, head) \
144 for (pos = (head)->next, n = (pos)->next; \
145 pos != head; \
146 pos
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Dpsioops.psw74 defineps PSfileposition( | int *pos)
75 fileposition pos
122 defineps PSsetfileposition(int pos)
123 pos setfileposition
H A Ddpsioops.psw74 defineps DPSfileposition(DPSContext ctxt | int *pos)
75 fileposition pos
122 defineps DPSsetfileposition(DPSContext ctxt; int pos)
123 pos setfileposition
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_context.c460 struct drm_ctx_list *pos, *n; local
462 list_for_each_entry_safe(pos, n, struct drm_ctx_list, &dev->ctxlist, head) {
463 if (pos->handle == ctx->handle) {
464 list_del(&pos->head);
465 kfree(pos, sizeof (*pos));
H A Ddrm_fops.c358 struct drm_ctx_list *pos, *n; local
360 list_for_each_entry_safe(pos, n, struct drm_ctx_list, &dev->ctxlist, head) {
361 if (pos->tag == file_priv &&
362 pos->handle != DRM_KERNEL_CONTEXT) {
365 pos->handle);
367 drm_ctxbitmap_free(dev, pos->handle);
369 list_del(&pos->head);
370 kfree(pos, sizeof (*pos));
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1TextPop.c261 XawTextPosition start_pos, pos; local
267 start_pos = pos = XawTextGetInsertionPoint(tw);
273 if (XawTextReplace(tw, pos, pos, &text) != XawEditDone) {
279 (void) XawTextReplace(tw, start_pos, pos, &text);
283 pos += text.length;
286 XawTextSetInsertionPoint(tw, pos);
778 XawTextPosition pos; local
790 pos = XawTextSearch( tw, dir, &text);
792 if (pos
901 XawTextPosition pos, new_pos, end_pos; local
[all...]
H A DXaw3_1TextSrc.c154 * pos - position of the text to retreive.
162 Read(w, pos, text, length)
164 XawTextPosition pos;
290 * pos - position of the text to retreive.
297 XawTextSourceRead(w, pos, text, length)
299 XawTextPosition pos;
305 return((*class->textSrc_class.Read)(w, pos, text, length));
H A DXaw3_1TextP.h95 #define IsPositionVisible(ctx, pos) \
96 (pos >= ctx->text.lt.info[0].position && \
97 pos < ctx->text.lt.info[ctx->text.lt.lines].position)
H A DXaw3_1TextSink.c371 * pos - a reference Position.
380 Resolve (w, pos, fromx, width, resPos)
382 XawTextPosition pos;
386 *resPos = pos;
634 * pos - a reference Position.
643 XawTextSinkResolve(w, pos, fromx, width, resPos)
645 XawTextPosition pos;
651 (*class->text_sink_class.Resolve)(w, pos, fromx, width, resPos);
H A DXaw3_1Text.c798 LineAndXYForPosition (ctx, pos, line, x, y)
800 XawTextPosition pos;
811 if (visible = IsPositionVisible(ctx, pos)) {
812 *line = LineForPosition(ctx, pos);
817 *x, pos, &realW, &endPos, &realH);
1551 XawTextPosition pos; local
1554 pos = Min(right, ctx->text.s.left);
1555 _XawTextNeedsUpdating(ctx, left, pos);
1558 pos = Min(left, ctx->text.s.right);
1559 _XawTextNeedsUpdating(ctx, ctx->text.s.left, pos);
[all...]
H A DXaw3_1AsciiSrc.c226 * pos - position of the text to retreive.
233 ReadText(w, pos, text, length)
235 XawTextPosition pos;
241 Piece * piece = FindPiece(src, pos, &start);
243 text->firstPos = pos;
244 text->ptr = piece->text + (pos - start);
245 count = piece->used - (pos - start);
247 return(pos + text->length);
H A DXaw3_1AsciiSink.c447 Resolve (w, pos, fromx, width, leftPos, rightPos)
449 XawTextPosition pos;
456 FindPosition(w, pos, fromx, width, FALSE, leftPos, &resWidth, &resHeight);
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DTextP.h129 #define IsPositionVisible(ctx, pos) \
130 (pos >= ctx->text.lt.info[0].position && \
131 pos < ctx->text.lt.info[ctx->text.lt.lines].position)
257 XawTextPosition /*top pos*/,
281 XawTextPosition /* pos */,
H A DTextPop.c274 XawTextPosition pos; local
280 pos = XawTextGetInsertionPoint(tw);
306 if (XawTextReplace(tw, pos, pos, &text) != XawEditDone) {
311 pos += text.length;
314 XawTextSetInsertionPoint(tw, pos);
812 XawTextPosition pos; local
828 pos = XawTextSearch( tw, dir, &text);
834 if (pos == XawTextSearchError) {
853 XawTextSetInsertionPoint( tw, pos
953 XawTextPosition pos, new_pos, end_pos; local
[all...]
H A DTextSink.c372 * pos - a reference Position.
381 Resolve (w, pos, fromx, width, resPos)
383 XawTextPosition pos;
387 *resPos = pos;
653 * pos - a reference Position.
663 XawTextSinkResolve(Widget w, XawTextPosition pos, int fromx, int width, argument
666 XawTextSinkResolve(w, pos, fromx, width, resPos)
668 XawTextPosition pos;
675 (*class->text_sink_class.Resolve)(w, pos, fromx, width, resPos);
H A DText.c882 LineAndXYForPosition (ctx, pos, line, x, y)
884 XawTextPosition pos;
895 if (visible = IsPositionVisible(ctx, pos)) {
896 *line = LineForPosition(ctx, pos);
901 *x, pos, &realW, &endPos, &realH);
1855 XawTextPosition pos; local
1858 pos = Min(right, ctx->text.s.left);
1859 _XawTextNeedsUpdating(ctx, left, pos);
1862 pos = Min(left, ctx->text.s.right);
1863 _XawTextNeedsUpdating(ctx, ctx->text.s.left, pos);
3138 _XawTextPosToXY( Widget w, XawTextPosition pos, Position* x, Position* y ) argument
[all...]
H A DTextSrc.c165 * pos - position of the text to retreive.
173 Read(w, pos, text, length)
175 XawTextPosition pos;
349 * pos - position of the text to retreive.
357 XawTextSourceRead(Widget w, XawTextPosition pos, XawTextBlock *text, argument
360 XawTextSourceRead(w, pos, text, length)
362 XawTextPosition pos;
374 return((*class->textSrc_class.Read)(w, pos, text, length));
H A DAsciiSrc.c237 * pos - position of the text to retreive.
244 ReadText(w, pos, text, length)
246 XawTextPosition pos;
252 Piece * piece = FindPiece(src, pos, &start);
254 text->firstPos = pos;
255 text->ptr = piece->text + (pos - start);
256 count = piece->used - (pos - start);
258 return(pos + text->length);
H A DMultiSink.c497 Resolve (w, pos, fromx, width, leftPos, rightPos)
499 XawTextPosition pos;
506 FindPosition(w, pos, fromx, width, FALSE, leftPos, &resWidth, &resHeight);
759 XawTextPosition pos,
763 _XawMultiSinkPosToXY( w, pos, x, y )
765 XawTextPosition pos;
772 _XawTextPosToXY( w, pos, x, y );
757 _XawMultiSinkPosToXY( Widget w, XawTextPosition pos, Position *x, Position *y ) argument
H A DMultiSrc.c248 * pos - position of the text to retreive.
255 ReadText(w, pos, text, length)
257 XawTextPosition pos;
263 MultiPiece * piece = FindPiece(src, pos, &start);
266 text->firstPos = pos;
267 text->ptr = (char *)(piece->text + (pos - start));
268 count = piece->used - (pos - start);
270 return(pos + text->length);
H A DTree.c265 int pos, i; local
277 for (pos = 0; pos < pc->tree.n_children; pos++)
278 if (pc->tree.children[pos] == node) break;
280 if (pos == pc->tree.n_children) return;
291 for (i = pos; i < pc->tree.n_children; i++)
H A DAsciiSink.c471 Resolve (w, pos, fromx, width, leftPos, rightPos)
473 XawTextPosition pos;
480 FindPosition(w, pos, fromx, width, FALSE, leftPos, &resWidth, &resHeight);
/solaris-x11-s11/open-src/lib/DPS/sun-src/libpsres/
H A DPSres.c1101 long pos; local
1129 pos = ftell(f);
1131 t->fileOffset = pos;
1141 if (fseek(f, pos, SEEK_SET)) {
1158 long pos; local
1185 pos = ftell(f);
1187 t->fileOffset = pos;
1204 if (fseek(f, pos, SEEK_SET) == -1) {
1222 long pos; local
1248 pos
1581 long pos; local
[all...]
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A Dscan.c198 int c, i, pos = 0, eolFound = 0; local
229 ret = fgets(*configBuf + pos, *configBufLen - pos - 1, configFile);
231 (*configBuf)[pos] = '\0';
237 for (i = pos; i < (*configBufLen - 1); i++) {
270 pos = i;
/solaris-x11-s11/open-src/lib/DPS/sun-src/pswrap/
H A Dpswsemantics.c499 char *pos = "printobject"; local
500 char *ss = psw_malloc(strlen(pos) + 1);
501 strcpy(ss, pos);
509 char *pos = "execuserobject"; local
510 char *ss = psw_malloc(strlen(pos) + 1);
511 strcpy(ss, pos);

Completed in 81 milliseconds

12