| /xsrc/external/mit/xterm/dist/vttests/ |
| query-fonts.pl | 71 my $reply = <TTY>; 74 if ( defined $reply ) { 75 die("^C received\n") if ( "$reply" eq "\003" ); 77 return $reply; 82 my $reply; 88 $reply = get_reply( "\x1b]50;?" . $param . $ST ); 92 if ( defined $reply ) { 93 printf "%2d ", length($reply); 94 if ( $reply =~ /${match}/ ) { 96 $reply =~ s/^${osc}// [all...] |
| query-status.pl | 77 my $reply = <TTY>; 80 if ( defined $reply ) { 81 die("^C received\n") if ( "$reply" eq "\003" ); 83 return $reply; 87 my $reply = $_[0]; 90 for ( $n = 0 ; $n < length($reply) ; ) { 91 my $c = substr( $reply, $n, 1 ); 96 my $k = ord substr( $reply, $n, 1 ); 132 my $reply = get_reply( $prefix . '$q' . $suffix . $ST ); 138 if ( defined $reply ) { [all...] |
| dynamic.pl | 85 my $reply = <TTY>; 88 if ( defined $reply ) { 89 die("^C received\n") if ( "$reply" eq "\003" ); 91 return $reply; 97 my $reply; 99 $reply = get_reply("\x1b]$param1;?\007"); 101 return unless defined $reply; 102 if ( $reply =~ /\x1b]$param1;.*\007/ ) { 103 my $value = $reply;
|
| query-dynamic.pl | 80 my $reply = <TTY>; 83 if ( defined $reply ) { 84 die("^C received\n") if ( "$reply" eq "\003" ); 86 return $reply; 90 my $reply = $_[0]; 93 for ( $n = 0 ; $n < length($reply) ; ) { 94 my $c = substr( $reply, $n, 1 ); 99 my $k = ord substr( $reply, $n, 1 ); 134 my $reply = shift; 135 printf "data={%s}", &visible($reply); [all...] |
| query-xres.pl | 78 my $reply = <TTY>; 81 if ( defined $reply ) { 82 die("^C received\n") if ( "$reply" eq "\003" ); 84 return $reply; 107 my $reply = &get_reply( "\x1bP+Q" . join( ';', @query_params ) . "\x1b\\" ); 109 return unless defined $reply; 110 while ( $reply =~ /\x1bP1\+R[[:xdigit:]]+[=;][[:xdigit:]]*.*\x1b\\/ ) { 114 $reply =~ s/^\x1bP1\+R//; 115 $parse = $reply; 116 $reply =~ s/\x1b\\.*$// [all...] |
| query-color.pl | 73 my $reply = <TTY>; 76 if ( defined $reply ) { 77 die("^C received\n") if ( "$reply" eq "\003" ); 79 return $reply; 83 my $reply = $_[0]; 86 for ( $n = 0 ; $n < length($reply) ; ) { 87 my $c = substr( $reply, $n, 1 ); 92 my $k = ord substr( $reply, $n, 1 ); 148 my $reply = shift; 149 my $shown = sprintf "data={%s}", &visible($reply); [all...] |
| cursor.pl | 56 my @reply = `resize -u`; 57 chomp @reply; 58 for my $n (0..$#reply) { 59 if ( $reply[$n] =~ /=/ ) { 60 my $value = $reply[$n]; 62 if ( $reply[$n] =~ /^COLUMNS.*/ ) { 90 my $reply; 92 $reply=<TTY>; 94 } while (not defined $reply); 95 return $reply; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/glx/ |
| glx_query.c | 46 xcb_glx_query_server_string_reply_t *reply = local 53 if (!reply) 58 uint32_t len = xcb_glx_query_server_string_string_length(reply); 60 memcpy(buf, xcb_glx_query_server_string_string(reply), len); 61 free(reply); 73 xcb_glx_get_string_reply_t *reply = xcb_glx_get_string_reply(c, local 80 if (!reply) 85 uint32_t len = xcb_glx_get_string_string_length(reply); 87 memcpy(buf, xcb_glx_get_string_string(reply), len); 88 free(reply); [all...] |
| indirect_vertex_program.c | 181 GLuint index, GLenum pname, xReply * reply) 191 (void) _XReply(dpy, reply, 0, False); 201 xGLXSingleReply reply; local 204 get_vertex_attrib(gc, 1303, index, pname, (xReply *) & reply); 206 if (reply.size != 0) { 214 if (reply.size == 1) { 215 *params = (GLint) reply.pad3; 218 _XRead(dpy, (void *) params, 4 * reply.size); 235 xGLXSingleReply reply; local 238 get_vertex_attrib(gc, 1302, index, pname, (xReply *) & reply); 269 xGLXSingleReply reply; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/glx/ |
| glx_query.c | 46 xcb_glx_query_server_string_reply_t *reply = local 53 if (!reply) 58 uint32_t len = xcb_glx_query_server_string_string_length(reply); 60 memcpy(buf, xcb_glx_query_server_string_string(reply), len); 61 free(reply); 73 xcb_glx_get_string_reply_t *reply = xcb_glx_get_string_reply(c, local 80 if (!reply) 85 uint32_t len = xcb_glx_get_string_string_length(reply); 87 memcpy(buf, xcb_glx_get_string_string(reply), len); 88 free(reply); [all...] |
| indirect_vertex_program.c | 181 GLuint index, GLenum pname, xReply * reply) 191 (void) _XReply(dpy, reply, 0, False); 201 xGLXSingleReply reply; local 204 get_vertex_attrib(gc, 1303, index, pname, (xReply *) & reply); 206 if (reply.size != 0) { 214 if (reply.size == 1) { 215 *params = (GLint) reply.pad3; 218 _XRead(dpy, (void *) params, 4 * reply.size); 235 xGLXSingleReply reply; local 238 get_vertex_attrib(gc, 1302, index, pname, (xReply *) & reply); 269 xGLXSingleReply reply; local [all...] |
| /xsrc/external/mit/xfs/dist/difs/ |
| extensions.c | 68 fsQueryExtensionReply reply = { local 81 WriteReplyToClient(client, SIZEOF(fsQueryExtensionReply), &reply); 88 fsListExtensionsReply reply = { local 99 WriteReplyToClient(client, SIZEOF(fsListExtensionsReply), &reply);
|
| /xsrc/external/mit/libX11/dist/src/ |
| GetProp.c | 48 xGetPropertyReply reply; local 69 if (!_XReply (dpy, (xReply *) &reply, 0, xFalse)) { 75 if (reply.propertyType != None) { 77 int format = reply.format; 83 if (reply.nItems >= (INT_MAX >> 4)) 94 nbytes = netbytes = reply.nItems; 100 nbytes = reply.nItems * sizeof (short); 101 netbytes = reply.nItems << 1; 107 nbytes = reply.nItems * sizeof (long); 108 netbytes = reply.nItems << 2 [all...] |
| LiHosts.c | 77 xListHostsReply reply; local 87 if (!_XReply (dpy, (xReply *) &reply, 0, xFalse)) { 93 if (reply.nHosts) { 94 unsigned long nbytes = reply.length << 2; /* number of bytes in reply */ 98 if (reply.nHosts < max_hosts) { 99 unsigned long hostbytes = reply.nHosts * 102 if (reply.length < (INT_MAX >> 2) && 103 (hostbytes >> 2) < ((INT_MAX >> 2) - reply.length)) 108 _XEatDataWords(dpy, reply.length) [all...] |
| LookupCol.c | 45 xLookupColorReply reply; local 92 if (!_XReply (dpy, (xReply *) &reply, 0, xTrue)) { 97 def->red = reply.exactRed; 98 def->green = reply.exactGreen; 99 def->blue = reply.exactBlue; 101 scr->red = reply.screenRed; 102 scr->green = reply.screenGreen; 103 scr->blue = reply.screenBlue;
|
| FontInfo.c | 51 unsigned long reply_left; /* unused data left in reply buffer */ 57 xListFontsWithInfoReply reply; local 73 if (!_XReply (dpy, (xReply *) &reply, 76 reply.nameLength = 0; /* avoid trying to read more replies */ 80 reply_left = reply.length - 82 if (reply.nameLength == 0) { 86 if (reply.nReplies >= (INT_MAX - i)) /* avoid overflowing size */ 88 if ((i + reply.nReplies) >= size) { 89 size = i + reply.nReplies + 1; 124 fs->direction = reply.drawDirection [all...] |
| Font.c | 191 unsigned long reply_left; /* unused data words left in reply buffer */ 192 xQueryFontReply reply; local 211 if (!_XReply (dpy, (xReply *) &reply, 219 reply_left = reply.length - 227 fs->direction = reply.drawDirection; 228 fs->min_char_or_byte2 = reply.minCharOrByte2; 229 fs->max_char_or_byte2 = reply.maxCharOrByte2; 230 fs->min_byte1 = reply.minByte1; 231 fs->max_byte1 = reply.maxByte1; 232 fs->default_char = reply.defaultChar 356 xXF86BigfontQueryVersionReply reply; local 411 xXF86BigfontQueryFontReply reply; local [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| dri3.c | 56 xcb_dri3_buffer_from_pixmap_reply_t *reply; local 59 reply = xcb_dri3_buffer_from_pixmap_reply(c, cookie, NULL); 60 if (!reply) 63 if (reply->nfd != 1) 66 *stride = reply->stride; 67 return xcb_dri3_buffer_from_pixmap_reply_fds(c, reply)[0]; 115 xcb_dri3_query_version_reply_t *reply; local 117 reply = xcb_dri3_query_version_reply(c, 122 if (reply != NULL) { 123 *major = reply->major_version 147 xcb_dri3_open_reply_t *reply; local [all...] |
| /xsrc/external/mit/libFS/dist/src/ |
| FSQGlyphs.c | 69 fsQueryXBitmaps8Reply reply; local 87 if (!_FSReply(svr, (fsReply *) & reply, 92 if (reply.num_chars > SIZE_MAX / sizeof(FSOffset)) 96 offs = FSmallocarray(reply.num_chars, sizeof(FSOffset)); 102 if (reply.length > (SIZE_MAX >> 2)) { 107 left = (reply.length << 2) - SIZEOF(fsQueryXBitmaps8Reply) 108 - (SIZEOF(fsOffset32) * reply.num_chars); 115 for (CARD32 i = 0; i < reply.num_chars; i++) 140 fsQueryXBitmaps16Reply reply; local 176 if (!_FSReply(svr, (fsReply *) & reply, [all...] |
| /xsrc/external/mit/xorg-server/dist/glx/ |
| indirect_util.c | 63 * Get a properly aligned buffer to hold reply data. 105 * Send a GLX reply to the client. 108 * reply. The primary difference is whether or not certain fields (e.g., 118 xGLXSingleReply reply = { 0, }; local 127 reply.length = reply_ints; 128 reply.type = X_Reply; 129 reply.sequenceNumber = client->sequence; 130 reply.size = elements; 131 reply.retval = retval; 139 (void) memcpy(&reply.pad3, data, 8) 165 xGLXSingleReply reply = { 0, }; local [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| dri3.c | 55 xcb_dri3_buffer_from_pixmap_reply_t *reply; local 58 reply = xcb_dri3_buffer_from_pixmap_reply(c, cookie, NULL); 59 if (!reply) 62 if (reply->nfd != 1) 65 *stride = reply->stride; 66 return xcb_dri3_buffer_from_pixmap_reply_fds(c, reply)[0]; 116 xcb_dri3_open_reply_t *reply; local 119 reply = xcb_dri3_open_reply(c, cookie, NULL); 121 if (!reply) 124 if (reply->nfd != 1 [all...] |
| /xsrc/external/mit/xorg-server.old/dist/Xext/ |
| xf86bigfont.c | 286 xXF86BigfontQueryVersionReply reply; local 289 reply.type = X_Reply; 290 reply.length = 0; 291 reply.sequenceNumber = client->sequence; 292 reply.majorVersion = SERVER_XF86BIGFONT_MAJOR_VERSION; 293 reply.minorVersion = SERVER_XF86BIGFONT_MINOR_VERSION; 294 reply.uid = geteuid(); 295 reply.gid = getegid(); 297 reply.signature = signature; 299 reply.signature = 0; /* This is redundant. Avoids uninitialized memory. * 560 xXF86BigfontQueryFontReply* reply = malloc(rlength); local [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/ephyr/ |
| ephyrglxext.c | 150 xGLXQueryVersionReply reply; local 165 reply.majorVersion = major ; 166 reply.minorVersion = minor ; 167 reply.length = 0 ; 168 reply.type = X_Reply ; 169 reply.sequenceNumber = client->sequence ; 172 __glXSwapQueryVersionReply(client, &reply); 174 WriteToClient(client, sz_xGLXQueryVersionReply, (char *)&reply); 202 xGLXGetVisualConfigsReply reply; local 222 reply.numVisuals = num_visuals 259 xGLXGetVisualConfigsReply reply; local 360 xGLXQueryServerStringReply reply; local 520 xGLXMakeCurrentReply reply ; local 689 xGLXIsDirectReply reply; local [all...] |
| /xsrc/external/mit/xcb-util/dist/icccm/ |
| icccm.c | 59 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e); local 61 if(!reply) 64 prop->_reply = reply; 243 xcb_get_property_reply_t *reply) 245 if(!reply || reply->type != STRING || reply->format != 8) 248 prop->_reply = reply; 264 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e); local 265 uint8_t ret = xcb_get_wm_class_from_reply(prop, reply); 310 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e); local 475 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e); local 655 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e); local 715 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e); local [all...] |
| /xsrc/external/mit/xorg-server/dist/xfixes/ |
| disconnect.c | 95 xXFixesGetClientDisconnectModeReply reply; local 99 reply = (xXFixesGetClientDisconnectModeReply) { 106 swaps(&reply.sequenceNumber); 107 swapl(&reply.disconnect_mode); 109 WriteToClient(client, sizeof(xXFixesGetClientDisconnectModeReply), &reply);
|