/frameworks/base/core/java/android/content/pm/ |
PackageStats.java | 31 public long dataSize; 58 dataSize = source.readLong(); 65 dataSize = pStats.dataSize; 76 dest.writeLong(dataSize);
|
/external/opencore/protocols/systems/tools/general/common/src/ |
crccheck.cpp | 85 int32 fragIdx, curSize, dataSize; 90 dataSize = pPkt->GetMediaSize(); 92 while (--dataSize >= 0) 111 int32 fragIdx, curSize, dataSize; 119 dataSize = mediaData->getFilledSize() - 1; 123 dataSize = mediaData->getFilledSize(); 126 while (--dataSize >= 0) 163 int32 fragIdx, curSize, dataSize; 168 dataSize = pPkt->GetMediaSize(); 170 while (--dataSize >= 0 [all...] |
/external/zlib/contrib/minizip/ |
mztools.c | 109 int dataSize = cpsize; 110 if (dataSize == 0) { 111 dataSize = uncpsize; 113 if (dataSize > 0) { 114 char* data = malloc(dataSize); 116 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { 117 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 118 offset += dataSize; [all...] |
/dalvik/libcore/sql/src/main/java/java/sql/ |
DataTruncation.java | 38 private int dataSize = 0; 63 * @param dataSize 69 int dataSize, int transferSize) { 74 this.dataSize = dataSize; 85 return dataSize;
|
/external/webkit/WebKitTools/DumpRenderTree/gtk/ |
WorkQueueItemGtk.cpp | 32 size_t dataSize = JSStringGetMaximumUTF8CStringSize(jsString); 33 gchar* utf8 = (gchar*)g_malloc(dataSize); 34 JSStringGetUTF8CString(jsString, utf8, dataSize);
|
/frameworks/base/libs/utils/ |
BackupData.cpp | 89 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) 111 LOGD("Writing entity: prefix='%s' key='%s' dataSize=%d", m_keyPrefix.string(), key.string(), 112 dataSize); 122 header.dataSize = tolel(dataSize); 256 m_header.entity.dataSize = fromlel(m_header.entity.dataSize); 271 m_dataEndPos = m_pos + m_header.entity.dataSize; 290 BackupDataReader::ReadEntityHeader(String8* key, size_t* dataSize) 299 *dataSize = m_header.entity.dataSize [all...] |
/external/icu4c/io/ |
ustdio.c | 399 int32_t dataSize; 409 dataSize = (int32_t)(str->fLimit - str->fPos); 410 if (f->fFileno == 0 && dataSize > 0) { 416 if(dataSize != 0) { 417 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); 422 availLength = UFILE_UCHARBUFFER_SIZE - dataSize; 446 myTarget = f->fUCBuffer + dataSize; 475 int32_t dataSize; 498 dataSize = (int32_t)(str->fLimit - str->fPos); 501 if (dataSize == 0 [all...] |
/frameworks/base/core/jni/ |
android_backup_BackupHelperDispatcher.cpp | 36 int dataSize; // corresponds to Header.chunkSize 94 LOGD(" dataSize=%d", flattenedHeader.dataSize); 98 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || 100 LOGW("Malformed V1 header remainingHeader=%d dataSize=%d nameLength=%d", remainingHeader, 101 flattenedHeader.dataSize, flattenedHeader.nameLength); 122 env->SetIntField(headerObj, s_chunkSizeField, flattenedHeader.dataSize); 193 header.dataSize = prevPos - (pos + header.headerSize);
|
android_backup_BackupDataInput.cpp | 76 size_t dataSize; 77 err = reader->ReadEntityHeader(&key, &dataSize); 84 env->SetIntField(entity, s_dataSizeField, dataSize); 156 s_dataSizeField = env->GetFieldID(clazz, "dataSize", "I"); 158 "Unable to find dataSize field in android.app.backup.BackupDataInput.EntityHeader");
|
android_security_Md5MessageDigest.cpp | 52 jsize dataSize; 67 dataSize = env->GetArrayLength(dataArray); 69 MD5_Update(context, data, dataSize);
|
android_message_digest_sha1.cpp | 70 jsize dataSize; 88 dataSize = env->GetArrayLength(dataArray); 90 SHA1_Update(context, data, dataSize);
|
/frameworks/base/graphics/java/android/renderscript/ |
Allocation.java | 79 private void data1DChecks(int off, int count, int len, int dataSize) { 84 if((len) < dataSize) { 90 int dataSize = mType.mElement.getSizeBytes() * count; 91 data1DChecks(off, count, d.length * 4, dataSize); 92 mRS.nAllocationSubData1D(mID, off, count, d, dataSize); 95 int dataSize = mType.mElement.getSizeBytes() * count; 96 data1DChecks(off, count, d.length * 2, dataSize); 97 mRS.nAllocationSubData1D(mID, off, count, d, dataSize); 100 int dataSize = mType.mElement.getSizeBytes() * count; 101 data1DChecks(off, count, d.length, dataSize); [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageStatsTest.java | 74 long dataSize = 4096; 81 stats.dataSize = dataSize; 102 assertEquals(expected.dataSize, actual.dataSize);
|
/frameworks/base/media/libstagefright/id3/ |
testid3.cpp | 99 size_t dataSize; 101 const void *data = tag.getAlbumArt(&dataSize, &mime); 104 printf("found album art: size=%d mime='%s'\n", dataSize, 107 hexdump(data, dataSize > 128 ? 128 : dataSize);
|
/frameworks/base/cmds/backup/ |
backup.cpp | 78 size_t dataSize; 79 err = reader.ReadEntityHeader(&key, &dataSize); 81 printf(" entity: %s (%d bytes)\n", key.string(), dataSize);
|
/frameworks/base/include/utils/ |
BackupHelpers.h | 33 int dataSize; // size of the data, not including the padding, -1 means delete 72 status_t WriteEntityHeader(const String8& key, size_t dataSize); 105 status_t ReadEntityHeader(String8* key, size_t* dataSize);
|
/frameworks/base/core/java/com/android/internal/backup/ |
LocalTransport.java | 102 int dataSize = changeSet.getDataSize(); 104 if (DEBUG) Log.v(TAG, "Got change set key=" + key + " size=" + dataSize 107 if (dataSize >= 0) { 113 if (dataSize > bufSize) { 114 bufSize = dataSize; 117 changeSet.readEntityData(buf, 0, dataSize); 118 if (DEBUG) Log.v(TAG, " data size " + dataSize); 121 entity.write(buf, 0, dataSize);
|
/frameworks/base/core/java/android/app/backup/ |
BackupDataOutput.java | 44 * existing record's key, but supplying a negative <code>dataSize</code> parameter. 80 * @param dataSize The size in bytes of this record's data. Passing a dataSize 85 public int writeEntityHeader(String key, int dataSize) throws IOException { 86 int result = writeEntityHeader_native(mBackupWriter, key, dataSize); 127 private native static int writeEntityHeader_native(int mBackupWriter, String key, int dataSize);
|
BackupDataInput.java | 44 * int dataSize = data.getDataSize(); 48 * byte[] buffer = new byte[dataSize]; 49 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once 69 int dataSize; 138 return mHeader.dataSize;
|
/build/tools/dexpreopt/afar/ |
main.c | 77 _eject(struct stat *s, char *out, int olen, char *data, size_t datasize) 96 write_big_endian(datasize); 100 if (fwrite(data, 1, datasize, stdout) != datasize) { 107 adler = adler32(adler, (unsigned char *)data, datasize);
|
/external/qemu/slirp/ |
mbuf.c | 136 int datasize; local 142 datasize = m->m_data - m->m_ext; 147 m->m_data = m->m_ext + datasize; 150 datasize = m->m_data - m->m_dat; 158 m->m_data = m->m_ext + datasize;
|
/external/qemu/slirp-android/ |
mbuf.c | 136 int datasize; local 142 datasize = m->m_data - m->m_ext; 147 m->m_data = m->m_ext + datasize; 150 datasize = m->m_data - m->m_dat; 158 m->m_data = m->m_ext + datasize;
|
/system/core/cpio/ |
mkbootfs.c | 45 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) 69 datasize, 89 if(datasize) { 90 fwrite(data, datasize, 1, stdout); 91 total_size += datasize;
|
/system/extras/tests/sdcard/ |
testcase.cpp | 153 mTestTimer->setDataSize(dataSize()); 157 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); 158 mReadTimer->setDataSize(dataSize()); 160 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize()); 161 mWriteTimer->setDataSize(dataSize());
|
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderItem.java | 71 int dataSize = lastDataSection.getFileOffset() + 116 out.annotate(4, "data_size: " + Hex.u4(dataSize)); 120 out.writeInt(dataSize);
|