Home
last modified time | relevance | path

Searched refs:idSize (Results 1 – 3 of 3) sorted by relevance

/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp282 int idSize; in WriteFolder() local
283 for (idSize = 1; idSize < sizeof(id); idSize++) in WriteFolder()
284 if ((id >> (8 * idSize)) == 0) in WriteFolder()
287 for (int t = idSize - 1; t >= 0 ; t--, id >>= 8) in WriteFolder()
290 b = (Byte)(idSize & 0xF); in WriteFolder()
295 WriteBytes(longID, idSize); in WriteFolder()
D7zIn.cpp401 int idSize = (mainByte & 0xF); in GetNextFolderItem() local
403 ReadBytes(longID, idSize); in GetNextFolderItem()
404 if (idSize > 8) in GetNextFolderItem()
407 for (int j = 0; j < idSize; j++) in GetNextFolderItem()
408 id |= (UInt64)longID[idSize - 1 - j] << (8 * j); in GetNextFolderItem()
/external/lzma/C/
D7zIn.c556 unsigned idSize, j; in SzGetNextFolderItem() local
559 idSize = (unsigned)(mainByte & 0xF); in SzGetNextFolderItem()
560 RINOK(SzReadBytes(sd, longID, idSize)); in SzGetNextFolderItem()
561 if (idSize > sizeof(coder->MethodID)) in SzGetNextFolderItem()
564 for (j = 0; j < idSize; j++) in SzGetNextFolderItem()
565 coder->MethodID |= (UInt64)longID[idSize - 1 - j] << (8 * j); in SzGetNextFolderItem()