/frameworks/base/libs/utils/ |
H A D | SharedBuffer.cpp | 27 SharedBuffer* SharedBuffer::alloc(size_t size) function in class:android::SharedBuffer 50 SharedBuffer* sb = alloc(mSize); 69 SharedBuffer* sb = alloc(newSize); 89 SharedBuffer* sb = alloc(new_size);
|
/frameworks/base/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 78 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, function in class:android::GraphicBufferAllocator 89 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); 91 err = sw_gralloc_handle_t::alloc(w, h, format, usage, handle, stride); 94 LOGW_IF(err, "alloc(%u, %u, %d, %08x, ...) failed %d (%s)",
|
H A D | GraphicBufferMapper.cpp | 114 status_t sw_gralloc_handle_t::alloc(uint32_t w, uint32_t h, int format, function in class:android::sw_gralloc_handle_t 161 LOGE("alloc mmap(fd=%d, size=%d, prot=%x) failed (%s)",
|
/frameworks/base/libs/rs/ |
H A D | rsAdapter.cpp | 86 Allocation * alloc = static_cast<Allocation *>(valloc); local 87 a->setAllocation(alloc); 203 Allocation * alloc = static_cast<Allocation *>(valloc); local 204 a->setAllocation(alloc);
|
H A D | rsFileA3D.cpp | 355 Allocation * alloc = static_cast<Allocation *>(a); local 357 float * data = (float *)alloc->getPtr(); 363 ie->mRsObj = alloc;
|
H A D | rsProgram.cpp | 112 void Program::bindAllocation(Allocation *alloc, uint32_t slot) argument 114 if (mConstants[slot].get() == alloc) { 120 mConstants[slot].set(alloc); 121 if (alloc) { 122 alloc->addProgramToDirty(this);
|
H A D | rsProgramVertex.cpp | 227 Allocation *alloc = mConstants[ct+1].get(); local 228 if (!alloc) { 232 const uint8_t *data = static_cast<const uint8_t *>(alloc->getPtr()); 374 Allocation *alloc = (Allocation *)rsi_AllocationCreateTyped(rsc, mAllocType.get()); local 375 mDefaultAlloc.set(alloc); 378 pv->bindAllocation(alloc, 0);
|
H A D | rsAllocation.cpp | 32 LOGE("Allocation::Allocation, alloc failure"); 337 Allocation * alloc = new Allocation(rsc, type); local 338 alloc->incUserRef(); 339 return alloc; 353 Allocation *alloc = static_cast<Allocation *>(va); local 354 alloc->deferedUploadToTexture(rsc, genmip, baseMipLevel); 359 Allocation *alloc = static_cast<Allocation *>(va); local 360 alloc->deferedUploadToBufferObject(rsc); 519 Allocation * alloc = new Allocation(rsc, type, bmp, callbackData, callback); local 520 alloc [all...] |
/frameworks/base/core/jni/ |
H A D | CursorWindow.cpp | 120 uint32_t fieldDirOffset = alloc(fieldDirSize); 135 uint32_t CursorWindow::alloc(size_t requestedSize, bool aligned) function in class:android::CursorWindow 202 nextChunkOffset = alloc(ROW_SLOT_CHUNK_SIZE, true); 317 int offset = alloc(sizeof(int64_t)); 341 int offset = alloc(sizeof(int64_t));
|
H A D | android_util_AssetManager.cpp | 1627 String8 alloc = Asset::getAssetAllocations(); local 1628 if (alloc.length() <= 0) { 1632 jstring str = env->NewStringUTF(alloc.string());
|
/frameworks/base/libs/binder/ |
H A D | MemoryDealer.cpp | 151 ssize_t alloc(size_t size, uint32_t flags); 292 ssize_t offset = alloc(size, flags); 306 ssize_t SimpleBestFitAllocator::alloc(size_t size, uint32_t flags) function in class:android::SimpleBestFitAllocator
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 65 void* alloc(size_t size) { function in class:android::MallocHelper 121 pTransformed = (float*) mallocHelper.alloc(transformedIndexCount * 4 * sizeof(float));
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScript.java | 105 native void nAllocationUploadToTexture(int alloc, boolean genMips, int baseMioLevel); argument 106 native void nAllocationUploadToBufferObject(int alloc); argument 120 native void nAdapter1DBindAllocation(int ad, int alloc); argument 128 native void nAdapter2DBindAllocation(int ad, int alloc); argument 136 native void nScriptBindAllocation(int script, int alloc, int slot); argument 186 native void nSimpleMeshBindVertex(int id, int alloc, int slot); argument 187 native void nSimpleMeshBindIndex(int id, int alloc); argument
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 575 nAllocationSubData1D_i(JNIEnv *_env, jobject _this, jint alloc, jint offset, jint count, jintArray data, int sizeBytes) argument 579 LOG_API("nAllocation1DSubData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 581 rsAllocation1DSubData(con, (RsAllocation)alloc, offset, count, ptr, sizeBytes); 586 nAllocationSubData1D_s(JNIEnv *_env, jobject _this, jint alloc, jint offset, jint count, jshortArray data, int sizeBytes) argument 590 LOG_API("nAllocation1DSubData_s, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 592 rsAllocation1DSubData(con, (RsAllocation)alloc, offset, count, ptr, sizeBytes); 597 nAllocationSubData1D_b(JNIEnv *_env, jobject _this, jint alloc, jint offset, jint count, jbyteArray data, int sizeBytes) argument 601 LOG_API("nAllocation1DSubData_b, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 603 rsAllocation1DSubData(con, (RsAllocation)alloc, offset, count, ptr, sizeBytes); 608 nAllocationSubData1D_f(JNIEnv *_env, jobject _this, jint alloc, jin argument 619 nAllocationSubData2D_i(JNIEnv *_env, jobject _this, jint alloc, jint xoff, jint yoff, jint w, jint h, jintArray data, int sizeBytes) argument 630 nAllocationSubData2D_f(JNIEnv *_env, jobject _this, jint alloc, jint xoff, jint yoff, jint w, jint h, jfloatArray data, int sizeBytes) argument 641 nAllocationRead_i(JNIEnv *_env, jobject _this, jint alloc, jintArray data) argument 652 nAllocationRead_f(JNIEnv *_env, jobject _this, jint alloc, jfloatArray data) argument 665 nAllocationSubDataFromObject(JNIEnv *_env, jobject _this, jint alloc, jobject _type, jint offset, jobject _o) argument 683 nAllocationSubReadFromObject(JNIEnv *_env, jobject _this, jint alloc, jobject _type, jint offset, jobject _o) argument 707 nAdapter1DBindAllocation(JNIEnv *_env, jobject _this, jint adapter, jint alloc) argument 777 nAdapter2DBindAllocation(JNIEnv *_env, jobject _this, jint adapter, jint alloc) argument 849 nScriptBindAllocation(JNIEnv *_env, jobject _this, jint script, jint alloc, jint slot) argument 1335 nSimpleMeshBindVertex(JNIEnv *_env, jobject _this, jint s, jint alloc, jint slot) argument 1343 nSimpleMeshBindIndex(JNIEnv *_env, jobject _this, jint s, jint alloc) argument [all...] |