Searched refs:data (Results 1 - 25 of 62) sorted by relevance

123

/dalvik/tools/dmtracedump/
H A Ddmtracedump.pl4 @traces = grep { /.*\.dmtrace\.data/ } readdir(DIR);
9 $input =~ s/\.data$//;
H A Ddumpdir.sh3 FILES=`ls $1/*.data | sed "s/^\\(.*\\).data$/\\1/"`
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DRawAttribute.java26 /** {@code non-null;} attribute data */
27 private final ByteArray data; field in class:RawAttribute
31 * #data}
39 * @param data {@code non-null;} attribute data
42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { argument
45 if (data == null) {
46 throw new NullPointerException("data == null");
49 this.data = data;
62 RawAttribute(String name, ByteArray data, int offset, int length, ConstantPool pool) argument
[all...]
/dalvik/vm/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmServer.c25 * private static void nativeSendChunk(int type, byte[] data,
34 ArrayObject* data = (ArrayObject*) args[1]; local
38 assert(offset+length <= (int)data->length);
40 dvmDbgDdmSendChunk(type, length, (const u1*)data->contents + offset);
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.c138 * Fill a buffer with data on recent heap allocations.
144 ArrayObject* data; local
146 data = dvmDdmGetRecentAllocations();
147 dvmReleaseTrackedAlloc((Object*) data, NULL);
148 RETURN_PTR(data);
H A Djava_lang_VMClassLoader.c26 * byte[] data, int offset, int len, ProtectionDomain pd)
36 const u1* data = (const u1*) args[2]; local
44 loader, name, data, offset, len, pd);
53 * static Class defineClass(ClassLoader cl, byte[] data, int offset,
64 const u1* data = (const u1*) args[1]; local
70 loader, data, offset, len, pd);
/dalvik/libdex/
H A DDexOptData.h18 * Functions to parse and manipulate the additional data tables added
28 * Parse the optimized data tables in the given dex file.
30 * @param data pointer to the start of the entire dex file
34 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile);
37 * Compute the checksum of the optimized data tables pointed at by the given
H A DDexCatch.c32 const u1* data = baseData; local
34 readUnsignedLeb128(&data);
36 return data - baseData;
45 const u1* data = dexGetCatchHandlerData(pCode); local
47 return readUnsignedLeb128(&data);
H A Dsha1.h16 void SHA1Update(SHA1_CTX* context, const unsigned char* data,
H A DLeb128.h133 DEX_INLINE u1* writeUnsignedLeb128(u1* ptr, u4 data) argument
136 u1 out = data & 0x7f;
137 if (out != data) {
139 data >>= 7;
152 DEX_INLINE int unsignedLeb128Size(u4 data) argument
157 data >>= 7;
159 } while (data != 0);
H A DDexOptData.c18 * Functions to parse and manipulate the additional data tables added
27 * Check to see if a given data pointer is a valid double-word-aligned
49 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile) argument
51 const void* pOptStart = data + pDexFile->pOptHeader->optOffset;
52 const void* pOptEnd = data + length;
57 * Make sure the opt data start is in range and aligned. This may
60 * if the opt data header got corrupted, pOpt might not be
64 LOGE("Bogus opt data start pointer\n");
68 /* Make sure that the opt data length is a whole number of words. */
70 LOGE("Unaligned opt data are
[all...]
H A DDexSwapVerify.c372 * in the data section.
398 u4 dataItemCount = 0; // Total count of items in the data section.
433 * This sanity check on the data section items ensures that
435 * the data section.
438 LOGE("Unrealistically many items in the data section: "
517 LOGE("Unable to allocate data map (size 0x%x)\n", dataItemCount);
930 const u1* data = filePointer(state, offset); local
931 DexClassData* classData = dexReadAndVerifyClassData(&data, NULL);
1245 * the definer of the first item in the data. */
1399 const u1* data local
1547 const u1* data = ptr; local
1600 const u1* data = ptr; local
1860 const u1* data = ptr; local
1961 const u1* data = ptr; local
2110 const u1* data = *pData; local
2126 verifyEncodedArray(const CheckState* state, const u1* data, bool crossVerify) argument
2149 verifyEncodedValue(const CheckState* state, const u1* data, bool crossVerify) argument
2269 verifyEncodedAnnotation(const CheckState* state, const u1* data, bool crossVerify) argument
2343 const u1* data = ptr; local
2364 const u1* data = ptr; local
[all...]
H A DDexFile.c303 static void dexComputeSHA1Digest(const unsigned char* data, size_t length, argument
308 SHA1Update(&context, data, length);
464 * Set up the basic raw data pointers of a DexFile. This function isn't
467 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data) { argument
468 DexHeader *pHeader = (DexHeader*) data;
470 pDexFile->baseAddr = data;
472 pDexFile->pStringIds = (const DexStringId*) (data + pHeader->stringIdsOff);
473 pDexFile->pTypeIds = (const DexTypeId*) (data + pHeader->typeIdsOff);
474 pDexFile->pFieldIds = (const DexFieldId*) (data + pHeader->fieldIdsOff);
475 pDexFile->pMethodIds = (const DexMethodId*) (data
487 dexFileParse(const u1* data, size_t length, int flags) argument
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DByteArrayAnnotatedOutput.java24 * Implementation of {@link AnnotatedOutput} which stores the written data
41 /** {@code non-null;} the data itself */
42 private byte[] data; field in class:ByteArrayAnnotatedOutput
67 * given array is the only one that will be used to store data. In
72 * @param data {@code non-null;} data array to use for output
74 public ByteArrayAnnotatedOutput(byte[] data) { argument
75 this(data, false);
90 * @param data {@code non-null;} data arra
93 ByteArrayAnnotatedOutput(byte[] data, boolean stretchy) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStatistics.java29 /** {@code non-null;} data about each type of item */
46 Data data = dataMap.get(typeName);
48 if (data == null) {
51 data.add(item);
81 for (Data data : dataMap.values()) {
82 sortedData.put(data.name, data);
85 for (Data data : sortedData.values()) {
86 data.writeAnnotation(out);
97 for (Data data
[all...]
H A DStringIdItem.java34 /** {@code null-ok;} associated string data object, if known */
35 private StringDataItem data; field in class:StringIdItem
48 this.data = null;
89 if (data == null) {
90 // The string data hasn't yet been added, so add it.
92 data = new StringDataItem(value);
93 stringData.add(data);
100 int dataOff = data.getAbsoluteOffset();
120 * Gets the associated data object for this instance, if known.
122 * @return {@code null-ok;} the associated data objec
[all...]
/dalvik/vm/
H A DHash.c80 if (pEnt->data == HASH_TOMBSTONE) {
82 pEnt->data = NULL;
83 } else if (pEnt->data != NULL) {
86 (*pHashTable->freeFunc)(pEnt->data);
87 pEnt->data = NULL;
116 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE)
146 void* data = pHashTable->pEntries[i].data; local
147 if (data != NULL && data !
401 const void* data = (const void*)dvmHashIterData(&iter); local
[all...]
H A DStdioConverter.c41 * Hold some data.
50 static bool readAndLog(int fd, BufferedData* data, const char* tag);
222 * Data is pending on "fd". Read as much as will fit in "data", then
223 * write out any full lines and compact "data".
225 static bool readAndLog(int fd, BufferedData* data, const char* tag) argument
230 assert(data->count < kMaxLine);
232 want = kMaxLine - data->count;
233 actual = read(fd, data->buf + data->count, want);
239 //LOGI("read %s: %d at %d\n", tag, actual, data
[all...]
H A DHash.h44 typedef int (*HashForeachFunc)(void* data, void* arg);
49 typedef int (*HashForeachRemoveFunc)(void* data);
52 * One entry in the hash table. "data" values are expected to be (or have
54 * value for "data" indicates an empty slot, and HASH_TOMBSTONE indicates
59 * When an entry is released, we will call (HashFreeFunc)(entry->data).
63 void* data; member in struct:HashEntry
149 * Remove an item from the hash table, given its "data" pointer. Does not
179 * MyData* data = (MyData*)dvmHashIterData(&iter);
183 void* data; member in struct:HashIter
191 void* data local
[all...]
/dalvik/tests/etc/
H A Dpush-and-run-test-jar108 adb push test.jar /data
109 adb push test-ex.jar /data
111 adb push test.jar /data >/dev/null 2>&1
112 adb push test-ex.jar /data >/dev/null 2>&1
126 adb shell cd /data \; dvz -classpath test.jar Main "$@"
128 adb shell cd /data \; dalvikvm $DEX_VERIFY $DEX_OPTIMIZE $DEX_DEBUG \
/dalvik/tools/
H A Dget-hprof24 FILE_BASE=`adb shell ls -l '/data/misc/heap-dump*.hprof' | tail -1 | \
32 FILE_BASE=/data/misc/${FILE_BASE}
H A Ddeadcode.py106 data = pipe.read()
107 sections = SplitSections(data)
110 del(data)
/dalvik/dx/src/junit/runner/
H A DTestCaseClassLoader.java101 byte[] data= lookupClassData(name);
102 if (data == null)
104 c= defineClass(name, data, 0, data.length);
112 byte[] data= null;
117 data= loadJarData(path, fileName);
119 data= loadFileData(path, fileName);
121 if (data != null)
122 return data;
175 byte[] data
[all...]
/dalvik/vm/mterp/armv5te/
H A DOP_FILL_ARRAY_DATA.S2 /* fill-array-data vAA, +BBBBBBBB */
8 add r1, rPC, r1, lsl #1 @ r1<- PC + BBBBbbbb*2 (array data off.)
10 bl dvmInterpHandleFillArrayData@ fill the array with predefined data
/dalvik/tests/070-nio-buffer/src/
H A DMain.java86 int data[] = new int[25];
88 //float data[] = new float[25];
90 int1.put (data);
94 int1.put (data);

Completed in 495 milliseconds

123