Searched defs:opts (Results 1 - 11 of 11) sorted by relevance

/system/core/adb/daemon/
H A Dmain.cpp241 static struct option opts[] = { local
248 int c = getopt_long(argc, argv, "", opts, &option_index);
/system/extras/libperfmgr/tools/
H A DConfigVerifier.cc128 static struct option opts[] = { local
137 int c = getopt_long(argc, argv, "c:ehv", opts, &option_index);
/system/core/libion/
H A Dion_test.c220 static struct option opts[] = { local
232 c = getopt_long(argc, argv, "af:h:l:mr:st", opts, &i);
/system/core/libutils/
H A DLooper.cpp116 sp<Looper> Looper::prepare(int opts) { argument
117 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS;
/system/vold/
H A Dmain.cpp147 static struct option opts[] = { local
155 while ((c = getopt_long(argc, argv, "", opts, nullptr)) != -1) {
H A DVolumeManager.cpp674 const auto opts = android::base::StringPrintf( local
688 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()));
/system/bt/btif/co/
H A Dbta_hh_co.cc47 int opts = fcntl(fd, F_GETFL); local
48 if (opts < 0)
52 opts |= O_NONBLOCK;
54 if (fcntl(fd, F_SETFL, opts) < 0)
/system/core/libziparchive/
H A Dunzip.cpp277 static struct option opts[] = { local
282 while ((opt = getopt_long(argc, argv, "-d:hlnopqvx", opts, nullptr)) != -1) {
/system/core/sdcard/
H A Dsdcard.cpp111 auto opts = android::base::StringPrintf("fsuid=%d,fsgid=%d,%smask=%d,userid=%d,gid=%d", local
114 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) == -1) {
115 PLOG(WARNING) << "Failed to mount sdcardfs with options " << opts;
126 std::string opts = android::base::StringPrintf("mask=%d,gid=%d", mask, gid); local
135 MS_REMOUNT | MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) != 0) {
/system/sepolicy/tools/
H A Dcheckfc.c240 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *paths[]) argument
246 opts[0].value = NULL; /* not validating against a policy when comparing */
249 opts[1].value = paths[i];
250 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2);
261 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode mode, argument
321 opts[1].value = context_file;
323 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2);
332 struct selinux_opt opts[] = { local
389 do_compare_and_die_on_error(opts, backend, &(argv[index]));
395 do_fc_check_and_die_on_error(opts, backen
[all...]
/system/core/toolbox/
H A 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:"; local
268 while ((ch = getopt(argc, argv, opts)) != -1)

Completed in 243 milliseconds