Home | History | Annotate | Download | only in cctest

Lines Matching refs:CHECK_EQ

33   CHECK_EQ(ref_buffer->length(),
44 // Helper function used by CHECK_EQ to compare Vectors. Templatized to
53 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n"
63 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n"
79 CHECK_EQ(32, dynabuf.Read(0, buf.start(), buf.length()));
80 CHECK_EQ(32, ReadData(&dynabuf, 0, &buf));
81 CHECK_EQ(ref_buf, buf);
84 CHECK_EQ(0, dynabuf.Read(32, buf.start(), buf.length()));
85 CHECK_EQ(0, dynabuf.Write(buf.start(), buf.length()));
93 CHECK_EQ(48, dynabuf.Write(ref_buf.start(), ref_buf.length()));
95 CHECK_EQ(0, dynabuf.Write(ref_buf.start(), ref_buf.length()));
97 CHECK_EQ(48, ReadData(&dynabuf, 0, &buf));
98 CHECK_EQ(ref_buf, buf);
99 CHECK_EQ(48, ReadData(&dynabuf, 48, &buf));
100 CHECK_EQ(ref_buf, buf);
101 CHECK_EQ(0, ReadData(&dynabuf, 48 * 2, &buf));
110 CHECK_EQ(128, ReadData(&dynabuf, 0, &buf));
111 CHECK_EQ(ref_buf, buf);
114 CHECK_EQ(32, ReadData(&dynabuf, 128 - 32, &tail_buf));
115 CHECK_EQ(ref_buf.SubVector(128 - 32, 128), tail_buf.SubVector(0, 32));
126 CHECK_EQ(0, dynabuf.Write(ref_buf.start(), 128 - 100 - seal_size + 1));
128 CHECK_EQ(0, dynabuf.Write(ref_buf.start(), 1));
130 CHECK_EQ(100, ReadData(&dynabuf, 0, &buf));
131 CHECK_EQ(ref_buf, buf);
134 CHECK_EQ(seal_size, ReadData(&dynabuf, 100, &seal_buf));
135 CHECK_EQ(CStrVector(seal), seal_buf.SubVector(0, seal_size));
137 CHECK_EQ(0, ReadData(&dynabuf, 100 + seal_size, &buf));