Lines Matching full:m1

39     SkMetaData  m1;  in DEF_TEST()  local
41 REPORTER_ASSERT(reporter, !m1.findS32("int")); in DEF_TEST()
42 REPORTER_ASSERT(reporter, !m1.findScalar("scalar")); in DEF_TEST()
43 REPORTER_ASSERT(reporter, !m1.findString("hello")); in DEF_TEST()
44 REPORTER_ASSERT(reporter, !m1.removeS32("int")); in DEF_TEST()
45 REPORTER_ASSERT(reporter, !m1.removeScalar("scalar")); in DEF_TEST()
46 REPORTER_ASSERT(reporter, !m1.removeString("hello")); in DEF_TEST()
47 REPORTER_ASSERT(reporter, !m1.removeString("true")); in DEF_TEST()
48 REPORTER_ASSERT(reporter, !m1.removeString("false")); in DEF_TEST()
50 m1.setS32("int", 12345); in DEF_TEST()
51 m1.setScalar("scalar", SK_Scalar1 * 42); in DEF_TEST()
52 m1.setString("hello", "world"); in DEF_TEST()
53 m1.setPtr("ptr", &m1); in DEF_TEST()
54 m1.setBool("true", true); in DEF_TEST()
55 m1.setBool("false", false); in DEF_TEST()
60 m1.setScalar("scalar", SK_Scalar1/2); in DEF_TEST()
62 REPORTER_ASSERT(reporter, m1.findS32("int", &n) && n == 12345); in DEF_TEST()
63 REPORTER_ASSERT(reporter, m1.findScalar("scalar", &s) && s == SK_Scalar1/2); in DEF_TEST()
64 REPORTER_ASSERT(reporter, !strcmp(m1.findString("hello"), "world")); in DEF_TEST()
65 REPORTER_ASSERT(reporter, m1.hasBool("true", true)); in DEF_TEST()
66 REPORTER_ASSERT(reporter, m1.hasBool("false", false)); in DEF_TEST()
68 SkMetaData::Iter iter(m1); in DEF_TEST()
104 REPORTER_ASSERT(reporter, m1.removeS32("int")); in DEF_TEST()
105 REPORTER_ASSERT(reporter, m1.removeScalar("scalar")); in DEF_TEST()
106 REPORTER_ASSERT(reporter, m1.removeString("hello")); in DEF_TEST()
107 REPORTER_ASSERT(reporter, m1.removeBool("true")); in DEF_TEST()
108 REPORTER_ASSERT(reporter, m1.removeBool("false")); in DEF_TEST()
110 REPORTER_ASSERT(reporter, !m1.findS32("int")); in DEF_TEST()
111 REPORTER_ASSERT(reporter, !m1.findScalar("scalar")); in DEF_TEST()
112 REPORTER_ASSERT(reporter, !m1.findString("hello")); in DEF_TEST()
113 REPORTER_ASSERT(reporter, !m1.findBool("true")); in DEF_TEST()
114 REPORTER_ASSERT(reporter, !m1.findBool("false")); in DEF_TEST()