HomeSort by relevance Sort by last modified time
    Searched refs:HEADER_SIZE (Results 1 - 21 of 21) sorted by null

  /system/core/libcutils/
record_stream.c 31 #define HEADER_SIZE 4
55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE);
59 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE;
79 if (p_end < p_begin + HEADER_SIZE) {
86 p_ret = p_begin + HEADER_SIZE + len;
103 record_start = p_rs->unconsumed + HEADER_SIZE;
  /dalvik/dx/src/com/android/dx/dex/file/
TypeListItem.java 37 private static final int HEADER_SIZE = 4;
48 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE);
98 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz));
HeaderItem.java 34 private static final int HEADER_SIZE = 0x70;
55 return HEADER_SIZE;
80 out.annotate(4, "header_size: " + Hex.u4(HEADER_SIZE));
96 out.writeInt(HEADER_SIZE);
UniformListItem.java 40 private static final int HEADER_SIZE = 4;
77 return Math.max(HEADER_SIZE, items.get(0).getAlignment());
AnnotationsDirectoryItem.java 38 private static final int HEADER_SIZE = 16;
279 setWriteSize(HEADER_SIZE + (elementCount * ELEMENT_SIZE));
CodeItem.java 49 private static final int HEADER_SIZE = 16;
228 setWriteSize(HEADER_SIZE + (insnsSize * 2) + catchesSize);
  /external/qemu/block/
vpc.c 31 #define HEADER_SIZE 512
115 uint8_t footer_buf[HEADER_SIZE];
159 uint8_t buf[HEADER_SIZE];
166 if (bdrv_pread(s->hd, 0, s->footer_buf, HEADER_SIZE) != HEADER_SIZE)
175 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum)
185 if (bdrv_pread(s->hd, be64_to_cpu(footer->data_offset), buf, HEADER_SIZE)
186 != HEADER_SIZE)
319 ret = bdrv_pwrite(s->hd, offset, s->footer_buf, HEADER_SIZE);
521 footer->data_offset = be64_to_cpu(HEADER_SIZE);
    [all...]
bochs.c 34 #define HEADER_SIZE 512
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];
99 if (buf_size < HEADER_SIZE)
parallels.c 34 #define HEADER_SIZE 64
61 if (buf_size < HEADER_SIZE)
vmdk.c 116 #define HEADER_SIZE 512 // first sector of 512 bytes
196 char p_desc[DESC_SIZE], s_desc[DESC_SIZE], hdr[HEADER_SIZE];
224 if (read(p_fd, hdr, HEADER_SIZE) != HEADER_SIZE)
230 if (write(snp_fd, hdr, HEADER_SIZE) == -1)
  /external/openssl/crypto/asn1/
a_d2i_fp.c 140 #define HEADER_SIZE 8
148 int want=HEADER_SIZE;
209 want=HEADER_SIZE;
218 want=HEADER_SIZE;
251 want=HEADER_SIZE;
  /bootable/recovery/mtdutils/
flash_image.c 29 #define HEADER_SIZE 2048 // size of header to compare for equality
71 char header[HEADER_SIZE];
80 char check[HEADER_SIZE];
98 char buf[HEADER_SIZE];
  /development/apps/Development/src/com/android/development/
LogViewer.java 82 private static final int HEADER_SIZE = 24;
102 int tagEnd = next0(bytes, HEADER_SIZE);
107 = forAsciiBytes(bytes, HEADER_SIZE, tagEnd);
  /external/mtpd/
pptp.c 71 #define HEADER_SIZE 8
156 incoming.expect = HEADER_SIZE;
187 if (incoming.length == HEADER_SIZE && incoming.expect == HEADER_SIZE) {
194 if (incoming.expect < HEADER_SIZE) {
  /frameworks/base/media/java/android/media/
MiniThumbFile.java 50 private static final int HEADER_SIZE = 1 + 8 + 4;
197 if (data.length > BYTES_PER_MINTHUMB - HEADER_SIZE) {
  /external/skia/src/images/
SkImageDecoder_libjpeg.cpp 634 static const size_t HEADER_SIZE = sizeof(gHeader);
636 char buffer[HEADER_SIZE];
637 size_t len = stream->read(buffer, HEADER_SIZE);
639 if (len != HEADER_SIZE) {
642 if (memcmp(buffer, gHeader, HEADER_SIZE)) {
  /external/qemu/android/
hw-qemud.c 156 #define HEADER_SIZE 6
288 D("%s: bad header: '%.*s'", __FUNCTION__, HEADER_SIZE, s->data0);
398 qemud_sink_reset( s->header, HEADER_SIZE, s->data0 );
424 uint8_t header[HEADER_SIZE];
459 T("%s: '%.*s'", __FUNCTION__, HEADER_SIZE, header);
460 qemu_chr_write(s->cs, header, HEADER_SIZE);
    [all...]
hw-sensors.c 140 #define HEADER_SIZE 4
  /sdk/emulator/qemud/
qemud.c 1039 #define HEADER_SIZE 6
1100 int wanted = HEADER_SIZE - inpos;
1108 if (inpos == HEADER_SIZE) {
1165 h->len = HEADER_SIZE;
    [all...]
  /build/tools/releasetools/
ota_from_target_files 326 HEADER_SIZE = 2048
327 header_sha1 = sha.sha(recovery_img.data[:HEADER_SIZE]).hexdigest()
329 if ! applypatch -c MTD:recovery:%(header_size)d:%(header_sha1)s; then
337 'header_size': HEADER_SIZE,
  /prebuilt/sdk/tools/lib/
dx.jar 

Completed in 555 milliseconds