IF 109 sandbox/win/src/filesystem_policy.cc open.AddNumberMatch(IF, OpenFile::OPTIONS, FILE_DIRECTORY_FILE, AND); IF 110 sandbox/win/src/filesystem_policy.cc create.AddNumberMatch(IF, OpenFile::OPTIONS, FILE_DIRECTORY_FILE, AND); IF 143 sandbox/win/src/filesystem_policy.cc (!create.AddStringMatch(IF, OpenFile::NAME, name, CASE_INSENSITIVE) || IF 149 sandbox/win/src/filesystem_policy.cc (!open.AddStringMatch(IF, OpenFile::NAME, name, CASE_INSENSITIVE) || IF 155 sandbox/win/src/filesystem_policy.cc (!query.AddStringMatch(IF, FileName::NAME, name, CASE_INSENSITIVE) || IF 161 sandbox/win/src/filesystem_policy.cc (!query_full.AddStringMatch(IF, FileName::NAME, name, CASE_INSENSITIVE) IF 168 sandbox/win/src/filesystem_policy.cc (!rename.AddStringMatch(IF, FileName::NAME, name, CASE_INSENSITIVE) || IF 195 sandbox/win/src/filesystem_policy.cc rv &= short_name.AddStringMatch(IF, FileName::NAME, L"*~*", CASE_SENSITIVE); IF 34 sandbox/win/src/handle_policy.cc if (!duplicate_rule.AddNumberMatch(IF, HandleTarget::TARGET, IF 44 sandbox/win/src/handle_policy.cc if (!duplicate_rule.AddStringMatch(IF, HandleTarget::NAME, type_name, IF 52 sandbox/win/src/named_pipe_policy.cc if (!pipe.AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) { IF 22 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"c:\\adobe\\ver??\\", CASE_SENSITIVE)); IF 23 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"*.tmp", CASE_SENSITIVE)); IF 24 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"c:\\*.doc", CASE_SENSITIVE)); IF 25 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"c:\\windows\\*", CASE_SENSITIVE)); IF 26 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"d:\\adobe\\acrobat.exe", IF 34 sandbox/win/src/policy_low_level_unittest.cc EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"one**two", CASE_SENSITIVE)); IF 35 sandbox/win/src/policy_low_level_unittest.cc EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"**three", CASE_SENSITIVE)); IF 36 sandbox/win/src/policy_low_level_unittest.cc EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"five?six*?seven", CASE_SENSITIVE)); IF 37 sandbox/win/src/policy_low_level_unittest.cc EXPECT_FALSE(pr.AddStringMatch(IF, 0, L"eight?*nine", CASE_SENSITIVE)); IF 55 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"z:\\Directory\\domo.txt", IF 199 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddNumberMatch(IF, 1, 24, EQUAL)); IF 245 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddNumberMatch(IF, 1, 24, EQUAL)); IF 248 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddNumberMatch(IF, 2, 66, EQUAL)); IF 318 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddStringMatch(IF, 0, L"c:\\*Microsoft*\\*.txt", IF 321 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr.AddNumberMatch(IF, 2, FILE_ATTRIBUTE_NORMAL, EQUAL)); IF 389 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_pipe.AddStringMatch(IF, 0, L"\\\\/?/?\\Pipe\\Chrome.*", IF 391 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_pipe.AddNumberMatch(IF, 1, OPEN_EXISTING, EQUAL)); IF 392 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_pipe.AddNumberMatch(IF, 2, FILE_ATTRIBUTE_NORMAL, EQUAL)); IF 398 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_dump.AddStringMatch(IF, 0, L"\\\\/?/?\\*\\Crash Reports\\*", IF 400 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_dump.AddNumberMatch(IF, 1, CREATE_ALWAYS, EQUAL)); IF 401 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_dump.AddNumberMatch(IF, 2, FILE_ATTRIBUTE_NORMAL, EQUAL)); IF 407 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_winexe.AddStringMatch(IF, 0, L"\\\\/?/?\\C:\\Windows\\*.exe", IF 409 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_winexe.AddNumberMatch(IF, 2, FILE_ATTRIBUTE_NORMAL, EQUAL)); IF 415 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_adobe.AddStringMatch(IF, 0, L"c:\\adobe\\ver?.?\\", IF 417 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_adobe.AddNumberMatch(IF, 2, FILE_ATTRIBUTE_NORMAL, EQUAL)); IF 423 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_none.AddNumberMatch(IF, 2, FILE_ATTRIBUTE_READONLY, AND)); IF 424 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_none.AddNumberMatch(IF, 2, FILE_ATTRIBUTE_SYSTEM, AND)); IF 579 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(pr_orig.AddStringMatch(IF, 0, L"hello.*", CASE_SENSITIVE)); IF 94 sandbox/win/src/process_thread_policy.cc if (!process->AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) { IF 154 sandbox/win/src/registry_policy.cc if (!create.AddStringMatch(IF, OpenKey::NAME, name, CASE_INSENSITIVE) || IF 159 sandbox/win/src/registry_policy.cc if (!open.AddStringMatch(IF, OpenKey::NAME, name, CASE_INSENSITIVE) || IF 152 sandbox/win/src/sync_policy.cc if (!open.AddStringMatch(IF, OpenEventParams::NAME, name, CASE_INSENSITIVE)) IF 169 sandbox/win/src/sync_policy.cc if (!create.AddStringMatch(IF, NameBased::NAME, name, CASE_INSENSITIVE)) IF 154 third_party/sqlite/src/src/parse.y ifnotexists(A) ::= IF NOT EXISTS. {A = 1;} IF 205 third_party/sqlite/src/src/parse.y REINDEX RENAME CTIME_KW IF IF 380 third_party/sqlite/src/src/parse.y ifexists(A) ::= IF EXISTS. {A = 1;} IF 113 tools/gn/parser.cc case Token::IF: IF 403 tools/gn/parser.cc } else if (LookAhead(Token::IF)) { IF 445 tools/gn/parser.cc Consume(Token::IF, "Expected 'if'"); IF 118 tools/gn/tokenizer.cc type = Token::IF;