Lines Matching defs:read
6 /*! Tests if the read functions of a file system work correctly by reading
16 read numbers wouldn't be correctly compared).
81 fprintf(stderr, "no memory to create read buffer.\n");
89 // we are lazy tester, minimum read size is 4 bytes
99 printf(" Could not read %ld bytes at offset %lld: %s\n",
102 printf(" Could only read %ld bytes instead of %ld at offset %lld\n",
114 test_t read = *(test_t *)(buffer - partial);
119 correct = (num & 0xffffff00) == (read & 0xffffff00);
122 correct = (num & 0xffff0000) == (read & 0xffff0000);
125 correct = (num & 0xff000000) == (read & 0xff000000);
131 bufferPos, partial, num, read);
158 uint32 read = *numBuffer;
163 correct = (num & 0x00ffffff) == (read & 0x00ffffff);
166 correct = (num & 0x0000ffff) == (read & 0x0000ffff);
169 correct = (num & 0x000000ff) == (read & 0x000000ff);
175 bufferPos, partial, num, read);