Lines Matching refs:TEST_LENGTH
22 const size_t TEST_LENGTH = 512;
41 char data[TEST_LENGTH];
43 for (size_t j = 0; j < TEST_LENGTH; ++j) {
47 file->Write(data, TEST_LENGTH);
61 // m_predefFile, which must be TEST_LENGTH in size and
105 ASSERT_EQUALS(TEST_LENGTH, m_predefFile->GetLength());
137 ASSERT_EQUALS(TEST_LENGTH, m_predefFile->GetLength());
289 for (size_t j = 0; j < TEST_LENGTH + 1 - SIZE; ++j) {
296 ASSERT_EQUALS(TEST_LENGTH, file->GetLength());
300 ASSERT_EQUALS(TEST_LENGTH - i, file->Seek(-(signed)i, wxFromEnd));
342 for (size_t j = 0; j < TEST_LENGTH + 1 - SIZE; ++j) {
345 if ((j + t) < TEST_LENGTH && ((int)j + t) >= 0) {
366 if ((j + t) < TEST_LENGTH && ((int)j + t) >= 0) {
382 ASSERT_EQUALS(TEST_LENGTH, file->GetLength());
398 for (size_t pos = 0; pos < TEST_LENGTH * 2; pos += pos + 1) {
406 for (size_t pos = 0, cur = 0; pos < TEST_LENGTH * 2; pos += ++cur) {
414 for (size_t pos = 0; pos < TEST_LENGTH; pos += pos + 1) {
415 ASSERT_EQUALS(TEST_LENGTH - pos, file->Seek(-(signed)pos, wxFromEnd));
416 ASSERT_EQUALS(TEST_LENGTH - pos, file->GetPosition());