Searched refs:counts (Results 1 - 25 of 50) sorted by relevance

12

/xsrc/external/mit/brotli/dist/c/enc/
H A Dentropy_encode.c67 especially when population counts are longer than 2**tree_limit, but
244 void BrotliOptimizeHuffmanCountsForRle(size_t length, uint32_t* counts, argument
254 if (counts[i]) {
261 while (length != 0 && counts[length - 1] == 0) {
267 /* Now counts[0..length - 1] does not have trailing zeros. */
272 if (counts[i] != 0) {
274 if (smallest_nonzero > counts[i]) {
275 smallest_nonzero = counts[i];
287 if (counts[i - 1] != 0 && counts[
[all...]
H A Dliteral_cost.c38 size_t counts[3] = { 0 }; local in function:DecideMultiByteStatsLevel
44 ++counts[UTF8Position(last_c, c, 2)];
47 if (counts[2] < 500) {
50 if (counts[1] + counts[2] < 25) {
H A Dentropy_encode.h39 The (data,length) contains the population counts.
55 /* Change the population counts in a way that the consequent
60 counts contains the population counts.
63 size_t length, uint32_t* counts, uint8_t* good_for_rle);
/xsrc/external/mit/xorg-server.old/dist/Xext/
H A Dxres.c113 int *counts = (int *)cdata; local in function:ResFindAllRes
115 counts[(type & TypeMask) - 1]++;
124 int *counts; local in function:ProcXResQueryClientResources
135 counts = calloc(lastResourceType + 1, sizeof(int));
137 FindAllClientResources(clients[clientID], ResFindAllRes, counts);
142 if(counts[i]) num_types++;
163 if(!counts[i]) continue;
174 scratch.count = counts[i];
185 free(counts);
/xsrc/external/mit/freetype/dist/src/pfr/
H A Dpfrsbit.c127 FT_Int phase, count, counts[2]; local in function:pfr_bitwriter_decode_rle1
138 counts[0] = 0;
139 counts[1] = 0;
158 counts[0] = v >> 4;
159 counts[1] = v & 15;
161 count = counts[0];
166 count = counts[1];
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_cs.c1320 radv_amdgpu_cs_alloc_syncobj_chunk(struct radv_winsys_sem_counts *counts, argument
1324 const uint32_t *src = syncobj_override ? syncobj_override : counts->syncobj;
1326 malloc(sizeof(struct drm_amdgpu_cs_chunk_sem) * counts->syncobj_count);
1330 for (unsigned i = 0; i < counts->syncobj_count; i++) {
1336 chunk->length_dw = sizeof(struct drm_amdgpu_cs_chunk_sem) / 4 * counts->syncobj_count;
1342 radv_amdgpu_cs_alloc_timeline_syncobj_chunk(struct radv_winsys_sem_counts *counts, argument
1346 const uint32_t *src = syncobj_override ? syncobj_override : counts->syncobj;
1349 (counts->syncobj_count + counts->timeline_syncobj_count));
1353 for (unsigned i = 0; i < counts
1434 radv_amdgpu_cs_prepare_syncobjs(struct radv_amdgpu_winsys * ws,struct radv_winsys_sem_counts * counts,uint32_t ** out_syncobjs) argument
[all...]
/xsrc/external/mit/libdrm/dist/
H A Dxf86drmMode.c166 struct drm_mode_card_res res, counts; local in function:drmModeGetResources
174 counts = res;
204 if (counts.count_fbs < res.count_fbs ||
205 counts.count_crtcs < res.count_crtcs ||
206 counts.count_connectors < res.count_connectors ||
207 counts.count_encoders < res.count_encoders)
510 struct drm_mode_get_connector conn, counts; local in function:_drmModeGetConnector
525 counts = conn;
558 if (counts.count_props < conn.count_props ||
559 counts
1158 struct drm_mode_get_plane ovr, counts; local in function:drmModeGetPlane
1218 struct drm_mode_get_plane_res res, counts; local in function:drmModeGetPlaneResources
[all...]
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dxres.c272 int *counts = (int *) cdata; local in function:ResFindAllRes
274 counts[(type & TypeMask) - 1]++;
301 int *counts; local in function:ProcXResQueryClientResources
312 counts = calloc(lastResourceType + 1, sizeof(int));
314 FindAllClientResources(clients[clientID], ResFindAllRes, counts);
319 if (counts[i])
341 if (!counts[i])
345 scratch.count = counts[i];
355 free(counts);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/archrast/
H A Devents.proto183 // Total Early-Z counts, SingleSample and SampleRate
191 // Total LateZ counts, SingleSample and SampleRate
199 // Total EarlyStencil counts, SingleSample and SampleRate
207 // Total LateStencil counts, SingleSample and SampleRate
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/archrast/
H A Devents.proto184 // Total Early-Z counts, SingleSample and SampleRate
192 // Total LateZ counts, SingleSample and SampleRate
200 // Total EarlyStencil counts, SingleSample and SampleRate
208 // Total LateStencil counts, SingleSample and SampleRate
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/valhall/
H A Dvalhall.py367 counts = collections.Counter([i.name for i in instructions]) variable
368 for c in counts:
369 if counts[c] != 1:
370 print(f'{c} appeared {counts[c]} times.')
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/
H A Dwsi_common_x11.c1261 uint32_t counts[2]; local in function:wsi_x11_get_dri3_modifiers
1265 counts[n] = mod_reply->num_window_modifiers;
1267 counts[n] * sizeof(uint64_t),
1276 counts[n] * sizeof(uint64_t));
1281 counts[n] = mod_reply->num_screen_modifiers;
1283 counts[n] * sizeof(uint64_t),
1294 counts[n] * sizeof(uint64_t));
1300 num_modifiers_in[i] = counts[i];
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D10.6.4.rst54 - i965/skl: Add production thread counts and URB size
H A D11.1.2.rst59 - i965/bxt: Fix conservative wm thread counts.
H A D19.3.2.rst67 - radv: Expose all sample counts for integer formats as well.
H A D10.2.7.rst172 - radeonsi/compute: Update reference counts for buffers in
H A D10.6.2.rst88 - nvc0: turn sample counts off during blit
/xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
H A Dwsi_common_x11.c1586 uint32_t counts[2]; local in function:wsi_x11_get_dri3_modifiers
1590 counts[n] = mod_reply->num_window_modifiers;
1592 counts[n] * sizeof(uint64_t),
1601 counts[n] * sizeof(uint64_t));
1606 counts[n] = mod_reply->num_screen_modifiers;
1608 counts[n] * sizeof(uint64_t),
1619 counts[n] * sizeof(uint64_t));
1625 num_modifiers_in[i] = counts[i];
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_device.c2767 struct radv_winsys_sem_counts *counts,
2782 counts->syncobj_count++;
2784 counts->sem_count++;
2790 counts->syncobj_count++;
2793 if (counts->syncobj_count) {
2794 counts->syncobj = (uint32_t *)malloc(sizeof(uint32_t) * counts->syncobj_count);
2795 if (!counts->syncobj)
2799 if (counts->sem_count) {
2800 counts
2766 radv_alloc_sem_counts(struct radv_instance * instance,struct radv_winsys_sem_counts * counts,int num_sems,const VkSemaphore * sems,VkFence _fence,bool reset_temp) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_pack.c650 unsigned counts[8] = { local in function:bi_pack_clause
665 unsigned count = counts[clause->tuple_count - 1];
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_cs.c1383 static struct drm_amdgpu_cs_chunk_sem *radv_amdgpu_cs_alloc_syncobj_chunk(struct radv_winsys_sem_counts *counts, argument
1386 struct drm_amdgpu_cs_chunk_sem *syncobj = malloc(sizeof(struct drm_amdgpu_cs_chunk_sem) * counts->syncobj_count);
1390 for (unsigned i = 0; i < counts->syncobj_count; i++) {
1392 sem->handle = counts->syncobj[i];
1396 chunk->length_dw = sizeof(struct drm_amdgpu_cs_chunk_sem) / 4 * counts->syncobj_count;
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_device.c4116 radv_alloc_sem_counts(struct radv_device *device, struct radv_winsys_sem_counts *counts, argument
4128 counts->syncobj_count++;
4129 counts->syncobj_reset_count++;
4134 counts->syncobj_count++;
4137 counts->timeline_syncobj_count++;
4143 counts->syncobj_count++;
4145 if (counts->syncobj_count || counts->timeline_syncobj_count) {
4146 counts->points = (uint64_t *)malloc(sizeof(*counts
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/drivers/openswr/
H A Dfaq.rst13 counts of machines we run on are much higher. These parameters led
/xsrc/external/mit/MesaLib/dist/src/gtest/src/
H A Dgtest.cc3185 const std::string counts = local in function:testing::internal::PrettyUnitTestResultPrinter::OnTestCaseStart
3188 printf("%s from %s", counts.c_str(), test_case.name());
3199 const std::string counts = local in function:testing::internal::PrettyUnitTestResultPrinter::OnTestSuiteStart
3202 printf("%s from %s", counts.c_str(), test_suite.name());
3261 const std::string counts = local in function:testing::internal::PrettyUnitTestResultPrinter::OnTestCaseEnd
3264 printf("%s from %s (%s ms total)\n\n", counts.c_str(), test_case.name(),
3272 const std::string counts = local in function:testing::internal::PrettyUnitTestResultPrinter::OnTestSuiteEnd
3275 printf("%s from %s (%s ms total)\n\n", counts.c_str(), test_suite.name(),
/xsrc/external/mit/MesaLib/dist/docs/drivers/openswr/
H A Dfaq.rst13 counts of machines we run on are much higher. These parameters led

Completed in 41 milliseconds

12