Home
last modified time | relevance | path

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

1234567891011

/external/llvm/include/llvm/ADT/
DSparseBitVector.h273 ElementList Elements;
279 if (Elements.empty()) {
280 CurrElementIter = Elements.begin();
281 return Elements.begin();
285 if (CurrElementIter == Elements.end())
294 while (ElementIter != Elements.begin()
298 while (ElementIter != Elements.end() &&
330 if (BitVector->Elements.empty()) {
334 Iter = BitVector->Elements.begin();
362 if (Iter == BitVector->Elements.end()) {
[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()
45 return other.Elements == this->Elements; in operator ==()
54 Elements |= 1U << Idx; in AddNode()
60 Elements &= ~(1U << Idx); in DeleteNode()
66 return (Elements & (1U << Idx)) != 0; in count()
71 return Elements == 0; in isEmpty()
76 return (this->Elements | other.Elements) == other.Elements; in isSubsetOf()
81 return ~(unsigned)this->Elements & ((1U << N) - 1); in Complement()
[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 …]
Dlp_context.c72 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy()
76 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy()
80 for (i = 0; i < Elements(llvmpipe->constants); i++) { in llvmpipe_destroy()
81 for (j = 0; j < Elements(llvmpipe->constants[i]); j++) { in llvmpipe_destroy()
/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/clang/lib/CodeGen/
DCGObjCGNU.cpp1486 std::vector<llvm::Constant*> Elements; in GenerateMethodList() local
1488 Elements.clear(); in GenerateMethodList()
1495 Elements.push_back(C); in GenerateMethodList()
1496 Elements.push_back(MethodTypes[i]); in GenerateMethodList()
1499 Elements.push_back(Method); in GenerateMethodList()
1500 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); in GenerateMethodList()
1542 std::vector<llvm::Constant*> Elements; in GenerateIvarList() local
1544 Elements.clear(); in GenerateIvarList()
1545 Elements.push_back(IvarNames[i]); in GenerateIvarList()
1546 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/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()
503 CFGElement front() const { return Elements.front(); } in front()
504 CFGElement back() const { return Elements.back(); } in back()
506 iterator begin() { return Elements.begin(); } in begin()
507 iterator end() { return Elements.end(); } in end()
508 const_iterator begin() const { return Elements.begin(); } in begin()
509 const_iterator end() const { return Elements.end(); } in end()
511 reverse_iterator rbegin() { return Elements.rbegin(); } in rbegin()
512 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/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/llvm/lib/IR/
DType.cpp422 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() argument
429 unsigned NumElements = Elements.size(); in setBody()
431 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements); in setBody()
514 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements, in create() argument
517 ST->setBody(Elements, isPacked); in create()
521 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements) { in create() argument
522 return create(Context, Elements, StringRef()); in create()
529 StructType *StructType::create(ArrayRef<Type*> Elements, StringRef Name, in create() argument
531 assert(!Elements.empty() && in create()
533 return create(Elements[0]->getContext(), Elements, Name, isPacked); in create()
[all …]
DDIBuilder.cpp376 unsigned Flags, MDType *DerivedFrom, DIArray Elements, MDType *VTableHolder, in createClassType() argument
385 Elements, 0, MDTypeRef::get(VTableHolder), in createClassType()
396 MDType *DerivedFrom, DIArray Elements, unsigned RunTimeLang, in createStructType() argument
401 MDTypeRef::get(DerivedFrom), SizeInBits, AlignInBits, 0, Flags, Elements, in createStructType()
413 DIArray Elements, in createUnionType() argument
419 AlignInBits, 0, Flags, Elements, RunTimeLang, nullptr, nullptr, in createUnionType()
435 uint64_t SizeInBits, uint64_t AlignInBits, DIArray Elements, in createEnumerationType() argument
440 MDTypeRef::get(UnderlyingType), SizeInBits, AlignInBits, 0, 0, Elements, in createEnumerationType()
531 DIArray DIBuilder::getOrCreateArray(ArrayRef<Metadata *> Elements) { in getOrCreateArray() argument
532 return MDTuple::get(VMContext, Elements); in getOrCreateArray()
[all …]
/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/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c69 if (src->Index < Elements(ctx->temp)) { in analyse_src()
75 assert(src->Index < Elements(ctx->imm)); in analyse_src()
76 if (src->Index < Elements(ctx->imm)) { in analyse_src()
107 if (info->num_texs < Elements(info->tex)) { in analyse_tex()
199 max_regs = Elements(ctx->temp); in analyse_instruction()
202 max_regs = Elements(info->output); in analyse_instruction()
443 if (ctx.num_imms < Elements(ctx.imm)) { in lp_build_tgsi_info()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas1645 Subtrees, Elements: IList<IANTLRInterface>;
1651 Elements := Subtrees;
1652 CheckEquals('[foo, big]', TCollectionUtils.ListToString(Elements));
1698 Elements: IList<IANTLRInterface>;
1704 Elements := TList<IANTLRInterface>.Create;
1705 Visitor := TRecordAllElementsVisitor.Create(Elements);
1707 CheckEquals('[B]' ,TCollectionUtils.ListToString(Elements));
1715 Elements: IList<IANTLRInterface>;
1721 Elements := TList<IANTLRInterface>.Create;
1722 Visitor := TRecordAllElementsVisitor.Create(Elements);
[all …]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmslut.c124 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages()
138 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages()
1263 if (lut ->Elements != NULL) { in BlessLUT()
1287 for (mpe = lut ->Elements; in _LUTeval16()
1313 for (mpe = lut ->Elements; in _LUTevalFloat()
1381 for (mpe = lut ->Elements; in cmsPipelineFree()
1424 for (mpe = lut ->Elements; in cmsPipelineDup()
1436 NewLUT ->Elements = NewMPE; in cmsPipelineDup()
1472 mpe ->Next = lut ->Elements; in cmsPipelineInsertStage()
1473 lut ->Elements = mpe; in cmsPipelineInsertStage()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_eval.c38 assert(attr < Elements(exec->eval.map1)); in clear_active_eval1()
44 assert(attr < Elements(exec->eval.map2)); in clear_active_eval2()
51 assert(attr < Elements(exec->eval.map1)); in set_active_eval1()
61 assert(attr < Elements(exec->eval.map2)); in set_active_eval2()
127 assert(attr < Elements(ctx->Eval.Map1Attrib)); in vbo_exec_eval_update()
131 assert(attr < Elements(ctx->Eval.Map2Attrib)); in vbo_exec_eval_update()
/external/llvm/include/llvm/IR/
DDerivedTypes.h215 static StructType *create(ArrayRef<Type*> Elements,
218 static StructType *create(ArrayRef<Type*> Elements);
220 ArrayRef<Type*> Elements,
223 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements);
228 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
268 void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c68 for (i = 0; i < Elements(fb_formats); i++) { in nouveau_get_configs()
74 Elements(depth_bits), in nouveau_get_configs()
76 Elements(back_buffer_modes), in nouveau_get_configs()
78 Elements(msaa_samples), in nouveau_get_configs()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_xformfb.c101 for (i = 0; i < Elements(sobj->base.Buffers); i++) { in st_delete_transform_feedback()
120 max_num_targets = MIN2(Elements(sobj->base.Buffers), in st_begin_transform_feedback()
121 Elements(sobj->targets)); in st_begin_transform_feedback()
185 for (i = 0; i < Elements(sobj->targets); i++) { in st_transform_feedback_get_draw_target()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRRewriteRuleElementStream.h33 } Elements; typedef
40 Elements elements;
49 @property (assign, getter=GetElement, setter=SetElement:) Elements elements;

1234567891011