/hardware/google/aemu/base/ |
D | ArraySize_unittest.cpp | 25 EXPECT_EQ(100U, arraySize(array1)); in TEST() 29 EXPECT_EQ(200U, arraySize(array2)); in TEST() 33 EXPECT_EQ(15U, arraySize(array3)); in TEST() 41 static_assert(arraySize(arr) == 20U, in TEST() 44 static constexpr bool arr2[arraySize(arr)] = {}; in TEST() 45 static_assert(arraySize(arr2) == 20U, in TEST() 48 static_assert(arraySize(arr) == ARRAY_SIZE(arr2), in TEST()
|
D | AlignedBuf_unittest.cpp | 24 using android::base::arraySize; 164 size_t numAlignmentCases = arraySize(alignmentsToTest); in TEST() 165 size_t numSizeCases = arraySize(sizesToTest); in TEST()
|
D | SubAllocator_unittest.cpp | 150 const size_t numSizes = arraySize(sizesToTest); in TEST() 151 const size_t numCounts = arraySize(allocCounts); in TEST()
|
/hardware/google/aemu/base/include/aemu/base/ |
D | ArraySize.h | 36 static constexpr size_t arraySize(const T (&arr)[N]) { in arraySize() function 41 static constexpr size_t arraySize(const std::array<T, N>& arr) { in arraySize() function 54 #define ARRAY_SIZE(arr) (::android::base::arraySize(arr))
|
/hardware/google/aemu/host-common/ |
D | RefcountPipe.cpp | 22 using android::base::arraySize; 64 while (numBuffers > 0 && arraySize(forRecv) - result >= buffers->size) { in onGuestSend() 71 if (result == arraySize(forRecv)) { in onGuestSend() 72 memcpy(&mHandle, forRecv, arraySize(forRecv)); in onGuestSend()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
D | json_c_generator.py | 395 arraySize = paramname.tail[1] 398 return arraySize 464 def genArrayCode(self, name, typeName, str2, arraySize, needStrPrint, isCommaNeeded): argument 468 arraySize = arraySize.replace(')', '') 470 if arraySize.find("VK") != -1 or re.search(r'\d', arraySize) is not None: 480 code += " for (i = 0; i < %s(%s); i++) {\n" %(derefPtr, arraySize) 491 code += " isCommaNeeded = (i+1) != %s(%s);\n" %(derefPtr, arraySize)
|
D | json_parser.py | 735 arraySize = paramname.tail[1] 738 return arraySize 800 … def genArrayCode(self, structName, name, typeName, str2, arraySize, needStrPrint, isMallocNeeded): argument 805 …%s*)s_globalMem.allocate(%s, sizeof(%s));\n" %(mappedType, name, mappedType, arraySize, mappedType) 815 …s) = (%s*)s_globalMem.allocate(%s, sizeof(%s));\n" %(str2, name, mappedType, arraySize, mappedType) 857 arraySize = param.find('enum').text 858 … return self.genArrayCode(structName, memberName, typeName, str2, arraySize, False, isCommaNeeded) 917 arraySize = "(%s(o.rasterizationSamples + 31) / 32)" %(self.baseTypeListMap["uint32_t"]) 918 … = (%s*)s_globalMem.allocate(%s, sizeof(%s));\n" %(str2, memberName, typeName, arraySize, typeName) 923 … code += " for (%s i = 0; i < %s; i++) {\n" %(self.baseTypeListMap["uint32_t"], arraySize)
|
D | json_generator.py | 710 arraySize = paramname.tail[1] 713 return arraySize 798 …def genArrayCode(self, structName, name, typeName, str2, arraySize, needStrPrint, isArrayType, isC… argument 801 arraySize = arraySize.replace(')', '') 813 code += " for (unsigned int i = 0; i < %s; i++) {\n" %(arraySize) 815 code += " bool isCommaNeeded = (i+1) != %s;\n" %(arraySize) 837 code += " bool isCommaNeeded = (i+1) != %s;\n" %(arraySize)
|
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/ |
D | gpuinfo.cpp | 30 using android::base::arraySize; 353 &mGpuInfoList, sGpuBlacklist, arraySize(sGpuBlacklist)); in Globals() 357 arraySize(sAngleWhitelist)); in Globals() 362 &mGpuInfoList, sSyncBlacklist, arraySize(sSyncBlacklist)); in Globals()
|
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/ |
D | SaveableTexture.cpp | 605 GLint pixelStorePrev[android::base::arraySize(pixelStoreIndexes)]; in onSave() 610 for (int i = 0; i != android::base::arraySize(pixelStoreIndexes); ++i) { in onSave() 810 for (int i = 0; i != android::base::arraySize(pixelStoreIndexes); ++i) { in onSave() 871 GLint pixelStorePrev[android::base::arraySize(pixelStoreIndexes)]; in restore() 872 for (int i = 0; i != android::base::arraySize(pixelStoreIndexes); ++i) { in restore() 1029 for (int i = 0; i != android::base::arraySize(pixelStoreIndexes); ++i) { in restore()
|
/hardware/google/gfxstream/host/tests/ |
D | Vulkan_unittest.cpp | 45 using android::base::arraySize; 370 arraySize(exts), exts, in testDeviceCreation()
|
/hardware/google/gfxstream/guest/mesa/include/CL/ |
D | opencl.hpp | 4717 size_type arraySize, in Image1DArray() argument 4728 desc.image_array_size = arraySize; in Image1DArray() 5134 size_type arraySize, in Image2DArray() argument 5148 desc.image_array_size = arraySize; in Image2DArray()
|
D | cl.hpp | 3832 ::size_t arraySize, in Image1DArray() argument 3844 arraySize, in Image1DArray() 4138 ::size_t arraySize, in Image2DArray() argument 4153 arraySize, in Image2DArray()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | interfaces.adoc | 5282 This variable will take a value in the range [eq]#[1, arraySize)#, where 5283 [eq]#arraySize# is the maximum size of the input payload array for the
|