Searched refs:peek_le (Results 1 – 3 of 3) sorted by relevance
/external/toybox/toys/posix/ |
D | file.c | 56 elf_int = (endian==2) ? peek_be : peek_le; 242 (int)peek_le(s, 2), (int)peek_le(s+8, 2)); in do_regular_file() 323 int format = le ? peek_le(s+20,2) : peek_be(s+20,2); in do_regular_file() 324 int channels = le ? peek_le(s+22,2) : peek_be(s+22,2); in do_regular_file() 325 int hz = le ? peek_le(s+24,4) : peek_be(s+24,4); in do_regular_file() 326 int bits = le ? peek_le(s+34,2) : peek_be(s+34,2); in do_regular_file() 359 (magic=peek_le(s+0x3c,4))<len-4 && !memcmp(s+magic, "\x50\x45\0\0", 4)) { in do_regular_file() 360 xprintf("MS PE32%s executable %s", (peek_le(s+magic+24, 2)==0x20b)?"+":"", in do_regular_file() 361 (peek_le(s+magic+22, 2)&0x2000)?"(DLL) ":""); in do_regular_file() 362 if (peek_le(s+magic+20, 2)>70) { in do_regular_file() [all …]
|
/external/toybox/lib/ |
D | lib.c | 589 int64_t peek_le(void *ptr, unsigned size) in peek_le() function 611 return (IS_BIG_ENDIAN ? peek_be : peek_le)(ptr, size); in peek()
|
D | lib.h | 213 int64_t peek_le(void *ptr, unsigned size);
|