Searched refs:peek_be (Results 1 – 5 of 5) sorted by relevance
/external/toybox/toys/posix/ |
D | file.c | 43 elf_int = (endian==2) ? peek_be : peek_le; 212 int chunk_length = peek_be(s, 4); in do_regular_file() 226 xprintf(", %d x %d, %d-bit/%s, %sinterlaced", (int)peek_be(s, 4), in do_regular_file() 227 (int)peek_be(s+4, 4), s[8], c, s[12] ? "" : "non-"); in do_regular_file() 243 (int)peek_be(s+2, 2), (int)peek_be(s, 2), (int)peek_be(s+2, 2)-44); in do_regular_file() 281 else if (len > 31 && peek_be(s, 7) == 0xfd377a585a0000UL) 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() [all …]
|
D | tar.c | 861 else if (peek_be(hdr, 7) == 0xfd377a585a0000UL) toys.optflags |= FLAG_J; in tar_main()
|
/external/toybox/lib/ |
D | lib.c | 664 int64_t peek_be(void *ptr, unsigned size) in peek_be() function 676 return (IS_BIG_ENDIAN ? peek_be : peek_le)(ptr, size); in peek()
|
D | lib.h | 222 int64_t peek_be(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()
|