Home
last modified time | relevance | path

Searched refs:payload_length (Results 1 – 7 of 7) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/scripts/
Dlink_layer_socket.py101 payload_length = 0
106 payload_length = header[0]
107 payload_length |= header[1] << 8
108 payload_length |= header[2] << 16
109 payload_length |= header[3] << 24
114 payload = self.rx_bytes(payload_length) if payload_length != 0 else b''
Dhci_socket.py243 payload_length = 0
254 payload_length = header[2]
259 payload_length = header[3] << 8
260 payload_length |= header[2]
265 payload_length = header[2]
270 payload_length = header[1]
275 payload = self.rx_bytes(payload_length) if payload_length != 0 else b''
/system/core/libkeyutils/
Dkeyutils.cpp48 size_t payload_length, key_serial_t ring_id) { in add_key() argument
49 return syscall(__NR_add_key, type, description, payload, payload_length, ring_id); in add_key()
/system/core/libkeyutils/include/
Dkeyutils.h41 size_t payload_length, key_serial_t ring_id);
/system/update_engine/
Dtest_http_server.cc341 size_t payload_length = end_offset - start_offset; in HandleGet() local
342 if (truncate_length > 0 && truncate_length < payload_length) { in HandleGet()
343 LOG(INFO) << "truncating request payload length (" << payload_length in HandleGet()
345 payload_length = truncate_length; in HandleGet()
346 end_offset = start_offset + payload_length; in HandleGet()
355 const off_t midway_offset = start_offset + payload_length / 2; in HandleGet()
/system/connectivity/wificond/net/
Dnl80211_attribute.cpp43 int payload_length) { in InitHeaderAndResize() argument
44 data_.resize(NLA_HDRLEN + NLA_ALIGN(payload_length), 0); in InitHeaderAndResize()
47 header->nla_len = NLA_HDRLEN + payload_length; in InitHeaderAndResize()
Dnl80211_attribute.h59 void InitHeaderAndResize(int attribute_id, int payload_length);