Home
last modified time | relevance | path

Searched refs:allocs (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2730 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numVtxIDs * sizeof(RsAllocation)); in nMeshGetVertices() local
2731 rsaMeshGetVertices((RsContext)con, (RsMesh)mesh, allocs, (uint32_t)numVtxIDs); in nMeshGetVertices()
2734 const jlong alloc = (jlong)(uintptr_t)allocs[i]; in nMeshGetVertices()
2738 free(allocs); in nMeshGetVertices()
2748 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numIndices * sizeof(RsAllocation)); in nMeshGetIndices() local
2751 rsaMeshGetIndices((RsContext)con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices); in nMeshGetIndices()
2754 const jlong alloc = (jlong)(uintptr_t)allocs[i]; in nMeshGetIndices()
2760 free(allocs); in nMeshGetIndices()
/aosp14/system/core/debuggerd/
H A Ddebuggerd_test.cpp672 std::set<uintptr_t> allocs; in TEST_F() local
675 auto it = allocs.insert(alloc).first; in TEST_F()
676 if (it != allocs.begin() && *std::prev(it) + 128 > alloc) { in TEST_F()
679 if (std::next(it) != allocs.end() && alloc + 128 > *std::next(it)) { in TEST_F()