Searched refs:AddStringMatch (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/sandbox/win/src/ |
D | policy_low_level_unittest.cc | 22 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 …]
|
D | filesystem_policy.cc | 140 (!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()
|
D | registry_policy.cc | 154 if (!create.AddStringMatch(IF, OpenKey::NAME, name, CASE_INSENSITIVE) || in GenerateRules() 159 if (!open.AddStringMatch(IF, OpenKey::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
|
D | sync_policy.cc | 152 if (!open.AddStringMatch(IF, OpenEventParams::NAME, name, CASE_INSENSITIVE)) in GenerateRules() 169 if (!create.AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) in GenerateRules()
|
D | handle_policy.cc | 44 if (!duplicate_rule.AddStringMatch(IF, HandleTarget::NAME, type_name, in GenerateRules()
|
D | named_pipe_policy.cc | 52 if (!pipe.AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) { in GenerateRules()
|
D | policy_low_level.h | 140 bool AddStringMatch(RuleType rule_type, int16 parameter,
|
D | process_thread_policy.cc | 94 if (!process->AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) { in GenerateRules()
|
D | policy_low_level.cc | 217 bool PolicyRule::AddStringMatch(RuleType rule_type, int16 parameter, in AddStringMatch() function in sandbox::PolicyRule
|