Home
last modified time | relevance | path

Searched refs:AddStringMatch (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/sandbox/win/src/
Dpolicy_low_level_unittest.cc22 EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"c:\\adobe\\ver??\\", CASE_SENSITIVE)); in TEST()
23 EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"*.tmp", CASE_SENSITIVE)); in TEST()
24 EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"c:\\*.doc", CASE_SENSITIVE)); in TEST()
25 EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"c:\\windows\\*", CASE_SENSITIVE)); in TEST()
26 EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"d:\\adobe\\acrobat.exe", in TEST()
34 EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"one**two", CASE_SENSITIVE)); in TEST()
35 EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"**three", CASE_SENSITIVE)); in TEST()
36 EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"five?six*?seven", CASE_SENSITIVE)); in TEST()
37 EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"eight?*nine", CASE_SENSITIVE)); in TEST()
55 EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"z:\\Directory\\domo.txt", in TEST()
[all …]
Dfilesystem_policy.cc140 (!create.AddStringMatch(IF, OpenFile::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
146 (!open.AddStringMatch(IF, OpenFile::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
152 (!query.AddStringMatch(IF, FileName::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
158 (!query_full.AddStringMatch(IF, FileName::NAME, name, CASE_INSENSITIVE) in GenerateRules()
165 (!rename.AddStringMatch(IF, FileName::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
188 rv &= format.AddStringMatch(IF_NOT, FileName::NAME, L"\\/?/?\\*", in SetInitialRules()
192 rv &= short_name.AddStringMatch(IF, FileName::NAME, L"*~*", CASE_SENSITIVE); in SetInitialRules()
Dregistry_policy.cc154 if (!create.AddStringMatch(IF, OpenKey::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
159 if (!open.AddStringMatch(IF, OpenKey::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
Dsync_policy.cc152 if (!open.AddStringMatch(IF, OpenEventParams::NAME, name, CASE_INSENSITIVE)) in GenerateRules()
169 if (!create.AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) in GenerateRules()
Dhandle_policy.cc44 if (!duplicate_rule.AddStringMatch(IF, HandleTarget::NAME, type_name, in GenerateRules()
Dnamed_pipe_policy.cc52 if (!pipe.AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) { in GenerateRules()
Dpolicy_low_level.h140 bool AddStringMatch(RuleType rule_type, int16 parameter,
Dprocess_thread_policy.cc94 if (!process->AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) { in GenerateRules()
Dpolicy_low_level.cc217 bool PolicyRule::AddStringMatch(RuleType rule_type, int16 parameter, in AddStringMatch() function in sandbox::PolicyRule