Searched refs:array_index (Results 1 - 25 of 66) sorted by relevance

123

/external/chromium/net/disk_cache/
H A Dbitmap.cc119 void Bitmap::SetMapElement(int array_index, uint32 value) { argument
120 DCHECK_LT(array_index, array_size_);
121 DCHECK_GE(array_index, 0);
122 map_[array_index] = value;
125 uint32 Bitmap::GetMapElement(int array_index) const {
126 DCHECK_LT(array_index, array_size_);
127 DCHECK_GE(array_index, 0);
128 return map_[array_index];
H A Dbitmap.h55 // Directly sets an element of the internal map. Requires |array_index| <
57 void SetMapElement(int array_index, uint32 value);
59 // Gets an entry of the internal map. Requires array_index <
61 uint32 GetMapElement(int array_index) const;
/external/chromium_org/net/disk_cache/
H A Dbitmap.cc119 void Bitmap::SetMapElement(int array_index, uint32 value) { argument
120 DCHECK_LT(array_index, array_size_);
121 DCHECK_GE(array_index, 0);
122 map_[array_index] = value;
125 uint32 Bitmap::GetMapElement(int array_index) const {
126 DCHECK_LT(array_index, array_size_);
127 DCHECK_GE(array_index, 0);
128 return map_[array_index];
H A Dbitmap.h55 // Directly sets an element of the internal map. Requires |array_index| <
57 void SetMapElement(int array_index, uint32 value);
59 // Gets an entry of the internal map. Requires array_index <
61 uint32 GetMapElement(int array_index) const;
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dlower_clip_distance.cpp120 * \param array_index Selects one of the vec4's in gl_ClipDistanceMESA
122 * array_index.
126 ir_rvalue *&array_index,
146 array_index = new(ctx) ir_constant(const_val / 4);
161 array_index = new(ctx) ir_expression(
192 ir_rvalue *array_index; local
194 this->create_indices(ir->array_index, array_index, swizzle_index);
197 this->new_clip_distance_var, array_index);
198 ir->array_index
125 create_indices(ir_rvalue *old_index, ir_rvalue *&array_index, ir_rvalue *&swizzle_index) argument
[all...]
H A Dlower_vec_index_to_swizzle.cpp73 assert(deref->array_index->type->base_type == GLSL_TYPE_INT);
74 ir_constant = deref->array_index->constant_expression_value();
H A Dlower_vec_index_to_cond_assign.cpp85 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL);
183 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
192 assign = new(ir) ir_assignment(deref, orig_deref->array_index, NULL);
H A Dlower_variable_index_to_cond_assign.cpp170 && (ir->array_index->as_constant() == NULL)) {
382 if (deref == NULL || deref->array_index->as_constant()
428 new(mem_ctx) ir_variable(orig_deref->array_index->type,
434 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL);
437 orig_deref->array_index = lhs->clone(mem_ctx, NULL);
H A Dlower_ubo_reference.cpp119 ir_constant *const_index = deref_array->array_index->as_constant();
124 mul(deref_array->array_index,
H A Dopt_array_splitting.cpp185 if (entry && !ir->array_index->as_constant())
295 ir_constant *constant = deref_array->array_index->as_constant();
/external/mesa3d/src/glsl/
H A Dlower_clip_distance.cpp120 * \param array_index Selects one of the vec4's in gl_ClipDistanceMESA
122 * array_index.
126 ir_rvalue *&array_index,
146 array_index = new(ctx) ir_constant(const_val / 4);
161 array_index = new(ctx) ir_expression(
192 ir_rvalue *array_index; local
194 this->create_indices(ir->array_index, array_index, swizzle_index);
197 this->new_clip_distance_var, array_index);
198 ir->array_index
125 create_indices(ir_rvalue *old_index, ir_rvalue *&array_index, ir_rvalue *&swizzle_index) argument
[all...]
H A Dlower_vec_index_to_swizzle.cpp73 assert(deref->array_index->type->base_type == GLSL_TYPE_INT);
74 ir_constant = deref->array_index->constant_expression_value();
H A Dlower_vec_index_to_cond_assign.cpp85 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL);
183 assert(orig_deref->array_index->type->base_type == GLSL_TYPE_INT);
192 assign = new(ir) ir_assignment(deref, orig_deref->array_index, NULL);
H A Dlower_variable_index_to_cond_assign.cpp170 && (ir->array_index->as_constant() == NULL)) {
382 if (deref == NULL || deref->array_index->as_constant()
428 new(mem_ctx) ir_variable(orig_deref->array_index->type,
434 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL);
437 orig_deref->array_index = lhs->clone(mem_ctx, NULL);
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dsampler.cpp71 ir_constant *index = ir->array_index->as_constant();
/external/mesa3d/src/mesa/program/
H A Dsampler.cpp71 ir_constant *index = ir->array_index->as_constant();
/external/openfst/src/extensions/ngram/
H A Dbitmap-index.cc115 size_t BitmapIndex::get_index_ones_count(size_t array_index) const {
117 if (array_index > 0) {
118 sum += secondary_index_[array_index-1];
119 uint32 end_block = (array_index - 1) / kSecondaryBlockSize;
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table.cc58 int32_t array_index) {
61 data, offset_to_index_sub_table_array, array_index));
147 int32_t offset_to_index_sub_table_array, int32_t array_index) {
150 array_index * EblcTable::Offset::kIndexSubTableEntryLength;
56 CreateIndexSubTable(ReadableFontData* data, int32_t offset_to_index_sub_table_array, int32_t array_index) argument
146 CreateBuilder(ReadableFontData* data, int32_t offset_to_index_sub_table_array, int32_t array_index) argument
H A Dindex_sub_table.h88 int32_t array_index);
146 int32_t array_index);
/external/clang/test/CodeGenCXX/
H A Dcatch-undef-behavior.cpp229 int array_index(const int (&a)[4], int n) { function
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Duniform_query.cpp159 unsigned *array_index,
229 _mesa_uniform_split_location_offset(location, loc, array_index);
244 /* If the uniform is an array, check that array_index is in bounds.
245 * If not an array, check that array_index is zero.
246 * array_index is unsigned so no need to check for less than zero.
251 if (*array_index >= limit) {
466 * \param array_index If \c uni is an array, this is the element of
472 unsigned array_index,
493 (uint8_t *) (&uni->storage[array_index * (components * vectors)].i);
498 __func__, dst, array_index, component
155 validate_uniform_parameters(struct gl_context *ctx, struct gl_shader_program *shProg, GLint location, GLsizei count, unsigned *loc, unsigned *array_index, const char *caller, bool negative_one_is_not_valid) argument
471 _mesa_propagate_uniforms_to_driver_storage(struct gl_uniform_storage *uni, unsigned array_index, unsigned count) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Duniform_query.cpp159 unsigned *array_index,
229 _mesa_uniform_split_location_offset(location, loc, array_index);
244 /* If the uniform is an array, check that array_index is in bounds.
245 * If not an array, check that array_index is zero.
246 * array_index is unsigned so no need to check for less than zero.
251 if (*array_index >= limit) {
466 * \param array_index If \c uni is an array, this is the element of
472 unsigned array_index,
493 (uint8_t *) (&uni->storage[array_index * (components * vectors)].i);
498 __func__, dst, array_index, component
155 validate_uniform_parameters(struct gl_context *ctx, struct gl_shader_program *shProg, GLint location, GLsizei count, unsigned *loc, unsigned *array_index, const char *caller, bool negative_one_is_not_valid) argument
471 _mesa_propagate_uniforms_to_driver_storage(struct gl_uniform_storage *uni, unsigned array_index, unsigned count) argument
[all...]
/external/harfbuzz/src/
H A Dharfbuzz-gdef.c654 HB_UShort glyph_index, array_index, count; local
670 array_index = index;
678 array_index = index + 1;
682 byte = ngc[array_index][glyph_index / 4];
989 HB_UShort array_index, glyph_index, count; local
1036 array_index = index;
1044 array_index = index + 1;
1048 byte = ngc[array_index][glyph_index / 4];
1059 ngc[array_index][glyph_index / 4] &= mask;
1060 ngc[array_index][glyph_inde
[all...]
/external/harfbuzz_ng/src/hb-old/
H A Dharfbuzz-gdef.c654 HB_UShort glyph_index, array_index, count; local
670 array_index = index;
678 array_index = index + 1;
682 byte = ngc[array_index][glyph_index / 4];
989 HB_UShort array_index, glyph_index, count; local
1036 array_index = index;
1044 array_index = index + 1;
1048 byte = ngc[array_index][glyph_index / 4];
1059 ngc[array_index][glyph_index / 4] &= mask;
1060 ngc[array_index][glyph_inde
[all...]
/external/openfst/src/include/fst/extensions/ngram/
H A Dbitmap-index.h129 // returns, from the index, the count of ones up to array_index
130 size_t get_index_ones_count(size_t array_index) const;

Completed in 1265 milliseconds

123