Home
last modified time | relevance | path

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

/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestValidation.cpp611 const size_t memorySize = 20; in TEST_F() local
696 const size_t memorySize = 20; in TEST_F() local
698 .width = memorySize, in TEST_F()
1674 const size_t memorySize = 20; in TEST_F() local
1728 char buffer[memorySize]; in TEST_F()
1765 const size_t memorySize = 20; in TEST_F() local
1768 .width = memorySize, in TEST_F()
1849 const size_t memorySize = 20; in TEST_F() local
1903 char buffer[memorySize]; in TEST_F()
1946 const size_t memorySize = 20; in TEST_F() local
[all …]
H A DTestCompliance.cpp140 const size_t memorySize = 20; in TEST_F() local
142 .width = memorySize, in TEST_F()
H A DTestPartitioningRandom.cpp282 uint32_t& memorySize = mMemorySizes[memoryIndex]; in addRegion() local
283 auto desc = std::make_tuple(memoryIndex, (uint32_t)memorySize, length); in addRegion()
285 memorySize += length; in addRegion()
333 for (uint32_t memorySize : mMemorySizes) { in layout() local
334 auto [n, ashmem] = nn::MemoryAshmem::create(memorySize); in layout()
/aosp12/system/chre/platform/slpi/see/
H A Dsee_helper.cc1457 size_t memorySize = in allocateEvent() local
1461 void *event = (memorySize == 0) ? nullptr : memoryAlloc(memorySize); in allocateEvent()
1463 if (event == nullptr && memorySize != 0) { in allocateEvent()
/aosp12/packages/modules/NeuralNetworks/common/
H A DValidation.cpp1059 const auto memorySize = memorySizes[location.poolIndex]; in validateRequestArgument() local
1060 NN_VALIDATE_LE(lastPosition, memorySize); in validateRequestArgument()
1061 if (memorySize > 0) { in validateRequestArgument()