Home
last modified time | relevance | path

Searched refs:HEADER_SIZE (Results 1 – 25 of 31) sorted by relevance

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java227 byte[] header = new byte[Packet.HEADER_SIZE]; in readPacket()
230 while (off < Packet.HEADER_SIZE) { in readPacket()
232 int bytesRead = input.read(header, off, Packet.HEADER_SIZE - off); in readPacket()
246 if (off < Packet.HEADER_SIZE) { in readPacket()
252 if (len < Packet.HEADER_SIZE) { in readPacket()
258 System.arraycopy(header, 0, bytes, 0, Packet.HEADER_SIZE); in readPacket()
DPacket.java43 public static final int HEADER_SIZE = 11; field in Packet
96 if (length < HEADER_SIZE) { in Packet()
99 + "is less than header size = " + HEADER_SIZE); in Packet()
103 data = new byte[p.length - HEADER_SIZE]; in Packet()
104 System.arraycopy(p, HEADER_SIZE, data, 0, p.length - HEADER_SIZE); in Packet()
1202 byte res[] = new byte[data.length + HEADER_SIZE]; in toBytesArray()
1203 writeAtByteArray(data.length + HEADER_SIZE, res, LENGTH_INDEX, INT_SIZE); in toBytesArray()
1206 System.arraycopy(data, 0, res, HEADER_SIZE, data.length); in toBytesArray()
1303 if (p.length < HEADER_SIZE) in interpretPacket()
DPacketDispatcher.java534 if (packetLength < Packet.HEADER_SIZE) { in run()
/external/boringssl/src/crypto/asn1/
Da_d2i_fp.c142 #define HEADER_SIZE 8 macro
149 size_t want=HEADER_SIZE; in asn1_d2i_read_bio()
217 want=HEADER_SIZE; in asn1_d2i_read_bio()
226 want=HEADER_SIZE; in asn1_d2i_read_bio()
271 want=HEADER_SIZE; in asn1_d2i_read_bio()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.h39 #define HEADER_SIZE 35 macro
53 ((float)HEADER_SIZE * 8.0f * 1000.0f / (float)INIT_FRAME_LEN_WB)
55 ((float)HEADER_SIZE * 8.0f * 1000.0f / (float)INIT_FRAME_LEN_SWB)
Dbandwidth_estimator.c168 bwest_str->rec_header_rate = (float)HEADER_SIZE * 8.0f * in WebRtcIsac_UpdateBandwidthEstimator()
277 bwest_str->rec_header_rate = (float)HEADER_SIZE * 8.0f * in WebRtcIsac_UpdateBandwidthEstimator()
379 curr_bw_inv = arr_ts_diff / ((float)(pksize + HEADER_SIZE) * in WebRtcIsac_UpdateBandwidthEstimator()
402 t_diff_proj = ((float)(pksize + HEADER_SIZE) * 8.0f * in WebRtcIsac_UpdateBandwidthEstimator()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DTypeListItem.java37 private static final int HEADER_SIZE = 4; field in TypeListItem
48 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE); in TypeListItem()
98 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz)); in writeTo0()
DUniformListItem.java40 private static final int HEADER_SIZE = 4; field in UniformListItem
77 return Math.max(HEADER_SIZE, items.get(0).getAlignment()); in getAlignment()
DAnnotationsDirectoryItem.java38 private static final int HEADER_SIZE = 16; field in AnnotationsDirectoryItem
279 setWriteSize(HEADER_SIZE + (elementCount * ELEMENT_SIZE)); in place0()
DCodeItem.java49 private static final int HEADER_SIZE = 16; field in CodeItem
228 setWriteSize(HEADER_SIZE + (insnsSize * 2) + catchesSize); in place0()
/external/mtpd/
Dpptp.c72 #define HEADER_SIZE 8 macro
157 incoming.expect = HEADER_SIZE; in recv_packet()
188 if (incoming.length == HEADER_SIZE && incoming.expect == HEADER_SIZE) { in recv_packet()
195 if (incoming.expect < HEADER_SIZE) { in recv_packet()
/external/v8/src/ast/
Dscopeinfo.h141 int length() { return (FixedArray::length() - HEADER_SIZE) / ITEM_SIZE; } in length()
150 HEADER_SIZE = NAME_OFFSET, enumerator
159 isolate->factory()->NewFixedArray(HEADER_SIZE + ITEM_SIZE * length)); in Allocate()
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageWrapper.java50 private static final int HEADER_SIZE = 64; field in XmlMessageWrapper
117 int len = mPayload.length + HEADER_SIZE; in serializeToByteArray()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc106 const uint32_t HEADER_SIZE = 24; variable
108 HEADER_SIZE + UDP_HEADER_SIZE + IP_HEADER_SIZE + JINGLE_HEADER_SIZE;
517 ASSERT(HEADER_SIZE + len <= MAX_PACKET); in packet()
538 buffer.get() + HEADER_SIZE, len, offset, &bytes_read); in packet()
556 this, reinterpret_cast<char *>(buffer.get()), len + HEADER_SIZE); in packet()
587 seg.data = reinterpret_cast<const char *>(buffer) + HEADER_SIZE; in parse()
588 seg.len = size - HEADER_SIZE; in parse()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp906 static const size_t HEADER_SIZE = sizeof(gHeader); in is_jpeg() local
908 char buffer[HEADER_SIZE]; in is_jpeg()
909 size_t len = stream->read(buffer, HEADER_SIZE); in is_jpeg()
911 if (len != HEADER_SIZE) { in is_jpeg()
914 if (memcmp(buffer, gHeader, HEADER_SIZE)) { in is_jpeg()
/external/gptfdisk/
Dsupport.h68 #define HEADER_SIZE UINT32_C(92) macro
Dgpt.cc462 if ((hSize > blockSize) || (hSize < HEADER_SIZE)) { in CheckHeaderCRC()
465 cerr << "Setting the header size for CRC computation to " << HEADER_SIZE << "\n"; in CheckHeaderCRC()
467 hSize = HEADER_SIZE; in CheckHeaderCRC()
503 hSize = secondHeader.headerSize = mainHeader.headerSize = HEADER_SIZE; in RecomputeCRCs()
1845 mainHeader.headerSize = HEADER_SIZE; in ClearGPTData()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dsettings.h130 #define HEADER_SIZE 35 /* bytes */ macro
Dbandwidth_estimator.c382 (int32_t)(524288 + ((pksize + HEADER_SIZE) >> 1)), in WebRtcIsacfix_UpdateUplinkBwImpl()
383 (int16_t)(pksize + HEADER_SIZE)); in WebRtcIsacfix_UpdateUplinkBwImpl()
435 arrTimeProj = WEBRTC_SPL_MUL(((int32_t)pksize + HEADER_SIZE), arrTimeProj); in WebRtcIsacfix_UpdateUplinkBwImpl()
/external/skia/experimental/Networking/
DSkSockets.cpp147 stream.write(packet + HEADER_SIZE, h.bytes); in readPacket()
194 memcpy(packet + HEADER_SIZE, (char*)data + bytesWrittenInTransfer, in writePacket()
DSkSockets.h17 #define HEADER_SIZE 20 macro
/external/jmdns/src/javax/jmdns/impl/
DDNSOutgoing.java188 private final static int HEADER_SIZE = 12; field in DNSOutgoing
233 …return _maxUDPPayload - HEADER_SIZE - _questionsBytes.size() - _answersBytes.size() - _authoritati… in availableSpace()
/external/libpcap/
Dpcap-sita.c938 #define HEADER_SIZE (4 * 4) macro
939 unsigned char packet_header[HEADER_SIZE];
947 …if (acn_read_n_bytes_with_timeout(handle, HEADER_SIZE) == -1) return 0; /* try to read a packet …
/external/kernel-headers/original/uapi/linux/
Dbcache.h45 KEY_FIELD(HEADER_SIZE, high, 58, 2)
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12