Home
last modified time | relevance | path

Searched refs:fqn (Results 1 - 15 of 15) sorted by relevance

/third_party/selinux/libsepol/cil/src/
H A Dcil_policy.c128 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper()
135 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper()
151 if (strcmp(role->datum.fqn, "object_r") != 0) { in __cil_gather_statements_helper()
192 fprintf(out, "%s %s;\n", kind, DATUM(i1->data)->fqn); in cil_simple_rules_to_policy()
210 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
217 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
224 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy()
230 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
237 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy()
244 fprintf(out, "%s", DATUM(level->sens)->fqn); in cil_level_to_policy()
[all...]
H A Dcil_binary.c81 *sepol_user = hashtab_search(pdb->p_users.table, datum->fqn); in __cil_get_sepol_user_datum()
83 cil_log(CIL_INFO, "Failed to find user %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_user_datum()
92 *sepol_role = hashtab_search(pdb->p_roles.table, datum->fqn); in __cil_get_sepol_role_datum()
94 cil_log(CIL_INFO, "Failed to find role %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_role_datum()
103 *sepol_type = hashtab_search(pdb->p_types.table, datum->fqn); in __cil_get_sepol_type_datum()
105 cil_log(CIL_INFO, "Failed to find type %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_type_datum()
114 *sepol_class = hashtab_search(pdb->p_classes.table, datum->fqn); in __cil_get_sepol_class_datum()
116 cil_log(CIL_INFO, "Failed to find class %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_class_datum()
125 *sepol_cat = hashtab_search(pdb->p_cats.table, datum->fqn); in __cil_get_sepol_cat_datum()
127 cil_log(CIL_INFO, "Failed to find category %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_cat_datum()
[all...]
H A Dcil_find.c311 if (t1->fqn != CIL_KEY_SELF && t2->fqn != CIL_KEY_SELF) { in cil_find_matching_avrule()
314 if (t1->fqn == CIL_KEY_SELF && t2->fqn == CIL_KEY_SELF) { in cil_find_matching_avrule()
316 } else if (t1->fqn == CIL_KEY_SELF) { in cil_find_matching_avrule()
324 } else if (t2->fqn == CIL_KEY_SELF) { in cil_find_matching_avrule()
H A Dcil.c432 (*db)->selftype->datum.fqn = CIL_KEY_SELF; in cil_db_init()
1445 str_len += strlen("user ") + strlen(user->datum.fqn) + strlen(" prefix ") + strlen(userprefix->prefix_str) + 2; in cil_userprefixes_to_string()
1457 buf_pos = snprintf(str_tmp, str_len, "user %s prefix %s;\n", user->datum.fqn, in cil_userprefixes_to_string()
1521 if (strcmp(low->sens->datum.fqn, high->sens->datum.fqn)) { in cil_level_equals()
1557 str_len += strlen(lvl->sens->datum.fqn); in __cil_level_strlen()
1564 str1 = cat->datum.fqn; in __cil_level_strlen()
1569 str2 = cat->datum.fqn; in __cil_level_strlen()
1572 str_len += strlen(str1) + strlen(cat->datum.fqn) + 1; in __cil_level_strlen()
1574 str_len += strlen(str1) + strlen(str2) + strlen(cat->datum.fqn) in __cil_level_strlen()
[all...]
H A Dcil_symtab.h41 char *fqn; member
H A Dcil_symtab.c65 datum->fqn = NULL; in cil_symtab_datum_init()
93 datum->fqn = key; in cil_symtab_insert()
H A Dcil_post.c75 rc = strcmp(DATUM(i->data)->fqn, DATUM(j->data)->fqn); in cats_compare()
91 rc = strcmp(DATUM(a->sens)->fqn, DATUM(b->sens)->fqn); in level_compare()
123 rc = strcmp(DATUM(a->user)->fqn, DATUM(b->user)->fqn); in context_compare()
127 rc = strcmp(DATUM(a->role)->fqn, DATUM(b->role)->fqn); in context_compare()
131 rc = strcmp(DATUM(a->type)->fqn, DATUM(b->type)->fqn); in context_compare()
[all...]
H A Dcil_fqn.c66 datum->fqn = cil_strpool_add(prefix); in __cil_fqn_qualify_decls()
H A Dcil_resolve_ast.c939 cil_log(CIL_ERR, "Userrange must be a user: %s\n", user_datum->fqn); in cil_resolve_userrange()
990 cil_log(CIL_ERR, "Userprefix must be a user: %s\n", user_datum->fqn); in cil_resolve_userprefix()
1017 cil_log(CIL_ERR, "Selinuxuser must be a user: %s\n", user_datum->fqn); in cil_resolve_selinuxuser()
1864 cil_log(CIL_ERR, "Context user must be a user: %s\n", user_datum->fqn); in cil_resolve_context()
1879 cil_log(CIL_ERR, "Context role not a role: %s\n", role_datum->fqn); in cil_resolve_context()
H A Dcil_write_ast.c46 return datum ? datum->fqn : str; in datum_or_str()
51 return datum ? datum->fqn : "<?DATUM>"; in datum_to_str()
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/
H A Dpermutate.go129 for _, fqn := range permutations {
130 state.parameters[i] = fqn
324 func validate(fqn sem.FullyQualifiedName, uses *sem.StageUses) bool {
325 switch fqn.Target.GetName() {
327 elTy := fqn.TemplateArguments[0].(sem.FullyQualifiedName)
337 access := fqn.TemplateArguments[2].(sem.FullyQualifiedName).Target.(*sem.EnumEntry).Name
338 storageClass := fqn.TemplateArguments[0].(sem.FullyQualifiedName).Target.(*sem.EnumEntry).Name
367 if !isDeclarable(fqn) {
371 for _, arg := range fqn.TemplateArguments {
H A Dgenerate.go211 func isDeclarable(fqn sem.FullyQualifiedName) bool {
212 return !strings.HasPrefix(fqn.Target.GetName(), "_")
H A Dintrinsic_table.go329 func (b *overloadBuilder) collectMatcherIndices(fqn sem.FullyQualifiedName) ([]int, error) {
330 idx, err := b.matcherIndex(fqn.Target)
335 for _, arg := range fqn.TemplateArguments {
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/resolver/
H A Dresolve.go373 fqn := sem.FullyQualifiedName{
382 fqn.TemplateArguments[i] = arg
384 return fqn, nil
/third_party/libabigail/src/
H A Dabg-ir.cc10800 /// @param fqn the fully qualified name of the type to consider.
10809 find_next_delim_in_cplus_type(const string& fqn, in find_next_delim_in_cplus_type() argument
10816 for (; i < fqn.size(); ++i) in find_next_delim_in_cplus_type()
10818 if (fqn[i] == '<') in find_next_delim_in_cplus_type()
10820 else if (fqn[i] == '>') in find_next_delim_in_cplus_type()
10822 else if (i + 1 < fqn.size() in find_next_delim_in_cplus_type()
10824 && fqn[i] == ':' in find_next_delim_in_cplus_type()
10825 && fqn[i+1] == ':') in find_next_delim_in_cplus_type()
10837 /// @param fqn the fully qualified name to decompose.
10841 fqn_to_components(const string& fqn, in fqn_to_components() argument
11017 lookup_class_type(const string& fqn, const translation_unit& tu) lookup_class_type() argument
11072 lookup_union_type(const string& fqn, const translation_unit& tu) lookup_union_type() argument
11423 lookup_type(const interned_string& fqn, const translation_unit& tu) lookup_type() argument
11450 lookup_type(const string& fqn, const translation_unit& tu) lookup_type() argument
11490 lookup_type_in_scope(const string& fqn, const scope_decl_sptr& skope) lookup_type_in_scope() argument
11507 lookup_var_decl_in_scope(const string& fqn, const scope_decl_sptr& skope) lookup_var_decl_in_scope() argument
11584 lookup_node_in_scope(const list<string>& fqn, const scope_decl_sptr& skope) lookup_node_in_scope() argument
11816 lookup_node_in_translation_unit(const list<string>& fqn, const translation_unit& tu) lookup_node_in_translation_unit() argument
11832 lookup_type_through_scopes(const list<string>& fqn, const translation_unit& tu) lookup_type_through_scopes() argument
11852 lookup_class_type_through_scopes(const list<string>& fqn, const translation_unit& tu) lookup_class_type_through_scopes() argument
[all...]

Completed in 41 milliseconds