Searched refs:data_ptr_ (Results 1 – 7 of 7) sorted by relevance
34 : data_ptr_(data), remaining_bytes_(size) {} in FuzzedDataProvider()69 reinterpret_cast<const std::string::value_type *>(data_ptr_), in ConsumeBytesAsString()100 result = (result << CHAR_BIT) | data_ptr_[remaining_bytes_]; in ConsumeIntegralInRange()127 char next = ConvertUnsignedToSigned<char>(data_ptr_[0]); in ConsumeRandomLengthString()130 next = ConvertUnsignedToSigned<char>(data_ptr_[0]); in ConsumeRandomLengthString()251 data_ptr_ += num_bytes; in Advance()272 std::memcpy(result.data(), data_ptr_, num_bytes_to_consume); in ConsumeBytes()301 const uint8_t *data_ptr_; variable
34 : data_ptr_(data), remaining_bytes_(size) {} in FuzzedDataProvider()95 const uint8_t *data_ptr_; variable138 reinterpret_cast<const std::string::value_type *>(data_ptr_), num_bytes); in ConsumeBytesAsString()160 char next = ConvertUnsignedToSigned<char>(data_ptr_[0]); in ConsumeRandomLengthString()163 next = ConvertUnsignedToSigned<char>(data_ptr_[0]); in ConsumeRandomLengthString()221 result = (result << CHAR_BIT) | data_ptr_[remaining_bytes_]; in ConsumeIntegralInRange()329 std::memcpy(destination, data_ptr_, num_bytes); in CopyAndAdvance()337 data_ptr_ += num_bytes; in Advance()
531 data_ptr_[c] = &data_[offset]; in SetUp()560 typename T::data_type_t *data_ptr_[3]; member in NoiseModelUpdateTest603 this->data_ptr_[0][y * kWidth + x] = in TYPED_TEST_P()608 this->data_ptr_[c][y * kWidth + x] = this->data_ptr_[0][y * kWidth + x]; in TYPED_TEST_P()676 this->data_ptr_[c][y * kWidth + x] = in TYPED_TEST_P()775 this->data_ptr_[c][y * kWidth + x] = in TYPED_TEST_P()833 this->data_ptr_[c][i] = ((uint8_t)(this->noise_ptr_[c][i] * kStd + val)) in TYPED_TEST_P()852 this->data_ptr_[0][i] = in TYPED_TEST_P()874 this->data_ptr_[0][i] = in TYPED_TEST_P()919 this->data_ptr_[0][i] = (uint8_t)(128 + this->noise_ptr_[0][i]); in TYPED_TEST_P()[all …]
166 uint8_t* get_data_ptr() { return data_ptr_; } in get_data_ptr()174 uint8_t* data_ptr_ = nullptr; variable
659 data_ptr_ = reinterpret_cast<uint8_t*>( in NNMemory()673 if (data_ptr_) { in ~NNMemory()674 munmap(data_ptr_, byte_size_); in ~NNMemory()
296 void* OpaqueDeviceMemoryDataPointer() const { return data_ptr_; } in OpaqueDeviceMemoryDataPointer()299 void* data_ptr_;
592 data_ptr_ = external_reference_->device_memory().front().opaque(); in ScopedHoldAsExternalReference()618 data_ptr_ = tracked_device_buffer_->device_memory()[0].opaque(); in TrackedDeviceBufferExternalReference()