Searched defs:contentTypeLength (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c62 size_t contentTypeLength; member in struct:FwdLockFile_Session
265 pSession->contentTypeLength = pSession->topHeader[CONTENT_TYPE_LENGTH_POS];
266 assert(pSession->contentTypeLength <= UCHAR_MAX); // Untaint scalar for code checkers.
267 pSession->pContentType = malloc(pSession->contentTypeLength + 1);
269 read(fileDesc, pSession->pContentType, pSession->contentTypeLength) ==
270 (ssize_t)pSession->contentTypeLength) {
271 pSession->pContentType[pSession->contentTypeLength] = '\0';
287 pSession->dataOffset = pSession->contentTypeLength +
421 pSession->contentTypeLength);

Completed in 25 milliseconds