/dalvik/vm/interp/ |
H A D | InterpDefs.h | 66 * Process fill-array-data. 109 * Construct an s4 from two consecutive half-words of switch data. 121 u2* data = switchData; local 122 return data[0] | (((s4) data[1]) << 16);
|
/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);
|
H A D | java_lang_VMClassLoader.cpp | 26 * byte[] data, int offset, int len) 36 const u1* data = (const u1*) args[2]; local 43 loader, name, data, offset, len); 52 * static Class defineClass(ClassLoader cl, byte[] data, int offset, 63 const u1* data = (const u1*) args[1]; local 68 loader, data, offset, len);
|
/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/libdex/ |
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);
|
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 | DexOptData.cpp | 18 * 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 ALOGE("Bogus opt data start pointer"); 68 /* Make sure that the opt data length is a whole number of words. */ 70 ALOGE("Unaligned opt data are [all...] |
H A D | sha1.cpp | 25 void SHA1Update(SHA1_CTX* context, unsigned char* data, 28 void SHA1Update(SHA1_CTX* context, unsigned char* data, 78 #define SHA1HANDSOFF /*Copies data before messing with it.*/ 213 /* Run your data through this. */ 215 void SHA1Update(SHA1_CTX* context, const unsigned char* data, argument 226 memcpy(&context->buffer[j], data, (i = 64-j)); 229 SHA1Transform(context->state, &data[i]); 235 memcpy(&context->buffer[j], &data[i], len - i);
|
/dalvik/vm/test/ |
H A D | TestHash.cpp | 31 static int printFunc(void* data, void* arg) argument 33 //printf(" '%s'\n", (const char*) data);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
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/dx/src/com/android/dx/io/instructions/ |
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 | 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 | 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/dexgen/src/com/android/dexgen/dex/file/ |
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/hit/src/com/android/hit/ |
H A D | ArrayInstance.java | 29 byte[] data) { 34 mData = data; 28 ArrayInstance(long id, StackTrace stack, int type, int numEntries, byte[] data) argument
|
/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.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 | Misc.h | 116 } data; member in struct:DebugOutputTarget
|
H A D | Ddm.cpp | 34 * and includes the chunk type/length, followed by the data. 108 * We could avoid this by returning type/data/offset/length and having 113 * So we're pretty much stuck with copying data around multiple times. 121 ALOGV("DDM reply: type=0x%08x data=%p offset=%d length=%d", 336 * Generate the contents of a THST chunk. The data encompasses all known 356 * Returns a new byte[] with the data inside, or NULL on failure. The 413 * Create a byte array to hold the data. 466 * Gather up the allocation data and copy it into a byte[]. 472 u1* data; local 475 if (!dvmGenerateTrackedAllocationReport(&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 ! 404 const void* data = (const void*)dvmHashIterData(&iter); local [all...] |
H A D | UtfString.cpp | 258 * Create a new java/lang/String object, using the given Unicode data. 295 const u2* data = (const u2*)(void*)chars->contents + offset; local 298 int byteLen = utf16_utf8ByteLen(data, len); 303 convertUtf16ToUtf8(newStr, data, len); 311 const u2* data = jstr->chars() + start; local 312 convertUtf16ToUtf8(buf, data, len); 323 const u2* data = (const u2*)(void*)chars->contents + offset; local 326 return utf16_utf8ByteLen(data, len);
|
/dalvik/vm/analysis/ |
H A D | RegisterMap.h | 18 * Declaration of register map data structure and related functions. 29 * Format enumeration for RegisterMap data area. 33 kRegMapFormatNone, /* indicates no map data follows */ 59 /* raw data starts here; need not be aligned */ 60 u1 data[1]; member in struct:RegisterMap 130 * to the bit data from an uncompressed map, or to a temporary copy of 131 * data from a compressed map. 140 * Release "data". 143 * single line onto the heap, this will free "data"; otherwise, it does 148 INLINE void dvmReleaseRegisterMapLine(const RegisterMap* pMap, const u1* data) argument 214 void* data; member in struct:RegisterMapBuilder [all...] |
/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 | 27 * Implementation of {@link AnnotatedOutput} which stores the written data 44 /** {@code non-null;} the data itself */ 45 private byte[] data; field in class:ByteArrayAnnotatedOutput 70 * given array is the only one that will be used to store data. In 75 * @param data {@code non-null;} data array to use for output 77 public ByteArrayAnnotatedOutput(byte[] data) { argument 78 this(data, false); 102 * @param data {@code non-null;} data arra 105 ByteArrayAnnotatedOutput(byte[] data, boolean stretchy) argument [all...] |