/libcore/support/src/test/java/libcore/tlswire/util/ |
IoUtils.java | 30 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); 31 byte[] result = new byte[sizeBytes]; 38 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); 39 int elementCount = sizeBytes / 2;
|
/frameworks/rs/ |
rsAllocation.cpp | 193 uint32_t count, const void *data, size_t sizeBytes) { 196 if ((count * eSize) != sizeBytes) { 199 (count * eSize), sizeBytes); 205 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 210 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { 211 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 217 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { 218 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 223 uint32_t count, void *data, size_t sizeBytes) { 226 if ((count * eSize) != sizeBytes) { [all...] |
rsAllocation.h | 136 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 138 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride); 140 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride); 142 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 144 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride); 146 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride); 149 const void *data, uint32_t elementOff, size_t sizeBytes); 152 void *data, uint32_t elementOff, size_t sizeBytes);
|
rs_hal.h | 243 const void *data, size_t sizeBytes); 247 const void *data, size_t sizeBytes, size_t stride); 250 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, 255 void *data, size_t sizeBytes); 259 void *data, size_t sizeBytes, size_t stride); 262 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, 294 const void *data, uint32_t elementOff, size_t sizeBytes); 297 void *data, uint32_t elementOff, size_t sizeBytes);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BaseDescriptor.java | 42 int sizeBytes;
54 + sizeBytes;
62 return sizeBytes;
78 sizeBytes = i;
|
/frameworks/base/core/java/com/android/internal/content/ |
PackageHelper.java | 87 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, 90 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; 113 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { 115 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; 350 int installLocation, long sizeBytes) throws IOException { 363 final boolean fitsOnInternal = fitsOnInternal(context, sizeBytes); 371 if (availBytes >= sizeBytes) { 425 public static boolean fitsOnInternal(Context context, long sizeBytes) { 428 return (sizeBytes <= storage.getStorageBytesUntilLow(target)); 431 public static boolean fitsOnExternal(Context context, long sizeBytes) { [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
packet.cc | 25 sizeBytes(0), 44 sizeBytes(size), 68 sizeBytes(size), 86 sizeBytes = 0;
|
packet.h | 40 size_t sizeBytes;
|
session_info.cc | 149 length += (*it).sizeBytes; 165 offset += (*it).sizeBytes; 183 while (nalu_ptr < packet_buffer + packet.sizeBytes) { 192 while (nalu_ptr < packet_buffer + packet.sizeBytes) { 199 packet.sizeBytes = required_length; 200 return packet.sizeBytes; 203 packet_it, packet.sizeBytes + 206 packet.sizeBytes = 207 Insert(packet_buffer, packet.sizeBytes, packet.insertStartCode, 209 return packet.sizeBytes; [all...] |
frame_buffer.cc | 88 assert(!(NULL == packet.dataPtr && packet.sizeBytes > 0)); 107 Length() + packet.sizeBytes + 130 if (packet.sizeBytes > 0)
|
/frameworks/rs/driver/ |
rsdAllocation.h | 115 const void *data, size_t sizeBytes); 120 const void *data, size_t sizeBytes, size_t stride); 124 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, 130 void *data, size_t sizeBytes); 135 void *data, size_t sizeBytes, size_t stride); 139 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, 172 const void *data, uint32_t elementOff, size_t sizeBytes); 177 void *data, uint32_t elementOff, size_t sizeBytes);
|
/frameworks/base/core/java/android/text/format/ |
Formatter.java | 74 * @param sizeBytes size value to be formatted, in bytes 77 public static String formatFileSize(@Nullable Context context, long sizeBytes) { 81 final BytesResult res = formatBytes(context.getResources(), sizeBytes, 0); 90 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { 94 final BytesResult res = formatBytes(context.getResources(), sizeBytes, FLAG_SHORTER); 100 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { 101 final boolean isNegative = (sizeBytes < 0); 102 float result = isNegative ? -sizeBytes : sizeBytes;
|
/frameworks/base/keystore/java/android/security/keystore/ |
KeyStoreCryptoOperationUtils.java | 98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { 99 if (sizeBytes <= 0) { 105 byte[] result = new byte[sizeBytes];
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
ByteArrayRingBuffer.java | 89 private void pruneToSize(int sizeBytes) { 92 while (i < mArrayList.size() && newBytesUsed > sizeBytes) {
|
/frameworks/base/rs/java/android/renderscript/ |
RenderScript.java | 535 native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, 537 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, 540 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding); 543 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 544 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 546 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 570 int w, int h, Object d, int sizeBytes, int dt, 573 int w, int h, Object d, int sizeBytes, Element.DataType dt, 576 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding); 604 int w, int h, int depth, Object d, int sizeBytes, int dt [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
RenderScript.java | 461 native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, 463 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, 466 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding); 469 native void rsnAllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); 470 synchronized void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { 472 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); 475 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 476 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 478 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 503 int w, int h, Object d, int sizeBytes, int dt [all...] |
/frameworks/support/v8/renderscript/jni/ |
android_renderscript_RenderScript.cpp | 321 int sizeBytes = mSize * 3; 325 memcpy(dst, src, sizeBytes); 327 src += sizeBytes; 333 int sizeBytes = mSize * 3; 337 memcpy(dst, src, sizeBytes); 338 dst += sizeBytes; [all...] |
/frameworks/rs/cpp/ |
Allocation.cpp | 194 int sizeBytes = mSize * 3; 198 memcpy(dst, src, sizeBytes); 200 src += sizeBytes; 206 int sizeBytes = mSize * 3; 210 memcpy(dst, src, sizeBytes); 211 dst += sizeBytes;
|
/external/libdrm/freedreno/kgsl/ |
kgsl_pipe.c | 191 void *value, int sizebytes) 196 .sizebytes = sizebytes,
|
/frameworks/base/rs/jni/ |
android_renderscript_RenderScript.cpp | 318 int sizeBytes = mSize * 3; 322 memcpy(dst, src, sizeBytes); 324 src += sizeBytes; 330 int sizeBytes = mSize * 3; 334 memcpy(dst, src, sizeBytes); 335 dst += sizeBytes; [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallAppProgress.java | 280 final long sizeBytes = file.length(); 281 final OutputStream out = session.openWrite("PackageInstaller", 0, sizeBytes); 286 if (sizeBytes > 0) { 287 final float fraction = ((float) c / (float) sizeBytes);
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 166 final long sizeBytes; 169 sizeBytes = PackageHelper.calculateInstalledSize(pkg, isForwardLocked, abiOverride); 190 pkg.packageName, pkg.installLocation, sizeBytes, flags); 319 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle, 323 final String newMountPath = PackageHelper.createSdDir(sizeBytes, newCid, key,
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 160 byte[] sizeBytes = new byte[4]; 176 writeInt(sizeBytes, 0, line.length); 177 gzip.write(sizeBytes);
|
/external/webrtc/webrtc/modules/video_coding/test/ |
stream_generator.cc | 67 packet.sizeBytes = size;
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 370 if (inPath == null && params.sessionParams.sizeBytes == 0) { 374 if (doWriteSession(sessionId, inPath, params.sessionParams.sizeBytes, "base.apk", 413 long sizeBytes = -1; 418 sizeBytes = Long.parseLong(nextArg()); 427 return doWriteSession(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); 530 private int doWriteSession(int sessionId, String inPath, long sizeBytes, String splitName, 537 sizeBytes = file.length(); 553 in = new SizedInputStream(System.in, sizeBytes); 555 out = session.openWrite(splitName, 0, sizeBytes); 564 if (info.sizeBytes > 0) [all...] |