Lines Matching full:record
145 throw(DataException("Invalid record offset or length"));
172 "One bit correction for record performed", std::nullopt,
193 std::string record(itrToVPD, stop);
194 if ("VHDR" != record)
196 throw(DataException("VHDR record not found"));
211 // Got the offset to VTOC, skip past record header and keyword header
212 // to get to the record name.
216 // the record name.
219 std::string record(itrToVPD, std::next(itrToVPD, Length::RECORD_NAME));
220 if ("VTOC" != record)
222 throw(DataException("VTOC record not found"));
230 // VTOC record name is good, now read through the TOC, stored in the PT
233 // Skip past record name and KW name, 'PT'
259 // we care only about the record offset information.
263 // Skip record name and record type
266 // Get record offset
270 // Verify the ECC for this Record
280 // add the invalid record name and exception object to list
285 // Jump record size, record length, ECC offset and ECC length
349 // Jump to record name
353 // the record name.
356 // Get record name
369 // Add entry for this record (and contained keyword:value pairs)
381 // Check vaidity of VHDR record
387 // Read the table of contents record, to get offsets
412 const types::Record& i_recordName, const types::Keyword& i_keywordName,
417 // Go to the record name in the given record's offset
422 // Check if the record is present in the given record's offset
429 "Given record is not present in the offset provided");
484 const types::Record& i_recordName, const types::RecordOffset& i_vtocOffset)
490 // Parse through VTOC PT keyword value to find the record which we are
501 // Record found in VTOC PT keyword. Get offset
534 // Extract record and keyword from i_paramsToReadData
535 types::Record l_record;
565 logging::logMessage("Read cannot be performed on VHDR record.");
582 logging::logMessage("Read cannot be performed on VTOC record.");
586 // Get record offset from VTOC's PT keyword value.
592 throw std::runtime_error("Record not found in VTOC PT keyword.");
629 const types::Record& i_recordName, const types::Keyword& i_keywordName,
636 // Go to the record name in the given record's offset
645 // Check if the record is present in the given record's offset
648 throw(DataException("Given record found at the offset " +
693 // record's ECC based on the new value set.
723 "Keyword " + i_keywordName + " not found in record " + i_recordName));
733 types::Record l_recordName;
737 // Extract record, keyword and value from i_paramsToWriteData
755 "Write operation not allowed on the given record : " +
773 // Get the details of user given record from VTOC
781 throw(DataException("Record not found in VTOC PT keyword."));
799 // Update the record's ECC
850 "Check failed for record(s) while parsing VPD. Check user data for reason and list of failed record(s). Re-program VPD."),