Lines Matching refs:dst
92 char* dst = buf; variable
95 size_t rb = fread(dst, 1, 5, stdin); // read first 5
97 dst += rb;
99 rb = fread(dst, 1, 6, stdin); // ask for 6
103 dst += rb;
105 rb = fread(dst, 1, 2, stdin); // any more characters?
111 rb = fread(dst, 1, 2, stdin); // try to get somthing
116 rb = fread(dst, 1, 2, stdin); // try again
118 TEST_ASSERT_EQUAL_UINT8_ARRAY("\r1", dst, 2);
119 dst += rb;
124 rb = fread(dst, 1, 4, stdin); // consume "23\r\n"
126 TEST_ASSERT_EQUAL_UINT8_ARRAY("23\r\n", dst, 4);
127 dst += rb;
129 rb = fread(dst, 1, 4, stdin); // ask for more than the remainder
131 TEST_ASSERT_EQUAL_UINT8_ARRAY("4\n", dst, 2);