Lines Matching full:1
39 return fwrite(&i, sizeof(i), 1, fp); in write_int32()
44 return fwrite(array, 1, (size_t)arrayBytes, fp); in write_bin()
48 return fread(i, sizeof(*i), 1, fp); in read_int32()
53 return fread(array, 1, (size_t)arrayBytes, fp); in read_bin()
66 // Read random length ([1,MESSAGE_MAX_BYTES]) data to the ring buffer. in test_compress()
68 const int randomLength = (rand() % MESSAGE_MAX_BYTES) + 1; in test_compress()
105 if(r0 != 1 || cmpBytes <= 0) in test_decompress()
135 size_t result = 1; in compare()
140 const size_t r0 = fread(b0, 1, sizeof(b0), f0); in compare()
141 const size_t r1 = fread(b1, 1, sizeof(b1), f1); in compare()
171 unsigned fileID = 1; in main()
180 if (!strcmp(argv[1], "-p")) { pause = 1; fileID = 2; } in main()
218 printf("Verify : NG : error at pos %u\n", (unsigned)cmp-1); in main()