/frameworks/support/renderscript/v8/rs_support/ |
D | rsAllocation.cpp | 72 uint32_t count, const void *data, size_t sizeBytes) { in data() argument 75 if ((count * eSize) != sizeBytes) { in data() 77 (count * eSize), sizeBytes); in data() 82 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 87 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { in data() argument 93 if ((lineSize * h) != sizeBytes) { in data() 94 ALOGE("Allocation size mismatch, expected %zu, got %zu", (lineSize * h), sizeBytes); in data() 99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data() 105 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) { in data() argument 109 uint32_t count, void *data, size_t sizeBytes) { in read() argument [all …]
|
D | rsAllocation.h | 92 …ata(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 94 uint32_t w, uint32_t h, const void *data, size_t sizeBytes); 96 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes); 98 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 100 uint32_t w, uint32_t h, void *data, size_t sizeBytes); 102 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes); 105 const void *data, uint32_t elementOff, size_t sizeBytes); 107 const void *data, uint32_t elementOff, size_t sizeBytes);
|
D | rs_hal.h | 155 const void *data, size_t sizeBytes); 159 const void *data, size_t sizeBytes); 163 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes); 167 void *data, size_t sizeBytes); 171 void *data, size_t sizeBytes); 175 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes); 205 const void *data, uint32_t elementOff, size_t sizeBytes); 207 const void *data, uint32_t elementOff, size_t sizeBytes);
|
D | rsAdapter.cpp | 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { in data() argument 41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes); in data() 112 const void *data, size_t sizeBytes) { in data() argument 113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes); in data()
|
D | rsAdapter.h | 47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes); 80 const void *data, size_t sizeBytes);
|
/frameworks/rs/ |
D | rsAllocation.cpp | 77 uint32_t count, const void *data, size_t sizeBytes) { in data() argument 80 if ((count * eSize) != sizeBytes) { in data() 82 (count * eSize), sizeBytes); in data() 87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 92 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { in data() argument 98 if ((lineSize * h) != sizeBytes) { in data() 99 ALOGE("Allocation size mismatch, expected %zu, got %zu", (lineSize * h), sizeBytes); in data() 104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data() 110 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) { in data() argument 114 uint32_t count, void *data, size_t sizeBytes) { in read() argument [all …]
|
D | rsAllocation.h | 95 …ata(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 97 uint32_t w, uint32_t h, const void *data, size_t sizeBytes); 99 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes); 101 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 103 uint32_t w, uint32_t h, void *data, size_t sizeBytes); 105 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes); 108 const void *data, uint32_t elementOff, size_t sizeBytes); 110 const void *data, uint32_t elementOff, size_t sizeBytes);
|
D | rs_hal.h | 156 const void *data, size_t sizeBytes); 160 const void *data, size_t sizeBytes); 164 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes); 168 void *data, size_t sizeBytes); 172 void *data, size_t sizeBytes); 176 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes); 206 const void *data, uint32_t elementOff, size_t sizeBytes); 208 const void *data, uint32_t elementOff, size_t sizeBytes);
|
D | rsAdapter.cpp | 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { in data() argument 41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes); in data() 112 const void *data, size_t sizeBytes) { in data() argument 113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes); in data()
|
D | rsAdapter.h | 47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes); 80 const void *data, size_t sizeBytes);
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 237 …ive void rsnAllocationData1D(int con, int id, int off, int mip, int count, int[] d, int sizeBytes); in rsnAllocationData1D() argument 238 … synchronized void nAllocationData1D(int id, int off, int mip, int count, int[] d, int sizeBytes) { in nAllocationData1D() argument 240 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D() 242 …e void rsnAllocationData1D(int con, int id, int off, int mip, int count, short[] d, int sizeBytes); in rsnAllocationData1D() argument 243 …ynchronized void nAllocationData1D(int id, int off, int mip, int count, short[] d, int sizeBytes) { in nAllocationData1D() argument 245 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D() 247 …ve void rsnAllocationData1D(int con, int id, int off, int mip, int count, byte[] d, int sizeBytes); in rsnAllocationData1D() argument 248 …synchronized void nAllocationData1D(int id, int off, int mip, int count, byte[] d, int sizeBytes) { in nAllocationData1D() argument 250 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D() 252 …e void rsnAllocationData1D(int con, int id, int off, int mip, int count, float[] d, int sizeBytes); in rsnAllocationData1D() argument [all …]
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdAllocation.h | 86 const void *data, uint32_t sizeBytes); 91 const void *data, uint32_t sizeBytes); 96 uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes); 101 void *data, uint32_t sizeBytes); 106 void *data, uint32_t sizeBytes); 111 uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes); 143 const void *data, uint32_t elementOff, uint32_t sizeBytes); 147 const void *data, uint32_t elementOff, uint32_t sizeBytes);
|
D | rsdAllocation.cpp | 269 const void *data, size_t sizeBytes) { in rsdAllocationData1D() argument 287 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { in rsdAllocationData2D() argument 315 uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) { in rsdAllocationData3D() argument 321 void *data, size_t sizeBytes) { in rsdAllocationRead1D() argument 331 uint32_t w, uint32_t h, void *data, size_t sizeBytes) { in rsdAllocationRead2D() argument 354 uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) { in rsdAllocationRead3D() argument 424 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData1D() argument 438 memcpy(ptr, data, sizeBytes); in rsdAllocationElementData1D() 444 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData2D() argument 458 memcpy(ptr, data, sizeBytes); in rsdAllocationElementData2D()
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 97 const void *data, uint32_t sizeBytes); 102 const void *data, uint32_t sizeBytes); 107 uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes); 112 void *data, uint32_t sizeBytes); 117 void *data, uint32_t sizeBytes); 122 uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes); 154 const void *data, uint32_t elementOff, uint32_t sizeBytes); 158 const void *data, uint32_t elementOff, uint32_t sizeBytes);
|
D | rsdAllocation.cpp | 576 const void *data, size_t sizeBytes) { in rsdAllocationData1D() argument 594 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { in rsdAllocationData2D() argument 622 uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) { in rsdAllocationData3D() argument 628 void *data, size_t sizeBytes) { in rsdAllocationRead1D() argument 638 uint32_t w, uint32_t h, void *data, size_t sizeBytes) { in rsdAllocationRead2D() argument 661 uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) { in rsdAllocationRead3D() argument 731 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData1D() argument 745 memcpy(ptr, data, sizeBytes); in rsdAllocationElementData1D() 751 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData2D() argument 765 memcpy(ptr, data, sizeBytes); in rsdAllocationElementData2D()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | RenderScript.java | 331 …ive void rsnAllocationData1D(int con, int id, int off, int mip, int count, int[] d, int sizeBytes); in rsnAllocationData1D() argument 332 … synchronized void nAllocationData1D(int id, int off, int mip, int count, int[] d, int sizeBytes) { in nAllocationData1D() argument 334 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D() 336 …e void rsnAllocationData1D(int con, int id, int off, int mip, int count, short[] d, int sizeBytes); in rsnAllocationData1D() argument 337 …ynchronized void nAllocationData1D(int id, int off, int mip, int count, short[] d, int sizeBytes) { in nAllocationData1D() argument 339 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D() 341 …ve void rsnAllocationData1D(int con, int id, int off, int mip, int count, byte[] d, int sizeBytes); in rsnAllocationData1D() argument 342 …synchronized void nAllocationData1D(int id, int off, int mip, int count, byte[] d, int sizeBytes) { in nAllocationData1D() argument 344 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D() 346 …e void rsnAllocationData1D(int con, int id, int off, int mip, int count, float[] d, int sizeBytes); in rsnAllocationData1D() argument [all …]
|
/frameworks/support/renderscript/v8/jni/ |
D | android_renderscript_RenderScript.cpp | 420 …_this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) in nAllocationData1D_i() argument 423 …(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); in nAllocationData1D_i() 425 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_i() 430 …his, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) in nAllocationData1D_s() argument 433 …(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); in nAllocationData1D_s() 435 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_s() 440 …this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) in nAllocationData1D_b() argument 443 …(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); in nAllocationData1D_b() 445 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_b() 450 …his, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) in nAllocationData1D_f() argument [all …]
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 596 …_this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) in nAllocationData1D_i() argument 599 …(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); in nAllocationData1D_i() 601 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_i() 606 …his, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) in nAllocationData1D_s() argument 609 …(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); in nAllocationData1D_s() 611 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_s() 616 …this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) in nAllocationData1D_b() argument 619 …(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); in nAllocationData1D_b() 621 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_b() 626 …his, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) in nAllocationData1D_f() argument [all …]
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
D | DefaultContainerService.java | 825 long sizeBytes = apkFile.length(); in calculateContainerSize() local 826 if (sizeBytes == 0 && !apkFile.exists()) { in calculateContainerSize() 832 sizeBytes += NativeLibraryHelper.sumNativeBinariesLI(apkFile); in calculateContainerSize() 835 sizeBytes += PackageHelper.extractPublicFiles(apkFile.getPath(), null); in calculateContainerSize() 838 int sizeMb = (int) (sizeBytes >> 20); in calculateContainerSize() 839 if ((sizeBytes - (sizeMb * 1024 * 1024)) > 0) { in calculateContainerSize()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 221 static bool assertIdmapHeader(const uint32_t* map, size_t sizeBytes) in assertIdmapHeader() argument 223 if (sizeBytes < ResTable::IDMAP_HEADER_SIZE_BYTES) { in assertIdmapHeader() 224 ALOGW("idmap assertion failed: size=%d bytes\n", (int)sizeBytes); in assertIdmapHeader() 235 static status_t idmapLookup(const uint32_t* map, size_t sizeBytes, uint32_t key, uint32_t* outValue) in idmapLookup() argument 238 if (!assertIdmapHeader(map, sizeBytes)) { in idmapLookup() 243 const size_t size = (sizeBytes - ResTable::IDMAP_HEADER_SIZE_BYTES) / sizeof(uint32_t); in idmapLookup() 5310 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes, in getIdmapInfo() argument 5314 if (!assertIdmapHeader(map, sizeBytes)) { in getIdmapInfo()
|