Searched defs:HEADER_SIZE (Results 1 - 17 of 17) sorted by relevance

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DTypeListItem.java37 private static final int HEADER_SIZE = 4; field in class:TypeListItem
48 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE);
98 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz));
H A DUniformListItem.java40 private static final int HEADER_SIZE = 4; field in class:UniformListItem
77 return Math.max(HEADER_SIZE, items.get(0).getAlignment());
H A DAnnotationsDirectoryItem.java38 private static final int HEADER_SIZE = 16; field in class:AnnotationsDirectoryItem
279 setWriteSize(HEADER_SIZE + (elementCount * ELEMENT_SIZE));
H A DCodeItem.java49 private static final int HEADER_SIZE = 16; field in class:CodeItem
228 setWriteSize(HEADER_SIZE + (insnsSize * 2) + catchesSize);
/external/smali/dexlib/src/main/java/org/jf/dexlib/
H A DHeaderItem.java44 private static final int HEADER_SIZE = 0x70; field in class:HeaderItem
71 if (in.readInt() != HEADER_SIZE) {
130 return HEADER_SIZE;
153 out.annotate("header_size: 0x" + Integer.toHexString(HEADER_SIZE));
154 out.writeInt(HEADER_SIZE);
/external/openssl/crypto/asn1/
H A Da_d2i_fp.c141 #define HEADER_SIZE 8 macro
148 size_t want=HEADER_SIZE;
216 want=HEADER_SIZE;
225 want=HEADER_SIZE;
271 want=HEADER_SIZE;
/external/qemu/block/
H A Dparallels.c34 #define HEADER_SIZE 64 macro
60 if (buf_size < HEADER_SIZE)
H A Dbochs.c34 #define HEADER_SIZE 512 macro
55 char padding[HEADER_SIZE - 64 - 8 - 20];
57 char padding[HEADER_SIZE - 64 - 8];
76 char padding[HEADER_SIZE - 64 - 8 - 24];
78 char padding[HEADER_SIZE - 64 - 8];
97 if (buf_size < HEADER_SIZE)
H A Dvpc.c31 #define HEADER_SIZE 512 macro
115 uint8_t footer_buf[HEADER_SIZE];
159 uint8_t buf[HEADER_SIZE];
162 if (bdrv_pread(bs->file, 0, s->footer_buf, HEADER_SIZE) != HEADER_SIZE)
171 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum)
181 if (bdrv_pread(bs->file, be64_to_cpu(footer->data_offset), buf, HEADER_SIZE)
182 != HEADER_SIZE)
314 ret = bdrv_pwrite_sync(bs->file, offset, s->footer_buf, HEADER_SIZE);
537 footer->data_offset = be64_to_cpu(HEADER_SIZE);
[all...]
H A Dvmdk.c107 #define HEADER_SIZE 512 // first sector of 512 bytes macro
186 char p_desc[DESC_SIZE], s_desc[DESC_SIZE], hdr[HEADER_SIZE];
216 if (read(p_fd, hdr, HEADER_SIZE) != HEADER_SIZE) {
226 if (write(snp_fd, hdr, HEADER_SIZE) == -1) {
/external/jmdns/src/javax/jmdns/impl/
H A DDNSOutgoing.java188 private final static int HEADER_SIZE = 12; field in class:DNSOutgoing
233 return _maxUDPPayload - HEADER_SIZE - _questionsBytes.size() - _answersBytes.size() - _authoritativeAnswersBytes.size() - _additionalsAnswersBytes.size();
/external/mtpd/
H A Dpptp.c72 #define HEADER_SIZE 8 macro
157 incoming.expect = HEADER_SIZE;
188 if (incoming.length == HEADER_SIZE && incoming.expect == HEADER_SIZE) {
195 if (incoming.expect < HEADER_SIZE) {
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dpseudotcp.cc115 const uint32 HEADER_SIZE = 24; member in namespace:cricket
116 const uint32 PACKET_OVERHEAD = HEADER_SIZE + UDP_HEADER_SIZE + IP_HEADER_SIZE + JINGLE_HEADER_SIZE;
483 ASSERT(HEADER_SIZE + len <= MAX_PACKET);
500 memcpy(buffer + HEADER_SIZE, data, len);
513 IPseudoTcpNotify::WriteResult wres = m_notify->TcpWritePacket(this, reinterpret_cast<char *>(buffer), len + HEADER_SIZE);
544 seg.data = reinterpret_cast<const char *>(buffer) + HEADER_SIZE;
545 seg.len = size - HEADER_SIZE;
/external/qemu/android/
H A Dhw-sensors.c166 #define HEADER_SIZE 4 macro
H A Dhw-qemud.c196 #define HEADER_SIZE 6 macro
388 D("%s: bad header: '%.*s'", __FUNCTION__, HEADER_SIZE, s->data0);
498 qemud_sink_reset( s->header, HEADER_SIZE, s->data0 );
524 uint8_t header[HEADER_SIZE];
559 T("%s: '%.*s'", __FUNCTION__, HEADER_SIZE, header);
560 qemu_chr_write(s->cs, header, HEADER_SIZE);
/external/skia/src/images/
H A DSkImageDecoder_libjpeg.cpp994 static const size_t HEADER_SIZE = sizeof(gHeader); local
996 char buffer[HEADER_SIZE];
997 size_t len = stream->read(buffer, HEADER_SIZE);
999 if (len != HEADER_SIZE) {
1002 if (memcmp(buffer, gHeader, HEADER_SIZE)) {
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...

Completed in 5670 milliseconds