Searched refs:kSize (Results 1 – 5 of 5) sorted by relevance
52 kSize(size), in HalManagedBuffer()117 if (size != kSize) { in validateCopyFrom()118 LOG(ERROR) << "HalManagedBuffer::validateCopyFrom -- invalid memory size: " << kSize in validateCopyFrom()161 if (size != kSize) { in validateCopyTo()162 LOG(ERROR) << "HalManagedBuffer::validateCopyTo -- invalid memory size: " << kSize << " vs " in validateCopyTo()
52 kSize(size), in ManagedBuffer()116 if (size != kSize) { in validateCopyFrom()117 LOG(ERROR) << "ManagedBuffer::validateCopyFrom -- invalid memory size: " << kSize << " vs " in validateCopyFrom()158 if (size != kSize) { in validateCopyTo()159 LOG(ERROR) << "ManagedBuffer::validateCopyTo -- invalid memory size: " << kSize << " vs " in validateCopyTo()
49 return RunTimePoolInfo::createFromExistingBuffer(kBuffer.get(), kSize); in createRunTimePoolInfo()66 const uint32_t kSize; variable
53 explicit SizedMemoryValidator(uint32_t size) : kSize(size) {} in SizedMemoryValidator()57 NN_RET_CHECK(offset + length <= kSize) << "request size larger than the memory size."; in validate()62 Metadata getMetadata() const override { return {.logicalSize = kSize}; } in getMetadata()64 return metadata.logicalSize == 0 || metadata.logicalSize == kSize; in updateMetadata()68 const uint32_t kSize; member in android::nn::__anonb8fcb1a50111::SizedMemoryValidator