Searched refs:peek_le (Results 1 – 4 of 4) sorted by relevance
/third_party/toybox/toys/posix/ |
D | file.c | 58 elf_int = (endian==2) ? peek_be : peek_le; 247 (int)peek_le(s, 2), (int)peek_le(s+8, 2)); in do_regular_file() 331 int format = le ? peek_le(s+20,2) : peek_be(s+20,2); in do_regular_file() 332 int channels = le ? peek_le(s+22,2) : peek_be(s+22,2); in do_regular_file() 333 int hz = le ? peek_le(s+24,4) : peek_be(s+24,4); in do_regular_file() 334 int bits = le ? peek_le(s+34,2) : peek_be(s+34,2); in do_regular_file() 371 (magic=peek_le(s+0x3c,4))<len-4 && !memcmp(s+magic, "\x50\x45\0\0", 4)) { in do_regular_file() 372 xprintf("MS PE32%s executable %s", (peek_le(s+magic+24, 2)==0x20b)?"+":"", in do_regular_file() 373 (peek_le(s+magic+22, 2)&0x2000)?"(DLL) ":""); in do_regular_file() 374 if (peek_le(s+magic+20, 2)>70) { in do_regular_file() [all …]
|
/third_party/toybox/lib/ |
D | lib.c | 623 int64_t peek_le(void *ptr, unsigned size) in peek_le() function 645 return (IS_BIG_ENDIAN ? peek_be : peek_le)(ptr, size); in peek()
|
D | lib.h | 225 int64_t peek_le(void *ptr, unsigned size);
|
/third_party/toybox/porting/liteos_a/lib/ |
D | lib.h | 218 int64_t peek_le(void *ptr, unsigned size);
|