Searched defs:data (Results 1 - 25 of 41) sorted by relevance

12

/dalvik/vm/interp/
H A DInterpDefs.h66 * 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 Dorg_apache_harmony_dalvik_ddmc_DdmServer.cpp25 * 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.cpp138 * 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.cpp26 * 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 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/dx/src/com/android/dx/io/
H A DEncodedValue.java26 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/libdex/
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 DDexCatch.cpp32 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 DDexOptData.cpp18 * 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 Dsha1.cpp25 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 DTestHash.cpp31 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 DStringIdItem.java32 /** {@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 DCodeOutput.java61 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 DFillArrayDataPayloadDecodedInstruction.java25 /** 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 DShortArrayCodeOutput.java41 * 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 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/hit/src/com/android/hit/
H A DArrayInstance.java29 byte[] data) {
34 mData = data;
28 ArrayInstance(long id, StackTrace stack, int type, int numEntries, byte[] data) argument
/dalvik/vm/
H A DStdioConverter.cpp33 * 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 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...]
H A DMisc.h116 } data; member in struct:DebugOutputTarget
H A DDdm.cpp34 * 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 DHash.cpp79 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...]
/dalvik/vm/analysis/
H A DRegisterMap.h18 * 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 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/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);
99 * @param data {@code non-null;} data arra
102 ByteArrayAnnotatedOutput(byte[] data, boolean stretchy) argument
[all...]

Completed in 574 milliseconds

12