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

1 2

  /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/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_instance.c 118 const size_t buf_size = instance->experimental.largeRing local
124 vn_ring_get_layout(buf_size, extra_size, &layout);
  /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...]
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...]
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...]
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,
606 int buf_size; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
gfx10_query.c 97 unsigned buf_size = local
99 qbuf->buf = si_resource(pipe_buffer_create(&screen->b, 0, PIPE_USAGE_STAGING, buf_size));
si_query.c 577 unsigned buf_size = MAX2(size, screen->info.min_alloc_size); local
578 buffer->buf = si_resource(pipe_buffer_create(&screen->b, 0, PIPE_USAGE_STAGING, buf_size));
  /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/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/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/freetype/dist/src/lzw/
ftzopen.h 120 FT_UInt buf_size; member in struct:FT_LzwStateRec_
  /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;
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
si_cmd_buffer.c 1552 unsigned buf_size = SI_CPDMA_ALIGNMENT * 2; local
1557 radv_cmd_buffer_upload_alloc(cmd_buffer, buf_size, &offset, &ptr);
  /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
vtn_variables.c 2598 nir_ssa_def *buf_size = nir_get_ssbo_size(&b->nb, ptr->block_index, local
2606 buf_size,
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
r600_query.c 503 unsigned buf_size = MAX2(query->result_size, local
512 PIPE_USAGE_STAGING, buf_size);
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
si_cmd_buffer.c 1174 unsigned buf_size = SI_CPDMA_ALIGNMENT * 2; local
1179 radv_cmd_buffer_upload_alloc(cmd_buffer, buf_size, SI_CPDMA_ALIGNMENT, &offset, &ptr);
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
vtn_variables.c 2568 nir_ssa_def *buf_size = &instr->dest.ssa; local
2575 buf_size,
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
r600_query.c 503 unsigned buf_size = MAX2(query->result_size, local
512 PIPE_USAGE_STAGING, buf_size);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
si_query.c 584 unsigned buf_size = MAX2(size, screen->info.min_alloc_size); local
586 pipe_buffer_create(&screen->b, 0, PIPE_USAGE_STAGING, buf_size));
  /xsrc/external/mit/freetype/dist/src/bdf/
bdflib.c 524 unsigned long lineno, buf_size; local
539 buf_size = 1024;
541 if ( FT_NEW_ARRAY( buf, buf_size ) )
560 buf_size - (unsigned long)cursor );
594 if ( buf_size >= 65536UL ) /* limit ourselves to 64KByte */
601 new_size = buf_size * 2;
602 if ( FT_RENEW_ARRAY( buf, buf_size, new_size ) )
605 cursor = (ptrdiff_t)buf_size;
606 buf_size = new_size;

Completed in 42 milliseconds

1 2