Lines Matching defs:row
62 bool PmpColumnReader::ReadString(const uint32 row, std::string* result) const {
65 if (field_type_ != PMP_TYPE_STRING || row >= rows_read_)
68 DCHECK_LT(row, strings_.size());
69 *result = strings_[row];
73 bool PmpColumnReader::ReadUInt32(const uint32 row, uint32* result) const {
76 if (field_type_ != PMP_TYPE_UINT32 || row >= rows_read_)
79 *result = reinterpret_cast<uint32*>(data_.get() + kPmpHeaderSize)[row];
83 bool PmpColumnReader::ReadDouble64(const uint32 row, double* result) const {
86 if (field_type_ != PMP_TYPE_DOUBLE64 || row >= rows_read_)
89 *result = reinterpret_cast<double*>(data_.get() + kPmpHeaderSize)[row];
93 bool PmpColumnReader::ReadUInt8(const uint32 row, uint8* result) const {
96 if (field_type_ != PMP_TYPE_UINT8 || row >= rows_read_)
99 *result = reinterpret_cast<uint8*>(data_.get() + kPmpHeaderSize)[row];
103 bool PmpColumnReader::ReadUInt64(const uint32 row, uint64* result) const {
106 if (field_type_ != PMP_TYPE_UINT64 || row >= rows_read_)
109 *result = reinterpret_cast<uint64*>(data_.get() + kPmpHeaderSize)[row];
146 // Sanity check against malicious row field.