Home
last modified time | relevance | path

Searched refs:swap4 (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/fileinfo/libmagic/
H A Dis_simh.c81 swap4(uint32_t sv) in swap4() function
100 n = swap4(n); in getlen()
H A Dapprentice.c138 #define swap4(x) bswap_32(x) macro
142 #define swap4(x) bswap32(x) macro
146 file_private uint32_t swap4(uint32_t);
3276 if (swap4(*ptr) != MAGICNO) { in apprentice_map()
3284 version = swap4(ptr[1]); in apprentice_map()
3316 map->nmagic[i] = swap4(ptr[i + 2]); in apprentice_map()
3484 swap4(uint32_t sv) function
3565 m->offset = swap4(CAST(uint32_t, m->offset));
3567 m->lineno = swap4(CAST(uint32_t, m->lineno));
3569 m->str_range = swap4(m->str_range);
[all …]
/php-src/ext/fileinfo/
H A Dlibmagic.patch692 if (swap4(*ptr) != MAGICNO) {
855 m->offset = swap4(CAST(uint32_t, m->offset));
856 m->in_offset = swap4(CAST(uint32_t, m->in_offset));
857 m->lineno = swap4(CAST(uint32_t, m->lineno));
860 m->str_range = swap4(m->str_range);
861 m->str_flags = swap4(m->str_flags);

Completed in 18 milliseconds