Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 11 of 11) sorted by relevance

/system/core/libsparse/
Dsimg_dump.py36 opts, args = getopt.getopt(sys.argv[1:],
42 for o, a in opts:
/system/bt/btif/src/
Dbtif_sock_thread.c116 int opts; in set_socket_blocking() local
117 opts = TEMP_FAILURE_RETRY(fcntl(s, F_GETFL)); in set_socket_blocking()
118 if (opts<0) APPL_TRACE_ERROR("set blocking (%s)", strerror(errno)); in set_socket_blocking()
120 opts &= ~O_NONBLOCK; in set_socket_blocking()
121 else opts |= O_NONBLOCK; in set_socket_blocking()
122 if (TEMP_FAILURE_RETRY(fcntl(s, F_SETFL, opts)) < 0) in set_socket_blocking()
/system/vold/
Dmain.cpp144 static struct option opts[] = { in parse_args() local
152 while ((c = getopt_long(argc, argv, "", opts, nullptr)) != -1) { in parse_args()
/system/bt/btif/co/
Dbta_hh_co.c48 int opts = fcntl(fd, F_GETFL); in uhid_set_non_blocking() local
49 if (opts < 0) in uhid_set_non_blocking()
52 opts |= O_NONBLOCK; in uhid_set_non_blocking()
54 if (fcntl(fd, F_SETFL, opts) < 0) in uhid_set_non_blocking()
/system/core/adb/
Dadb_main.cpp373 static struct option opts[] = { in main()
380 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/system/core/libion/
Dion_test.c220 static struct option opts[] = { in main() local
232 c = getopt_long(argc, argv, "af:h:l:mr:st", opts, &i); in main()
/system/extras/tests/mmc_tracepoints/
DREADME17 opts.
/system/core/include/utils/
DLooper.h403 static sp<Looper> prepare(int opts);
/system/core/libutils/
DLooper.cpp122 sp<Looper> Looper::prepare(int opts) { in prepare() argument
123 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS; in prepare()
/system/core/sdcard/
Dsdcard.c1760 char opts[256]; in fuse_setup() local
1770 snprintf(opts, sizeof(opts), in fuse_setup()
1774 MS_NOATIME, opts) != 0) { in fuse_setup()
/system/core/toolbox/
Dnewfs_msdos.c241 static const char opts[] = "@:NAB:C:F:I:L:O:S:a:b:c:e:f:h:i:k:m:n:o:r:s:u:"; in newfs_msdos_main() local
268 while ((ch = getopt(argc, argv, opts)) != -1) in newfs_msdos_main()