Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java141 mValidator.claimMemory(mBaseOffset, mBaseOffset + DataHeader.HEADER_SIZE); in readDataHeader()
144 mValidator.claimMemory(mBaseOffset + DataHeader.HEADER_SIZE, mBaseOffset + result.size); in readDataHeader()
335 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readBooleans()
359 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readBytes()
374 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readShorts()
389 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readInts()
404 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readFloats()
419 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readLongs()
434 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readDoubles()
557 DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in readHandles()
[all …]
DEncoder.java231 encode(0L, offset + DataHeader.HEADER_SIZE); in encode()
437 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in encode()
454 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_INTERFACE_SIZE * i, in encode()
487 e.encode(v[i], DataHeader.HEADER_SIZE + BindingsHelper.SERIALIZED_HANDLE_SIZE * i, in encode()
550 new DataHeader(DataHeader.HEADER_SIZE + byteSize, length)); in encoderForArrayByTotalSize()
558 mEncoderState.byteBuffer.position(mBaseOffset + DataHeader.HEADER_SIZE); in append()
563 mEncoderState.byteBuffer.position(mBaseOffset + DataHeader.HEADER_SIZE); in append()
568 mEncoderState.byteBuffer.position(mBaseOffset + DataHeader.HEADER_SIZE); in append()
573 mEncoderState.byteBuffer.position(mBaseOffset + DataHeader.HEADER_SIZE); in append()
578 mEncoderState.byteBuffer.position(mBaseOffset + DataHeader.HEADER_SIZE); in append()
[all …]
DDataHeader.java14 public static final int HEADER_SIZE = 8; field in DataHeader
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java238 byte[] header = new byte[Packet.HEADER_SIZE]; in readPacket()
241 while (off < Packet.HEADER_SIZE) { in readPacket()
243 int bytesRead = input.read(header, off, Packet.HEADER_SIZE - off); in readPacket()
257 if (off < Packet.HEADER_SIZE) { in readPacket()
263 if (len < Packet.HEADER_SIZE) { in readPacket()
269 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()
1207 byte res[] = new byte[data.length + HEADER_SIZE]; in toBytesArray()
1208 writeAtByteArray(data.length + HEADER_SIZE, res, LENGTH_INDEX, INT_SIZE); in toBytesArray()
1211 System.arraycopy(data, 0, res, HEADER_SIZE, data.length); in toBytesArray()
1308 if (p.length < HEADER_SIZE) in interpretPacket()
DPacketDispatcher.java531 if (packetLength < Packet.HEADER_SIZE) { in run()
/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/oj-libjdwp/src/share/transport/socket/
DsocketTransport.c65 #define HEADER_SIZE 11 macro
539 char header[HEADER_SIZE + MAX_DATA_SIZE]; in socketTransport_writePacket()
548 data_len = len - HEADER_SIZE; in socketTransport_writePacket()
574 memcpy(header + HEADER_SIZE, data, data_len); in socketTransport_writePacket()
575 if (send_fully(socketFD, (char *)&header, HEADER_SIZE + data_len) != in socketTransport_writePacket()
576 HEADER_SIZE + data_len) { in socketTransport_writePacket()
580 memcpy(header + HEADER_SIZE, data, MAX_DATA_SIZE); in socketTransport_writePacket()
581 if (send_fully(socketFD, (char *)&header, HEADER_SIZE + MAX_DATA_SIZE) != in socketTransport_writePacket()
582 HEADER_SIZE + MAX_DATA_SIZE) { in socketTransport_writePacket()
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/
Ddata_types_definition.tmpl29 …iable~'[i'~level~']', sub_kind, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + ' ~ array_ele…
46 …{{encode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0…
47 …'~level, kind.value_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + org.chromium.…
75 …ys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0, level+1)|i…
78 …|array('keys'~level~'.length'), 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + org.chromium.…
88 …~'[i'~(level+1)~']', kind.kind, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + ' ~ array_ele…
291 … = decoder0.readPointer(offset + org.chromium.mojo.bindings.DataHeader.HEADER_SIZE, {{field.kind|i…
296 …field|ucc, field.kind, 'offset + org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0)|indent(16)…
/external/mtpd/
Dpptp.c76 #define HEADER_SIZE 8 macro
162 incoming.expect = HEADER_SIZE; in recv_packet()
193 if (incoming.length == HEADER_SIZE && incoming.expect == HEADER_SIZE) { in recv_packet()
200 if (incoming.expect < HEADER_SIZE) { in recv_packet()
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dpack.py15 HEADER_SIZE = 8 variable
238 last_payload_size + HEADER_SIZE))
250 last_payload_size + HEADER_SIZE))
/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/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/skqp/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/gptfdisk/
Dsupport.h68 #define HEADER_SIZE UINT32_C(92) macro
Dgpt.cc467 if ((hSize > blockSize) || (hSize < HEADER_SIZE)) { in CheckHeaderCRC()
470 cerr << "Setting the header size for CRC computation to " << HEADER_SIZE << "\n"; in CheckHeaderCRC()
472 hSize = HEADER_SIZE; in CheckHeaderCRC()
508 hSize = secondHeader.headerSize = mainHeader.headerSize = HEADER_SIZE; in RecomputeCRCs()
1855 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/libpcap/
Dpcap-sita.c962 #define HEADER_SIZE (4 * 4) in pcap_read_acn() macro
963 unsigned char packet_header[HEADER_SIZE]; in pcap_read_acn()
971 …if (acn_read_n_bytes_with_timeout(handle, HEADER_SIZE) == -1) return 0; /* try to read a packet … in pcap_read_acn()
/external/kernel-headers/original/uapi/linux/
Dbcache.h46 KEY_FIELD(HEADER_SIZE, high, 58, 2)