/dalvik/dx/src/com/android/dx/io/instructions/ |
D | FillArrayDataPayloadDecodedInstruction.java | 26 private final Object data; field in FillArrayDataPayloadDecodedInstruction 39 int opcode, Object data, int size, int elementWidth) { in FillArrayDataPayloadDecodedInstruction() argument 42 this.data = data; in FillArrayDataPayloadDecodedInstruction() 51 int opcode, byte[] data) { in FillArrayDataPayloadDecodedInstruction() argument 52 this(format, opcode, data, data.length, 1); in FillArrayDataPayloadDecodedInstruction() 59 int opcode, short[] data) { in FillArrayDataPayloadDecodedInstruction() argument 60 this(format, opcode, data, data.length, 2); in FillArrayDataPayloadDecodedInstruction() 67 int opcode, int[] data) { in FillArrayDataPayloadDecodedInstruction() argument 68 this(format, opcode, data, data.length, 4); in FillArrayDataPayloadDecodedInstruction() 75 int opcode, long[] data) { in FillArrayDataPayloadDecodedInstruction() argument [all …]
|
D | ShortArrayCodeOutput.java | 107 public void write(byte[] data) { in write() argument 110 for (byte b : data) { in write() 127 public void write(short[] data) { in write() argument 128 for (short unit : data) { in write() 134 public void write(int[] data) { in write() argument 135 for (int i : data) { in write() 141 public void write(long[] data) { in write() argument 142 for (long l : data) { in write()
|
D | CodeOutput.java | 61 public void write(byte[] data); in write() argument 66 public void write(short[] data); in write() argument 71 public void write(int[] data); in write() argument 76 public void write(long[] data); in write() argument
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
D | RawAttribute.java | 27 private final ByteArray data; field in RawAttribute 42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { in RawAttribute() argument 45 if (data == null) { in RawAttribute() 49 this.data = data; in RawAttribute() 62 public RawAttribute(String name, ByteArray data, int offset, in RawAttribute() argument 64 this(name, data.slice(offset, offset + length), pool); in RawAttribute() 73 return data; in getData() 78 return data.size() + 6; in byteLength()
|
/dalvik/dx/src/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 45 private byte[] data; field in ByteArrayAnnotatedOutput 77 public ByteArrayAnnotatedOutput(byte[] data) { in ByteArrayAnnotatedOutput() argument 78 this(data, false); in ByteArrayAnnotatedOutput() 105 private ByteArrayAnnotatedOutput(byte[] data, boolean stretchy) { in ByteArrayAnnotatedOutput() argument 106 if (data == null) { in ByteArrayAnnotatedOutput() 111 this.data = data; in ByteArrayAnnotatedOutput() 128 return data; in getArray() 142 System.arraycopy(data, 0, result, 0, cursor); in toByteArray() 166 } else if (end > data.length) { in writeByte() 171 data[writeAt] = (byte) value; in writeByte() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | ByteArrayAnnotatedOutput.java | 42 private byte[] data; field in ByteArrayAnnotatedOutput 74 public ByteArrayAnnotatedOutput(byte[] data) { in ByteArrayAnnotatedOutput() argument 75 this(data, false); in ByteArrayAnnotatedOutput() 93 private ByteArrayAnnotatedOutput(byte[] data, boolean stretchy) { in ByteArrayAnnotatedOutput() argument 94 if (data == null) { in ByteArrayAnnotatedOutput() 99 this.data = data; in ByteArrayAnnotatedOutput() 116 return data; in getArray() 130 System.arraycopy(data, 0, result, 0, cursor); in toByteArray() 154 } else if (end > data.length) { in writeByte() 159 data[writeAt] = (byte) value; in writeByte() [all …]
|
/dalvik/vm/ |
D | Hash.cpp | 79 if (pEnt->data == HASH_TOMBSTONE) { in dvmHashTableClear() 81 pEnt->data = NULL; in dvmHashTableClear() 82 } else if (pEnt->data != NULL) { in dvmHashTableClear() 85 (*pHashTable->freeFunc)(pEnt->data); in dvmHashTableClear() 86 pEnt->data = NULL; in dvmHashTableClear() 115 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE) in countTombStones() 145 void* data = pHashTable->pEntries[i].data; in resizeHash() local 146 if (data != NULL && data != HASH_TOMBSTONE) { in resizeHash() 152 while (pNewEntries[newIdx].data != NULL) in resizeHash() 156 pNewEntries[newIdx].data = data; in resizeHash() [all …]
|
D | StdioConverter.cpp | 42 static bool readAndLog(int fd, BufferedData* data, const char* tag); 206 static bool readAndLog(int fd, BufferedData* data, const char* tag) in readAndLog() argument 211 assert(data->count < kMaxLine); in readAndLog() 213 want = kMaxLine - data->count; in readAndLog() 214 actual = read(fd, data->buf + data->count, want); in readAndLog() 222 data->count += actual; in readAndLog() 228 char* cp = data->buf; in readAndLog() 229 const char* start = data->buf; in readAndLog() 230 int i = data->count; in readAndLog() 231 for (i = data->count; i > 0; i--, cp++) { in readAndLog() [all …]
|
D | Hash.h | 44 typedef int (*HashForeachFunc)(void* data, void* arg); 49 typedef int (*HashForeachRemoveFunc)(void* data); 63 void* data; member 183 void* data; member 191 void* data = pIter->pHashTable->pEntries[i].data; in dvmHashIterNext() local 192 if (data != NULL && data != HASH_TOMBSTONE) in dvmHashIterNext() 207 return pIter->pHashTable->pEntries[pIter->idx].data; in dvmHashIterData()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | Statistics.java | 45 Data data = dataMap.get(typeName); in add() local 47 if (data == null) { in add() 50 data.add(item); in add() 80 for (Data data : dataMap.values()) { in writeAnnotation() 81 sortedData.put(data.name, data); in writeAnnotation() 84 for (Data data : sortedData.values()) { in writeAnnotation() 85 data.writeAnnotation(out); in writeAnnotation() 96 for (Data data : dataMap.values()) { in toHuman() 97 sortedData.put(data.name, data); in toHuman() 100 for (Data data : sortedData.values()) { in toHuman() [all …]
|
D | StringIdItem.java | 33 private StringDataItem data; field in StringIdItem 46 this.data = null; in StringIdItem() 87 if (data == null) { in addContents() 90 data = new StringDataItem(value); in addContents() 91 stringData.add(data); in addContents() 98 int dataOff = data.getAbsoluteOffset(); in writeTo() 124 return data; in getData()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | Statistics.java | 46 Data data = dataMap.get(typeName); in add() local 48 if (data == null) { in add() 51 data.add(item); in add() 81 for (Data data : dataMap.values()) { in writeAnnotation() 82 sortedData.put(data.name, data); in writeAnnotation() 85 for (Data data : sortedData.values()) { in writeAnnotation() 86 data.writeAnnotation(out); in writeAnnotation() 97 for (Data data : dataMap.values()) { in toHuman() 98 sortedData.put(data.name, data); in toHuman() 101 for (Data data : sortedData.values()) { in toHuman() [all …]
|
D | StringIdItem.java | 35 private StringDataItem data; field in StringIdItem 48 this.data = null; in StringIdItem() 89 if (data == null) { in addContents() 92 data = new StringDataItem(value); in addContents() 93 stringData.add(data); in addContents() 100 int dataOff = data.getAbsoluteOffset(); in writeTo() 126 return data; in getData()
|
/dalvik/libdex/ |
D | Leb128.h | 133 DEX_INLINE u1* writeUnsignedLeb128(u1* ptr, u4 data) in writeUnsignedLeb128() argument 136 u1 out = data & 0x7f; in writeUnsignedLeb128() 137 if (out != data) { in writeUnsignedLeb128() 139 data >>= 7; in writeUnsignedLeb128() 152 DEX_INLINE int unsignedLeb128Size(u4 data) in unsignedLeb128Size() argument 157 data >>= 7; in unsignedLeb128Size() 159 } while (data != 0); in unsignedLeb128Size()
|
D | DexCatch.cpp | 32 const u1* data = baseData; in dexGetFirstHandlerOffset() local 34 readUnsignedLeb128(&data); in dexGetFirstHandlerOffset() 36 return data - baseData; in dexGetFirstHandlerOffset() 45 const u1* data = dexGetCatchHandlerData(pCode); in dexGetHandlersSize() local 47 return readUnsignedLeb128(&data); in dexGetHandlersSize()
|
D | DexFile.cpp | 123 static void dexComputeSHA1Digest(const unsigned char* data, size_t length, in dexComputeSHA1Digest() argument 128 SHA1Update(&context, data, length); in dexComputeSHA1Digest() 269 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data) { in dexFileSetupBasicPointers() argument 270 DexHeader *pHeader = (DexHeader*) data; in dexFileSetupBasicPointers() 272 pDexFile->baseAddr = data; in dexFileSetupBasicPointers() 274 pDexFile->pStringIds = (const DexStringId*) (data + pHeader->stringIdsOff); in dexFileSetupBasicPointers() 275 pDexFile->pTypeIds = (const DexTypeId*) (data + pHeader->typeIdsOff); in dexFileSetupBasicPointers() 276 pDexFile->pFieldIds = (const DexFieldId*) (data + pHeader->fieldIdsOff); in dexFileSetupBasicPointers() 277 pDexFile->pMethodIds = (const DexMethodId*) (data + pHeader->methodIdsOff); in dexFileSetupBasicPointers() 278 pDexFile->pProtoIds = (const DexProtoId*) (data + pHeader->protoIdsOff); in dexFileSetupBasicPointers() [all …]
|
D | DexOptData.cpp | 49 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile) in dexParseOptData() argument 51 const void* pOptStart = data + pDexFile->pOptHeader->optOffset; in dexParseOptData() 52 const void* pOptEnd = data + length; in dexParseOptData() 87 ((const u1*) pOpt) - data); in dexParseOptData() 103 size, ((const u1*) pOpt) - data); in dexParseOptData()
|
D | DexSwapVerify.cpp | 937 const u1* data = (const u1*) filePointer(state, offset); in verifyClassDataIsForDef() local 938 DexClassData* classData = dexReadAndVerifyClassData(&data, NULL); in verifyClassDataIsForDef() 1407 const u1* data = item->annotation; in annotationItemTypeIdx() local 1408 return readUnsignedLeb128(&data); in annotationItemTypeIdx() 1561 const u1* data = (const u1*) ptr; in intraVerifyClassDataItem() local 1562 DexClassData* classData = dexReadAndVerifyClassData(&data, state->fileEnd); in intraVerifyClassDataItem() 1577 return (void*) data; in intraVerifyClassDataItem() 1614 const u1* data = (const u1*) ptr; in crossVerifyClassDataItem() local 1615 DexClassData* classData = dexReadAndVerifyClassData(&data, state->fileEnd); in crossVerifyClassDataItem() 1654 return (void*) data; in crossVerifyClassDataItem() [all …]
|
/dalvik/vm/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmServer.cpp | 34 ArrayObject* data = (ArrayObject*) args[1]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk() local 38 assert(offset+length <= (int)data->length); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk() 40 dvmDbgDdmSendChunk(type, length, (const u1*)data->contents + offset); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk()
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp | 144 ArrayObject* data; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getRecentAllocations() local 146 data = dvmDdmGetRecentAllocations(); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getRecentAllocations() 147 dvmReleaseTrackedAlloc((Object*) data, NULL); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getRecentAllocations() 148 RETURN_PTR(data); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getRecentAllocations()
|
/dalvik/tests/etc/ |
D | push-and-run-test-jar | 101 adb push test.jar /data 102 adb push test-ex.jar /data 104 adb push test.jar /data >/dev/null 2>&1 105 adb push test-ex.jar /data >/dev/null 2>&1
|
/dalvik/tools/dmtracedump/ |
D | TraceDump.c | 586 int findNextChar(const char* data, int len, char lookFor) in findNextChar() argument 588 const char* start = data; in findNextChar() 591 if (*data == lookFor) in findNextChar() 592 return data - start; in findNextChar() 594 data++; in findNextChar() 606 int countLinesToToken(const char* data, int len) in countLinesToToken() argument 611 while (*data != TOKEN_CHAR) { in countLinesToToken() 612 next = findNextChar(data, len, '\n'); in countLinesToToken() 616 data += next+1; in countLinesToToken() 628 int checkToken(const char* data, int len, const char* cmpStr) in checkToken() argument [all …]
|
/dalvik/vm/interp/ |
D | InterpDefs.h | 121 u2* data = switchData; in s4FromSwitchData() local 122 return data[0] | (((s4) data[1]) << 16); in s4FromSwitchData()
|
/dalvik/vm/analysis/ |
D | RegisterMap.cpp | 42 static void outputTypeVector(const RegType* regs, int insnRegCount, u1* data); 190 static const int kHeaderSize = offsetof(RegisterMap, data); in dvmGenerateRegisterMapV() 257 mapData = pMap->data; in dvmGenerateRegisterMapV() 373 static void outputTypeVector(const RegType* regs, int insnRegCount, u1* data) in outputTypeVector() argument 385 *data++ = val; in outputTypeVector() 390 *data++ = val; in outputTypeVector() 401 const u1* rawMap = pMap->data; in dumpRegisterMap() 468 const u1* rawMap = pMap->data; in verifyMap() 574 static const int kHeaderSize = offsetof(RegisterMap, data); in computeRegisterMapSize() 590 const u1* ptr = pMap->data; in computeRegisterMapSize() [all …]
|
/dalvik/vm/compiler/codegen/mips/ |
D | Assemble.cpp | 1743 static void selfVerificationMemRegStore(int* sp, int data, int reg) in selfVerificationMemRegStore() argument 1746 *(sp + reg) = data; in selfVerificationMemRegStore() 1750 static void selfVerificationMemRegStoreDouble(int* sp, s8 data, int reg) in selfVerificationMemRegStoreDouble() argument 1753 *((s8*)(sp + reg)) = data; in selfVerificationMemRegStoreDouble() 1768 int data; in selfVerificationLoad() local 1775 addr = ((unsigned int) &(heapSpacePtr->data)) | alignment; in selfVerificationLoad() 1782 data = *((u1*) addr); in selfVerificationLoad() 1785 data = *((s1*) addr); in selfVerificationLoad() 1788 data = *((u2*) addr); in selfVerificationLoad() 1791 data = *((s2*) addr); in selfVerificationLoad() [all …]
|