/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | dpsprintf.c | 62 char buffer[10000]; local 63 vsprintf(buffer, fmt, args); 64 DPSWritePostScript(ctxt, buffer, strlen(buffer));
|
H A D | csopendi.c | 409 if ((agent->bufptr = agent->buffer = Xmalloc(BUFSIZE)) == NULL) { 413 agent->bufmax = agent->buffer + BUFSIZE; 528 if (dpy->buffer) 529 Xfree (dpy->buffer); 564 if (agent->buffer) 565 Xfree(agent->buffer);
|
H A D | cslibint.c | 121 * N_XFlush - Flush the X request buffer. If the buffer is empty, no 135 size = todo = dpy->bufptr - dpy->buffer; 136 bufindex = dpy->bufptr = dpy->buffer; 138 * While write has not written the entire buffer, keep looping 139 * until the entire buffer is written. bufindex will be incremented 140 * and size decremented as buffer is written out. 277 /* but we won't read more than the max buffer size */ 509 * N_XSend - Flush the buffer and send the client data. 32 bit word aligned 520 long dpybufsize = (dpy->bufptr - dpy->buffer); 1273 char buffer[BUFSIZ]; local 1317 buffer, BUFSIZ); local [all...] |
H A D | dpsXpriv.c | 457 char *buffer, 461 boolean blocking = buffer == NIL; 467 XDPSLGiveInput (wh->dpy, wh->cxid, buffer, count); 453 DPSSendPostScript( register XDPSPrivContext wh, DPSClientPrintProc printProc, ContextPSID cid, char *buffer, long int count, boolean (*returnControl)(void)) argument
|
H A D | dpsclient.c | 170 char *unused, char *buffer) 172 ContextBuffer cb = (ContextBuffer)buffer; 435 DPSAssertWarn(buf == NIL, cc, "non-nil output buffer with 0 length"); 529 /* gotta buffer it */ 538 /* not aligned, we gotta copy the buffer */ 540 since we only get an oldBuf if we copied to a new buffer, 549 /* now go to top of loop and go through the buffer update code */ 556 /* gotta buffer it */ 576 /* gotta buffer it */ 2135 /* gotta buffer i 169 ReleaseInput( char *unused, char *buffer) argument [all...] |
H A D | XDPS.c | 905 /* We have the rare opportunity to chop up a buffer that is larger 910 in the case where the input buffer is several times 943 clear out the dpy buffer after we cleared out the xdpy 944 buffer (didFlush == True). */ 947 && dpy->bufptr != dpy->buffer
|
/solaris-x11-s11/open-src/lib/libdga/sun-src/ |
H A D | draw_db.c | 25 ** draw_db.c - Drawable veneer for DGA window buffer control routines 67 dga_draw_db_write (Dga_drawable dgadraw, int buffer, argument 77 dga_db_write((Dga_window)dgawin, buffer, writefunc, data); 86 dga_draw_db_read (Dga_drawable dgadraw, int buffer, argument 96 dga_db_read((Dga_window)dgawin, buffer, readfunc, data); 105 dga_draw_db_display (Dga_drawable dgadraw, int buffer, argument 115 dga_db_display((Dga_window)dgawin, buffer, visfunc, data); 182 /* not applicable to multibuffers - always return an invalid buffer index */ 188 /* not applicable to pixmaps - always return an invalid buffer index */ 200 /* not applicable to multibuffers - always return an invalid buffer inde [all...] |
H A D | dga_db.c | 131 dga_db_write(wg_clientpi,buffer,writefunc,data) 133 int buffer; 149 (*writefunc) (data,wg_clientpi,buffer); 150 wx_infop(wg_clientp)->wx_dbuf.write_buffer = buffer; 155 dga_db_read(wg_clientpi,buffer,readfunc,data) 157 int buffer; 172 wx_infop(wg_clientp)->wx_dbuf.read_buffer = buffer; 174 (*readfunc) (data,wg_clientpi,buffer); 180 dga_db_display(wg_clientpi,buffer,visfunc,data) 182 int buffer; [all...] |
H A D | dga.h | 83 /* The following buffer types also defined(duplicated) in 437 extern void dga_draw_db_write (Dga_drawable dgadraw, int buffer, 440 extern void dga_draw_db_read (Dga_drawable dgadraw, int buffer, 443 extern void dga_draw_db_display (Dga_drawable dgadraw, int buffer,
|
/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | life.c | 93 unsigned char buffer[(MAXROWS + 2) * (MAXCOLS + 2) + 2]; member in struct:__anon105 354 unsigned char *loc = lp->buffer + ((row + 1) * (lp->ncols + 2)) + col + 1; 355 unsigned char *ageptr = lp->agebuf + (loc - lp->buffer); 397 off = loc - lp->buffer; 439 *(lp->agebuf + (loc - lp->buffer)) = 0; 454 off = loc - lp->buffer; 508 loc = lp->buffer + ((row + 1) * (lp->ncols + 2)) + col + 1; 574 bzero(lp->buffer, sizeof(lp->buffer)); 594 loc = lp->buffer [all...] |
H A D | resource.c | 404 char buffer[BUFSIZ]; local 419 (void) strncpy(buffer, string, sizeof(buffer)); 420 buffer[sizeof(buffer) - 1] = '\0'; 434 LowerString(buffer); 435 *((int *) valuep) = (!strcmp(buffer, "true") || 436 !strcmp(buffer, "on") || 437 !strcmp(buffer, "enabled") || 438 !strcmp(buffer, "ye [all...] |
H A D | xlock.c | 61 * make sure Xlib input buffer does not use up all of swap. 200 static char buffer[PAM_MAX_RESP_SIZE]; variable 395 * keeps the Xlib event buffer from growing larger than all 415 XSync(dsp, True); /* flush input buffer */ 435 * keeps the Xlib event buffer from growing larger than all 609 if (ReadXString(buffer, PAM_MAX_RESP_SIZE)) { 614 r->resp = strdup(buffer); 957 if (ReadXString(buffer, PAM_MAX_RESP_SIZE)) 972 done = (*buffer == NULL); 974 done = (!strcmp(crypt(buffer, userpas [all...] |
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/ |
H A D | XPanoramiX.c | 484 char buffer[20]; local 502 if (value.size < sizeof(buffer)) { 503 strncpy(buffer, value.addr, value.size); 504 buffer[value.size] = 0; 506 n = strtol(buffer, (char **)NULL, 10); 519 if (value.size < sizeof(buffer)) { 520 strncpy(buffer, value.addr, value.size); 521 buffer[value.size] = 0; 523 n = strtol(buffer, (char **)NULL, 10); 531 if (value.size < sizeof(buffer)) { [all...] |
/solaris-x11-s11/open-src/app/xlswins/sun-src/ |
H A D | xlswins.c | 105 char buffer[BUFSIZ]; local 118 XGetErrorText(dpy, rep->error_code, buffer, BUFSIZ); 120 (void) fprintf(stderr, "%s: %s\n ", mesg, buffer); 125 XGetErrorDatabaseText(dpy, "XRequest", number, "", buffer, BUFSIZ); 126 (void) fprintf(stderr, " %s", buffer);
|
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/ |
H A D | Xaw3_1TextAction.c | 131 StuffFromBuffer(ctx, buffer) 133 int buffer; 136 text.ptr = XFetchBuffer(XtDisplay(ctx), &(text.length), buffer); 225 int buffer; local 229 case XA_CUT_BUFFER0: buffer = 0; break; 230 case XA_CUT_BUFFER1: buffer = 1; break; 231 case XA_CUT_BUFFER2: buffer = 2; break; 232 case XA_CUT_BUFFER3: buffer = 3; break; 233 case XA_CUT_BUFFER4: buffer = 4; break; 234 case XA_CUT_BUFFER5: buffer [all...] |
H A D | Xaw3_1Text.c | 602 #define Create(buffer) \ 603 XChangeProperty(d, RootWindow(d, 0), buffer, XA_STRING, 8, \ 911 * If we are at the end of the buffer put two special lines in the table. 1480 * Description: Returns the number of the cut buffer. 1482 * Returns: the number of the cut buffer representing this atom or 1517 (GetCutBufferNumber(*atomP) != NOT_A_CUT_BUFFER) )/* is a cut buffer */ 1578 int buffer; local 1583 * If this is a cut buffer. 1586 if ((buffer = GetCutBufferNumber(selection)) != NOT_A_CUT_BUFFER) { 1589 if (buffer 1593 XStoreBuffer(XtDisplay(w), ptr, Min(strlen(ptr), MAXCUT), buffer); local [all...] |
/solaris-x11-s11/open-src/kernel/efb/src/ |
H A D | radeon_state.c | 110 DRM_ERROR("Invalid depth buffer offset\n"); 118 DRM_ERROR("Invalid colour buffer offset\n"); 469 DRM_ERROR("Invalid depth buffer offset\n"); 475 DRM_ERROR("Invalid depth buffer offset\n"); 890 * 2D fill to clear the front or back buffer. 1046 * hi-level z-buffer? Works for R100, both with 1150 * r100 and cards without hierarchical z-buffer 1151 * have no high-level z-buffer 1220 * Depth buffer specific enables 1223 /* Enable depth buffer */ 1711 u32 *buffer; local [all...] |
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/ |
H A D | tsolutils.c | 691 char buffer[BUFSIZ]; local 704 memcpy(buffer, string, len); 705 buffer[len] = '\0'; 708 buffer, (size_t) 0, NULL, 0);
|
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/ |
H A D | TextAction.c | 293 int buffer; local 297 case XA_CUT_BUFFER0: buffer = 0; break; 298 case XA_CUT_BUFFER1: buffer = 1; break; 299 case XA_CUT_BUFFER2: buffer = 2; break; 300 case XA_CUT_BUFFER3: buffer = 3; break; 301 case XA_CUT_BUFFER4: buffer = 4; break; 302 case XA_CUT_BUFFER5: buffer = 5; break; 303 case XA_CUT_BUFFER6: buffer = 6; break; 304 case XA_CUT_BUFFER7: buffer = 7; break; 305 default: buffer [all...] |
H A D | Text.c | 97 * Compute a the maximum length of a cut buffer that we can pass at any 642 #define Create(buffer) \ 643 XChangeProperty(d, RootWindow(d, 0), buffer, XA_STRING, 8, \ 773 cut buffer. */ 1003 * If we are at the end of the buffer put two special lines in the table. 1684 * Description: Returns the number of the cut buffer. 1686 * Returns: the number of the cut buffer representing this atom or 1722 (GetCutBufferNumber(*atomP) != NOT_A_CUT_BUFFER) )/* is a cut buffer */ 1882 int buffer; local 1888 * If this is a cut buffer [all...] |
/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | i915_dma.c | 236 " ring buffer\n"); 289 * signal to abort the rest of the buffer. 353 static int i915_emit_cmds(struct drm_device * dev, int *buffer, int dwords) argument 362 int sz = validate_cmd(buffer[i]); 373 OUT_RING(buffer[i]); 875 * Schedule buffer swap at given vertical blank.
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | FontSB.c | 758 /* From here on dst no longer points to the end of the buffer */ 1251 char *buffer, *ch, *start; local 1273 buffer = XtMalloc(totalLength); 1274 _DPSFGetAllFontNames(fsb->fsb.context, fontCount, totalLength, buffer); 1275 ch = start = buffer; 1282 XtFree(buffer);
|