/external/lz4/examples/ |
D | HCStreaming_ringBuffer.c | 42 size_t write_bin(FILE* fp, const void* array, int arrayBytes) { in write_bin() argument 43 assert(arrayBytes >= 0); in write_bin() 44 return fwrite(array, 1, (size_t)arrayBytes, fp); in write_bin() 51 size_t read_bin(FILE* fp, void* array, int arrayBytes) { in read_bin() argument 52 assert(arrayBytes >= 0); in read_bin() 53 return fread(array, 1, (size_t)arrayBytes, fp); in read_bin()
|
D | blockStreaming_ringBuffer.c | 35 size_t write_bin(FILE* fp, const void* array, int arrayBytes) { in write_bin() argument 36 return fwrite(array, 1, arrayBytes, fp); in write_bin() 43 size_t read_bin(FILE* fp, void* array, int arrayBytes) { in read_bin() argument 44 return fread(array, 1, arrayBytes, fp); in read_bin()
|
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_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 | 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()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_cache_utils.cpp | 1324 void Int4Array_Set(uint8_t *arrayBytes, uint32_t arrayIndex, SrcT value) in Int4Array_Set() argument 1331 arrayBytes[byteIndex] &= 0xF0; in Int4Array_Set() 1332 arrayBytes[byteIndex] |= static_cast<uint8_t>(value); in Int4Array_Set() 1336 arrayBytes[byteIndex] &= 0x0F; in Int4Array_Set() 1337 arrayBytes[byteIndex] |= static_cast<uint8_t>(value) << 4; in Int4Array_Set() 1343 DestT Int4Array_Get(const uint8_t *arrayBytes, uint32_t arrayIndex) in Int4Array_Get() argument 1349 return static_cast<DestT>(arrayBytes[byteIndex] & 0xF); in Int4Array_Get() 1353 return static_cast<DestT>(arrayBytes[byteIndex] >> 4); in Int4Array_Get()
|