Searched refs:fileContent (Results 1 – 5 of 5) sorted by relevance
304 byte[] fileContent = new byte[(int) incidentReport.length()]; in testWrittenMeterDataMatchesReadIncidentReportData()305 fis.read(fileContent); in testWrittenMeterDataMatchesReadIncidentReportData()348 byte[] fileContent = new byte[(int) incidentReport.length()]; in testWrittenModelDataMatchesReadIncidentReportData()349 fis.read(fileContent); in testWrittenModelDataMatchesReadIncidentReportData()396 fis.read(fileContent); in testWrittenResidencyDataMatchesReadIncidentReportData()456 fis.read(fileContent); in testCorruptOnDeviceMeterStorage()499 fis.read(fileContent); in testCorruptOnDeviceModelStorage()540 fis.read(fileContent); in testCorruptOnDeviceResidencyStorage()590 fis.read(fileContent); in testNotEnoughBytesAfterMeterLengthField()634 fis.read(fileContent); in testNotEnoughBytesAfterModelLengthField()[all …]
57 std::string fileContent = fileStream.str(); in sha256File() local61 SHA256(reinterpret_cast<const uint8_t*>(fileContent.c_str()), fileContent.size(), ret.data()); in sha256File()
211 String fileContent = readText(parser); in parse() local212 if (!TextUtils.isEmpty(fileContent)) { in parse()213 contentIdToFileContentMap.put(contentId, fileContent); in parse()
222 String fileContent = readText(parser); in parse() local223 if (!TextUtils.isEmpty(fileContent)) { in parse()224 contentIdToFileContentMap.put(contentId, fileContent); in parse()
93 std::string fileContent; in readConfig() local94 if (!base::ReadFileToString(configFile, &fileContent)) { in readConfig()98 std::vector<std::string> lines = base::Split(fileContent, "\n"); in readConfig()