Home | History | Annotate | Download | only in utils

Lines Matching refs:array

36   inline void swap_byte_order(unsigned char (&array)[1]) {
40 inline void swap_byte_order(unsigned char (&array)[2]) {
41 std::swap(array[0], array[1]);
44 inline void swap_byte_order(unsigned char (&array)[4]) {
45 std::swap(array[0], array[3]);
46 std::swap(array[1], array[2]);
49 inline void swap_byte_order(unsigned char (&array)[8]) {
50 std::swap(array[0], array[7]);
51 std::swap(array[1], array[6]);
52 std::swap(array[2], array[5]);
53 std::swap(array[3], array[4]);
94 void readBytes(void *array, size_t size) {
98 memcpy(array, cursor, size);
103 void operator&(char (&array)[size]) {
104 readBytes(array, size);
109 void operator&(unsigned char (&array)[size]) {
110 readBytes(array, size);