/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_freebsd.c | 147 unsigned int on = 1; local 148 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) { 149 fprintf(stderr, "%s: cannot enable immediate mode on "
|
l2_packet_pcap.c | 257 unsigned int on = 1; local 258 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) { 259 fprintf(stderr, "%s: cannot enable immediate mode on "
|
/external/wpa_supplicant_8/src/wps/ |
http_server.c | 235 int on = 1; local 247 if (setsockopt(srv->fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) 286 wpa_printf(MSG_DEBUG, "HTTP: Started server on %s:%d",
|
wps_upnp_ssdp.c | 8 * See wps_upnp.c for more details on licensing and code history. 333 * Returns: 0 on success, -1 on failure 405 * Send it on the multicast socket to avoid having to set up another 471 /* Wait time depending on MX value */ 731 int on = 1; local 739 setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on))) 768 * Returns: 0 on success, -1 on failur [all...] |
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 313 const unsigned int on = 0xff0000ff; local 317 on, off, on, off, on, off, on, off, 318 off, on, off, on, off, on, off, on, 319 on, off, on, off, on, off, on, off [all...] |
/system/core/init/ |
util.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 122 int on = 1; local 123 if (setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on))) {
|
/system/libhwbinder/vts/performance/ |
Latency.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 75 char on; local 76 file >> on; local 78 return on == '1'; 274 cout << "-trace # halt the trace on a dealine hit" << endl; 333 // then available on /sys/kernel/debug/trace
|
/external/iputils/ninfod/ |
ninfod.c | 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 214 int on, ret; local 216 on = 1; 221 &on, sizeof(on)); 227 &on, sizeof(on)); 242 &on, sizeof(on));
|
/external/iputils/ |
tracepath6.c | 379 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...] |
traceroute6.c | 50 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 82 * unlikely value (if some clod on the destination is using that 102 * kernel on the 2nd hop system -- lbl-csam.arpa -- that forwards 133 * only knows what's going on with 12. 141 * when it appears on the destination system: 161 * icmp reply. So, the reply will time out on the return path 183 * of unnecessary traffic on our poor, congested nets.) 343 int ch, i, on, probe, seq, tos, ttl; local 368 on = 1; 409 * probe (e.g., on a multi-homed host) [all...] |
/external/toybox/toys/net/ |
ifconfig.c | 20 to operate on, one argument by itself displays that interface. 24 Additional arguments are actions to perform on the interface: 37 Flags you can set on an interface (or -remove by prefixing with -): 359 // Perform operations on interface 364 int on, off; // set, clear member in struct:argh 464 int on = t->on, off = t->off; local 477 if (on < 0) { 481 on = -on; [all...] |
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 234 ALOGV("%s: on : value is: %d", __func__, value); 240 ALOGV("%s: on : value is incremented to : %d", __func__, value); 326 char on = (en)?'1':'0'; local 333 ALOGI("bt_powerup: %c", on); 393 if(can_perform_action(on) == false) { 423 ALOGE("Write %c to rfkill\n", on); 426 if ((size = write(fd, &on, 1)) < 0) { 435 if(on == '0'){ 447 /* If wlan driver is not loaded, and bt is changed from off => on */ [all...] |
/system/bt/vendor_libs/linux/interface/ |
bluetooth_hci.cc | 11 // distributed under the License is distributed on an "AS IS" BASIS, 226 char on = (block)?'1':'0'; local 235 WRITE_NO_INTR(len = write(fd, &on, 1));
|
/device/google/contexthub/firmware/os/inc/ |
sensors.h | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 // overriden on a per-device basis. 139 bool on; member in struct:SensorPowerEvent 169 bool (*sensorPower)(bool on, void *); /* -> SENSOR_INTERNAL_EVT_POWER_STATE_CHG (success) */ 178 bool (*sensorSendOneDirectEvt)(void *, uint32_t tid); //resend last state (if known), only for onchange-supporting sensors, to bring on a new client 181 // Always send event, even on error, free the passed-in event using osFreeRetainedEvent 202 should only be sent on data changes, regardless of any underlying 204 invoked on each call to sensorRequest() to send new clients initial data. 214 neither on-change semantics or on-demand support is implied. * [all...] |
/external/google-breakpad/src/client/linux/handler/ |
exception_handler_unittest.cc | 25 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 61 // Only required on ARM and mips. 484 // This crashes with SIGILL on x86/x86-64/arm. 520 // bytes on either side of the instruction pointer. 582 // bounded correctly on the low end. 612 // bytes on either side of the instruction pointer. 670 // bounded correctly on the high end. 703 // bytes on either side of the instruction pointer. 830 // which is always zero on Linux. 933 static const int on = 1 local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
XCldrStub.java | 274 public static final Joiner on(String separator) { method in class:XCldrStub.Joiner 294 public static Splitter on(char c) { method in class:XCldrStub.Splitter 297 public static Splitter on(Pattern p) { method in class:XCldrStub.Splitter 407 * Evaluates this predicate on the given argument.
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
XCldrStub.java | 272 public static final Joiner on(String separator) { method in class:XCldrStub.Joiner 292 public static Splitter on(char c) { method in class:XCldrStub.Splitter 295 public static Splitter on(Pattern p) { method in class:XCldrStub.Splitter 405 * Evaluates this predicate on the given argument.
|
/external/iproute2/lib/ |
libnetlink.c | 440 fprintf(stderr, "EOF on netlink\n"); 574 fprintf(stderr, "EOF on netlink\n"); 672 unsigned int on = 1; local 674 if (setsockopt(rth->fd, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, &on, 675 sizeof(on)) < 0) { 723 fprintf(stderr, "EOF on netlink\n");
|
/external/libevent/ |
listener.c | 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 216 int on = 1; local 230 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, (void*)&on, sizeof(on))<0) 637 * shutdown work correctly on the accepted socket. */ 686 /* Some error on accept that we couldn't actually handle. */ 689 event_sock_warn(as->s, "Unexpected error on AcceptEx"); 866 event_warnx("Couldn't start accepting on socket");
|
/external/netcat/ |
netcat.c | 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 532 * Returns a socket connected to a local unix socket. Returns -1 on failure. 568 * Create a unix domain socket, and listen on it. 587 * port or source address if needed. Returns -1 on failure. 593 int s, error, on = 1; local 618 setsockopt(s, SOL_SOCKET, SO_BINDANY, &on, sizeof(on)); 690 * Returns a socket listening on a local port, binds to specified source 691 * address. Returns -1 on failure. 757 * Loop that polls on the network file descriptor and stdin [all...] |
/frameworks/native/libs/binder/tests/ |
schd-dbg.cpp | 39 // the ratio that the service is synced on the same cpu beyond 59 char on; local 60 file >> on; local 62 return on == '1'; 455 // then available on /sys/kernel/debug/trace
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 241 ALOGV("%s: on : value is: %d", __func__, value); 248 ALOGV("%s: on : value is incremented to : %d", __func__, value); 339 char on = (en)?'1':'0'; local 346 ALOGI("bt_powerup: %c", on); 406 if(can_perform_action(on) == false) { 436 ALOGE("Write %c to rfkill\n", on); 439 if ((size = write(fd, &on, 1)) < 0) { 448 if(on == '0'){ 460 /* If wlan driver is not loaded, and bt is changed from off => on */ [all...] |
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 235 ALOGV("%s: on : value is: %d", __func__, value); 242 ALOGV("%s: on : value is incremented to : %d", __func__, value); 258 ALOGE("%s: BT turn off twice before BT On(ref_count=%d)\n", 326 - Or through STOP_WCNSS_FILTER byte on Control socket 349 //Make sure of hci_filter_status and return the state based on it 357 /*If there are back to back ON requests from different clients, 388 char on = (en)?'1':'0'; local 395 ALOGI("bt_powerup: %c", on); 457 if(can_perform_action(on) == false) [all...] |
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 257 ALOGV("%s: on : value is: %d", __func__, value); 264 ALOGV("%s: on : value is incremented to : %d", __func__, value); 355 char on = (en)?'1':'0'; local 362 ALOGI("bt_powerup: %c", on); 422 if(can_perform_action(on) == false) { 452 ALOGE("Write %c to rfkill\n", on); 456 if ((size = write(fd, &on, 1)) < 0) { 467 if(on == '0'){ 479 /* If wlan driver is not loaded, and bt is changed from off => on */ [all...] |
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
bt_vendor_qcom.c | 13 * distributed under the License is distributed on an "AS IS" BASIS, 239 ALOGV("%s: on : value is: %d", __func__, value); 246 ALOGE("%s: on : value is already 1", __func__); 262 ALOGE("%s: BT turn off twice before BT On(ref_count=%d)\n", 339 //Make sure of hci_filter_status and return the state based on it 347 /*If there are back to back ON requests from different clients, 378 char on = (en)?'1':'0'; local 385 ALOGI("bt_powerup: %c", on); 444 if(can_perform_action(on) == false) { 477 if(on == '0') [all...] |