Home
last modified time | relevance | path

Searched refs:Elements (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/external/llvm/include/llvm/ADT/
DSparseBitVector.h293 ElementList Elements;
299 if (Elements.empty()) {
300 CurrElementIter = Elements.begin();
301 return Elements.begin();
305 if (CurrElementIter == Elements.end())
314 while (ElementIter != Elements.begin()
318 while (ElementIter != Elements.end() &&
350 if (BitVector->Elements.empty()) {
354 Iter = BitVector->Elements.begin();
382 if (Iter == BitVector->Elements.end()) {
[all …]
/external/chromium_org/third_party/mesa/src/src/egl/main/
Deglarray.c49 elems = realloc(array->Elements, new_size * sizeof(array->Elements[0])); in _eglGrowArray()
56 array->Elements = elems; in _eglGrowArray()
94 free_cb(array->Elements[i]); in _eglDestroyArray()
96 free(array->Elements); in _eglDestroyArray()
110 array->Elements[array->Size++] = elem; in _eglAppendArray()
121 free_cb(array->Elements[i]); in _eglEraseArray()
123 memmove(&array->Elements[i], &array->Elements[i + 1], in _eglEraseArray()
124 (array->Size - i - 1) * sizeof(array->Elements[0])); in _eglEraseArray()
142 if (array->Elements[i] == elem) in _eglFindArray()
162 if (filter(array->Elements[i], filter_data)) { in _eglFilterArray()
[all …]
/external/mesa3d/src/egl/main/
Deglarray.c49 elems = realloc(array->Elements, new_size * sizeof(array->Elements[0])); in _eglGrowArray()
56 array->Elements = elems; in _eglGrowArray()
94 free_cb(array->Elements[i]); in _eglDestroyArray()
96 free(array->Elements); in _eglDestroyArray()
110 array->Elements[array->Size++] = elem; in _eglAppendArray()
121 free_cb(array->Elements[i]); in _eglEraseArray()
123 memmove(&array->Elements[i], &array->Elements[i + 1], in _eglEraseArray()
124 (array->Size - i - 1) * sizeof(array->Elements[0])); in _eglEraseArray()
142 if (array->Elements[i] == elem) in _eglFindArray()
162 if (filter(array->Elements[i], filter_data)) { in _eglFilterArray()
[all …]
/external/llvm/unittests/ADT/
DSCCIteratorTest.cpp35 BitVector Elements; member in llvm::Graph::NodeSubset
36 NodeSubset(BitVector e) : Elements(e) {} in NodeSubset()
39 NodeSubset() : Elements(0) { in NodeSubset()
43 NodeSubset(const NodeSubset &other) : Elements(other.Elements) {} in NodeSubset()
47 return other.Elements == this->Elements; in operator ==()
56 Elements |= 1U << Idx; in AddNode()
62 Elements &= ~(1U << Idx); in DeleteNode()
68 return (Elements & (1U << Idx)) != 0; in count()
73 return Elements == 0; in isEmpty()
78 return (this->Elements | other.Elements) == other.Elements; in isSubsetOf()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c229 {"neg", &lp_build_negate, &negf, exp2_values, Elements(exp2_values), 20.0 },
230 {"exp2", &lp_build_exp2, &exp2f, exp2_values, Elements(exp2_values), 20.0 },
231 {"log2", &lp_build_log2, &log2f, log2_values, Elements(log2_values), 20.0 },
232 {"exp", &lp_build_exp, &expf, exp2_values, Elements(exp2_values), 18.0 },
233 {"log", &lp_build_log, &logf, log2_values, Elements(log2_values), 20.0 },
234 {"rsqrt", &lp_build_rsqrt, &rsqrtf, rsqrt_values, Elements(rsqrt_values), 20.0 },
235 {"sin", &lp_build_sin, &sinf, sincos_values, Elements(sincos_values), 20.0 },
236 {"cos", &lp_build_cos, &cosf, sincos_values, Elements(sincos_values), 20.0 },
237 {"sgn", &lp_build_sgn, &sgnf, exp2_values, Elements(exp2_values), 20.0 },
238 {"round", &lp_build_round, &roundf, round_values, Elements(round_values), 24.0 },
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c229 {"neg", &lp_build_negate, &negf, exp2_values, Elements(exp2_values), 20.0 },
230 {"exp2", &lp_build_exp2, &exp2f, exp2_values, Elements(exp2_values), 20.0 },
231 {"log2", &lp_build_log2, &log2f, log2_values, Elements(log2_values), 20.0 },
232 {"exp", &lp_build_exp, &expf, exp2_values, Elements(exp2_values), 18.0 },
233 {"log", &lp_build_log, &logf, log2_values, Elements(log2_values), 20.0 },
234 {"rsqrt", &lp_build_rsqrt, &rsqrtf, rsqrt_values, Elements(rsqrt_values), 20.0 },
235 {"sin", &lp_build_sin, &sinf, sincos_values, Elements(sincos_values), 20.0 },
236 {"cos", &lp_build_cos, &cosf, sincos_values, Elements(sincos_values), 20.0 },
237 {"sgn", &lp_build_sgn, &sgnf, exp2_values, Elements(exp2_values), 20.0 },
238 {"round", &lp_build_round, &roundf, round_values, Elements(round_values), 24.0 },
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_strings.c175 STATIC_ASSERT(Elements(tgsi_file_names) == TGSI_FILE_COUNT); in tgsi_strings_check()
176 STATIC_ASSERT(Elements(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT); in tgsi_strings_check()
177 STATIC_ASSERT(Elements(tgsi_texture_names) == TGSI_TEXTURE_COUNT); in tgsi_strings_check()
178 STATIC_ASSERT(Elements(tgsi_property_names) == TGSI_PROPERTY_COUNT); in tgsi_strings_check()
179 STATIC_ASSERT(Elements(tgsi_primitive_names) == PIPE_PRIM_MAX); in tgsi_strings_check()
180 STATIC_ASSERT(Elements(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT); in tgsi_strings_check()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
Dtgsi_strings.c175 STATIC_ASSERT(Elements(tgsi_file_names) == TGSI_FILE_COUNT); in tgsi_strings_check()
176 STATIC_ASSERT(Elements(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT); in tgsi_strings_check()
177 STATIC_ASSERT(Elements(tgsi_texture_names) == TGSI_TEXTURE_COUNT); in tgsi_strings_check()
178 STATIC_ASSERT(Elements(tgsi_property_names) == TGSI_PROPERTY_COUNT); in tgsi_strings_check()
179 STATIC_ASSERT(Elements(tgsi_primitive_names) == PIPE_PRIM_MAX); in tgsi_strings_check()
180 STATIC_ASSERT(Elements(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT); in tgsi_strings_check()
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dbuiltin_function.cpp14478 Elements(functions_for_100_frag)); in _mesa_glsl_initialize_functions()
14485 Elements(functions_for_100_glsl)); in _mesa_glsl_initialize_functions()
14492 Elements(functions_for_100_vert)); in _mesa_glsl_initialize_functions()
14499 Elements(functions_for_110_frag)); in _mesa_glsl_initialize_functions()
14506 Elements(functions_for_110_glsl)); in _mesa_glsl_initialize_functions()
14513 Elements(functions_for_110_vert)); in _mesa_glsl_initialize_functions()
14520 Elements(functions_for_120_frag)); in _mesa_glsl_initialize_functions()
14527 Elements(functions_for_120_glsl)); in _mesa_glsl_initialize_functions()
14534 Elements(functions_for_120_vert)); in _mesa_glsl_initialize_functions()
14541 Elements(functions_for_130_frag)); in _mesa_glsl_initialize_functions()
[all …]
Denums.c7053 Elements(reduced_enums), in _mesa_lookup_enum_by_nr()
7094 if (nr < Elements(prim_names)) in _mesa_lookup_prim_by_nr()
7107 Elements(all_enums), in _mesa_lookup_enum_by_name()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp1480 std::vector<llvm::Constant*> Elements; in GenerateMethodList() local
1482 Elements.clear(); in GenerateMethodList()
1489 Elements.push_back(C); in GenerateMethodList()
1490 Elements.push_back(MethodTypes[i]); in GenerateMethodList()
1493 Elements.push_back(Method); in GenerateMethodList()
1494 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); in GenerateMethodList()
1536 std::vector<llvm::Constant*> Elements; in GenerateIvarList() local
1538 Elements.clear(); in GenerateIvarList()
1539 Elements.push_back(IvarNames[i]); in GenerateIvarList()
1540 Elements.push_back(IvarTypes[i]); in GenerateIvarList()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.c600 …vl_vlc_init_table(tbl_B1, Elements(tbl_B1), macroblock_address_increment, Elements(macroblock_addr… in init_tables()
601 vl_vlc_init_table(tbl_B2, Elements(tbl_B2), macroblock_type_i, Elements(macroblock_type_i)); in init_tables()
602 vl_vlc_init_table(tbl_B3, Elements(tbl_B3), macroblock_type_p, Elements(macroblock_type_p)); in init_tables()
603 vl_vlc_init_table(tbl_B4, Elements(tbl_B4), macroblock_type_b, Elements(macroblock_type_b)); in init_tables()
604 vl_vlc_init_table(tbl_B9, Elements(tbl_B9), coded_block_pattern, Elements(coded_block_pattern)); in init_tables()
605 vl_vlc_init_table(tbl_B10, Elements(tbl_B10), motion_code, Elements(motion_code)); in init_tables()
606 vl_vlc_init_table(tbl_B11, Elements(tbl_B11), dmvector, Elements(dmvector)); in init_tables()
607 …vl_vlc_init_table(tbl_B12, Elements(tbl_B12), dct_dc_size_luminance, Elements(dct_dc_size_luminanc… in init_tables()
608 …vl_vlc_init_table(tbl_B13, Elements(tbl_B13), dct_dc_size_chrominance, Elements(dct_dc_size_chromi… in init_tables()
609 init_dct_coeff_table(tbl_B14_DC, dct_coeff_tbl_zero, Elements(dct_coeff_tbl_zero), true); in init_tables()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.c600 …vl_vlc_init_table(tbl_B1, Elements(tbl_B1), macroblock_address_increment, Elements(macroblock_addr… in init_tables()
601 vl_vlc_init_table(tbl_B2, Elements(tbl_B2), macroblock_type_i, Elements(macroblock_type_i)); in init_tables()
602 vl_vlc_init_table(tbl_B3, Elements(tbl_B3), macroblock_type_p, Elements(macroblock_type_p)); in init_tables()
603 vl_vlc_init_table(tbl_B4, Elements(tbl_B4), macroblock_type_b, Elements(macroblock_type_b)); in init_tables()
604 vl_vlc_init_table(tbl_B9, Elements(tbl_B9), coded_block_pattern, Elements(coded_block_pattern)); in init_tables()
605 vl_vlc_init_table(tbl_B10, Elements(tbl_B10), motion_code, Elements(motion_code)); in init_tables()
606 vl_vlc_init_table(tbl_B11, Elements(tbl_B11), dmvector, Elements(dmvector)); in init_tables()
607 …vl_vlc_init_table(tbl_B12, Elements(tbl_B12), dct_dc_size_luminance, Elements(dct_dc_size_luminanc… in init_tables()
608 …vl_vlc_init_table(tbl_B13, Elements(tbl_B13), dct_dc_size_chrominance, Elements(dct_dc_size_chromi… in init_tables()
609 init_dct_coeff_table(tbl_B14_DC, dct_coeff_tbl_zero, Elements(dct_coeff_tbl_zero), true); in init_tables()
[all …]
/external/llvm/lib/Support/
DIntervalMap.cpp120 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, in distribute() argument
123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); in distribute()
124 assert(Position <= Elements && "Invalid position"); in distribute()
129 const unsigned PerNode = (Elements + Grow) / Nodes; in distribute()
130 const unsigned Extra = (Elements + Grow) % Nodes; in distribute()
138 assert(Sum == Elements + Grow && "Bad distribution sum"); in distribute()
153 assert(Sum == Elements && "Bad distribution sum"); in distribute()
/external/clang/include/clang/Analysis/
DCFG.h395 ElementList Elements; variable
493 : Elements(C), Label(nullptr), Terminator(nullptr), LoopTarget(nullptr), in CFGBlock()
504 CFGElement front() const { return Elements.front(); } in front()
505 CFGElement back() const { return Elements.back(); } in back()
507 iterator begin() { return Elements.begin(); } in begin()
508 iterator end() { return Elements.end(); } in end()
509 const_iterator begin() const { return Elements.begin(); } in begin()
510 const_iterator end() const { return Elements.end(); } in end()
512 reverse_iterator rbegin() { return Elements.rbegin(); } in rbegin()
513 reverse_iterator rend() { return Elements.rend(); } in rend()
[all …]
/external/mesa3d/src/glsl/
Dbuiltin_types.h94 Elements(gl_DepthRangeParameters_fields),
160 Elements(gl_PointParameters_fields),
163 Elements(gl_MaterialParameters_fields),
166 Elements(gl_LightSourceParameters_fields),
169 Elements(gl_LightModelParameters_fields),
172 Elements(gl_LightModelProducts_fields),
175 Elements(gl_LightProducts_fields),
178 Elements(gl_FogParameters_fields),
Dglsl_types.cpp162 Elements(builtin_core_types), in generate_100ES_types()
165 Elements(builtin_structure_types), in generate_100ES_types()
176 Elements(builtin_110_types), in generate_110_types()
181 Elements(builtin_110_deprecated_structure_types), in generate_110_types()
193 Elements(builtin_120_types), false); in generate_120_types()
203 Elements(builtin_130_types), false); in generate_130_types()
214 Elements(builtin_140_types), false); in generate_140_types()
217 Elements(builtin_EXT_texture_buffer_object_types), in generate_140_types()
227 Elements(builtin_ARB_texture_rectangle_types), in generate_ARB_texture_rectangle_types()
237 Elements(builtin_EXT_texture_array_types), in generate_EXT_texture_array_types()
[all …]
/external/chromium_org/third_party/mesa/src/src/glsl/
Dbuiltin_types.h94 Elements(gl_DepthRangeParameters_fields),
160 Elements(gl_PointParameters_fields),
163 Elements(gl_MaterialParameters_fields),
166 Elements(gl_LightSourceParameters_fields),
169 Elements(gl_LightModelParameters_fields),
172 Elements(gl_LightModelProducts_fields),
175 Elements(gl_LightProducts_fields),
178 Elements(gl_FogParameters_fields),
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.c125 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_destroy()
126 for (i = 0; i < Elements(softpipe->tex_cache[0]); i++) { in softpipe_destroy()
132 for (sh = 0; sh < Elements(softpipe->constants); sh++) { in softpipe_destroy()
133 for (i = 0; i < Elements(softpipe->constants[0]); i++) { in softpipe_destroy()
184 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_is_resource_referenced()
185 for (i = 0; i < Elements(softpipe->tex_cache[0]); i++) { in softpipe_is_resource_referenced()
260 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_create_context()
261 for (i = 0; i < Elements(softpipe->tex_cache[0]); i++) { in softpipe_create_context()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_context.c125 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_destroy()
126 for (i = 0; i < Elements(softpipe->tex_cache[0]); i++) { in softpipe_destroy()
132 for (sh = 0; sh < Elements(softpipe->constants); sh++) { in softpipe_destroy()
133 for (i = 0; i < Elements(softpipe->constants[0]); i++) { in softpipe_destroy()
184 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_is_resource_referenced()
185 for (i = 0; i < Elements(softpipe->tex_cache[0]); i++) { in softpipe_is_resource_referenced()
260 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_create_context()
261 for (i = 0; i < Elements(softpipe->tex_cache[0]); i++) { in softpipe_create_context()
/external/llvm/lib/IR/
DType.cpp420 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() argument
427 unsigned NumElements = Elements.size(); in setBody()
429 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements); in setBody()
512 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements, in create() argument
515 ST->setBody(Elements, isPacked); in create()
519 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements) { in create() argument
520 return create(Context, Elements, StringRef()); in create()
527 StructType *StructType::create(ArrayRef<Type*> Elements, StringRef Name, in create() argument
529 assert(!Elements.empty() && in create()
531 return create(Elements[0]->getContext(), Elements, Name, isPacked); in create()
[all …]
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
Dcopy_constant_to_storage_tests.cpp72 const unsigned red_zone_size = Elements(storage) - val->type->components(); in int_test()
91 const unsigned red_zone_size = Elements(storage) - val->type->components(); in uint_test()
110 const unsigned red_zone_size = Elements(storage) - val->type->components(); in float_test()
129 const unsigned red_zone_size = Elements(storage) - val->type->components(); in bool_test()
153 const unsigned red_zone_size = Elements(storage) - val->type->components(); in sampler_test()
/external/mesa3d/src/glsl/tests/
Dcopy_constant_to_storage_tests.cpp72 const unsigned red_zone_size = Elements(storage) - val->type->components(); in int_test()
91 const unsigned red_zone_size = Elements(storage) - val->type->components(); in uint_test()
110 const unsigned red_zone_size = Elements(storage) - val->type->components(); in float_test()
129 const unsigned red_zone_size = Elements(storage) - val->type->components(); in bool_test()
153 const unsigned red_zone_size = Elements(storage) - val->type->components(); in sampler_test()
/external/mesa3d/src/gallium/targets/graw-null/
Dgraw_util.c21 if (!tgsi_text_translate(text, tokens, Elements(tokens))) in graw_parse_geometry_shader()
35 if (!tgsi_text_translate(text, tokens, Elements(tokens))) in graw_parse_vertex_shader()
49 if (!tgsi_text_translate(text, tokens, Elements(tokens))) in graw_parse_fragment_shader()
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-null/
Dgraw_util.c21 if (!tgsi_text_translate(text, tokens, Elements(tokens))) in graw_parse_geometry_shader()
35 if (!tgsi_text_translate(text, tokens, Elements(tokens))) in graw_parse_vertex_shader()
49 if (!tgsi_text_translate(text, tokens, Elements(tokens))) in graw_parse_fragment_shader()

12345678910>>...18