/dalvik/dexdump/ |
H A D | DexDump.cpp | 355 * Copy character data from "data" to "out", converting non-ASCII values 361 static void asciify(char* out, const unsigned char* data, size_t len) argument 364 if (*data < 0x20) { 366 switch (*data) { 379 } else if (*data >= 0x80) { 382 *out++ = *data; 384 data++; 476 * length, then the data. Chunks start on 64-bit boundaries. 519 fprintf(stderr, "Trouble reading class data\ 1548 const u1* data = *pData; local 1586 const u1* data = *pData; local 1692 const u1* data = (u1*) pClassPool + classOffsets[idx]; local [all...] |
/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/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/etc/ |
H A D | jasmin.jar | META-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ... |
/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/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/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...] |
/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/libdex/ |
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 | DexFile.cpp | 123 static void dexComputeSHA1Digest(const unsigned char* data, size_t length, argument 128 SHA1Update(&context, data, length); 266 * Set up the basic raw data pointers of a DexFile. This function isn't 269 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data) { argument 270 DexHeader *pHeader = (DexHeader*) data; 272 pDexFile->baseAddr = data; 274 pDexFile->pStringIds = (const DexStringId*) (data + pHeader->stringIdsOff); 275 pDexFile->pTypeIds = (const DexTypeId*) (data + pHeader->typeIdsOff); 276 pDexFile->pFieldIds = (const DexFieldId*) (data + pHeader->fieldIdsOff); 277 pDexFile->pMethodIds = (const DexMethodId*) (data 289 dexFileParse(const u1* data, size_t length, int flags) argument [all...] |
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 | DexSwapVerify.cpp | 373 * in the data section. 399 u4 dataItemCount = 0; // Total count of items in the data section. 434 * This sanity check on the data section items ensures that 436 * the data section. 439 ALOGE("Unrealistically many items in the data section: " 518 ALOGE("Unable to allocate data map (size %#x)", dataItemCount); 937 const u1* data = (const u1*) filePointer(state, offset); local 938 DexClassData* classData = dexReadAndVerifyClassData(&data, NULL); 1253 * the definer of the first item in the data. */ 1407 const u1* data local 1561 const u1* data = (const u1*) ptr; local 1614 const u1* data = (const u1*) ptr; local 1874 const u1* data = (const u1*) ptr; local 1975 const u1* data = (const u1*) ptr; local 2124 const u1* data = *pData; local 2140 verifyEncodedArray(const CheckState* state, const u1* data, bool crossVerify) argument 2163 verifyEncodedValue(const CheckState* state, const u1* data, bool crossVerify) argument 2283 verifyEncodedAnnotation(const CheckState* state, const u1* data, bool crossVerify) argument 2357 const u1* data = (const u1*) ptr; local 2378 const u1* data = (const u1*) ptr; local [all...] |
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 | ZipArchive.h | 72 const char* entryName, ZipEntry* data) { 73 return FindEntry(pArchive, entryName, data); 71 dexZipFindEntry(const ZipArchiveHandle pArchive, const char* entryName, ZipEntry* data) argument
|
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/tools/dmtracedump/ |
H A D | TraceDump.c | 21 * shuffling data around. It'll do for a first pass. 117 * Values from the header of the data file. 581 * "data" should point somewhere within the current line. "len" is the 586 int findNextChar(const char* data, int len, char lookFor) argument 588 const char* start = data; 591 if (*data == lookFor) 592 return data - start; 594 data++; 606 int countLinesToToken(const char* data, int len) argument 611 while (*data ! 628 checkToken(const char* data, int len, const char* cmpStr) argument 656 char* data; local 711 char* data; local 765 char* data; local 877 char* data; local [all...] |
/dalvik/tools/hprof-conv/ |
H A D | HprofConv.c | 18 * Strip Android-specific records out of hprof data, back-converting from 20 * Android hprof data to be handled by widely-available tools (like "jhat"). 142 * Return a pointer to the data buffer. 144 * The pointer may change as data is added to the buffer, so this value 153 * Get the amount of data currently in the buffer. 192 * Add data to the buffer after ensuring it can hold it. 194 static int ebAddData(ExpandBuf* pBuf, const void* data, size_t count) argument 197 memcpy(pBuf->storage + pBuf->curLen, data, count); 225 * Read some data, adding it to the expanding buffer. 227 * This will ensure that the buffer has enough space to hold the new data [all...] |