Searched refs:count (Results 1 - 25 of 3011) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_split_draw.c28 uint32_t *count, uint32_t *step)
30 if (*count <= max_verts) {
31 *step = *count;
37 *count = *step = max_verts;
40 *count = *step = max_verts - (max_verts % 2);
43 *count = max_verts;
47 *count = max_verts;
51 ">max vert count\n");
54 *count = *step = max_verts - (max_verts % 3);
57 *count
27 u_split_draw(const struct pipe_draw_info * info,uint32_t max_verts,uint32_t * count,uint32_t * step) argument
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/
H A Ddebug.c33 int count; local in function:winDebug
36 count = fprintf(stderr, "xwinclip: ");
37 count += vfprintf(stderr, format, ap);
39 return count;
46 int count; local in function:ErrorF
49 count = vfprintf(stderr, format, ap);
51 return count;
/xsrc/external/mit/MesaLib/dist/src/freedreno/perfcntrs/
H A Dfreedreno_perfcntr.c41 fd_perfcntrs(const struct fd_dev_id *id, unsigned *count) argument
45 *count = a2xx_num_perfcntr_groups;
48 *count = a5xx_num_perfcntr_groups;
51 *count = a6xx_num_perfcntr_groups;
54 *count = 0;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dsse_minmax.h33 unsigned *max_index, const unsigned count);
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Du_drm.h34 util_array_contains_u64(uint64_t needle, const uint64_t *haystack, unsigned count) argument
38 for (i = 0; i < count; i++) {
50 drm_find_modifier(uint64_t modifier, const uint64_t *modifiers, unsigned count) argument
52 return util_array_contains_u64(modifier, modifiers, count);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dsse_minmax.h33 unsigned *max_index, const unsigned count);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Du_drm.h34 util_array_contains_u64(uint64_t needle, const uint64_t *haystack, unsigned count) argument
38 for (i = 0; i < count; i++) {
50 drm_find_modifier(uint64_t modifier, const uint64_t *modifiers, unsigned count) argument
52 return util_array_contains_u64(modifier, modifiers, count);
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_ir_allocator.h37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0)
51 if (capacity <= count) {
57 sizes[count] = size;
58 offsets[count] = total_size;
61 return count++;
78 unsigned count; member in class:brw::simple_allocator
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_ir_allocator.h37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0)
51 if (capacity <= count) {
57 sizes[count] = size;
58 offsets[count] = total_size;
61 return count++;
78 unsigned count; member in class:brw::simple_allocator
/xsrc/external/mit/libX11/dist/src/
H A DimConv.c114 int count = 0; local in function:_XimGetCharCode
120 count = 1;
124 count = (*cvt)((XPointer)NULL, buf, ucs4, nbytes);
127 if (count < 0)
128 count = 0;
129 if (count>nbytes)
131 if (count<nbytes)
132 buf[count]= '\0';
133 return count;
166 int count; local in function:_XimLookupMBText
239 int count; local in function:_XimLookupWCText
311 int count; local in function:_XimLookupUTF8Text
[all...]
H A DDepths.c43 int count; local in function:XListDepths
49 if ((count = scr->ndepths) > 0) {
53 depths = Xmallocarray (count, sizeof(int));
55 for (i = 0, dp = scr->depths; i < count; i++, dp++)
61 *countp = count;
/xsrc/external/mit/xsm/dist/
H A Dauth.h34 extern Status SetAuthentication(int count, IceListenObj *listenObjs,
36 extern void FreeAuthenticationData(int count,
/xsrc/external/mit/mesa-demos/dist/src/redbook/
H A Dfeedback.c83 static void print3DcolorVertex (GLint size, GLint *count, argument
90 printf ("%4.2f ", buffer[size-(*count)]);
91 *count = *count - 1;
99 GLint count; local in function:printBuffer
102 count = size;
103 while (count) {
104 token = buffer[size-count]; count--;
107 printf (" %4.2f\n", buffer[size-count]);
[all...]
/xsrc/external/mit/xmessage/dist/
H A Dreadfile.c54 int count; local in function:get_data_from_file
74 count = fread (cp, 1, statbuf.st_size, fp);
75 if (count == 0 && statbuf.st_size != 0) {
82 cp[count] = '\0'; /* since we allocated one extra */
83 *len_return = count;
95 int count; local in function:get_data_from_stdin
105 count = 0;
107 while ((n = fread (cp + count, 1, BUFSIZ, stdin)) > 0) {
108 count += n;
109 /* Here count <
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/
H A Dlnx_axp.c57 int count = 0; local in function:lnxGetAXP
66 switch (count) {
80 count++;
81 } while (count < 8);
85 count = 0;
88 if (!axpList[count].sysName || !strcmp(axpList[count].sysName,systype)) {
89 if (axpList[count].sysVari && strcmp(axpList[count].sysVari,sysvari)) {
90 count
[all...]
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_descriptors.c40 vk_create_sorted_bindings(const VkDescriptorSetLayoutBinding *bindings, unsigned count, argument
43 if (!count) {
48 *sorted_bindings = malloc(count * sizeof(VkDescriptorSetLayoutBinding));
52 memcpy(*sorted_bindings, bindings, count * sizeof(VkDescriptorSetLayoutBinding));
53 qsort(*sorted_bindings, count, sizeof(VkDescriptorSetLayoutBinding), binding_compare);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_render_translate.c32 unsigned *start, unsigned count)
40 u_upload_alloc(r300->uploader, 0, count * 2, 4,
45 *start, count, ptr);
54 u_upload_alloc(r300->uploader, 0, count * 2, 4,
60 count, ptr);
69 u_upload_alloc(r300->uploader, 0, count * 4, 4,
75 count, ptr);
28 r300_translate_index_buffer(struct r300_context * r300,const struct pipe_draw_info * info,struct pipe_resource ** out_buffer,unsigned * index_size,unsigned index_offset,unsigned * start,unsigned count) argument
H A Dr300_cb.h121 #define OUT_CB_TABLE(values, count) do { \
122 memcpy(cs_ptr, values, count * sizeof(uint32_t)); \
123 cs_ptr += count; \
124 CB_USED_DW(count); \
136 /* Note: This expects count to be the number of registers,
137 * not the actual packet0 count! */
138 #define OUT_CB_REG_SEQ(register, count) do { \
140 OUT_CB(CP_PACKET0(register, (count) - 1)); \
143 #define OUT_CB_ONE_REG(register, count) do { \
145 OUT_CB(CP_PACKET0(register, (count)
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_render_translate.c32 unsigned *start, unsigned count)
40 u_upload_alloc(r300->uploader, 0, count * 2, 4,
45 *start, count, ptr);
54 u_upload_alloc(r300->uploader, 0, count * 2, 4,
60 count, ptr);
69 u_upload_alloc(r300->uploader, 0, count * 4, 4,
75 count, ptr);
28 r300_translate_index_buffer(struct r300_context * r300,const struct pipe_draw_info * info,struct pipe_resource ** out_buffer,unsigned * index_size,unsigned index_offset,unsigned * start,unsigned count) argument
H A Dr300_cb.h121 #define OUT_CB_TABLE(values, count) do { \
122 memcpy(cs_ptr, values, count * sizeof(uint32_t)); \
123 cs_ptr += count; \
124 CB_USED_DW(count); \
136 /* Note: This expects count to be the number of registers,
137 * not the actual packet0 count! */
138 #define OUT_CB_REG_SEQ(register, count) do { \
140 OUT_CB(CP_PACKET0(register, (count) - 1)); \
143 #define OUT_CB_ONE_REG(register, count) do { \
145 OUT_CB(CP_PACKET0(register, (count)
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_legacy.c18 uint32_t *count,
22 return tu_GetPhysicalDeviceQueueFamilyProperties2(pdev, count, NULL);
24 VkQueueFamilyProperties2 props2[*count];
25 for (uint32_t i = 0; i < *count; i++) {
29 tu_GetPhysicalDeviceQueueFamilyProperties2(pdev, count, props2);
30 for (uint32_t i = 0; i < *count; i++)
41 uint32_t *count,
54 return tu_GetPhysicalDeviceSparseImageFormatProperties2(pdev, &info, count, NULL);
56 VkSparseImageFormatProperties2 props2[*count];
57 for (uint32_t i = 0; i < *count;
17 tu_GetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice pdev,uint32_t * count,VkQueueFamilyProperties * props) argument
35 tu_GetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice pdev,VkFormat format,VkImageType type,VkSampleCountFlagBits samples,VkImageUsageFlags usage,VkImageTiling tiling,uint32_t * count,VkSparseImageFormatProperties * props) argument
67 tu_GetImageSparseMemoryRequirements(VkDevice device,VkImage image,uint32_t * count,VkSparseImageMemoryRequirements * reqs) argument
[all...]
/xsrc/external/mit/libXmu/dist/src/
H A DDistinct.c48 XmuDistinguishableColors(XColor *colors, int count) argument
54 for (i = 0; i < count - 1; i++)
55 for (j = i + 1; j < count; j++)
71 unsigned long *pixels, int count)
77 for (i = 0; i < count - 1; i++)
78 for (j = i + 1; j < count; j++)
81 defs = Xmumallocarray (count, sizeof (XColor));
84 for (i = 0; i < count; i++)
86 XQueryColors (dpy, cmap, defs, count);
87 ret = XmuDistinguishableColors (defs, count);
70 XmuDistinguishablePixels(Display * dpy,Colormap cmap,unsigned long * pixels,int count) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_state_vertex.c44 unsigned count,
48 assert(count <= PIPE_MAX_ATTRIBS);
51 velems->count = count;
52 memcpy(velems->velem, attribs, sizeof(*attribs) * count);
70 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem);
83 unsigned start_slot, unsigned count,
88 assert(count <= PIPE_MAX_ATTRIBS);
92 buffers, start_slot, count);
96 draw_set_vertex_buffers(softpipe->draw, start_slot, count, buffer
43 softpipe_create_vertex_elements_state(struct pipe_context * pipe,unsigned count,const struct pipe_vertex_element * attribs) argument
82 softpipe_set_vertex_buffers(struct pipe_context * pipe,unsigned start_slot,unsigned count,const struct pipe_vertex_buffer * buffers) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_vertex.c43 unsigned count,
47 assert(count <= PIPE_MAX_ATTRIBS);
50 velems->count = count;
51 memcpy(velems->velem, attribs, sizeof(*attribs) * count);
68 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem);
79 unsigned start_slot, unsigned count,
84 assert(count <= PIPE_MAX_ATTRIBS);
88 buffers, start_slot, count);
92 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, buffer
42 llvmpipe_create_vertex_elements_state(struct pipe_context * pipe,unsigned count,const struct pipe_vertex_element * attribs) argument
78 llvmpipe_set_vertex_buffers(struct pipe_context * pipe,unsigned start_slot,unsigned count,const struct pipe_vertex_buffer * buffers) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_vertex.c43 unsigned count,
47 assert(count <= PIPE_MAX_ATTRIBS);
50 velems->count = count;
51 memcpy(velems->velem, attribs, sizeof(*attribs) * count);
68 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem);
79 unsigned start_slot, unsigned count,
86 assert(count <= PIPE_MAX_ATTRIBS);
90 buffers, start_slot, count,
96 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count,
42 llvmpipe_create_vertex_elements_state(struct pipe_context * pipe,unsigned count,const struct pipe_vertex_element * attribs) argument
78 llvmpipe_set_vertex_buffers(struct pipe_context * pipe,unsigned start_slot,unsigned count,unsigned unbind_num_trailing_slots,bool take_ownership,const struct pipe_vertex_buffer * buffers) argument
[all...]

Completed in 9 milliseconds

1234567891011>>