Searched defs:on (Results 1 - 11 of 11) sorted by relevance
/system/vold/ |
H A D | NetlinkManager.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 53 int on = 1; local 71 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
|
/system/core/libcutils/ |
H A D | uevent.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 99 int on = passcred; local 112 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
|
H A D | qtaguid.c | 12 ** distributed under the License is distributed on an "AS IS" BASIS, 39 * And on exit or untimely death, all socket tags will be removed. 57 * 0 on success. 58 * -errno on failure. 164 int qtaguid_setPacifier(int on) { argument 169 value = on ? "Y" : "N";
|
/system/netd/ |
H A D | NetlinkManager.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 58 int on = 1; local 76 if (setsockopt(*sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
|
H A D | InterfaceController.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 54 // By default, accept_ra is set to 1 (accept RAs unless forwarding is on) on all interfaces. 55 // This causes RAs to work or not work based on whether forwarding is on, and causes routes 56 // learned from RAs to go away when forwarding is turned on. Make this behaviour predictable 125 int InterfaceController::setEnableIPv6(const char *interface, const int on) { argument 128 // addresses and routes and disables IPv6 on the interface. 129 const char *disable_ipv6 = on ? "0" : "1"; 133 int InterfaceController::setIPv6PrivacyExtensions(const char *interface, const int on) { argument [all...] |
/system/core/sh/ |
H A D | trap.c | 66 * S_HARD_IGN indicates that the signal was ignored on entry to the shell, 200 * Clear traps on a fork or vfork. 413 setinteractive(int on) argument 417 if (on == is_interactive) 422 is_interactive = on;
|
H A D | jobs.c | 94 int initialpgrp; /* pgrp of shell on invocation */ 131 * Turn job control on and off. 134 * pointer, which is true on Berkeley systems but not System V. Since 141 setjobctl(int on) argument 147 if (on == jobctl || rootshell == 0) 149 if (on) { 236 jobctl = on; 839 * process group even if job control is on. 975 * exit on interrupt; unless these processes terminate themselves by
|
/system/extras/latencytop/ |
H A D | latencytop.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 50 static void set_latencytop(int on); 307 static void set_latencytop(int on) { argument 316 fprintf(f, "%d\n", on);
|
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 43 // Max number of retries on EAGAIN and EINTR. Totally arbitrary. 71 // message will be printed on stderr. 302 void setNewFairSleepers(bool on) argument 306 if (on) 332 void setNormalizedSleepers(bool on) argument 336 if (on)
|
/system/core/adb/ |
H A D | sysdeps.h | 11 * distributed under the License is distributed on an "AS IS" BASIS, 86 #define lstat stat /* no symlinks on Win32 */ 88 #define S_ISLNK(m) 0 /* no symlinks on Win32 */ 455 int on = 1; local 456 setsockopt( fd, IPPROTO_TCP, TCP_NODELAY, (void*)&on, sizeof(on) );
|
H A D | sysdeps_win32.c | 11 #define assert(cond) do { if (!(cond)) fatal( "assertion failed '%s' on %s:%ld\n", #cond, __FILE__, __LINE__ ); } while (0) 361 /* ignore mode on Win32 */ 771 D( "adb_socket_accept: accept on fd %d return error %ld\n", serverfd, GetLastError() ); 776 D( "adb_socket_accept on fd %d returns fd %d\n", serverfd, _fh_to_int(fh) ); 784 int on = 1; local 789 setsockopt( fh->fh_socket, IPPROTO_TCP, TCP_NODELAY, (const char*)&on, sizeof(on) ); 824 * we do: a_start = 0, a_end = b_end, b_end = 0, and keep going on.. 1238 /***** this is a very simple implementation, we rely on the fact *****/ 1430 * A fixer for WaitForMultipleObjects on conditio [all...] |
Completed in 672 milliseconds