Home
last modified time | relevance | path

Searched refs:isattr (Results 1 – 3 of 3) sorted by relevance

/external/selinux/checkpolicy/
Dmodule_compiler.h33 role_datum_t *declare_role(unsigned char isattr);
34 type_datum_t *declare_type(unsigned char primary, unsigned char isattr);
37 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr);
38 role_datum_t *get_local_role(char *id, uint32_t value, unsigned char isattr);
Dmodule_compiler.c252 static int create_role(uint32_t scope, unsigned char isattr, role_datum_t **role, char **key) in create_role() argument
261 isattr = isattr ? ROLE_ATTRIB : ROLE_ROLE; in create_role()
276 datum->flavor = isattr; in create_role()
295 if (*role && (isattr != (*role)->flavor)) { in create_role()
315 role_datum_t *declare_role(unsigned char isattr) in declare_role() argument
323 ret = create_role(SCOPE_DECL, isattr, &role, &key); in declare_role()
387 static int create_type(uint32_t scope, unsigned char isattr, type_datum_t **type) in create_type() argument
395 isattr = isattr ? TYPE_ATTRIB : TYPE_TYPE; in create_type()
416 datum->flavor = isattr; in create_type()
431 if (*type && (isattr != (*type)->flavor)) { in create_type()
[all …]
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlnsstack.cc76 bool isattr) { in PrefixForNs() argument
81 if (isattr ? ns == STR_EMPTY : PrefixMatchesNs(STR_EMPTY, ns)) in PrefixForNs()
88 (!isattr || !pos->empty()) && PrefixMatchesNs(*pos, ns)) in PrefixForNs()