Lines Matching refs:pos
53 size_t pos = 12; in verify_patch_header() local
55 ASSERT_LE(pos + 4, size); in verify_patch_header()
56 int type = get_unaligned<int32_t>(data + pos); in verify_patch_header()
57 pos += 4; in verify_patch_header()
59 pos += 24; in verify_patch_header()
60 ASSERT_LE(pos, size); in verify_patch_header()
63 ASSERT_LE(pos + 4, size); in verify_patch_header()
64 ssize_t data_len = get_unaligned<int32_t>(data + pos); in verify_patch_header()
66 pos += 4 + data_len; in verify_patch_header()
67 ASSERT_LE(pos, size); in verify_patch_header()
70 pos += 60; in verify_patch_header()
71 ASSERT_LE(pos, size); in verify_patch_header()