Home
last modified time | relevance | path

Searched refs:kMaxSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/
DStringPool.cpp329 constexpr size_t kMaxSize = kMask - 1; in EncodeLength() local
330 if (length > kMaxSize) { in EncodeLength()
331 *data++ = kMask | (kMaxSize & (length >> (sizeof(T) * 8))); in EncodeLength()
361 constexpr size_t kMaxSize = kMask - 1; in EncodedLengthUnits() local
362 return length > kMaxSize ? 2 : 1; in EncodedLengthUnits()
/frameworks/ml/nn/runtime/test/android_fuzzing/
DConverter.cpp30 constexpr uint32_t kMaxSize = 65536; variable
66 std::uniform_int_distribution<uint32_t> dist{0, kMaxSize}; in convert()
/frameworks/av/services/medialog/
DMediaLogService.h38 static const size_t kMaxSize = 0x10000; variable
DMediaLogService.cpp58 size < kMinSize || size > kMaxSize || name == NULL || in registerWriter()
/frameworks/ml/nn/common/
DUtils.cpp378 constexpr uint64_t kMaxSize = static_cast<uint64_t>(std::numeric_limits<uint32_t>::max()); in sizeOfTensorDataHelper() local
381 if (size > kMaxSize) return {true, 0}; in sizeOfTensorDataHelper()
568 constexpr uint64_t kMaxSize = std::numeric_limits<uint32_t>::max(); in validateTensorDimensions() local
575 NN_RET_CHECK_LE(size, kMaxSize) << tag << " operand byte size exceeds " << kMaxSize; in validateTensorDimensions()