Searched refs:payload_length (Results 1 – 7 of 7) sorted by relevance
101 payload_length = 0106 payload_length = header[0]107 payload_length |= header[1] << 8108 payload_length |= header[2] << 16109 payload_length |= header[3] << 24114 payload = self.rx_bytes(payload_length) if payload_length != 0 else b''
243 payload_length = 0254 payload_length = header[2]259 payload_length = header[3] << 8260 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''
48 size_t payload_length, key_serial_t ring_id) { in add_key() argument49 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);