Searched refs:encode (Results 1 – 25 of 43) sorted by relevance
12
51 config_data = config_data.encode('utf-8')79 data = data.encode('utf-8')99 data = data.encode('utf-8')136 values_file_line = values_file_line.encode('utf-8')173 data = data.encode('utf-8')269 values = values.encode('utf-8')276 line = line.encode('utf-8')300 line = line.encode('utf-8')323 line = line.encode('utf-8')347 line = line.encode('utf-8')[all …]
32 telnet.write(choice.encode() + b'\r\n')37 telnet.read_until(check_str.encode())38 telnet.write(action.encode() + b'\r\n')
161 self.client.sendall(request.encode())163 self.client.sendall(data.encode())745 s.client.sendall((case['request']).encode())769 …o HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: ' + str(content_len) + '\r\n\r\nABCD').encode())784 s.client.sendall(('ABC ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())803 s.client.sendall(('GET ' + path + ' HTTP/2.0\r\nHost: ' + dut + '\r\n\r\n').encode())818 s.client.sendall(('XYZ ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())833 s.client.sendall(('GET ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())848 s.client.sendall(('POST ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())862 …nt.sendall(('POST /echo HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: 10\r\n\r\nABCD').encode())[all …]
172 self.client.sendall(request.encode())174 self.client.sendall(data.encode())756 s.client.sendall((case['request']).encode())780 …o HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: ' + str(content_len) + '\r\n\r\nABCD').encode())795 s.client.sendall(('ABC ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())814 s.client.sendall(('GET ' + path + ' HTTP/2.0\r\nHost: ' + dut + '\r\n\r\n').encode())829 s.client.sendall(('XYZ ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())844 s.client.sendall(('GET ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())859 s.client.sendall(('POST ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())873 …nt.sendall(('POST /echo HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: 10\r\n\r\nABCD').encode())[all …]
77 return '{:08x}'.format(val).encode('ascii')170 name=filename.encode('utf-8'),179 filename_b = filename.encode('utf-8') + b'\x00'
7 …src/coap_session.o libcoap/src/coap_time.o port/coap_debug.o libcoap/src/encode.o libcoap/src/mem.…
12 "libcoap/src/encode.c"
47 pattern = re.compile(pattern.encode())
6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
40 sock.sendall(payload.encode())
35 sock.sendto(payload.encode(), addr)
477 int encode = 0, have_options = 0, i; in coap_show_pdu() local591 encode = 0; in coap_show_pdu()593 encode = 1; in coap_show_pdu()598 buf, sizeof(buf), encode); in coap_show_pdu()
120 pattern = pattern.encode('utf-8')123 data = data.encode('utf-8')
442 data = data.encode('utf-8')773 formatted_data = timestamp.encode() + b'\r\n' + data + b'\r\n'790 data = data.encode()
104 conn.send(data.encode())
50 return self.ws.send_binary(data.encode())
6 … to JSON but with smaller footprint. This example will illustrate how to encode and decode CBOR da…
73 self.socket.sendto(reply.encode(), addr)
79 conn.send(reply.encode())
54 dut1.write(str.encode(packet))
68 output = item.encode().lower()
377 expected_signal = data[0].encode('utf-8')396 'name': data[0].encode('utf-8'),397 'parameter': '' if data[2] is None else data[2].encode('utf-8')