Home
last modified time | relevance | path

Searched refs:source_type (Results 1 – 25 of 54) sorted by relevance

123

/third_party/selinux/libsepol/src/
Davtab.c79 mix(keyp->source_type); in avtab_hash()
149 if (key->source_type == cur->key.source_type && in avtab_insert()
158 if (key->source_type < cur->key.source_type) in avtab_insert()
160 if (key->source_type == cur->key.source_type && in avtab_insert()
163 if (key->source_type == cur->key.source_type && in avtab_insert()
193 if (key->source_type == cur->key.source_type && in avtab_insert_nonunique()
198 if (key->source_type < cur->key.source_type) in avtab_insert_nonunique()
200 if (key->source_type == cur->key.source_type && in avtab_insert_nonunique()
203 if (key->source_type == cur->key.source_type && in avtab_insert_nonunique()
225 if (key->source_type == cur->key.source_type && in avtab_search()
[all …]
Dhierarchy.c113 avtab_key.source_type = parent; in bounds_expand_rule()
136 n->key.source_type, n->key.target_type, in bounds_expand_cond_rules()
161 a->parent, k->source_type, k->target_type, in bounds_expand_rule_callback()
271 new->key.source_type = src; in bounds_add_bad()
298 avtab_key.source_type = parent; in bounds_check_rule()
338 child, parent, key->source_type, in bounds_check_cond_rules()
367 a->parent, k->source_type, k->target_type, in bounds_check_rule_callback()
447 p->p_type_val_to_name[cur->key.source_type - 1], in bounds_report()
Doptimize.c212 s_idx = entry->key.source_type - 1; in is_avrule_redundant()
222 key.source_type = st + 1; in is_avrule_redundant()
250 unsigned int s_idx = entry->key.source_type - 1; in is_avrule_with_attr()
266 s1 = e1->key.source_type - 1; in is_cond_rule_redundant()
274 s2 = e2->key.source_type - 1; in is_cond_rule_redundant()
Dassertion.c167 tmp_key.source_type = i + 1; in report_assertion_extended_permissions()
238 &p->attr_type_map[k->source_type - 1]); in report_assertion_avtab_matches()
342 tmp_key.source_type = i + 1; in check_assertion_extended_permissions_avtab()
393 &p->attr_type_map[k->source_type - 1]); in check_assertion_extended_permissions()
454 rc = ebitmap_and(&src_matches, &avrule->stypes.types, &p->attr_type_map[k->source_type - 1]); in check_assertion_self_match()
485 if (!ebitmap_match_any(&avrule->stypes.types, &p->attr_type_map[k->source_type - 1])) in check_assertion_avtab_match()
Dexpand.c1514 key.source_type = stype; in exp_rangetr_helper()
1540 rt->source_type = stype; in exp_rangetr_helper()
1723 avkey.source_type = stype + 1; in expand_terule_helper()
1763 p->p_type_val_to_name[avkey.source_type - in expand_terule_helper()
1774 p->p_type_val_to_name[avkey.source_type - 1], in expand_terule_helper()
1852 avkey.source_type = stype + 1; in expand_avrule_helper()
3287 type_datum_t *stype = p->type_val_to_struct[k->source_type - 1]; in expand_avtab_node()
3289 ebitmap_t *sattr = &p->attr_type_map[k->source_type - 1]; in expand_avtab_node()
3306 newkey.source_type = k->source_type; in expand_avtab_node()
3320 newkey.source_type = i + 1; in expand_avtab_node()
[all …]
/third_party/gn/src/gn/
Dcompile_commands_writer.cc155 SourceFile::Type source_type, in WriteCommand() argument
183 if (source_type == SourceFile::SOURCE_C) in WriteCommand()
186 if (source_type == SourceFile::SOURCE_CPP) in WriteCommand()
189 if (source_type == SourceFile::SOURCE_M) in WriteCommand()
192 if (source_type == SourceFile::SOURCE_MM) in WriteCommand()
255 const SourceFile::Type source_type = source.GetType(); in OutputJSON() local
256 if (source_type != SourceFile::SOURCE_CPP && in OutputJSON()
257 source_type != SourceFile::SOURCE_C && in OutputJSON()
258 source_type != SourceFile::SOURCE_M && in OutputJSON()
259 source_type != SourceFile::SOURCE_MM) in OutputJSON()
[all …]
Dbinary_target_generator.cc96 const SourceFile::Type source_type = source.GetType(); in FillSources() local
97 switch (source_type) { in FillSources()
125 target_->source_types_used().Set(source_type); in FillSources()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfsourceobject.c56 static GType source_type = 0; in gst_mf_source_type_get_type() local
63 if (!source_type) { in gst_mf_source_type_get_type()
64 source_type = g_enum_register_static ("GstMFSourceMode", source_types); in gst_mf_source_type_get_type()
67 return source_type; in gst_mf_source_type_get_type()
112 self->source_type = DEFAULT_SOURCE_TYPE; in gst_mf_source_object_init()
147 g_value_set_enum (value, self->source_type); in gst_mf_source_object_get_property()
174 self->source_type = g_value_get_enum (value); in gst_mf_source_object_set_property()
Dgstmfsourcereader.cpp121 GstMFSourceType source_type, GList ** device_activates);
800 object->source_type, &activate_list)) { in gst_mf_source_reader_thread_func()
873 GstMFSourceType source_type, GList ** device_sources) in gst_mf_source_enum_device_activate() argument
886 switch (source_type) { in gst_mf_source_enum_device_activate()
892 GST_ERROR_OBJECT (self, "Unknown source type %d", source_type); in gst_mf_source_enum_device_activate()
909 switch (source_type) { in gst_mf_source_enum_device_activate()
Dmediacapturewrapper.cpp318 MediaStreamType source_type; in Fill() local
344 hr = info->get_MediaStreamType (&source_type); in Fill()
349 if (source_type == MediaStreamType::MediaStreamType_VideoPreview) { in Fill()
356 } else if (source_type == MediaStreamType::MediaStreamType_VideoRecord) { in Fill()
366 index, i, (gint) source_type); in Fill()
390 "has %d desc", index, i, source_id_str.c_str (), (gint) source_type, in Fill()
Dgstmfsourceobject.h53 GstMFSourceType source_type; member
/third_party/selinux/checkpolicy/
Dcheckpolicy.c178 if (k->source_type < c->key.source_type) in insert_type_rule()
180 if (k->source_type == c->key.source_type && in insert_type_rule()
183 if (k->source_type == c->key.source_type && in insert_type_rule()
212 if (insert_type_rule(k, d, &type_rules[k->source_type - 1])) in create_type_rules()
260 if (l2->key.source_type == (j + 1)) { in identify_equiv_types()
261 if (l1->key.source_type != (i + 1)) in identify_equiv_types()
264 if (l1->key.source_type != in identify_equiv_types()
265 l2->key.source_type) in identify_equiv_types()
/third_party/skia/infra/bots/recipes/
Dperf_skottiewasm_lottieweb.py95 source_type = 'skottie'
110 source_type = 'lottie-web'
168 'source_type': source_type,
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTextureSizePromotion.cpp267 glw::GLenum source_type = GL_NONE; in prepareSourceTexture() local
273 source_type = GL_FLOAT; in prepareSourceTexture()
281 source_type = GL_FLOAT; in prepareSourceTexture()
289 source_type = GL_FLOAT; in prepareSourceTexture()
297 source_type = GL_INT; in prepareSourceTexture()
305 source_type = GL_UNSIGNED_INT; in prepareSourceTexture()
313 source_type = GL_FLOAT; in prepareSourceTexture()
321 source_type = GL_UNSIGNED_INT; in prepareSourceTexture()
335 …mage1D(target, 0, descriptor.internal_format, s_source_texture_size, 0, source_format, source_type, in prepareSourceTexture()
343 source_format, source_type, source_data); in prepareSourceTexture()
[all …]
Dgl3cGPUShader5Tests.hpp172 std::string getVertexShader(const glw::GLchar* destination_type, const glw::GLchar* source_type);
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dcodegen.c83 f->imm.source_type = 2; in ppir_codegen_encode_varying()
87 f->imm.source_type = 3; in ppir_codegen_encode_varying()
90 f->imm.source_type = 3; in ppir_codegen_encode_varying()
95 f->imm.source_type = 2; in ppir_codegen_encode_varying()
119 f->reg.source_type = 2; in ppir_codegen_encode_varying()
122 f->reg.source_type = 1; in ppir_codegen_encode_varying()
Dcodegen.h78 unsigned source_type : 2; member
92 unsigned source_type : 2; /* = 01 */ member
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_composites.cpp564 const auto source_type = _.FindDef(source->type_id()); in ValidateCopyLogical() local
565 if (!source_type || !result_type || source_type == result_type) { in ValidateCopyLogical()
570 if (!_.LogicallyMatch(source_type, result_type, false)) { in ValidateCopyLogical()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_composites.cpp564 const auto source_type = _.FindDef(source->type_id()); in ValidateCopyLogical() local
565 if (!source_type || !result_type || source_type == result_type) { in ValidateCopyLogical()
570 if (!_.LogicallyMatch(source_type, result_type, false)) { in ValidateCopyLogical()
/third_party/spirv-tools/source/val/
Dvalidate_composites.cpp564 const auto source_type = _.FindDef(source->type_id()); in ValidateCopyLogical() local
565 if (!source_type || !result_type || source_type == result_type) { in ValidateCopyLogical()
570 if (!_.LogicallyMatch(source_type, result_type, false)) { in ValidateCopyLogical()
/third_party/skia/gn/
Dgn_to_cmake.py528 for source_type, sources_of_type in source_types.items():
530 sources[source_type] = '${target}__' + source_type + '_srcs'
531 SetVariableList(out, sources[source_type], sources_of_type)
/third_party/selinux/checkpolicy/test/
Ddispol.c66 stype = p->p_type_val_to_name[key->source_type - 1]; in render_key()
74 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass); in render_key()
76 fprintf(fp, "%u %u : %s ", key->source_type, key->target_type, in render_key()
/third_party/selinux/libsepol/include/sepol/policydb/
Davtab.h51 uint16_t source_type; member
/third_party/node/deps/v8/src/torque/
Dtype-oracle.h161 const Type* source_type) { in GetTopType() argument
162 std::unique_ptr<TopType> type(new TopType(std::move(reason), source_type)); in GetTopType()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc293 Builder::AccessorInfo::AccessorInfo() : source_id(0), source_type(nullptr) {} in AccessorInfo()
925 if (info->source_type->Is<sem::Reference>()) { in GenerateIndexAccessor()
927 info->source_type = TypeOf(expr); in GenerateIndexAccessor()
950 info->source_type = TypeOf(expr); in GenerateIndexAccessor()
956 if (info->source_type->Is<sem::Vector>()) { in GenerateIndexAccessor()
965 info->source_type = TypeOf(expr); in GenerateIndexAccessor()
983 if (info->source_type->Is<sem::Reference>()) { in GenerateMemberAccessor()
989 info->source_type = expr_type; in GenerateMemberAccessor()
1006 info->source_type = expr_type; in GenerateMemberAccessor()
1016 if (info->source_type->Is<sem::Reference>()) { in GenerateMemberAccessor()
[all …]

123