HomeSort by relevance Sort by last modified time
    Searched refs:policy_file (Results 1 - 25 of 25) sorted by null

  /external/libsepol/include/sepol/policydb/
avtab.h 101 struct policy_file;
102 extern int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a,
106 extern int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers);
policydb.h 642 typedef struct policy_file { struct
655 struct policy_file pf;
660 extern int policydb_read(policydb_t * p, struct policy_file *fp,
663 struct policy_file *fp);
665 extern int policydb_write(struct policydb *p, struct policy_file *pf);
conditional.h 129 extern int cond_read_bool(policydb_t * p, hashtab_t h, struct policy_file *fp);
  /external/libsepol/tests/
test-downgrade.c 206 struct policy_file f;
218 memset(&f, 0, sizeof(struct policy_file));
243 struct policy_file f;
264 memset(&f, 0, sizeof(struct policy_file));
  /external/libsepol/src/
private.h 62 extern int next_entry(void *buf, struct policy_file *fp, size_t bytes) hidden;
64 struct policy_file *fp) hidden;
policydb_public.c 20 struct policy_file *pf = &spf->pf;
34 struct policy_file *pf = &spf->pf;
42 struct policy_file *pf = &spf->pf;
write.c 49 struct policy_file *fp;
53 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp);
55 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp)
100 avtab_ptr_t cur, struct policy_file *fp,
240 static int avtab_write(struct policydb *p, avtab_t * a, struct policy_file *fp)
316 struct policy_file *fp)
347 struct policy_file *fp)
364 static int mls_write_level(mls_level_t * l, struct policy_file *fp)
384 static int mls_write_range_helper(mls_range_t * r, struct policy_file *fp)
417 struct policy_file *fp = pd->fp
    [all...]
policydb.c     [all...]
genbools.c 152 struct policy_file pf;
213 struct policy_file pf;
module.c 39 static int policy_file_seek(struct policy_file *fp, size_t offset)
62 static int policy_file_length(struct policy_file *fp, size_t *out)
346 static int read_helper(char *buf, struct policy_file *file, uint32_t bytes)
373 struct policy_file *file,
466 struct policy_file *file = &spf->pf;
651 struct policy_file *file = &spf->pf;
853 static int write_helper(char *data, size_t len, struct policy_file *file)
876 struct policy_file *file = &spf->pf;
avtab.c 369 int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a,
490 int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers)
services.c 137 struct policy_file pf;
    [all...]
conditional.c 569 struct policy_file *fp)
  /external/chromium_org/components/policy/core/common/cloud/
user_cloud_policy_store_unittest.cc 42 new UserCloudPolicyStore(policy_file(), loop_.message_loop_proxy()));
62 base::FilePath policy_file() { function in class:policy::__anon7487::UserCloudPolicyStoreTest
118 ASSERT_TRUE(base::CreateDirectory(policy_file().DirName()));
121 ASSERT_EQ(size, file_util::WriteFile(policy_file(),
151 ASSERT_TRUE(base::CreateDirectory(policy_file().DirName()));
154 ASSERT_EQ(size, file_util::WriteFile(policy_file(),
204 ASSERT_TRUE(base::PathExists(policy_file()));
213 ASSERT_TRUE(!base::PathExists(policy_file()));
267 new UserCloudPolicyStore(policy_file(), loop_.message_loop_proxy()));
293 new UserCloudPolicyStore(policy_file(), loop_.message_loop_proxy()))
    [all...]
user_cloud_policy_store.h 31 const base::FilePath& policy_file,
  /external/chromium/chrome/browser/chromeos/
plugin_selection_policy.h 69 bool InitFromFile(const FilePath& policy_file);
plugin_selection_policy.cc 52 bool PluginSelectionPolicy::InitFromFile(const FilePath& policy_file) {
59 if (!file_util::ReadFileToString(policy_file, &data)) {
61 << policy_file.value() << "\".";
plugin_selection_policy_unittest.cc 88 FilePath policy_file = GetPolicyPath(name); local
89 size_t bytes_written = file_util::WriteFile(policy_file,
93 *path = policy_file;
99 FilePath policy_file(temp_dir_.path());
100 return policy_file.Append(FilePath(name));
  /external/sepolicy/tools/
check_seapp.c 119 FILE *policy_file; /** file handle to the policy file */ member in struct:policy_info
146 .policy_file = NULL,
279 if (!pol.policy_file) {
605 pol.policy_file = fopen(pol.policy_file_name, "rb");
606 if (!pol.policy_file) {
625 sepol_policy_file_set_fp(pol.pf, pol.policy_file);
971 if (pol.policy_file) {
974 fclose(pol.policy_file);
  /external/chromium_org/chrome/browser/chromeos/policy/
user_cloud_policy_store_chromeos_unittest.cc 72 policy_file()));
219 base::FilePath policy_file() { function in class:policy::__anon4461::UserCloudPolicyStoreChromeOSTest
408 ASSERT_NE(-1, file_util::WriteFile(policy_file(), data.c_str(), data.size()));
435 ASSERT_NE(-1, file_util::WriteFile(policy_file(), data.c_str(), data.size()));
485 ASSERT_NE(-1, file_util::WriteFile(policy_file(), data.c_str(), data.size()));
501 EXPECT_TRUE(base::PathExists(policy_file()));
515 EXPECT_FALSE(base::PathExists(policy_file()));
  /external/checkpolicy/
checkmodule.c 55 struct policy_file f, *fp;
114 struct policy_file pf;
checkpolicy.c 398 struct policy_file pf;
  /external/chromium_org/chrome/browser/policy/test/
local_policy_test_server.cc 128 base::FilePath policy_file = server_data_dir_.path().AppendASCII( local
131 return file_util::WriteFile(policy_file, policy.c_str(), policy.size()) ==
  /external/checkpolicy/test/
dispol.c 404 struct policy_file pf;
dismod.c 703 struct policy_file f;

Completed in 214 milliseconds