Searched defs:header (Results 1 - 13 of 13) sorted by relevance

/dalvik/libdex/
H A DDexClass.cpp39 /* Read and verify the header of a class_data_item. This updates the
105 DexClassDataHeader header; local
114 if (! dexReadAndVerifyClassDataHeader(pData, pLimit, &header)) {
119 (header.staticFieldsSize * sizeof(DexField)) +
120 (header.instanceFieldsSize * sizeof(DexField)) +
121 (header.directMethodsSize * sizeof(DexMethod)) +
122 (header.virtualMethodsSize * sizeof(DexMethod));
133 result->header = header;
135 if (header
[all...]
H A DDexClass.h27 /* expanded form of a class_data_item header */
52 DexClassDataHeader header; member in struct:DexClassData
59 /* Read and verify the header of a class_data_item. This updates the
118 /* Read the header of a class_data_item without verification. This
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DCatchHandlerList.java62 * @param header {@code non-null;} the header for the first line (after the
66 public String toHuman(String prefix, String header) { argument
71 sb.append(header);
/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchHandlerList.java62 * @param header {@code non-null;} the header for the first line (after the
66 public String toHuman(String prefix, String header) { argument
71 sb.append(header);
/dalvik/dx/src/com/android/dx/cf/direct/
H A DCodeObserver.java69 observer.parsed(bytes, offset, length, header(offset));
74 observer.parsed(bytes, offset, length, header(offset));
95 header(offset) + (argComment ? " // " : " ") +
142 header(offset) + " " + cst + valueStr);
150 header(offset) + " " + targetStr);
159 sb.append(header(offset));
186 header(offset) + commentOrSpace + typeName);
204 private String header(int offset) { method in class:CodeObserver
244 header(offset) + commentOrSpace + valueStr);
268 header(offse
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DDexFile.java88 /** {@code non-null;} file header */
89 private final HeaderSection header; field in class:DexFile
107 header = new HeaderSection(this);
127 header, stringIds, typeIds, protoIds, fieldIds, methodIds,
276 * <p>This is package-scope in order to allow the header section
393 * <p>This is package-scope in order to allow the header section
406 * <p>This is package-scope in order to allow the header section
494 header.prepare();
/dalvik/dx/src/com/android/dx/dex/
H A DTableOfContents.java26 * The file header and map.
34 public final Section header = new Section(0x0000); field in class:TableOfContents
53 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, mapList,
89 throw new DexException("Unexpected header: 0x" + Integer.toHexString(headerSize));
/dalvik/dx/src/com/android/dx/dex/file/
H A DDexFile.java93 /** {@code non-null;} file header */
94 private final HeaderSection header; field in class:DexFile
114 header = new HeaderSection(this);
134 header, stringIds, typeIds, protoIds, fieldIds, methodIds,
297 * <p>This is package-scope in order to allow the header section
414 * <p>This is package-scope in order to allow the header section
427 * <p>This is package-scope in order to allow the header section
513 header.prepare();
/dalvik/tools/dmtracedump/
H A DCreateTestTrace.c22 #include "Profile.h" // from VM header
36 * Values from the header of the data file.
49 DataHeader header = { 0x574f4c53, VERSION, sizeof(DataHeader), 0LL }; variable
371 header.version = versionNumber;
372 write4LE(dataFp, header.magic);
373 write2LE(dataFp, header.version);
374 write2LE(dataFp, header.offsetToData);
/dalvik/vm/jdwp/
H A DJdwpEvent.cpp705 * the header.
716 * Write the header into the buffer and send the packet off to the debugger.
1243 u1 header[kJDWPHeaderLen + 8]; local
1250 * "Wrap" the contents of the iovec with a JDWP/DDMS header. We do
1251 * this by creating a new copy of the vector with space for the header.
1260 /* form the header (JDWP plus DDMS) */
1261 set4BE(header, sizeof(header) + dataLen);
1262 set4BE(header+4, dvmJdwpNextRequestSerial(state));
1263 set1(header
[all...]
/dalvik/dx/src/com/android/dx/merge/
H A DDexMerger.java109 headerOut = dexOut.appendSection(writerSizes.header, "header");
170 // write the header
171 contentsOut.header.off = 0;
172 contentsOut.header.size = 1;
985 private int header = SizeOf.HEADER_ITEM; field in class:DexMerger.WriterSizes
1008 header = dexMerger.headerOut.used();
1061 return header + idsDefs + mapList + typeList + classData + code + stringData + debugInfo
/dalvik/vm/analysis/
H A DDexPrepare.cpp22 * TODO: the format of the optimized header is currently "whatever we
109 * create a new one (writing only the file header), and return with the
122 * DEX header (which immediately follows the magic). If these don't
123 * match what's stored in the opt header, we reject the file immediately.
126 * file header, and will be locked with flock. "*pCachedName" will point
210 * in the "opt" header and set "*pNewFile". Otherwise, we want to
211 * verify that the fields in the header match our expectations, and
545 ALOGE("not enough room for opt header");
562 * our DEX data plus room for a small header.
712 * Output the "opt" header wit
1443 } header; local
[all...]
/dalvik/vm/oo/
H A DClass.cpp301 /* (documented in header) */
1954 DexClassDataHeader header; local
1969 dexReadClassDataHeader(&pEncodedData, &header);
1971 // Provide an all-zeroes header for the rest of the loading.
1972 memset(&header, 0, sizeof(header));
1975 result = loadClassFromDex0(pDvmDex, pClassDef, &header, pEncodedData,

Completed in 6242 milliseconds