Searched defs:on (Results 51 - 75 of 138) sorted by relevance

123456

/external/srtp/crypto/include/
H A Derr.h147 int on; /* 1 if debugging is on, 0 if it is off */ member in struct:__anon31199
153 #define debug_on(mod) (mod).on = 1
155 #define debug_off(mod) (mod).on = 0
159 if (mod.on) err_report(err_level_debug, ("%s: " format "\n"), mod.name, arg)
161 if (mod.on) err_report(err_level_debug, ("%s: " format "\n"), mod.name, arg1,arg2)
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_freebsd.c147 unsigned int on = 1; local
148 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) {
149 fprintf(stderr, "%s: cannot enable immediate mode on "
H A Dl2_packet_pcap.c256 unsigned int on = 1; local
257 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) {
258 fprintf(stderr, "%s: cannot enable immediate mode on "
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_server.c235 int on = 1; local
247 if (setsockopt(srv->fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0)
288 wpa_printf(MSG_DEBUG, "HTTP: Started server on %s:%d",
H A Dwps_upnp_ssdp.c8 * See wps_upnp.c for more details on licensing and code history.
342 * Returns: 0 on success, -1 on failure
414 * Send it on the multicast socket to avoid having to set up another
480 /* Wait time depending on MX value */
740 int on = 1; local
750 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)))
780 * Returns: 0 on success, -1 on failur
[all...]
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_freebsd.c147 unsigned int on = 1; local
148 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) {
149 fprintf(stderr, "%s: cannot enable immediate mode on "
H A Dl2_packet_pcap.c256 unsigned int on = 1; local
257 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) {
258 fprintf(stderr, "%s: cannot enable immediate mode on "
/external/wpa_supplicant_8/src/wps/
H A Dhttp_server.c235 int on = 1; local
247 if (setsockopt(srv->fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0)
288 wpa_printf(MSG_DEBUG, "HTTP: Started server on %s:%d",
H A Dwps_upnp_ssdp.c8 * See wps_upnp.c for more details on licensing and code history.
342 * Returns: 0 on success, -1 on failure
414 * Send it on the multicast socket to avoid having to set up another
480 /* Wait time depending on MX value */
740 int on = 1; local
750 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)))
780 * Returns: 0 on success, -1 on failur
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_freebsd.c147 unsigned int on = 1; local
148 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) {
149 fprintf(stderr, "%s: cannot enable immediate mode on "
H A Dl2_packet_pcap.c256 unsigned int on = 1; local
257 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) {
258 fprintf(stderr, "%s: cannot enable immediate mode on "
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dhttp_server.c235 int on = 1; local
247 if (setsockopt(srv->fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0)
288 wpa_printf(MSG_DEBUG, "HTTP: Started server on %s:%d",
H A Dwps_upnp_ssdp.c8 * See wps_upnp.c for more details on licensing and code history.
342 * Returns: 0 on success, -1 on failure
414 * Send it on the multicast socket to avoid having to set up another
480 /* Wait time depending on MX value */
740 int on = 1; local
750 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)))
780 * Returns: 0 on success, -1 on failur
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
H A Dx11_screen.c340 Drawable drawable, boolean on)
342 if (on)
339 x11_drawable_enable_dri2(struct x11_screen *xscr, Drawable drawable, boolean on) argument
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_recv_thread.c191 /* This does not yet work on Linux */
1079 const int on = 1; local
1117 SCTPDBG(SCTP_DEBUG_USR, "Can't set timeout on routing socket (errno = %d).\n", errno);
1149 SCTPDBG(SCTP_DEBUG_USR, "Can't set timeout on socket for SCTP/IPv4 (errno = %d).\n", WSAGetLastError());
1152 SCTPDBG(SCTP_DEBUG_USR, "Can't set timeout on socket for SCTP/IPv4 (errno = %d).\n", errno);
1189 if (setsockopt(SCTP_BASE_VAR(userspace_udpsctp), IPPROTO_IP, IP_PKTINFO, (const void *)&on, (int)sizeof(int)) < 0) {
1191 if (setsockopt(SCTP_BASE_VAR(userspace_udpsctp), IPPROTO_IP, IP_RECVDSTADDR, (const void *)&on, (int)sizeof(int)) < 0) {
1195 SCTPDBG(SCTP_DEBUG_USR, "Can't set IP_PKTINFO on socket for SCTP/UDP/IPv4 (errno = %d).\n", WSAGetLastError());
1197 SCTPDBG(SCTP_DEBUG_USR, "Can't set IP_RECVDSTADDR on socket for SCTP/UDP/IPv4 (errno = %d).\n", WSAGetLastError());
1202 SCTPDBG(SCTP_DEBUG_USR, "Can't set IP_PKTINFO on socke
[all...]
/external/chromium_org/tools/site_compare/
H A Dsite_compare.py10 performs comparison operations on the resulting bitmaps and
24 # output depending on the performance of an operation
29 import commands.maskmaker # generate a mask based on repeated scrapes namespace
55 of mouse clicks, etc. Possibly on a per-browser, per-URL, or
/external/iputils/ninfod/
H A Dninfod.c214 int on, ret; local
216 on = 1;
221 &on, sizeof(on));
227 &on, sizeof(on));
242 &on, sizeof(on));
/external/iputils/
H A Dtracepath6.c379 int on; local
479 on = IPV6_PMTUDISC_DO;
480 if (setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)) &&
481 (on = IPV6_PMTUDISC_DO,
482 setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)))) {
486 on = 1;
487 if (setsockopt(fd, SOL_IPV6, IPV6_RECVERR, &on, sizeof(on))) {
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dx11_screen.c340 Drawable drawable, boolean on)
342 if (on)
339 x11_drawable_enable_dri2(struct x11_screen *xscr, Drawable drawable, boolean on) argument
/external/openssl/crypto/bio/
H A Db_sock.c95 * uses non-C calling convention, __stdcall vs. __cdecl, on x86
838 * that have socklen_t and there are platforms that don't, on
839 * some platforms socklen_t is int and on some size_t. So what
845 * assignment naturally does the job on little-endian platforms
946 int BIO_set_tcp_ndelay(int s, int on) argument
960 ret=setsockopt(s,opt,TCP_NODELAY,(char *)&on,sizeof(on));
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DAudioManagerAndroid.java62 * Checks if the method is called on the valid thread.
135 "Headset earpiece", // Only available on mobile phones.
157 // Randomly picked up frame size which is close to return value on N4.
191 // This class should be created, initialized and closed on the audio thread
216 // Utilized to detect if BT SCO streaming is on or off.
303 private void setCommunicationAudioModeOn(boolean on) { argument
304 if (DEBUG) logd("setCommunicationAudioModeOn(" + on + ")");
314 if (on) {
544 * called on same thread as this object was created on
589 setSpeakerphoneOn(boolean on) argument
598 setMicrophoneMute(boolean on) argument
[all...]
/external/chromium_org/net/socket/
H A Dtcp_socket_libevent.cc43 // SetTCPNoDelay turns on/off buffering in the kernel. By default, TCP sockets
48 int on = no_delay ? 1 : 0; local
49 int error = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
55 int on = enable ? 1 : 0; local
56 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on))) {
57 PLOG(ERROR) << "Failed to set SO_KEEPALIVE on fd: " << fd;
68 PLOG(ERROR) << "Failed to set TCP_KEEPIDLE on fd: " << fd;
73 PLOG(ERROR) << "Failed to set TCP_KEEPINTVL on f
[all...]
/external/chromium_org/net/tools/quic/test_tools/
H A Dquic_test_client.cc227 void QuicTestClient::ExpectCertificates(bool on) { argument
228 if (on) {
344 // Set FEC policy on stream.
/external/chromium_org/third_party/libjingle/source/talk/media/other/
H A Dlinphonemediaengine.h145 virtual bool Mute(bool on) { return mute_; } argument
/external/chromium_org/third_party/webrtc/base/
H A Dlogging.cc23 // Android has a 1024 limit on log inputs. We use 60 chars as an
219 void LogMessage::LogThreads(bool on) { argument
220 thread_ = on;
223 void LogMessage::LogTimestamps(bool on) { argument
224 timestamp_ = on;
322 // AttachConsole is defined on WinXP+.
421 // Perhaps stderr should be controlled by a preference, as on Mac?

Completed in 307 milliseconds

123456