HomeSort by: relevance | last modified time | path
    Searched refs:buf_size (Results 1 - 25 of 61) sorted by relevancy

1 2 3

  /xsrc/external/mit/libX11/dist/modules/im/ximcp/
imTransR.c 106 int buf_size)
115 if (buf_size < XIM_HEADER_SIZE) {
120 bzero(buf, buf_size);
128 if (packet_size > buf_size) {
157 buf_size -= data_len;
166 (XPointer)&buf[data_len], buf_size, &ret_len))) {
170 buf_size -= ret_len;
175 if (packet_size > buf_size) {
189 (XPointer)&buf[data_len], buf_size, &ret_len))) {
193 buf_size -= ret_len
274 int buf_size; local
    [all...]
imDefIm.c 583 int buf_size; local
622 buf_size = BUFSIZE;
623 ret_code = _XimRead(im, &len, reply, buf_size, _XimAllRecv, 0);
630 buf_size = len;
631 preply = Xmalloc(buf_size);
632 ret_code = _XimRead(im, &len, preply, buf_size, _XimAllRecv, 0);
760 int buf_size; local
768 buf_size = BUFSIZE;
769 ret_code = _XimRead(im, &len, (XPointer)reply, buf_size,
773 buf_size = len
821 int buf_size; local
944 int buf_size; local
1262 int buf_size; local
1435 int buf_size; local
1714 int buf_size; local
1815 int buf_size; local
    [all...]
imDefIc.c 100 int buf_size; local
122 buf_size = sizeof(XIMResource) * num;
123 if (!(res = Xmalloc(buf_size)))
125 (void)memcpy((char *)res, (char *)im->core.ic_resources, buf_size);
130 buf_size = sizeof(XIMResource) * num;
131 if (!(res = Xmalloc(buf_size)))
134 (char *)im->private.proto.ic_inner_resources, buf_size);
146 buf_size = XIM_HEADER_SIZE + sizeof(CARD16) + sizeof(INT16);
147 data_len = BUFSIZE - buf_size;
151 data = &buf[buf_size];
306 int buf_size; local
673 int buf_size; local
901 int buf_size; local
1091 int buf_size; local
1430 int buf_size; local
    [all...]
imExten.c 231 int buf_size; local
264 buf_size = BUFSIZE;
265 ret_code = _XimRead(im, &len, (XPointer)reply, buf_size,
274 preply = Xmalloc(buf_size);
275 ret_code = _XimRead(im, &len, preply, buf_size,
426 int buf_size; local
458 buf_size = BUFSIZE;
459 ret_code = _XimRead(im, &len, (XPointer)reply, buf_size,
467 buf_size = len;
468 preply = Xmalloc(buf_size);
    [all...]
imDefLkup.c 143 int buf_size; local
156 buf_size = BUFSIZE;
157 ret_code = _XimRead(im, &len, (XPointer)reply, buf_size,
165 buf_size = len;
167 ret_code = _XimRead(im, &len, preply, buf_size,
269 int buf_size; local
296 buf_size = BUFSIZE;
297 ret_code = _XimRead(im, &len, (XPointer)reply, buf_size,
305 buf_size = len;
307 ret_code = _XimRead(im, &len, preply, buf_size,
615 int buf_size; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
program_binary.h 44 GLsizei buf_size, GLsizei *length,
program_binary.c 233 GLsizei buf_size, GLsizei *length,
244 if (buf_size < header_size)
248 if (blob.size + header_size > buf_size ||
253 binary, buf_size, binary_format);
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
program_binary.h 44 GLsizei buf_size, GLsizei *length,
program_binary.c 233 GLsizei buf_size, GLsizei *length,
244 if (buf_size < header_size)
248 if (blob.size + header_size > buf_size ||
253 binary, buf_size, binary_format);
  /xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/
glxvendor.c 89 int buf_size )
97 if ( (buf_size == 0) && (swap_vec_element_size > 0) ) {
112 else if ( (buf_size > 0) && (swap_vec_element_size > 0) ) {
116 int vsize = buf_size / swap_vec_element_size;
142 if (buf_size > 0)
143 WriteToClient(client, buf_size, (char *)buf);
154 int buf_size; local
171 buf_size = (req->length << 2) - sz_xGLXVendorPrivateReq;
187 if (buf_size > 0)
188 _XSend(dpy, (const char *)pc, buf_size);
204 int buf_size; local
283 int buf_size; local
    [all...]
glxsingle.c 92 int buf_size )
100 if ( (buf_size == 0) && (swap_vec_element_size > 0) ) {
117 else if ( (buf_size > 0) && (swap_vec_element_size > 0) ) {
121 int vsize = buf_size / swap_vec_element_size;
151 if (buf_size > 0)
152 WriteToClient(client, buf_size, (char *)buf);
163 int buf_size; local
180 buf_size = (req->length << 2) - sz_xGLXSingleReq;
195 if (buf_size > 0)
196 _XSend(dpy, (const char *)pc, buf_size);
217 int buf_size; local
299 int buf_size; local
761 int buf_size; local
    [all...]
  /xsrc/external/mit/libX11/dist/modules/om/generic/
omTextPer.c 41 int buf_size,
80 if (buf_size < buf_len) {
84 buf_size -= buf_len;
168 int buf_size, int *num_chars,
173 length, ink_buf, logical_buf, buf_size,
181 int buf_size, int *num_chars,
186 length, ink_buf, logical_buf, buf_size,
194 int buf_size, int *num_chars,
199 length, ink_buf, logical_buf, buf_size,
omDefault.c 220 int buf_size, int *num_chars,
228 if (buf_size < length)
290 int buf_size, int *num_chars,
307 buf_size, num_chars, overall_ink,
319 int buf_size, int *num_chars,
336 buf_size, num_chars, overall_ink,
  /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
vn_cs.c 175 size_t buf_size = 0; local
183 buf_size = next_buffer_size(0, enc->current_buffer_size, size);
186 if (!buf_size) {
187 buf_size = next_buffer_size(enc->current_buffer_size,
189 if (!buf_size)
194 vn_renderer_shmem_create(enc->instance->renderer, buf_size);
205 vn_cs_encoder_add_buffer(enc, shmem, 0, shmem->mmap_ptr, buf_size);
206 enc->current_buffer_size = buf_size;
vn_ring.c 120 vn_ring_get_layout(size_t buf_size,
133 assert(buf_size && util_is_power_of_two_or_zero(buf_size));
140 layout->buffer_size = buf_size;
vn_ring.h 77 vn_ring_get_layout(size_t buf_size,
  /xsrc/external/mit/freetype/dist/src/lzw/
ftzopen.c 41 state->buf_size = (FT_UInt)count;
46 state->buf_size <<= 3;
47 if ( state->buf_size > state->num_bits )
48 state->buf_size -= state->num_bits - 1;
69 offset >= state->buf_size ||
198 state->buf_size = 0;
ftzopen.h 120 FT_UInt buf_size; member in struct:FT_LzwStateRec_
  /xsrc/external/mit/libX11/dist/src/
XomGeneric.h 193 int buf_size, int *num_chars,
200 int buf_size, int *num_chars,
207 int buf_size, int *num_chars,
244 int buf_size, int *num_chars,
261 int buf_size, int *num_chars,
278 int buf_size, int *num_chars,
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/
Draw.cpp 96 unsigned buf_size = num_indices * sizeof(unsigned); local
97 unsigned *buf = (unsigned*)MALLOC(buf_size);
100 memset(buf, 0, buf_size);
105 buf_size, buf);
  /xsrc/external/mit/ctwm/dist/tests/layout/
test_layout.c 220 int linenum, buf_size, expected1, expected2, errors; local
233 buf_size = sizeof(buf);
235 for(linenum = 1; fgets(cur_buf, buf_size, file) != NULL; linenum++) {
244 buf_size -= last_chr_idx;
246 if(buf_size > 0) {
257 buf_size = sizeof(buf);
  /xsrc/external/mit/MesaLib/dist/include/GL/
mesa_glinterop.h 227 ptrdiff_t buf_size; member in struct:mesa_glinterop_export_out
  /xsrc/external/mit/MesaLib.old/dist/include/GL/
mesa_glinterop.h 227 ptrdiff_t buf_size; member in struct:mesa_glinterop_export_out
  /xsrc/external/mit/MesaLib/dist/src/util/
disk_cache_os.c 806 size_t buf_size; local
809 buf_size = sysconf(_SC_GETPW_R_SIZE_MAX);
810 if (buf_size == -1)
811 buf_size = 512;
813 /* Loop until buf_size is large enough to query the directory */
815 buf = ralloc_size(mem_ctx, buf_size);
817 getpwuid_r(getuid(), &pwd, buf, buf_size, &result); local
824 buf_size *= 2;
  /xsrc/external/mit/MesaLib.old/dist/src/util/
disk_cache.c 265 size_t buf_size; local
268 buf_size = sysconf(_SC_GETPW_R_SIZE_MAX);
269 if (buf_size == -1)
270 buf_size = 512;
272 /* Loop until buf_size is large enough to query the directory */
274 buf = ralloc_size(local, buf_size);
276 getpwuid_r(getuid(), &pwd, buf, buf_size, &result); local
283 buf_size *= 2;

Completed in 19 milliseconds

1 2 3