Searched refs:peek_be (Results 1 – 3 of 3) sorted by relevance
/external/toybox/toys/posix/ |
D | file.c | 56 elf_int = (endian==2) ? peek_be : peek_le; 219 int chunk_length = peek_be(s, 4); in do_regular_file() 233 xprintf(", %d x %d, %d-bit/%s, %sinterlaced", (int)peek_be(s, 4), in do_regular_file() 234 (int)peek_be(s+4, 4), s[8], c, s[12] ? "" : "non-"); in do_regular_file() 250 (int)peek_be(s+2, 2), (int)peek_be(s, 2), (int)peek_be(s+2, 2)-44); 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() 351 (int)peek_be(s+4, 2), (int)peek_be(s+8, 4)); in do_regular_file()
|
/external/toybox/lib/ |
D | lib.c | 599 int64_t peek_be(void *ptr, unsigned size) in peek_be() function 611 return (IS_BIG_ENDIAN ? peek_be : peek_le)(ptr, size); in peek()
|
D | lib.h | 214 int64_t peek_be(void *ptr, unsigned size);
|