/third_party/node/lib/ |
H A D | url.js | 271 let proto = protocolPattern.exec(rest); 273 if (proto) { 274 proto = proto[0]; 275 lowerProto = proto.toLowerCase(); 277 rest = rest.slice(proto.length); 285 if (slashesDenoteHost || proto || hostPattern.test(rest)) { 288 if (slashes && !(proto && hostlessProtocol.has(lowerProto))) { 295 (slashes || (proto && !slashedProtocol.has(proto)))) { [all...] |
/third_party/protobuf/python/google/protobuf/ |
H A D | descriptor.py | 31 """Descriptors essentially contain exactly the information found in a .proto 57 """Error transforming between python proto type and corresponding C++ type.""" 223 def CopyToProto(self, proto): 224 """Copies this to the matching proto in descriptor_pb2. 227 proto: An empty proto instance from descriptor_pb2. 235 proto.ParseFromString(self.file.serialized_pb[ 385 def CopyToProto(self, proto): 389 proto: An empty descriptor_pb2.DescriptorProto. 392 super(Descriptor, self).CopyToProto(proto) [all...] |
/third_party/libcoap/src/ |
H A D | coap_net.c | 782 COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_send_ack() 836 COAP_PROTO_NOT_RELIABLE(session->proto)) in coap_send_pdu() 866 if (request && COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_send_message_type() 1075 if (COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_send() 1108 if (COAP_PROTO_RELIABLE(session->proto) && pdu->type == COAP_MESSAGE_NON) in coap_send() 1303 ((pdu->type == COAP_MESSAGE_NON || COAP_PROTO_RELIABLE(session->proto)) && in coap_send() 1518 if (!coap_pdu_encode_header(pdu, session->proto)) { in coap_send_internal() 1523 if (COAP_PROTO_RELIABLE(session->proto) && in coap_send_internal() 1580 if (COAP_PROTO_RELIABLE(session->proto) && in coap_send_internal() 1593 || COAP_PROTO_RELIABLE(session->proto)) { in coap_send_internal() [all...] |
/third_party/curl/lib/vssh/ |
H A D | libssh.c | 242 struct ssh_conn *sshc = &conn->proto.sshc; in mystate() 333 struct ssh_conn *sshc = &conn->proto.sshc; in myssh_is_known() 601 struct ssh_conn *sshc = &conn->proto.sshc; in myssh_auth_interactive() 673 struct ssh_conn *sshc = &conn->proto.sshc; in myssh_statemach_act() 2060 struct ssh_conn *sshc = &conn->proto.sshc; in myssh_block2waitfor() 2083 struct ssh_conn *sshc = &conn->proto.sshc; in myssh_multi_statemach() 2098 struct ssh_conn *sshc = &conn->proto.sshc; in myssh_block_statemach() 2144 struct ssh_conn *sshc = &conn->proto.sshc; in myssh_setup_connection() 2186 ssh = &conn->proto.sshc; in myssh_connect() 2322 struct ssh_conn *sshc = &conn->proto in myssh_do_it() [all...] |
H A D | wolfssh.c | 142 struct ssh_conn *sshc = &conn->proto.sshc; in state() 251 struct ssh_conn *sshc = &conn->proto.sshc; in wsftp_send() 296 struct ssh_conn *sshc = &conn->proto.sshc; in wsftp_recv() 386 sshc = &conn->proto.sshc; in wssh_connect() 443 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_statemach_act() 902 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_multi_statemach() 964 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_do() 989 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_block_statemach() 1121 if(conn->proto.sshc.ssh_session) { in wsftp_disconnect()
|
/third_party/node/test/fixtures/wpt/resources/ |
H A D | idlharness.js | 89 // with a weird proto chain or weird .constructor property, just fall back 1693 // "7. Let proto be the interface prototype object of interface I 1697 // [[Value]]: proto, [[Writable]]: false, 1946 var proto = this.get_interface_object().prototype; 1949 proto, Symbol.unscopables, 1951 var desc = Object.getOwnPropertyDescriptor(proto, Symbol.unscopables); 1958 assert_equals(desc.value, proto[Symbol.unscopables], 2385 // have to skip this test for anything that on the proto chain of "self", 2441 var proto = this.get_interface_object().prototype; 2442 var iteratorDesc = Object.getOwnPropertyDescriptor(proto, Symbo [all...] |
/base/web/webview/ohos_interface/ohos_glue/scripts/ |
H A D | make_ctocpp_impl.py | 28 proto = 'ARK_WEB_NO_SANITIZE\n' 31 proto += 'ARK_WEB_GLOBAL ' + parts['retval'] + ' ' + func.get_name() + '(' + ', '.join(parts['args']) + ') {' 34 proto += parts['retval'] + ' ' + cls.get_name() 36 proto += 'CToCpp' 39 proto += '::' + func.get_name() + '(' + ', '.join(parts['args']) + ')' + const + ' {' 40 return proto
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_callbacks.py | 131 proto = self.functype.__func__(None) 136 self.v = proto(self.func) 301 proto = CFUNCTYPE(c_int, *(c_int,) * CTYPES_MAX_ARGCOUNT) 302 cb = proto(func) 319 proto = CFUNCTYPE(c_int) 320 ctypes_func = proto(func)
|
/third_party/python/Modules/ |
H A D | getaddrinfo.c | 348 const char *proto; in getaddrinfo() local 350 proto = NULL; in getaddrinfo() 353 proto = NULL; in getaddrinfo() 356 proto = "udp"; in getaddrinfo() 359 proto = "tcp"; in getaddrinfo() 365 if ((sp = getservbyname(servname, proto)) == NULL) in getaddrinfo()
|
/third_party/python/Lib/test/ |
H A D | test_tuple.py | 377 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 379 d = pickle.dumps(itorg, proto) 386 d = pickle.dumps(it, proto) 391 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 393 d = pickle.dumps(itorg, proto) 400 d = pickle.dumps(it, proto)
|
H A D | test_configparser.py | 1722 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 1723 pickled = pickle.dumps(e1, proto) 1731 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 1732 pickled = pickle.dumps(e1, proto) 1742 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 1743 pickled = pickle.dumps(e1, proto) 1754 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 1755 pickled = pickle.dumps(e1, proto) 1768 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 1769 pickled = pickle.dumps(e1, proto) [all...] |
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-proxy-object.h | 45 ecma_proxy_object_prototype_to_cp (ecma_value_t proto); 58 ecma_value_t proto);
|
/third_party/ltp/testcases/kernel/syscalls/socketpair/ |
H A D | socketpair01.c | 27 int proto; member 51 TEST(socketpair(tc->domain, tc->type, tc->proto, tc->sv)); in verify_socketpair()
|
/third_party/ltp/testcases/kernel/syscalls/listen/ |
H A D | listen01.c | 69 int proto; /* protocol number (usually 0 = default) */ member 145 tdat[testno].proto); in setup1()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
H A D | rpc_clnt_call_scalability.c | 72 char proto[8] = "udp"; in main() local 85 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
|
/third_party/python/Lib/asyncio/ |
H A D | trsock.py | 27 def proto(self): member in TransportSocket 28 return self._sock.proto 34 f"proto={self.proto}"
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | RangeTableTest.java | 20 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.FIXED_LINE; 21 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.MOBILE; 22 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PREMIUM_RATE; 23 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.SHARED_COST; 24 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.TOLL_FREE; 25 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.UNKNOWN; 39 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | FieldPresenceTest.java | 41 import com.google.protobuf.testing.proto.TestProto3Optional; 137 TestProto3Optional proto = TestProto3Optional.parseFrom(builder.build().toByteArray()); in testHasMethodForProto3Optional() 138 assertTrue(proto.hasOptionalInt32()); in testHasMethodForProto3Optional() 139 assertTrue(proto.toBuilder().hasOptionalInt32()); in testHasMethodForProto3Optional() 168 TestProto3Optional proto = TestProto3Optional.parseFrom(builder.build().toByteArray()); in assertProto3OptionalReflection() 169 assertTrue(proto.hasField(fieldDescriptor)); in assertProto3OptionalReflection() 170 assertTrue(proto.toBuilder().hasField(fieldDescriptor)); in assertProto3OptionalReflection()
|
/third_party/ffmpeg/libavformat/ |
H A D | sctp.c | 190 char hostname[1024], proto[1024], path[1024]; in sctp_open() local 193 av_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), in sctp_open() 195 if (strcmp(proto, "sctp")) in sctp_open()
|
H A D | tcp.c | 111 char hostname[1024],proto[1024],path[1024]; in tcp_open() local 115 av_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), in tcp_open() 117 if (strcmp(proto, "tcp")) in tcp_open()
|
H A D | hlsenc.c | 566 const char *path, const char *proto) in hls_delete_file() 568 if (hls->method || (proto && !av_strcasecmp(proto, "http"))) { in hls_delete_file() 600 const char *proto = NULL; in hls_delete_old_segments() local 662 proto = avio_find_protocol_name(s->url); in hls_delete_old_segments() 663 if (ret = hls_delete_file(hls, vs->avf, path.str, proto)) in hls_delete_old_segments() 680 if (ret = hls_delete_file(hls, vs->vtt_avf, path.str, proto)) in hls_delete_old_segments() 1034 const char *proto = avio_find_protocol_name(vs->basename); in sls_flag_check_duration_size() local 1035 int segment_renaming_ok = proto && !strcmp(proto, "fil in sls_flag_check_duration_size() 565 hls_delete_file(HLSContext *hls, AVFormatContext *avf, const char *path, const char *proto) hls_delete_file() argument 1381 const char *proto = avio_find_protocol_name(hls->master_m3u8_url); create_master_playlist() local 1542 const char *proto = avio_find_protocol_name(vs->m3u8_name); hls_window() local 1682 const char *proto = NULL; hls_start() local 1932 const char *proto, *dir; format_name() local 2414 const char *proto = NULL; hls_write_packet() local 2720 const char *proto = NULL; hls_write_trailer() local [all...] |
/third_party/musl/porting/linux/user/src/network/ |
H A D | getaddrinfo.c | 112 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo_ext() local 118 proto = hint->ai_protocol; in getaddrinfo_ext() 181 nservs = __lookup_serv(ports, serv, proto, socktype, flags); in getaddrinfo_ext() 208 .ai_protocol = ports[j].proto, in getaddrinfo_ext()
|
/third_party/musl/src/network/linux/ |
H A D | getaddrinfo.c | 127 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo_ext() local 133 proto = hint->ai_protocol; in getaddrinfo_ext() 220 nservs = __lookup_serv(ports, serv, proto, socktype, flags); in getaddrinfo_ext() 256 .ai_protocol = ports[j].proto, in getaddrinfo_ext()
|
/third_party/curl/lib/ |
H A D | ws.c | 433 ws = data->conn->proto.ws; in ws_cw_write() 755 ws = data->conn->proto.ws; in Curl_ws_accept() 760 data->conn->proto.ws = ws; in Curl_ws_accept() 931 ws = conn->proto.ws; in curl_ws_recv() 1058 if(!data->conn->proto.ws) { in curl_ws_send() 1062 ws = data->conn->proto.ws; in curl_ws_send() 1135 if(conn && conn->proto.ws) { in ws_free() 1136 Curl_bufq_free(&conn->proto.ws->recvbuf); in ws_free() 1137 Curl_bufq_free(&conn->proto.ws->sendbuf); in ws_free() 1138 Curl_safefree(conn->proto in ws_free() [all...] |
/third_party/libcoap/tests/ |
H A D | test_oscore.c | 462 session->proto = COAP_PROTO_UDP; in t_oscore_c_4() 469 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_4() 529 session->proto = COAP_PROTO_UDP; in t_oscore_c_5() 536 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_5() 598 session->proto = COAP_PROTO_UDP; in t_oscore_c_6() 605 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_6() 682 session->proto = COAP_PROTO_UDP; in t_oscore_c_7() 692 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_7() 708 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_7() 788 session->proto in t_oscore_c_7_2() [all...] |