Searched refs:fileLength (Results 1 – 2 of 2) sorted by relevance
546 size_t fileLength = AAsset_getLength(file); in loadShaderFromFile() local547 std::vector<char> fileContent(fileLength); in loadShaderFromFile()548 AAsset_read(file, fileContent.data(), fileLength); in loadShaderFromFile()555 .codeSize = fileLength, in loadShaderFromFile()
480 int fileLength = (int) Files.size(distroVersionFile); in testCorruptDistroVersionFile() local481 byte[] junkArray = new byte[fileLength]; // all zeros in testCorruptDistroVersionFile()