/external/pdfium/fpdfsdk/src/ |
fpdfsave_embeddertest.cpp | 21 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); 28 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.4\r\n")); 35 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); 39 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); 43 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); 49 EXPECT_THAT(GetString(), testing::HasSubstr("0000000000 65535 f\r\n")); 50 EXPECT_THAT(GetString(),
|
fpdfedit_embeddertest.cpp | 20 EXPECT_THAT(GetString(),
|
/external/v8/test/unittests/compiler/ |
diamond-unittest.cc | 28 EXPECT_THAT(d.branch, IsBranch(p, graph()->start())); 29 EXPECT_THAT(d.if_true, IsIfTrue(d.branch)); 30 EXPECT_THAT(d.if_false, IsIfFalse(d.branch)); 31 EXPECT_THAT(d.merge, IsMerge(d.if_true, d.if_false)); 41 EXPECT_THAT(d1.branch, IsBranch(p1, d0.merge)); 42 EXPECT_THAT(d0.branch, IsBranch(p0, graph()->start())); 51 EXPECT_THAT(d1.branch, IsBranch(p1, other)); 66 EXPECT_THAT(d[i].branch, IsBranch(params[i], d[i - 1].merge)); 79 EXPECT_THAT(d0.branch, IsBranch(p0, graph()->start())); 80 EXPECT_THAT(d0.if_true, IsIfTrue(d0.branch)) [all...] |
liveness-analyzer-unittest.cc | 196 EXPECT_THAT(c1, IsCheckpointModuloLiveness("....")); 209 EXPECT_THAT(c1, IsCheckpointModuloLiveness(".L..")); 210 EXPECT_THAT(c2, IsCheckpointModuloLiveness("....")); 250 EXPECT_THAT(c1_start, IsCheckpointModuloLiveness("LLLL")); 252 EXPECT_THAT(c1_b1, IsCheckpointModuloLiveness("LL.L")); 253 EXPECT_THAT(c2_b1, IsCheckpointModuloLiveness("L..L")); 254 EXPECT_THAT(c3_b1, IsCheckpointModuloLiveness("L...")); 256 EXPECT_THAT(c1_b2, IsCheckpointModuloLiveness("L.LL")); 257 EXPECT_THAT(c2_b2, IsCheckpointModuloLiveness("L.L.")); 258 EXPECT_THAT(c3_b2, IsCheckpointModuloLiveness("L...")) [all...] |
loop-peeling-unittest.cc | 157 EXPECT_THAT(br1, IsBranch(p0, start())); 158 EXPECT_THAT(if_true1, IsIfTrue(br1)); 159 EXPECT_THAT(if_false1, IsIfFalse(br1)); 161 EXPECT_THAT(w.loop, IsLoop(if_true1, w.if_true)); 162 EXPECT_THAT(r, IsReturn(p0, start(), IsMerge(w.exit, if_false1))); 178 EXPECT_THAT(br1, IsBranch(p0, start())); 179 EXPECT_THAT(if_true1, IsIfTrue(br1)); 180 EXPECT_THAT(if_false1, IsIfFalse(br1)); 181 EXPECT_THAT(w.loop, IsLoop(if_true1, w.if_true)); 183 EXPECT_THAT(peeled->map(c.add), IsInt32Add(c.base, c.inc)) [all...] |
graph-trimmer-unittest.cc | 59 EXPECT_THAT(dead0->inputs(), ElementsAre(nullptr)); 60 EXPECT_THAT(graph()->start()->uses(), ElementsAre(graph()->end())); 69 EXPECT_THAT(dead0->inputs(), ElementsAre(nullptr)); 70 EXPECT_THAT(graph()->start()->uses(), ElementsAre(live0)); 71 EXPECT_THAT(live0->uses(), ElementsAre(graph()->end())); 80 EXPECT_THAT(graph()->start()->uses(), UnorderedElementsAre(live0, live1));
|
node-unittest.cc | 51 EXPECT_THAT(n0->uses(), UnorderedElementsAre(n1)); 58 EXPECT_THAT(n0->uses(), UnorderedElementsAre(n1, n2)); 59 EXPECT_THAT(n1->uses(), UnorderedElementsAre(n2)); 75 EXPECT_THAT(n1->inputs(), ElementsAre(n0)); 84 EXPECT_THAT(n2->inputs(), ElementsAre(n0, n1)); 97 EXPECT_THAT(n0->uses(), ElementsAre(n1)); 106 EXPECT_THAT(n0->uses(), UnorderedElementsAre(n1, n2)); 158 EXPECT_THAT(node->inputs(), ElementsAre(n0)); 160 EXPECT_THAT(node->inputs(), ElementsAre(n0, n1)); 162 EXPECT_THAT(node->inputs(), ElementsAre(n0, n1, n0)) [all...] |
simplified-operator-reducer-unittest.cc | 140 EXPECT_THAT(reduction0.replacement(), IsTrueConstant()); 148 EXPECT_THAT(reduction1.replacement(), IsFalseConstant()); 170 EXPECT_THAT(reduction.replacement(), IsFalseConstant()); 178 EXPECT_THAT(reduction.replacement(), IsTrueConstant()); 190 EXPECT_THAT(reduction.replacement(), IsInt32Constant(0)); 198 EXPECT_THAT(reduction.replacement(), IsInt32Constant(1)); 221 EXPECT_THAT(reduction.replacement(), IsNumberConstant(BitEq(n))); 235 EXPECT_THAT(reduction.replacement(), IsNumberConstant(BitEq(FastI2D(n)))); 262 EXPECT_THAT(reduction.replacement(), IsChangeInt32ToFloat64(param0)); 273 EXPECT_THAT(reduction.replacement(), IsChangeUint32ToFloat64(param0)) [all...] |
select-lowering-unittest.cc | 45 EXPECT_THAT( 58 EXPECT_THAT(r.replacement(), IsPhi(MachineRepresentation::kWord32, p3, p4, 67 EXPECT_THAT(r.replacement(), IsPhi(MachineRepresentation::kWord32, s0, p0,
|
machine-operator-reducer-unittest.cc | 275 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(BitEq<double>(x))); 300 EXPECT_THAT(reduction.replacement(), IsInt32Constant(x)); 325 EXPECT_THAT(reduction.replacement(), IsInt32Constant(bit_cast<int32_t>(x))); 339 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(BitEq(FastI2D(x)))); 353 EXPECT_THAT(reduction.replacement(), IsInt64Constant(x)); 368 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(BitEq(FastUI2D(x)))); 383 EXPECT_THAT(reduction.replacement(), 409 EXPECT_THAT(reduction.replacement(), 438 EXPECT_THAT(reduction.replacement(), IsInt32Constant(DoubleToInt32(x))); 453 EXPECT_THAT( [all...] |
js-type-feedback-unittest.cc | 135 EXPECT_THAT(r.replacement(), IsNumberConstant(kValue)); 137 EXPECT_THAT(ret, IsReturn(IsNumberConstant(kValue), graph()->start(), 139 EXPECT_THAT(graph()->end(), IsEnd(ret)); 179 EXPECT_THAT(r.replacement(), IsNumberConstant(kValue)); 181 EXPECT_THAT(ret, IsReturn(IsNumberConstant(kValue), graph()->start(), 183 EXPECT_THAT(graph()->end(), IsEnd(ret)); 221 EXPECT_THAT(r.replacement(), IsHeapConstant(kValue)); 223 EXPECT_THAT(ret, IsReturn(IsHeapConstant(kValue), graph()->start(), 225 EXPECT_THAT(graph()->end(), IsEnd(ret)); 268 EXPECT_THAT(r.replacement(), load_field_match) [all...] |
schedule-unittest.cc | 105 EXPECT_THAT(*start, ElementsAre(node0)); 111 EXPECT_THAT(*start, ElementsAre(node0, node1)); 128 EXPECT_THAT(start->successors(), ElementsAre(block)); 133 EXPECT_THAT(block->predecessors(), ElementsAre(start)); 155 EXPECT_THAT(start->successors(), ElementsAre(sblock, eblock)); 160 EXPECT_THAT(sblock->predecessors(), ElementsAre(start)); 165 EXPECT_THAT(eblock->predecessors(), ElementsAre(start)); 184 EXPECT_THAT(start->successors(), ElementsAre(tblock, fblock)); 189 EXPECT_THAT(tblock->predecessors(), ElementsAre(start)); 194 EXPECT_THAT(fblock->predecessors(), ElementsAre(start)) [all...] |
interpreter-assembler-unittest.cc | 209 EXPECT_THAT( 248 EXPECT_THAT( 291 EXPECT_THAT( 321 EXPECT_THAT( 342 EXPECT_THAT(m.BytecodeOperandCount(i), m.IsBytecodeOperand(offset)); 345 EXPECT_THAT(m.BytecodeOperandIdx(i), m.IsBytecodeOperand(offset)); 348 EXPECT_THAT(m.BytecodeOperandImm(i), 354 EXPECT_THAT(m.BytecodeOperandReg(i), 358 EXPECT_THAT(m.BytecodeOperandCount(i), 362 EXPECT_THAT(m.BytecodeOperandIdx(i) [all...] |
node-properties-unittest.cc | 67 EXPECT_THAT(r_value->uses(), ElementsAre(use_value)); 68 EXPECT_THAT(r_effect->uses(), ElementsAre(use_effect)); 69 EXPECT_THAT(r_success->uses(), ElementsAre(use_success)); 70 EXPECT_THAT(r_exception->uses(), ElementsAre(use_exception)); 81 EXPECT_THAT(NodeProperties::FindProjection(start, 2), IsNull()); 82 EXPECT_THAT(NodeProperties::FindProjection(start, 1234567890), IsNull()); 118 EXPECT_THAT(result[0], AnyOf(if_value1, if_value2)); 119 EXPECT_THAT(result[1], AnyOf(if_value1, if_value2));
|
dead-code-elimination-unittest.cc | 65 EXPECT_THAT(r.replacement(), IsDead()); 81 EXPECT_THAT(r.replacement(), IsDead()); 94 EXPECT_THAT(r.replacement(), IsDead()); 106 EXPECT_THAT(r.replacement(), IsDead()); 118 EXPECT_THAT(r.replacement(), IsDead()); 134 EXPECT_THAT(r.replacement(), IsDead()); 148 EXPECT_THAT(r.replacement(), IsEnd(start)); 161 EXPECT_THAT(r.replacement(), IsDead()); 179 EXPECT_THAT(r.replacement(), IsDead()); 229 EXPECT_THAT(r.replacement(), IsMerge(c0, c3)) [all...] |
/external/gmock/test/ |
gmock-generated-matchers_test.cc | 115 EXPECT_THAT(t, Args<>(Eq(tuple<>()))); 116 EXPECT_THAT(t, Not(Args<>(Ne(tuple<>())))); 121 EXPECT_THAT(t, Args<0>(Eq(make_tuple(5)))); 122 EXPECT_THAT(t, Args<1>(Eq(make_tuple(true)))); 123 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false))))); 129 EXPECT_THAT(t, (Args<0, 1>(Lt()))); 130 EXPECT_THAT(t, (Args<1, 2>(Lt()))); 131 EXPECT_THAT(t, Not(Args<0, 2>(Gt()))); 136 EXPECT_THAT(t, (Args<0, 0>(Eq()))); 137 EXPECT_THAT(t, Not(Args<1, 1>(Ne()))) [all...] |
gmock_ex_test.cc | 72 EXPECT_THAT(ex.what(), HasSubstr("has no default value"));
|
gmock-matchers_test.cc | 745 EXPECT_THAT(&base, A<Base*>()); 746 // This shouldn't compile: EXPECT_THAT(&base, A<Derived*>()); 747 EXPECT_THAT(&derived, A<Base*>()); 748 EXPECT_THAT(&derived, A<Derived*>()); [all...] |
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
voe_base_misc_test.cc | 24 EXPECT_THAT(char_buffer, ContainsRegex("VoiceEngine"));
|
/external/google-breakpad/src/testing/test/ |
gmock-generated-matchers_test.cc | 110 EXPECT_THAT(t, Args<>(Eq(tuple<>()))); 111 EXPECT_THAT(t, Not(Args<>(Ne(tuple<>())))); 116 EXPECT_THAT(t, Args<0>(Eq(make_tuple(5)))); 117 EXPECT_THAT(t, Args<1>(Eq(make_tuple(true)))); 118 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false))))); 124 EXPECT_THAT(t, (Args<0, 1>(Lt()))); 125 EXPECT_THAT(t, (Args<1, 2>(Lt()))); 126 EXPECT_THAT(t, Not(Args<0, 2>(Gt()))); 131 EXPECT_THAT(t, (Args<0, 0>(Eq()))); 132 EXPECT_THAT(t, Not(Args<1, 1>(Ne()))) [all...] |
/external/v8/test/unittests/libplatform/ |
task-queue-unittest.cc | 29 void Run() override { EXPECT_THAT(queue_->GetNext(), IsNull()); } 44 EXPECT_THAT(queue.GetNext(), IsNull());
|
/system/core/bootstat/ |
event_log_list_builder_test.cpp | 40 EXPECT_THAT(std::vector<uint8_t>(log_data, log_data + size), 62 EXPECT_THAT(std::vector<uint8_t>(log_data, log_data + size), 85 EXPECT_THAT(std::vector<uint8_t>(log_data, log_data + size), 111 EXPECT_THAT(std::vector<uint8_t>(log_data, log_data + size),
|
/system/connectivity/shill/wifi/ |
scan_session_unittest.cc | 147 EXPECT_THAT(result, ContainerEq(expected)); 156 EXPECT_THAT(result, ContainerEq(expected)); 166 EXPECT_THAT(result, ContainerEq(expected)); 180 EXPECT_THAT(result, ContainerEq(expected)); 188 EXPECT_THAT(result, ContainerEq(expected)); 200 EXPECT_THAT(result, ContainerEq(expected)); 215 EXPECT_THAT(result, ContainerEq(expected)); 223 EXPECT_THAT(result, ContainerEq(expected)); 235 EXPECT_THAT(result, ContainerEq(expected)); 250 EXPECT_THAT(result, ContainerEq(expected)) [all...] |
/external/ceres-solver/internal/ceres/ |
rotation_test.cc | 63 // EXPECT_THAT(quaternion, IsNormalizedQuaternion()); 83 // EXPECT_THAT(actual_quaternion, IsNearQuaternion(expected_quaternion)); 132 // EXPECT_THAT(actual_axis_angle, IsNearAngleAxis(expected_axis_angle)); 151 // EXPECT_THAT(matrix, IsOrthonormal()); 180 // EXPECT_THAT(matrix1, IsNear3x3Matrix(matrix2)); 203 EXPECT_THAT(quaternion, IsNormalizedQuaternion()); 204 EXPECT_THAT(quaternion, IsNearQuaternion(expected)); 215 EXPECT_THAT(quaternion, IsNormalizedQuaternion()); 216 EXPECT_THAT(quaternion, IsNearQuaternion(expected)); 227 EXPECT_THAT(quaternion, IsNormalizedQuaternion()) [all...] |
/external/libchrome/base/strings/ |
string_split_unittest.cc | 156 EXPECT_THAT(results, ElementsAre("")); 237 EXPECT_THAT(results, ElementsAre("alongwordwithnodelimiter")); 247 EXPECT_THAT(results, ElementsAre("", "", "", "one", "two", "three")); 257 EXPECT_THAT(results, ElementsAre("uno", "", "", "dos", "tres", "", "cuatro")); 267 EXPECT_THAT( 276 EXPECT_THAT(results, ElementsAre("alongwordwithnodelimiter")); 284 EXPECT_THAT(results, ElementsAre("", "", "", "one", "two", "three")); 292 EXPECT_THAT(results, ElementsAre("uno", "", "", "dos", "tres", "", "cuatro")); 300 EXPECT_THAT(results, 309 EXPECT_THAT(results, ElementsAre("un ", "deux\t", "trois\n", "quatre")) [all...] |