Searched refs:arrayBytes (Results 1 – 5 of 5) sorted by relevance
/external/lz4/examples/ |
D | blockStreaming_doubleBuffer.c | 26 size_t write_bin(FILE* fp, const void* array, size_t arrayBytes) { in write_bin() argument 27 return fwrite(array, 1, arrayBytes, fp); in write_bin() 34 size_t read_bin(FILE* fp, void* array, size_t arrayBytes) { in read_bin() argument 35 return fread(array, 1, arrayBytes, fp); in read_bin()
|
D | blockStreaming_ringBuffer.c | 38 size_t write_bin(FILE* fp, const void* array, int arrayBytes) { in write_bin() argument 39 return fwrite(array, 1, arrayBytes, fp); in write_bin() 46 size_t read_bin(FILE* fp, void* array, int arrayBytes) { in read_bin() argument 47 return fread(array, 1, arrayBytes, fp); in read_bin()
|
D | blockStreaming_lineByLine.c | 21 static size_t write_bin(FILE* fp, const void* array, int arrayBytes) in write_bin() argument 23 return fwrite(array, 1, arrayBytes, fp); in write_bin() 31 static size_t read_bin(FILE* fp, void* array, int arrayBytes) in read_bin() argument 33 return fread(array, 1, arrayBytes, fp); in read_bin()
|
D | HCStreaming_ringBuffer.c | 41 size_t write_bin(FILE* fp, const void* array, int arrayBytes) { in write_bin() argument 42 return fwrite(array, 1, arrayBytes, fp); in write_bin() 49 size_t read_bin(FILE* fp, void* array, int arrayBytes) { in read_bin() argument 50 return fread(array, 1, arrayBytes, fp); in read_bin()
|
D | dictionaryRandomAccess.c | 35 void write_bin(FILE* fp, const void* array, size_t arrayBytes) { in write_bin() argument 36 size_t written = fwrite(array, 1, arrayBytes, fp); in write_bin() 37 if (written != arrayBytes) { exit(11); } in write_bin() 45 size_t read_bin(FILE* fp, void* array, size_t arrayBytes) { in read_bin() argument 46 size_t read = fread(array, 1, arrayBytes, fp); in read_bin()
|