/dalvik/dx/src/com/android/dx/io/ |
H A D | EncodedValue.java | 26 private final byte[] data; field in class:EncodedValue 28 public EncodedValue(byte[] data) { argument 29 this.data = data; 33 return new ByteArrayByteInput(data); 37 return data; 41 out.write(data); 45 int size = Math.min(data.length, other.data.length); 47 if (data[ [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
H A D | FillArrayDataPayloadDecodedInstruction.java | 25 /** data array */ 26 private final Object data; field in class:FillArrayDataPayloadDecodedInstruction 36 * type of the data array. 39 int opcode, Object data, int size, int elementWidth) { 42 this.data = data; 51 int opcode, byte[] data) { 52 this(format, opcode, data, data.length, 1); 59 int opcode, short[] data) { 38 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, Object data, int size, int elementWidth) argument 50 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, byte[] data) argument 58 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, short[] data) argument 66 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] data) argument 74 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, long[] data) argument [all...] |
H A D | CodeOutput.java | 61 public void write(byte[] data); argument 66 public void write(short[] data); argument 71 public void write(int[] data); argument 76 public void write(long[] data); argument
|
H A D | ShortArrayCodeOutput.java | 41 * Gets the array. The returned array contains exactly the data 107 public void write(byte[] data) { argument 110 for (byte b : data) { 127 public void write(short[] data) { argument 128 for (short unit : data) { 134 public void write(int[] data) { argument 135 for (int i : data) { 141 public void write(long[] data) { argument 142 for (long l : data) {
|
/dalvik/tools/dmtracedump/ |
H A D | dmtracedump.pl | 4 @traces = grep { /.*\.dmtrace\.data/ } readdir(DIR); 9 $input =~ s/\.data$//;
|
H A D | dumpdir.sh | 3 FILES=`ls $1/*.data | sed "s/^\\(.*\\).data$/\\1/"`
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
H A D | RawAttribute.java | 26 /** {@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 D | org_apache_harmony_dalvik_ddmc_DdmServer.cpp | 25 * 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 D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp | 138 * 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);
|
/dalvik/libdex/ |
H A D | DexOptData.h | 18 * 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 D | DexCatch.cpp | 32 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 D | sha1.h | 16 void SHA1Update(SHA1_CTX* context, const unsigned char* data,
|
H A D | Leb128.h | 133 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);
|
/dalvik/vm/ |
H A D | StdioConverter.cpp | 33 * Hold some data. 42 static bool readAndLog(int fd, BufferedData* data, const char* tag); 203 * Data is pending on "fd". Read as much as will fit in "data", then 204 * write out any full lines and compact "data". 206 static bool readAndLog(int fd, BufferedData* data, const char* tag) argument 211 assert(data->count < kMaxLine); 213 want = kMaxLine - data->count; 214 actual = read(fd, data->buf + data->count, want); 220 //ALOGI("read %s: %d at %d", tag, actual, data [all...] |
H A D | Hash.cpp | 79 if (pEnt->data == HASH_TOMBSTONE) { 81 pEnt->data = NULL; 82 } else if (pEnt->data != NULL) { 85 (*pHashTable->freeFunc)(pEnt->data); 86 pEnt->data = NULL; 115 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE) 145 void* data = pHashTable->pEntries[i].data; local 146 if (data != NULL && data ! 400 const void* data = (const void*)dvmHashIterData(&iter); local [all...] |
H A D | Hash.h | 44 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...] |
H A D | dalvik | 17 mkdir -p /tmp/android-data/dalvik-cache 20 ANDROID_DATA=/tmp/android-data \
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | ByteArrayAnnotatedOutput.java | 24 * 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/util/ |
H A D | ByteArrayAnnotatedOutput.java | 24 * 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); 99 * @param data {@code non-null;} data arra 102 ByteArrayAnnotatedOutput(byte[] data, boolean stretchy) argument [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | Statistics.java | 29 /** {@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 D | StringIdItem.java | 34 /** {@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/dx/src/com/android/dx/dex/file/ |
H A D | Statistics.java | 29 /** {@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 D | StringIdItem.java | 32 /** {@code null-ok;} associated string data object, if known */ 33 private StringDataItem data; field in class:StringIdItem 46 this.data = null; 87 if (data == null) { 88 // The string data hasn't yet been added, so add it. 90 data = new StringDataItem(value); 91 stringData.add(data); 98 int dataOff = data.getAbsoluteOffset(); 118 * Gets the associated data object for this instance, if known. 120 * @return {@code null-ok;} the associated data objec [all...] |
/dalvik/tests/etc/ |
H A D | push-and-run-test-jar | 109 adb push test.jar /data 110 adb push test-ex.jar /data 112 adb push test.jar /data >/dev/null 2>&1 113 adb push test-ex.jar /data >/dev/null 2>&1 127 adb shell cd /data \; dvz -classpath test.jar Main "$@" 129 cmdline="cd /data; dalvikvm $DEX_VERIFY $DEX_OPTIMIZE $DEX_DEBUG \
|
/dalvik/tools/ |
H A D | get-hprof | 24 FILE_BASE=`adb shell ls -l '/data/misc/heap-dump*.hprof' | tail -1 | \ 32 FILE_BASE=/data/misc/${FILE_BASE}
|