Home
last modified time | relevance | path

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

/external/toybox/toys/posix/
Dfile.c56 elf_int = (endian==2) ? peek_be : peek_le;
218 (int)peek_le(s, 2), (int)peek_le(s+8, 2)); in do_regular_file()
304 (magic=peek_le(s+0x3c,4))<len-4 && !memcmp(s+magic, "\x50\x45\0\0", 4)) { in do_regular_file()
305 xprintf("MS PE32%s executable %s", (peek_le(s+magic+24, 2)==0x20b)?"+":"", in do_regular_file()
306 (peek_le(s+magic+22, 2)&0x2000)?"(DLL) ":""); in do_regular_file()
307 if (peek_le(s+magic+20, 2)>70) { in do_regular_file()
310 int type = peek_le(s+magic+92, 2); in do_regular_file()
315 xprintf("%s\n", (peek_le(s+magic+4, 2)==0x14c)?"x86":"x86-64"); in do_regular_file()
/external/toybox/lib/
Dlib.h198 int64_t peek_le(void *ptr, unsigned size);
Dlib.c561 int64_t peek_le(void *ptr, unsigned size) in peek_le() function
583 return IS_BIG_ENDIAN ? peek_be(ptr, size) : peek_le(ptr, size); in peek()