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

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

Completed in 181 milliseconds