Home
last modified time | relevance | path

Searched refs:peek_be (Results 1 – 5 of 5) sorted by relevance

/third_party/toybox/toys/posix/
Dfile.c58 elf_int = (endian==2) ? peek_be : peek_le;
224 int chunk_length = peek_be(s, 4); in do_regular_file()
238 xprintf(", %d x %d, %d-bit/%s, %sinterlaced", (int)peek_be(s, 4), in do_regular_file()
239 (int)peek_be(s+4, 4), s[8], c, s[12] ? "" : "non-"); in do_regular_file()
255 (int)peek_be(s+2, 2), (int)peek_be(s, 2), (int)peek_be(s+2, 2)-44); in do_regular_file()
287 else if (len > 31 && peek_be(s, 7) == 0xfd377a585a0000) 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()
[all …]
Dtar.c844 else if (peek_be(hdr, 7) == 0xfd377a585a0000) toys.optflags |= FLAG_J; in tar_main()
/third_party/toybox/lib/
Dlib.c633 int64_t peek_be(void *ptr, unsigned size) in peek_be() function
645 return (IS_BIG_ENDIAN ? peek_be : peek_le)(ptr, size); in peek()
Dlib.h226 int64_t peek_be(void *ptr, unsigned size);
/third_party/toybox/porting/liteos_a/lib/
Dlib.h219 int64_t peek_be(void *ptr, unsigned size);