/external/jemalloc/test/unit/ |
H A D | size_classes.c | 29 szind_t index, max_index; local 32 max_index = size2index(max_size_class); 34 for (index = 0, size_class = index2size(index); index < max_index || 37 assert_true(index < max_index,
|
/external/mesa3d/src/mesa/main/ |
H A D | sse_minmax.c | 34 unsigned *max_index, const unsigned count) 93 *max_index = max_ui; 33 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index, unsigned *max_index, const unsigned count) argument
|
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_split.c | 107 GLuint max_index, 123 else if (max_index - min_index >= limits->max_verts) { 138 min_index, max_index, draw, limits ); 146 if (max_index - min_index >= limits->max_verts) { 152 min_index, max_index, draw, limits ); 101 vbo_split_prims( struct gl_context *ctx, const struct gl_vertex_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits ) argument
|
H A D | vbo_rebase.c | 130 GLuint max_index, 145 printf("%s %d..%d\n", __func__, min_index, max_index); 260 max_index - min_index, 124 vbo_rebase_prims( struct gl_context *ctx, const struct gl_vertex_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw ) argument
|
H A D | vbo_split_inplace.c | 50 GLuint max_index; member in struct:split_context 76 ib.count = split->max_index - split->min_index + 1; 85 assert(split->max_index >= split->min_index); 96 split->max_index, 104 split->max_index = 0; 125 split->max_index = MAX2(split->max_index, prim->start + prim->count - 1); 137 (prim->start < split->max_index && 138 split->max_index - prim->start >= split->limit)) 270 GLuint max_index, 264 vbo_split_inplace( struct gl_context *ctx, const struct gl_vertex_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits ) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_draw.c | 39 * all vertex lookups need to be clamped to 0..max_index-1 to prevent 52 unsigned max_index; local 55 max_index = ~0U - 1; 107 max_index = MIN2(max_index, buffer_max_index); 125 return max_index + 1;
|
H A D | u_draw.h | 47 info->max_index = 0xffffffff; 64 info.max_index = start + count - 1; 104 info.max_index = start + count - 1; 136 uint max_index, 150 info.max_index = max_index; 133 util_draw_range_elements(struct pipe_context *pipe, int index_bias, uint min_index, uint max_index, enum pipe_prim_type mode, uint start, uint count) argument
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe.c | 197 #define GET_ELT(idx) (MIN2(elts[idx], max_index)) 208 unsigned max_index 245 unsigned max_index = 0x0, i; local 249 if (index > max_index) 250 max_index = index; 252 if (max_index >= vert_info->count) { 253 debug_printf("%s: max_index (%u) outside vertex buffer (%u)\n", 255 max_index,
|
H A D | draw_pt_vsplit_tmp.h | 32 * Fetch all elements in [min_index, max_index] with bias, and use the 42 const unsigned max_index = draw->pt.user.max_index; local 63 if (idx < min_index || idx > max_index) { 76 if (max_index - min_index > icount - 1) 89 fetch_count = max_index - min_index + 1; 100 if (idx < min_index || idx > max_index) { 110 if (idx < min_index || idx > max_index) {
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_draw.c | 53 unsigned max_index, 81 min_index, max_index, 96 min_index, max_index, 256 info->max_index, 48 retry_draw_range_elements( struct svga_context *svga, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, enum pipe_prim_type prim, unsigned start, unsigned count, unsigned start_instance, unsigned instance_count, boolean do_retry ) argument
|
H A D | svga_swtnl_private.h | 77 ushort max_index; member in struct:svga_vbuf_render
|
H A D | svga_draw_elements.c | 153 unsigned min_index, unsigned max_index, 176 min_index, max_index, index_buffer, 185 unsigned min_index, unsigned max_index, 224 max_index, 253 max_index, 150 svga_hwtnl_simple_draw_range_elements(struct svga_hwtnl *hwtnl, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, enum pipe_prim_type prim, unsigned start, unsigned count, unsigned start_instance, unsigned instance_count) argument 182 svga_hwtnl_draw_range_elements(struct svga_hwtnl *hwtnl, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, enum pipe_prim_type prim, unsigned start, unsigned count, unsigned start_instance, unsigned instance_count) argument
|
H A D | svga_draw_private.h | 149 unsigned max_index[QSZ]; member in struct:draw_cmd 228 unsigned max_index, 238 unsigned max_index,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen6_sol.c | 249 unsigned max_index local 258 OUT_BATCH(max_index);
|
H A D | brw_draw.c | 442 GLuint max_index, 496 brw->vb.max_index = max_index; 641 GLuint max_index, 669 index_bounds_valid, min_index, max_index, NULL, 0, NULL); 680 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims); 689 min_index, max_index, xfb_obj, stream, indirect); 435 brw_try_draw_prims(struct gl_context *ctx, const struct gl_vertex_array *arrays[], const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, bool index_bounds_valid, GLuint min_index, GLuint max_index, struct brw_transform_feedback_object *xfb_obj, unsigned stream, struct gl_buffer_object *indirect) argument 635 brw_draw_prims(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *gl_xfb_obj, unsigned stream, struct gl_buffer_object *indirect) argument
|
/external/libchrome/base/ |
H A D | observer_list.h | 154 size_t max_index = std::min(max_index_, observers.size()); local 155 while (index_ < max_index && !observers[index_]) 157 return index_ < max_index ? observers[index_++] : nullptr;
|
/external/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_qir_lower_uniforms.c | 138 uint32_t max_index = 0; local 145 max_index = index; 149 struct qreg unif = qir_reg(QFILE_UNIF, max_index); 182 inst->src[i].index == max_index) {
|
H A D | vc4_cl_dump.c | 172 uint32_t *max_index = cl + offset + 9; local 183 offset + 9, hw_offset + 9, *max_index);
|
H A D | vc4_draw.c | 184 uint32_t max_index = 0xffff; local 206 max_index = MIN2(max_index, 244 vc4->max_index = max_index; 368 cl_u32(&bcl, vc4->max_index);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw_feedback.c | 100 info.max_index = start + count - 1; 119 GLuint max_index, 148 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims); 113 st_feedback_draw_vbo(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount, unsigned stream, struct gl_buffer_object *indirect) argument
|
H A D | st_draw.c | 182 GLuint max_index, 215 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, 224 if (min_index != ~0U && max_index != ~0U) { 226 info.max_index = max_index; 257 info.max_index = info.start + info.count - 1; 176 st_draw_vbo(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount, unsigned stream, struct gl_buffer_object *indirect) argument
|
/external/vixl/test/ |
H A D | test-invalset.cc | 192 int max_index = 100 * kNPreallocatedElements; local 193 for (int i = 0; i <= max_index; i++) { 198 VIXL_CHECK(set.GetMinElement() == Obj(-max_index, max_index)); 202 VIXL_CHECK(set.GetMinElement() == Obj(-max_index, max_index)); 204 VIXL_CHECK(set.GetMinElement() == Obj(-(max_index - 2), max_index - 2));
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_ENUM_FRAMESIZES.c | 203 __u32 max_index; local 221 max_index = i - 1; 223 i = max_index + 1; 238 if (max_index < i) { 255 if (max_index < i) { 272 if (max_index < i) {
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_prim_vbuf.c | 281 ushort max_index) 287 i915_render->vbo_max_index = max_index; 288 i915_render->vbo_max_used = MAX2(i915_render->vbo_max_used, i915_render->vertex_size * (max_index + 1)); 293 i915_render->map_used_end = i915_render->vertex_size * (max_index + 1); 303 * Ensure that the given max_index given is not larger ushort max. 312 unsigned max_index) 316 if (max_index + i915_render->vbo_index < ((1 << 17) - 1)) 279 i915_vbuf_render_unmap_vertices(struct vbuf_render *render, ushort min_index, ushort max_index) argument 311 i915_vbuf_ensure_index_bounds(struct vbuf_render *render, unsigned max_index) argument
|
/external/mesa3d/src/gallium/drivers/vc4/kernel/ |
H A D | vc4_drv.h | 68 uint32_t max_index; member in struct:vc4_exec_info::vc4_shader_state
|