Searched refs:packageNameLen (Results 1 – 1 of 1) sorted by relevance
205 size_t packageNameLen = get4LE((unsigned char*)scanBuf + kPackageNameLenOffset); in parseObbFile() local206 if (packageNameLen == 0 in parseObbFile()207 || packageNameLen > (footerSize - kPackageNameOffset)) { in parseObbFile()209 packageNameLen, footerSize - kPackageNameOffset); in parseObbFile()215 mPackageName = String8(const_cast<char*>(packageName), packageNameLen); in parseObbFile()284 size_t packageNameLen = mPackageName.size(); in writeTo() local285 put4LE(intBuf, packageNameLen); in writeTo()291 if (write(fd, mPackageName.string(), packageNameLen) != (ssize_t)packageNameLen) { in writeTo()296 put4LE(intBuf, kPackageNameOffset + packageNameLen); in writeTo()