Home | History | Annotate | Download | only in tests

Lines Matching full:assert_eq

38   ASSERT_EQ(0U, __fbufsize(fp));
43 ASSERT_EQ(1024U, __fbufsize(fp));
45 ASSERT_EQ(0, setvbuf(fp, buf, _IOFBF, 1));
46 ASSERT_EQ(1U, __fbufsize(fp));
48 ASSERT_EQ(0, setvbuf(fp, buf, _IOFBF, 8));
49 ASSERT_EQ(8U, __fbufsize(fp));
60 ASSERT_EQ(0, setvbuf(fp, buf, _IOLBF, sizeof(buf)));
69 ASSERT_EQ(0U, __fpending(fp));
70 ASSERT_EQ('x', fputc('x', fp));
71 ASSERT_EQ(1U, __fpending(fp));
72 ASSERT_EQ('y', fputc('y', fp));
73 ASSERT_EQ(2U, __fpending(fp));
75 ASSERT_EQ(0U, __fpending(fp));
82 ASSERT_EQ('a', fputc('a', fp));
83 ASSERT_EQ(1U, __fpending(fp));
85 ASSERT_EQ(0U, __fpending(fp));
87 ASSERT_EQ('b', fputc('b', fp));
88 ASSERT_EQ('\n', fputc('\n', fp));
89 ASSERT_EQ(2U, __fpending(fp));
105 ASSERT_EQ(0, setvbuf(fp, buf, _IOLBF, sizeof(buf)));
107 ASSERT_EQ('a', fputc('a', fp));
108 ASSERT_EQ(1U, __fpending(fp));
112 ASSERT_EQ(0U, __fpending(fp));
136 ASSERT_EQ(FSETLOCKING_INTERNAL, __fsetlocking(fp, FSETLOCKING_QUERY));
137 ASSERT_EQ(FSETLOCKING_INTERNAL, __fsetlocking(fp, FSETLOCKING_BYCALLER));
138 ASSERT_EQ(FSETLOCKING_BYCALLER, __fsetlocking(fp, FSETLOCKING_QUERY));
139 ASSERT_EQ(FSETLOCKING_BYCALLER, __fsetlocking(fp, FSETLOCKING_INTERNAL));
140 ASSERT_EQ(FSETLOCKING_INTERNAL, __fsetlocking(fp, FSETLOCKING_QUERY));