/third_party/python/Lib/ |
H A D | pickle.py | 461 self.proto = int(protocol) 483 if self.proto >= 2: 484 self.write(PROTO + pack("<B", self.proto)) 485 if self.proto >= 4: 515 if self.proto >= 4: 578 rv = reduce(self.proto) 634 if self.proto >= 2 and func_name == "__newobj_ex__": 642 if self.proto >= 4: 652 elif self.proto >= 2 and func_name == "__newobj__": 745 if self.proto > [all...] |
/third_party/python/Modules/_ctypes/ |
H A D | _ctypes.c | 820 is an instance of the type's dict->proto */ in CDataType_from_param() 822 res = PyObject_IsInstance(ob, dict->proto); in CDataType_from_param() 890 Py_CLEAR(dict->proto); in CDataType_clear() 899 Py_VISIT(dict->proto); in CDataType_traverse() 1033 PyCPointerType_SetProto(StgDictObject *stgdict, PyObject *proto) in PyCPointerType_SetProto() argument 1035 if (!proto || !PyType_Check(proto)) { in PyCPointerType_SetProto() 1040 if (!PyType_stgdict(proto)) { in PyCPointerType_SetProto() 1045 Py_INCREF(proto); in PyCPointerType_SetProto() 1046 Py_XSETREF(stgdict->proto, prot in PyCPointerType_SetProto() 1072 PyObject *proto; PyCPointerType_new() local 1939 CreateSwappedType(PyTypeObject *type, PyObject *args, PyObject *kwds, PyObject *proto, struct fielddesc *fmt) CreateSwappedType() argument 2047 PyObject *proto; PyCSimpleType_new() local 4613 PyObject *proto; Array_subscript() local 5095 PyObject *proto; Pointer_item() local 5126 PyObject *proto; Pointer_ass_item() local 5269 PyObject *proto; Pointer_subscript() local [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_ssl.py | 550 proto = ssl.PROTOCOL_TLS_SERVER 551 server_context = ssl.SSLContext(proto) 557 client_context = ssl.SSLContext(proto) 603 proto = MyProto(loop=loop) 604 proto.loop = loop 612 (lambda: proto), conn, ssl=server_ssl, 620 self.assertEqual(proto.state, 'CLOSED') 621 self.assertEqual(proto.nbytes, len(message)) 705 def connection_made(proto, tr): 706 proto [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | gopher.c | 82 char proto[10], hostname[1024], auth[1024], path[1024], buf[1024]; in gopher_open() local 89 av_url_split(proto, sizeof(proto), auth, sizeof(auth), in gopher_open() 95 if (!strcmp(proto, "gophers")) in gopher_open()
|
/third_party/libcoap/include/coap3/ |
H A D | coap_pdu_internal.h | 187 * @param proto Session's protocol 192 size_t coap_pdu_parse_header_size(coap_proto_t proto, 197 * @p length must be at least coap_pdu_parse_header_size(proto, data). 200 * @param proto Session's protocol 206 size_t coap_pdu_parse_size(coap_proto_t proto, 213 * @param proto The target wire protocol. 217 int coap_pdu_parse_header(coap_pdu_t *pdu, coap_proto_t proto); 312 * @param proto The target wire protocol. 317 size_t coap_pdu_encode_header(coap_pdu_t *pdu, coap_proto_t proto);
|
/third_party/lwip/src/include/lwip/ |
H A D | raw.h | 108 struct raw_pcb * raw_new (u8_t proto); 109 struct raw_pcb * raw_new_ip_type(u8_t type, u8_t proto); 132 #define raw_new_ip6(proto) raw_new_ip_type(IPADDR_TYPE_V6, proto)
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
H A D | rpc_clnt_call_stress.c | 50 char proto[8] = "udp"; in main() local 65 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main() 70 printf("Proto : %s\n", proto); in main()
|
H A D | rpc_clnt_call_complex.c | 73 char proto[8] = "udp"; in main() local 86 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main() 91 printf("Proto : %s\n", proto); in main()
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testsentinel.py | 29 for proto in range(pickle.HIGHEST_PROTOCOL+1): 30 with self.subTest(protocol=proto): 31 pickled = pickle.dumps(sentinel.whatever, proto)
|
/third_party/python/Lib/test/ |
H A D | test_operator.py | 567 def copy(self, obj, proto): 569 pickled = pickle.dumps(obj, proto) 584 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 585 with self.subTest(proto=proto): 587 f2 = self.copy(f, proto) 592 f2 = self.copy(f, proto) 597 f2 = self.copy(f, proto) 604 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 605 with self.subTest(proto [all...] |
/third_party/elfutils/libdw/ |
H A D | dwarf_getmacros.c | 86 static const uint8_t proto[] = {__VA_ARGS__}; \ 87 (Dwarf_Macro_Op_Proto) {sizeof proto, proto}; \ 357 Dwarf_Macro_Op_Proto *proto = &table->table[idx]; in read_macros() local 381 if (unlikely (proto->nforms > 8)) in read_macros() 383 attributesp = malloc (sizeof (Dwarf_Attribute) * proto->nforms); in read_macros() 394 for (Dwarf_Word i = 0; i < proto->nforms; ++i) in read_macros() 402 attributes[i].form = proto->forms[i]; in read_macros() 415 size_t len = __libdw_form_val_len (&fake_cu, proto->forms[i], readp); in read_macros()
|
/third_party/ltp/testcases/network/iptables/ |
H A D | iptables_lib.sh | 51 proto="icmpv6" 54 proto="icmp" 150 NFRUN -A INPUT -s $loc_addr -p $proto -j DROP > tst_iptables.out 2>&1 170 tst_res TFAIL "$toolname did not block $proto from $loc_addr" 175 tst_res TINFO "Deleting $proto DROP from $loc_addr rule" 196 NFRUN -A INPUT -p $proto --${proto}-type echo-request -d $loc_addr -j \ 346 NFRUN -A INPUT -p $proto --$proto-type echo-request -d $loc_addr -m \
|
/third_party/lwip/src/core/ |
H A D | raw.c | 141 s16_t proto; in raw_input() local 153 proto = IP6H_NEXTH(ip6hdr); in raw_input() 161 proto = IPH_PROTO((struct ip_hdr *)p->payload); in raw_input() 172 (pcb->protocol == proto) && raw_input_local_match(pcb, broadcast) && in raw_input() 174 if ((pcb->protocol == proto) && raw_input_local_match(pcb, broadcast) && in raw_input() 623 * @param proto the protocol number of the IPs payload (e.g. IP_PROTO_ICMP) 628 raw_new(u8_t proto) in raw_new() argument 640 pcb->protocol = proto; in raw_new() 661 * @param proto the protocol number (next header) of the IPv6 packet payload 667 raw_new_ip_type(u8_t type, u8_t proto) in raw_new_ip_type() argument [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_getaddrinfo.c | 191 const char *proto; in lookup_service() local 200 proto = "udp"; in lookup_service() 202 proto = "sctp"; in lookup_service() 204 proto = "dccp"; in lookup_service() 206 proto = "tcp"; in lookup_service() 213 if (getservbyname_r(service, proto, &se, (void *)tmpbuf, sizeof(tmpbuf), in lookup_service() 218 sep = getservbyname_r(service, proto, &se, (void *)tmpbuf, sizeof(tmpbuf)); in lookup_service() 220 if (getservbyname_r(service, proto, &se, (void *)tmpbuf) != 0) { in lookup_service() 225 sep = getservbyname(service, proto); in lookup_service() 230 sep = getservbyname(service, (char *)proto); in lookup_service() [all...] |
/third_party/lwip/src/netif/ppp/ |
H A D | utils.c | 449 u_short proto; in ppp_format_packet() local 453 GETSHORT(proto, p); in ppp_format_packet() 456 if (proto == protp->protocol) in ppp_format_packet() 466 if (proto == (protp->protocol & ~0x8000)) in ppp_format_packet() 476 printer(arg, "[proto=0x%x]", proto); in ppp_format_packet() 706 int proto; in ppp_dump_packet() local 711 proto = (p[0] << 8) + p[1]; in ppp_dump_packet() 712 if (proto < 0xC000 && (proto in ppp_dump_packet() [all...] |
/third_party/lwip/src/core/ipv4/ |
H A D | ip4.c | 818 * @param proto the PROTOCOL to be set in the IP header 830 u8_t proto, struct netif *netif) 833 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0); 844 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 856 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif, 859 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif); 870 u8_t proto, struct netif *netif) 873 return ip4_output_if_opt_src(p, src, dest, ttl, tos, proto, netif, NULL, 0); 882 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 949 IPH_PROTO_SET(iphdr, proto); 828 ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument 843 ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument 868 ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument 881 ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument 1069 ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto) global() argument 1111 ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint) global() argument [all...] |
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-function-prototype.c | 220 ecma_value_t proto = ecma_proxy_object_get_prototype_of (this_arg_obj_p); in ecma_builtin_function_prototype_object_bind() local 222 if (ECMA_IS_VALUE_ERROR (proto)) in ecma_builtin_function_prototype_object_bind() 224 return proto; in ecma_builtin_function_prototype_object_bind() 226 prototype_obj_p = ecma_is_value_null (proto) ? NULL : ecma_get_object_from_value (proto); in ecma_builtin_function_prototype_object_bind()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | zip_output_unittest.sh | 54 ' > $TEST_TMPDIR/testzip.proto 58 --java_out=$TEST_TMPDIR/testzip.jar -I$TEST_TMPDIR testzip.proto \ 79 if $JAR c $TEST_TMPDIR/testzip.proto > /dev/null; then
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | EnumDescriptor.php | 89 public static function buildFromProto($proto, $file_proto, $containing) 98 $proto, 108 $values = $proto->getValue();
|
/third_party/nghttp2/src/ |
H A D | shrpx_http.cc | 62 const StringRef &host, const StringRef &proto) { in create_forwarded() 73 if ((params & FORWARDED_PROTO) && !proto.empty()) { in create_forwarded() 74 len += str_size("proto=") + proto.size() + str_size(";"); in create_forwarded() 113 if ((params & FORWARDED_PROTO) && !proto.empty()) { in create_forwarded() 116 p = util::copy_lit(p, "proto="); in create_forwarded() 117 p = std::copy(std::begin(proto), std::end(proto), p); in create_forwarded() 60 create_forwarded(BlockAllocator &balloc, int params, const StringRef &node_by, const StringRef &node_for, const StringRef &host, const StringRef &proto) create_forwarded() argument
|
/third_party/ffmpeg/libavformat/tests/ |
H A D | url.c | 85 char proto[64]; in test2() local 91 av_url_split(proto, sizeof(proto), auth, sizeof(auth), host, sizeof(host), &port, path, sizeof(path), url); in test2() 92 printf("%-60s => %-15s %-15s %-15s %5d %s\n", url, proto, auth, host, port, path); in test2()
|
/third_party/musl/src/network/ |
H A D | getaddrinfo.c | 25 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo() local 33 proto = hint->ai_protocol; in getaddrinfo() 97 nservs = __lookup_serv(ports, serv, proto, socktype, flags); in getaddrinfo() 120 .ai_protocol = ports[j].proto, in getaddrinfo()
|
/third_party/vk-gl-cts/external/amber/src/tools/ |
H A D | update_vk_wrappers.py | 45 proto = command.find('proto') 46 if proto == None: 49 return_type = proto.find('type').text 50 name = proto.find('name').text
|
/third_party/python/Modules/_sqlite/clinic/ |
H A D | module.c.h | 187 "adapt($module, obj, proto=PrepareProtocolType, alt=<unrepresentable>, /)\n" 196 pysqlite_adapt_impl(PyObject *module, PyObject *obj, PyObject *proto, 204 PyObject *proto = (PyObject *)clinic_state()->PrepareProtocolType; in pysqlite_adapt() local 214 proto = args[1]; in pysqlite_adapt() 220 return_value = pysqlite_adapt_impl(module, obj, proto, alt); in pysqlite_adapt()
|
/third_party/jerryscript/tests/jerry-test-suite/es2015/19/19.01/19.01.02/ |
H A D | 19.01.02-003.js | 16 function test_set_prototype_of_success(o, proto, msg) 18 assert(o === Object.setPrototypeOf(o, proto));
|