Home
last modified time | relevance | path

Searched refs:contextBuff (Results 1 – 2 of 2) sorted by relevance

/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dservice_checker.cpp140 struct ServiceInfo contextBuff = {"", ""}; in DecodeString() local
143 contextBuff.serviceName = name; in DecodeString()
148 contextBuff.serviceContext = context; in DecodeString()
151 return contextBuff; in DecodeString()
Dhap_restorecon.cpp97 struct SehapInfo contextBuff; in DecodeString() local
106 contextBuff.apl = tmp.substr(tmp.find(APL_PREFIX) + APL_PREFIX.size()); in DecodeString()
109 contextBuff.name = tmp.substr(tmp.find(NAME_PREFIX) + NAME_PREFIX.size()); in DecodeString()
112 contextBuff.domain = tmp.substr(tmp.find(DOMAIN_PREFIX) + DOMAIN_PREFIX.size()); in DecodeString()
115 contextBuff.type = tmp.substr(tmp.find(TYPE_PREFIX) + TYPE_PREFIX.size()); in DecodeString()
119 contextBuff.debuggable = !strcmp(debuggable.c_str(), "true"); in DecodeString()
123 return contextBuff; in DecodeString()