Home
last modified time | relevance | path

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

/system/sepolicy/tools/
Dcheckfc.c229 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *path… in do_compare_and_die_on_error() argument
235 opts[0].value = NULL; /* not validating against a policy when comparing */ in do_compare_and_die_on_error()
238 opts[1].value = paths[i]; in do_compare_and_die_on_error()
239 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2); in do_compare_and_die_on_error()
250 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode … in do_fc_check_and_die_on_error() argument
310 opts[1].value = context_file; in do_fc_check_and_die_on_error()
312 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2); in do_fc_check_and_die_on_error()
321 struct selinux_opt opts[] = { in main() local
370 do_compare_and_die_on_error(opts, backend, &(argv[index])); in main()
376 do_fc_check_and_die_on_error(opts, backend, mode, sepolicy_file, context_file, allow_empty); in main()
/system/core/logwrapper/
Dlogwrap.c295 const struct AndroidForkExecvpOption* opts, size_t opts_len) { in parent() argument
363 if (opts[i].opt_type == FORK_EXECVP_OPTION_CAPTURE_OUTPUT) { in parent()
364 opts[i].opt_capture_output.on_output( in parent()
365 (uint8_t*)&buffer[b], sz, opts[i].opt_capture_output.user_pointer); in parent()
486 const struct AndroidForkExecvpOption* opts, size_t opts_len) { in android_fork_execvp_ext() argument
543 if (opts[i].opt_type == FORK_EXECVP_OPTION_INPUT) { in android_fork_execvp_ext()
565 if (opts[i].opt_type == FORK_EXECVP_OPTION_INPUT) { in android_fork_execvp_ext()
566 size_t left = opts[i].opt_input.input_len; in android_fork_execvp_ext()
567 const uint8_t* input = opts[i].opt_input.input; in android_fork_execvp_ext()
581 abbreviated, file_path, opts, opts_len); in android_fork_execvp_ext()
/system/core/adb/daemon/
Dmain.cpp229 static struct option opts[] = { in main() local
236 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/system/core/libsparse/
Dsimg_dump.py36 opts, args = getopt.getopt(sys.argv[1:],
42 for o, a in opts:
/system/core/logwrapper/include/logwrap/
Dlogwrap.h98 const struct AndroidForkExecvpOption* opts, size_t opts_len);
/system/core/libcutils/
Dandroid_reboot.c45 static bool has_mount_option(const char* opts, const char* opt_to_find) in has_mount_option() argument
52 while ((opt = strtok_r(copy ? NULL : (copy = strdup(opts)), ",", &rem))) { in has_mount_option()
/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()
DCommandListener.cpp650 const auto opts = android::base::StringPrintf( in mountInNamespace() local
664 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str())); in mountInNamespace()
/system/bt/btif/co/
Dbta_hh_co.c49 int opts = fcntl(fd, F_GETFL); in uhid_set_non_blocking() local
50 if (opts < 0) in uhid_set_non_blocking()
53 opts |= O_NONBLOCK; in uhid_set_non_blocking()
55 if (fcntl(fd, F_SETFL, opts) < 0) in uhid_set_non_blocking()
/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/sdcard/
Dsdcard.c1791 char opts[256]; in fuse_setup() local
1801 snprintf(opts, sizeof(opts), in fuse_setup()
1805 MS_NOATIME, opts) != 0) { in fuse_setup()
1939 char opts[256]; in sdcardfs_setup() local
1941 snprintf(opts, sizeof(opts), in sdcardfs_setup()
1946 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts) != 0) { in sdcardfs_setup()
/system/core/libutils/
DLooper.cpp125 sp<Looper> Looper::prepare(int opts) { in prepare() argument
126 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS; in prepare()
/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()