Searched refs:payload_length (Results 1 – 7 of 7) sorted by relevance
102 payload_length = 0107 payload_length = header[0]108 payload_length |= header[1] << 8109 payload_length |= header[2] << 16110 payload_length |= header[3] << 24117 payload = self.rx_bytes(payload_length) if payload_length != 0 else b''
239 payload_length = 0250 payload_length = header[2]255 payload_length = header[3] << 8256 payload_length |= header[2]261 payload_length = header[2]266 payload_length = header[1]271 payload = self.rx_bytes(payload_length) if payload_length != 0 else b''
38 size_t payload_length, key_serial_t ring_id) { in add_key() argument39 return syscall(__NR_add_key, type, description, payload, payload_length, ring_id); in add_key()
41 size_t payload_length, key_serial_t ring_id);
341 size_t payload_length = end_offset - start_offset; in HandleGet() local342 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()
43 int payload_length) { in InitHeaderAndResize() argument44 data_.resize(NLA_HDRLEN + NLA_ALIGN(payload_length), 0); in InitHeaderAndResize()47 header->nla_len = NLA_HDRLEN + payload_length; in InitHeaderAndResize()
59 void InitHeaderAndResize(int attribute_id, int payload_length);