Searched refs:peek_le (Results 1 – 4 of 4) sorted by relevance
/external/toybox/toys/posix/ |
D | file.c | 43 elf_int = (endian==2) ? peek_be : peek_le; 235 s-3, (int)peek_le(s, 2), (int)peek_le(s+2, 2)); in do_regular_file() 325 int format = le ? peek_le(s+20,2) : peek_be(s+20,2); in do_regular_file() 326 int channels = le ? peek_le(s+22,2) : peek_be(s+22,2); in do_regular_file() 327 int hz = le ? peek_le(s+24,4) : peek_be(s+24,4); in do_regular_file() 328 int bits = le ? peek_le(s+34,2) : peek_be(s+34,2); in do_regular_file() 365 (magic=peek_le(s+0x3c,4))<len-4 && !memcmp(s+magic, "\x50\x45\0\0", 4)) { in do_regular_file() 366 xprintf("MS PE32%s executable %s", (peek_le(s+magic+24, 2)==0x20b)?"+":"", in do_regular_file() 367 (peek_le(s+magic+22, 2)&0x2000)?"(DLL) ":""); in do_regular_file() 368 if (peek_le(s+magic+20, 2)>70) { in do_regular_file() [all …]
|
/external/toybox/lib/ |
D | lib.c | 654 int64_t peek_le(void *ptr, unsigned size) in peek_le() function 676 return (IS_BIG_ENDIAN ? peek_be : peek_le)(ptr, size); in peek()
|
D | lib.h | 221 int64_t peek_le(void *ptr, unsigned size);
|
/external/toybox/toys/pending/ |
D | readelf.c | 57 long long result = ((TT.endian == 2) ? peek_be : peek_le)(*p, len); in elf_get()
|