Lines Matching refs:pos
44 ssize_t pos = 12; in ApplyImagePatch() local
64 if (pos + 4 > patch->size) { in ApplyImagePatch()
68 int type = Read4(patch->data + pos); in ApplyImagePatch()
69 pos += 4; in ApplyImagePatch()
72 char* normal_header = patch->data + pos; in ApplyImagePatch()
73 pos += 24; in ApplyImagePatch()
74 if (pos > patch->size) { in ApplyImagePatch()
86 char* raw_header = patch->data + pos; in ApplyImagePatch()
87 pos += 4; in ApplyImagePatch()
88 if (pos > patch->size) { in ApplyImagePatch()
95 if (pos + data_len > patch->size) { in ApplyImagePatch()
99 if (ctx) SHA_update(ctx, patch->data + pos, data_len); in ApplyImagePatch()
100 if (sink((unsigned char*)patch->data + pos, in ApplyImagePatch()
105 pos += data_len; in ApplyImagePatch()
108 char* deflate_header = patch->data + pos; in ApplyImagePatch()
109 pos += 60; in ApplyImagePatch()
110 if (pos > patch->size) { in ApplyImagePatch()