Lines Matching refs:hbuf
142 char hbuf[16], *buffer = NULL; in OpenResumeFile() local
161 if (fread(hbuf, 1, 13, *file) != 13) in OpenResumeFile()
166 if (hbuf[0] != 'F' || hbuf[1] != 'L' || hbuf[2] != 'V' in OpenResumeFile()
167 || hbuf[3] != 0x01) in OpenResumeFile()
173 if ((hbuf[4] & 0x05) == 0) in OpenResumeFile()
180 uint32_t dataOffset = AMF_DecodeInt32(hbuf + 5); in OpenResumeFile()
183 if (fread(hbuf, 1, 4, *file) != 4) in OpenResumeFile()
188 prevTagSize = AMF_DecodeInt32(hbuf); in OpenResumeFile()
203 if (fread(hbuf, 1, 4, *file) != 4) in OpenResumeFile()
206 uint32_t dataSize = AMF_DecodeInt24(hbuf + 1); in OpenResumeFile()
208 if (hbuf[0] == 0x12) in OpenResumeFile()