Home
last modified time | relevance | path

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

/external/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.c203 role_datum_t *declare_role(unsigned char isattr) in declare_role() argument
220 role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in declare_role()
257 dest_role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in declare_role()
307 type_datum_t *declare_type(unsigned char primary, unsigned char isattr) in declare_type() argument
334 typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in declare_type()
514 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr) in get_local_type() argument
534 dest_typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in get_local_type()
545 if (dest_typdatum->flavor != isattr ? TYPE_ATTRIB : TYPE_TYPE) { in get_local_type()
560 role_datum_t *get_local_role(char *id, uint32_t value, unsigned char isattr) in get_local_role() argument
584 dest_roledatum->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE; in get_local_role()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
Dxmlnsstack.cc93 bool isattr) { in PrefixForNs() argument
98 if (isattr ? ns == STR_EMPTY : PrefixMatchesNs(STR_EMPTY, ns)) in PrefixForNs()
105 (!isattr || !pos->empty()) && PrefixMatchesNs(*pos, ns)) in PrefixForNs()
/external/chromium/third_party/libjingle/source/talk/xmllite/
Dxmlnsstack.cc98 XmlnsStack::PrefixForNs(const std::string & ns, bool isattr) { in PrefixForNs() argument
103 if (isattr ? ns == STR_EMPTY : PrefixMatchesNs(STR_EMPTY, ns)) in PrefixForNs()
110 (!isattr || !pos->empty()) && PrefixMatchesNs(*pos, ns)) in PrefixForNs()