Searched refs:opcode_maker (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/sandbox/win/src/ |
D | policy_opcodes_unittest.cc | 85 OpcodeFactory opcode_maker(memory, sizeof(memory)); in TEST() local 88 PolicyOpcode* op1 = opcode_maker.MakeOpAlwaysFalse(kPolNone); in TEST() 93 PolicyOpcode* op2 = opcode_maker.MakeOpAlwaysTrue(kPolNone); in TEST() 107 PolicyOpcode* op3 = opcode_maker.MakeOpAlwaysFalse(kPolNegateEval); in TEST() 109 PolicyOpcode* op4 = opcode_maker.MakeOpAlwaysTrue(kPolNegateEval); in TEST() 113 PolicyOpcode* op5 = opcode_maker.MakeOpAlwaysTrue(kPolClearContext); in TEST() 130 OpcodeFactory opcode_maker(memory, sizeof(memory)); in TEST() local 134 PolicyOpcode* op = opcode_maker.MakeOpAlwaysFalse(kPolNone); in TEST() 139 PolicyOpcode* op1 = opcode_maker.MakeOpAlwaysFalse(kPolNone); in TEST() 156 OpcodeFactory opcode_maker(memory, sizeof(memory)); in TEST() local [all …]
|
D | policy_engine_unittest.cc | 43 OpcodeFactory opcode_maker(policy, policy_sz - 0x40); in TEST() local 46 opcode_maker.MakeOpWStringMatch(FileNameArg, in TEST() 49 opcode_maker.MakeOpNumberMatch(CreationDispositionArg, OPEN_EXISTING, in TEST() 51 opcode_maker.MakeOpVoidPtrMatch(SecurityAttributes, (void*)NULL, in TEST() 53 opcode_maker.MakeOpAction(ASK_BROKER, kPolNone); in TEST() 56 opcode_maker.MakeOpWStringMatch(FileNameArg, L".TXT", in TEST() 58 opcode_maker.MakeOpNumberMatch(CreationDispositionArg, CREATE_NEW, in TEST() 60 opcode_maker.MakeOpAction(FAKE_ACCESS_DENIED, kPolNone); in TEST()
|