/third_party/selinux/libsepol/src/ |
D | port_record.c | 61 const sepol_port_t * port, in sepol_port_key_extract() argument 66 (handle, port->low, port->high, port->proto, key_ptr) < 0) { in sepol_port_key_extract() 69 sepol_port_get_proto_str(port->proto), in sepol_port_key_extract() 70 port->low, port->high); in sepol_port_key_extract() 83 int sepol_port_compare(const sepol_port_t * port, const sepol_port_key_t * key) in sepol_port_compare() argument 86 if ((port->low == key->low) && in sepol_port_compare() 87 (port->high == key->high) && (port->proto == key->proto)) in sepol_port_compare() 90 if (port->low < key->low) in sepol_port_compare() 93 else if (key->low < port->low) in sepol_port_compare() 96 else if (port->high < key->high) in sepol_port_compare() [all …]
|
D | ibendport_record.c | 17 int port; member 28 int port; member 51 int port, in sepol_ibendport_key_create() argument 66 tmp_key->port = port; in sepol_ibendport_key_create() 77 ibdev_name, port); in sepol_ibendport_key_create() 83 const char **ibdev_name, int *port) in sepol_ibendport_key_unpack() argument 86 *port = key->port; in sepol_ibendport_key_unpack() 95 (handle, ibendport->ibdev_name, ibendport->port, key_ptr) < 0) { in sepol_ibendport_key_extract() 98 ibendport->port); in sepol_ibendport_key_extract() 120 if ((ibendport->port == key->port) && !rc) in sepol_ibendport_compare() [all …]
|
D | ports.c | 57 ocontext_t ** port, const sepol_port_t * data) in port_from_record() argument 76 tmp_port->u.port.protocol = tmp_proto; in port_from_record() 79 tmp_port->u.port.low_port = low; in port_from_record() 80 tmp_port->u.port.high_port = high; in port_from_record() 81 if (tmp_port->u.port.low_port > tmp_port->u.port.high_port) { in port_from_record() 83 tmp_port->u.port.low_port, tmp_port->u.port.high_port); in port_from_record() 96 *port = tmp_port; in port_from_record() 116 ocontext_t * port, sepol_port_t ** record) in port_to_record() argument 119 int proto = port->u.port.protocol; in port_to_record() 120 int low = port->u.port.low_port; in port_to_record() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/lv2/ |
D | swh-lv2-port-groups.patch | 1 diff -ur swh-lv2-1.0.15/plugins/dj_eq-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/dj_eq-swh.lv2/… 3 +++ swh-lv2-port-groups/plugins/dj_eq-swh.lv2/plugin.xml 2009-07-03 16:55:25.000000000 -0400 11 <port label="lo" dir="input" type="control" hint="default_0"> 16 </port> 18 - <port label="left_input" dir="input" type="audio"> 19 + <port label="left_input" dir="input" type="audio" group="main_in" role="leftChannel"> 21 </port> 22 - <port label="right_input" dir="input" type="audio"> 23 + <port label="right_input" dir="input" type="audio" group="main_in" role="rightChannel"> 25 </port> [all …]
|
/third_party/node/test/parallel/ |
D | test-tls-passphrase.js | 56 port: this.address().port, property 64 port: this.address().port, property 71 port: this.address().port, property 80 port: this.address().port, property 88 port: this.address().port, property 95 port: this.address().port, property 104 port: this.address().port, property 112 port: this.address().port, property 119 port: this.address().port, property 128 port: this.address().port, property [all …]
|
D | test-https-agent-create-connection.js | 48 const port = server.address().port; constant 51 port: port, property 54 _agentKey: agent.getName({ port, host }) property 66 const port = server.address().port; constant 70 _agentKey: agent.getName({ port, host }) property 72 const socket = agent.createConnection(port, options); 81 const port = server.address().port; constant 85 _agentKey: agent.getName({ port, host }) property 87 const socket = agent.createConnection(port, host, options); 96 const port = server.address().port; constant [all …]
|
D | test-net-connect-options-port.js | 87 const port = server.address().port; constant 90 canConnect(port); 91 canConnect(String(port)); 92 canConnect(`0x${port.toString(16)}`); 136 function syncFailToConnect(port, assertErr, optOnly) { argument 139 const portArgFunctions = doConnect([port], () => common.mustNotCall()); 141 assert.throws(fn, assertErr, `${fn.name}(${port})`); 145 const portHostArgFunctions = doConnect([port, 'localhost'], 148 assert.throws(fn, assertErr, `${fn.name}(${port}, 'localhost')`); 152 const portOptFunctions = doConnect([{ port }], () => common.mustNotCall()); field [all …]
|
D | test-https-host-headers.js | 23 req.headers.host, `localhost:${this.address().port}`, 29 debug(`test https server listening on port ${this.address().port}`); 35 port: this.address().port, property 43 port: this.address().port, property 51 port: this.address().port, property 59 port: this.address().port, property 67 port: this.address().port, property 76 port: this.address().port, property 86 port: this.address().port, property 95 port: this.address().port, property [all …]
|
D | test-http-agent-scheduling.js | 37 function callback(port) { argument 39 ports.push(port); 58 makeRequest(url, agent, (port) => { 59 assert.strictEqual(ports[ports.length - 1], port); 60 makeRequest(url, agent, (port) => { 61 assert.strictEqual(ports[ports.length - 1], port); 62 makeRequest(url, agent, (port) => { 63 assert.strictEqual(ports[ports.length - 1], port); 86 makeRequest(url, agent, (port) => { 87 assert.strictEqual(ports[0], port); [all …]
|
/third_party/node/test/sequential/ |
D | test-inspector-port-cluster.js | 36 let port = debuggerPort + offset++ * 5; 39 execArgv: [`--inspect=${port}`], 41 { expectedPort: port + 1 }, 42 { expectedPort: port + 2 }, 43 { expectedPort: port + 3 }, 47 port = debuggerPort + offset++ * 5; 50 execArgv: ['--inspect', `--inspect-port=${port}`], 51 workers: [{ expectedPort: port + 1 }] 54 port = debuggerPort + offset++ * 5; 57 execArgv: ['--inspect', `--debug-port=${port}`], [all …]
|
/third_party/pulseaudio/src/modules/ |
D | module-switch-on-port-available.c | 65 static bool profile_good_for_output(pa_card_profile *profile, pa_device_port *port) { in profile_good_for_output() argument 83 if (port == card->preferred_output_port) in profile_good_for_output() 90 …ink->active_port->available != PA_AVAILABLE_NO) && (sink->active_port->priority >= port->priority)) in profile_good_for_output() 97 static bool profile_good_for_input(pa_card_profile *profile, pa_device_port *port) { in profile_good_for_input() argument 115 if (port == card->preferred_input_port) in profile_good_for_input() 122 …e->active_port->available != PA_AVAILABLE_NO) && (source->active_port->priority >= port->priority)) in profile_good_for_input() 129 static int try_to_switch_profile(pa_device_port *port) { in try_to_switch_profile() argument 135 port->name, pa_strnull(port->preferred_profile)); in try_to_switch_profile() 137 PA_HASHMAP_FOREACH(profile, port->profiles, state) { in try_to_switch_profile() 143 switch (port->direction) { in try_to_switch_profile() [all …]
|
/third_party/grpc/test/core/util/ |
D | port.cc | 42 static int free_chosen_port(int port) { in free_chosen_port() argument 49 if (chosen_ports[i] == port) { in free_chosen_port() 58 grpc_free_port_using_server(port); in free_chosen_port() 73 static void chose_port(int port) { in chose_port() argument 80 chosen_ports[num_chosen_ports - 1] = port; in chose_port() 84 int port = grpc_pick_port_using_server(); in grpc_pick_unused_port_impl() local 85 if (port != 0) { in grpc_pick_unused_port_impl() 86 chose_port(port); in grpc_pick_unused_port_impl() 89 return port; in grpc_pick_unused_port_impl() 93 int port = grpc_pick_unused_port(); in grpc_pick_unused_port_or_die_impl() local [all …]
|
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_enc.c | 65 static OMX_ERRORTYPE vid_enc_AllocateInBuffer(omx_base_PortType *port, OMX_INOUT OMX_BUFFERHEADERTY… 67 static OMX_ERRORTYPE vid_enc_UseInBuffer(omx_base_PortType *port, OMX_BUFFERHEADERTYPE **buf, OMX_U… 69 static OMX_ERRORTYPE vid_enc_FreeInBuffer(omx_base_PortType *port, OMX_U32 idx, OMX_BUFFERHEADERTYP… 70 static OMX_ERRORTYPE vid_enc_EncodeFrame(omx_base_PortType *port, OMX_BUFFERHEADERTYPE *buf); 73 static OMX_ERRORTYPE vid_enc_FreeOutBuffer(omx_base_PortType *port, OMX_U32 idx, OMX_BUFFERHEADERTY… 127 omx_base_video_PortType *port; in vid_enc_Constructor() local 197 port = (omx_base_video_PortType *)priv->ports[OMX_BASE_FILTER_INPUTPORT_INDEX]; in vid_enc_Constructor() 198 port->sPortParam.format.video.nFrameWidth = 176; in vid_enc_Constructor() 199 port->sPortParam.format.video.nFrameHeight = 144; in vid_enc_Constructor() 200 port->sPortParam.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in vid_enc_Constructor() [all …]
|
D | vid_dec.c | 64 static OMX_ERRORTYPE vid_dec_DecodeBuffer(omx_base_PortType *port, OMX_BUFFERHEADERTYPE *buf); 65 static OMX_ERRORTYPE vid_dec_FreeDecBuffer(omx_base_PortType *port, OMX_U32 idx, OMX_BUFFERHEADERTY… 157 omx_base_video_PortType *port; in vid_dec_Constructor() local 232 port = (omx_base_video_PortType *)priv->ports[OMX_BASE_FILTER_INPUTPORT_INDEX]; in vid_dec_Constructor() 233 strcpy(port->sPortParam.format.video.cMIMEType,"video/MPEG2"); in vid_dec_Constructor() 234 port->sPortParam.nBufferCountMin = 8; in vid_dec_Constructor() 235 port->sPortParam.nBufferCountActual = 8; in vid_dec_Constructor() 236 port->sPortParam.nBufferSize = DEFAULT_OUT_BUFFER_SIZE; in vid_dec_Constructor() 237 port->sPortParam.format.video.nFrameWidth = 176; in vid_dec_Constructor() 238 port->sPortParam.format.video.nFrameHeight = 144; in vid_dec_Constructor() [all …]
|
/third_party/iptables/extensions/ |
D | libip6t_REDIRECT.c | 43 unsigned int port, maxport; in parse_ports() local 47 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) && in parse_ports() 48 (port = xtables_service_to_port(arg, NULL)) == (unsigned)-1) in parse_ports() 53 range->min_proto.tcp.port in parse_ports() 54 = range->max_proto.tcp.port in parse_ports() 55 = htons(port); in parse_ports() 62 if (maxport < port) in parse_ports() 65 range->min_proto.tcp.port = htons(port); in parse_ports() 66 range->max_proto.tcp.port = htons(maxport); in parse_ports() 113 printf("%hu", ntohs(range->min_proto.tcp.port)); in REDIRECT_print() [all …]
|
D | libip6t_MASQUERADE.c | 48 unsigned int port, maxport; in parse_ports() local 52 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX)) in parse_ports() 57 r->min_proto.tcp.port in parse_ports() 58 = r->max_proto.tcp.port in parse_ports() 59 = htons(port); in parse_ports() 65 if (maxport < port) in parse_ports() 68 r->min_proto.tcp.port = htons(port); in parse_ports() 69 r->max_proto.tcp.port = htons(maxport); in parse_ports() 117 printf("%hu", ntohs(r->min_proto.tcp.port)); in MASQUERADE_print() 118 if (r->max_proto.tcp.port != r->min_proto.tcp.port) in MASQUERADE_print() [all …]
|
D | libipt_REDIRECT.c | 44 unsigned int port, maxport; in parse_ports() local 48 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) && in parse_ports() 49 (port = xtables_service_to_port(arg, NULL)) == (unsigned)-1) in parse_ports() 54 mr->range[0].min.tcp.port in parse_ports() 55 = mr->range[0].max.tcp.port in parse_ports() 56 = htons(port); in parse_ports() 63 if (maxport < port) in parse_ports() 66 mr->range[0].min.tcp.port = htons(port); in parse_ports() 67 mr->range[0].max.tcp.port = htons(maxport); in parse_ports() 115 printf("%hu", ntohs(r->min.tcp.port)); in REDIRECT_print() [all …]
|
D | libipt_MASQUERADE.c | 49 unsigned int port, maxport; in parse_ports() local 53 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX)) in parse_ports() 58 mr->range[0].min.tcp.port in parse_ports() 59 = mr->range[0].max.tcp.port in parse_ports() 60 = htons(port); in parse_ports() 66 if (maxport < port) in parse_ports() 69 mr->range[0].min.tcp.port = htons(port); in parse_ports() 70 mr->range[0].max.tcp.port = htons(maxport); in parse_ports() 119 printf("%hu", ntohs(r->min.tcp.port)); in MASQUERADE_print() 120 if (r->max.tcp.port != r->min.tcp.port) in MASQUERADE_print() [all …]
|
/third_party/selinux/libsepol/include/sepol/ |
D | port_record.h | 22 extern int sepol_port_compare(const sepol_port_t * port, 25 extern int sepol_port_compare2(const sepol_port_t * port, 36 const sepol_port_t * port, 42 extern int sepol_port_get_proto(const sepol_port_t * port); 44 extern void sepol_port_set_proto(sepol_port_t * port, int proto); 49 extern int sepol_port_get_low(const sepol_port_t * port); 51 extern int sepol_port_get_high(const sepol_port_t * port); 53 extern void sepol_port_set_port(sepol_port_t * port, int port_num); 55 extern void sepol_port_set_range(sepol_port_t * port, int low, int high); 58 extern sepol_context_t *sepol_port_get_con(const sepol_port_t * port); [all …]
|
/third_party/node/lib/ |
D | dgram.js | 227 let port = port_; 253 if (port !== null && 254 typeof port === 'object' && 255 typeof port.recvStart === 'function') { 256 replaceHandle(this, port); 262 if (port !== null && typeof port === 'object' && 263 isInt32(port.fd) && port.fd > 0) { 264 const fd = port.fd; 265 const exclusive = !!port.exclusive; 273 port: null, property [all …]
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/ |
D | perf_get_concurrent.c | 163 do_gets (int port) in do_gets() argument 173 sprintf(url, "http://127.0.0.1:%d/hello_world", port); in do_gets() 233 testInternalGet (int port, int poll_flag) in testInternalGet() argument 238 port, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); in testInternalGet() 242 join_gets (do_gets (port)); in testInternalGet() 250 testMultithreadedGet (int port, int poll_flag) in testMultithreadedGet() argument 255 port, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); in testMultithreadedGet() 259 join_gets (do_gets (port)); in testMultithreadedGet() 266 testMultithreadedPoolGet (int port, int poll_flag) in testMultithreadedPoolGet() argument 271 port, NULL, NULL, &ahc_echo, "GET", in testMultithreadedPoolGet() [all …]
|
/third_party/node/deps/npm/node_modules/forever-agent/ |
D | index.js | 10 function getConnectionName(host, port) { argument 13 name = host + ':' + port 16 name = host.host + ':' + host.port + ':' + (host.localAddress ? (host.localAddress + ':') : ':') 29 self.on('free', function(socket, host, port) { argument 30 var name = getConnectionName(host, port) 61 ForeverAgent.prototype.addRequest = function(req, host, port) { argument 62 var name = getConnectionName(host, port) 66 port = options.port 77 this.addRequestNoreuse(req, host, port) 81 ForeverAgent.prototype.removeSocket = function(s, name, host, port) { argument [all …]
|
/third_party/grpc/src/core/lib/gprpp/ |
D | host_port.cc | 30 std::string JoinHostPort(absl::string_view host, int port) { in JoinHostPort() argument 33 return absl::StrFormat("[%s]:%d", host, port); in JoinHostPort() 36 return absl::StrFormat("%s:%d", host, port); in JoinHostPort() 41 absl::string_view* port, bool* has_port) { in DoSplitHostPort() argument 52 *port = absl::string_view(); in DoSplitHostPort() 55 *port = name.substr(rbracket + 2, name.size() - rbracket - 2); in DoSplitHostPort() 74 *port = name.substr(colon + 1, name.size() - colon - 1); in DoSplitHostPort() 79 *port = absl::string_view(); in DoSplitHostPort() 87 absl::string_view* port) { in SplitHostPort() argument 89 return DoSplitHostPort(name, host, port, &unused); in SplitHostPort() [all …]
|
/third_party/grpc/src/core/lib/iomgr/ |
D | sockaddr_utils.cc | 129 void grpc_sockaddr_make_wildcards(int port, grpc_resolved_address* wild4_out, in grpc_sockaddr_make_wildcards() argument 131 grpc_sockaddr_make_wildcard4(port, wild4_out); in grpc_sockaddr_make_wildcards() 132 grpc_sockaddr_make_wildcard6(port, wild6_out); in grpc_sockaddr_make_wildcards() 135 void grpc_sockaddr_make_wildcard4(int port, in grpc_sockaddr_make_wildcard4() argument 139 GPR_ASSERT(port >= 0 && port < 65536); in grpc_sockaddr_make_wildcard4() 142 wild_out->sin_port = grpc_htons(static_cast<uint16_t>(port)); in grpc_sockaddr_make_wildcard4() 146 void grpc_sockaddr_make_wildcard6(int port, in grpc_sockaddr_make_wildcard6() argument 150 GPR_ASSERT(port >= 0 && port < 65536); in grpc_sockaddr_make_wildcard6() 153 wild_out->sin6_port = grpc_htons(static_cast<uint16_t>(port)); in grpc_sockaddr_make_wildcard6() 167 int port = 0; in grpc_sockaddr_to_string() local [all …]
|
/third_party/lwip/src/apps/tftp/ |
D | tftp_server.c | 85 u16_t port; member 100 tftp_state.port = 0; in close_handle() 118 send_error(const ip_addr_t *addr, u16_t port, enum tftp_error code, const char *str) in send_error() argument 134 udp_sendto(tftp_state.upcb, p, addr, port); in send_error() 152 udp_sendto(tftp_state.upcb, p, &tftp_state.addr, tftp_state.port); in send_ack() 169 udp_sendto(tftp_state.upcb, p, &tftp_state.addr, tftp_state.port); in resend_data() 194 …send_error(&tftp_state.addr, tftp_state.port, TFTP_ERROR_ACCESS_VIOLATION, "Error occured while re… in send_data() 204 recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in recv() argument 212 if (((tftp_state.port != 0) && (port != tftp_state.port)) || in recv() 214 … send_error(addr, port, TFTP_ERROR_ACCESS_VIOLATION, "Only one connection at a time is supported"); in recv() [all …]
|