Home
last modified time | relevance | path

Searched refs:nopts (Results 1 – 19 of 19) sorted by relevance

/external/selinux/libselinux/src/
Dlabel_internal.h29 unsigned nopts) hidden;
32 unsigned nopts) hidden;
35 unsigned nopts) hidden;
38 unsigned nopts) hidden;
41 unsigned nopts) hidden;
44 unsigned nopts) hidden;
Dlabel_db.c237 db_init(const struct selinux_opt *opts, unsigned nopts, in db_init() argument
266 while (nopts--) { in db_init()
267 switch (opts[nopts].type) { in db_init()
269 path = opts[nopts].value; in db_init()
354 const struct selinux_opt *opts, unsigned nopts) in selabel_db_init() argument
359 rec->data = db_init(opts, nopts, rec); in selabel_db_init()
Dlabel.c52 unsigned nopts);
215 unsigned nopts) in selabel_open() argument
235 rec->validating = selabel_is_validate_set(opts, nopts); in selabel_open()
237 rec->digest = selabel_is_digest_set(opts, nopts, rec->digest); in selabel_open()
239 if ((*initfuncs[backend])(rec, opts, nopts)) { in selabel_open()
Dlabel_backends_android.c369 unsigned nopts) in selabel_property_init() argument
382 return init(rec, opts, nopts); in selabel_property_init()
386 const struct selinux_opt *opts, unsigned nopts) in selabel_exact_match_init() argument
399 return init(rec, opts, nopts); in selabel_exact_match_init()
Dlabel_media.c211 unsigned nopts) in selabel_media_init() argument
225 return init(rec, opts, nopts); in selabel_media_init()
Dlabel_x.c236 unsigned nopts) in selabel_x_init() argument
250 return init(rec, opts, nopts); in selabel_x_init()
Davc.c148 int avc_open(struct selinux_opt *opts, unsigned nopts) in avc_open() argument
152 while (nopts--) in avc_open()
153 switch(opts[nopts].type) { in avc_open()
156 avc_enforcing = !!opts[nopts].value; in avc_open()
Dlabel_file.c1292 unsigned nopts) in selabel_file_init() argument
1312 return init(rec, opts, nopts); in selabel_file_init()
/external/selinux/libselinux/src/android/
Dandroid.c81 unsigned nopts) in selinux_android_service_open_context_handle() argument
86 seopts_service, nopts); in selinux_android_service_open_context_handle()
94 for (unsigned i = 0; i < nopts; i++) { in selinux_android_service_open_context_handle()
101 unsigned nopts) in selinux_android_keystore2_key_open_context_handle() argument
106 seopts_service, nopts); in selinux_android_keystore2_key_open_context_handle()
114 for (unsigned i = 0; i < nopts; i++) { in selinux_android_keystore2_key_open_context_handle()
Dandroid_platform.c65 unsigned nopts) in selinux_android_file_context() argument
68 struct selinux_opt fc_opts[nopts + 1]; in selinux_android_file_context()
70 memcpy(fc_opts, opts, nopts*sizeof(struct selinux_opt)); in selinux_android_file_context()
71 fc_opts[nopts].type = SELABEL_OPT_BASEONLY; in selinux_android_file_context()
72 fc_opts[nopts].value = (char *)1; in selinux_android_file_context()
/external/openssh/
Dssh-sk.c372 size_t nopts = *noptsp; in sshsk_add_option() local
374 if ((opts = recallocarray(opts, nopts, nopts + 2, /* extra for NULL */ in sshsk_add_option()
380 *noptsp = nopts + 1; in sshsk_add_option()
381 if ((opts[nopts] = calloc(1, sizeof(**opts))) == NULL) { in sshsk_add_option()
385 if ((opts[nopts]->name = strdup(name)) == NULL || in sshsk_add_option()
386 (opts[nopts]->value = strdup(value)) == NULL) { in sshsk_add_option()
390 opts[nopts]->required = required; in sshsk_add_option()
399 size_t nopts = 0; in make_options() local
403 (r = sshsk_add_option(&opts, &nopts, "device", device, 0)) != 0) { in make_options()
408 (r = sshsk_add_option(&opts, &nopts, "user", user_id, 0)) != 0) { in make_options()
[all …]
Dssh-keygen.c2774 do_moduli_gen(const char *out_file, char **opts, size_t nopts) in do_moduli_gen() argument
2786 for (i = 0; i < nopts; i++) { in do_moduli_gen()
2827 do_moduli_screen(const char *out_file, char **opts, size_t nopts) in do_moduli_screen() argument
2840 for (i = 0; i < nopts; i++) { in do_moduli_screen()
3098 size_t i, nopts = 0; in main() local
3222 opts = xrecallocarray(opts, nopts, nopts + 1, in main()
3224 opts[nopts++] = xstrdup(optarg); in main()
3427 for (i = 0; i < nopts; i++) in main()
3441 for (i = 0; i < nopts; i++) { in main()
3507 do_moduli_gen(argv[0], opts, nopts); in main()
[all …]
/external/openssh/openbsd-compat/
Dgetopt_long.c142 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local
149 nopts = opt_end - panonopt_end; in permute_args()
150 ncycle = gcd(nnonopts, nopts); in permute_args()
160 pos += nopts; in permute_args()
/external/mesa3d/src/getopt/
Dgetopt_long.c125 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local
132 nopts = opt_end - panonopt_end; in permute_args()
133 ncycle = gcd(nnonopts, nopts); in permute_args()
143 pos += nopts; in permute_args()
/external/llvm-project/lldb/source/Host/common/
DGetOptInc.cpp79 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local
86 nopts = opt_end - panonopt_end; in permute_args()
87 ncycle = gcd(nnonopts, nopts); in permute_args()
97 pos += nopts; in permute_args()
/external/tcpdump/missing/
Dgetopt_long.c142 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local
149 nopts = opt_end - panonopt_end; in permute_args()
150 ncycle = gcd(nnonopts, nopts); in permute_args()
160 pos += nopts; in permute_args()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_stats.cc160 Options nopts = opts; in ShowGraphNode() local
161 nopts.step = step; in ShowGraphNode()
162 graph_view_->Show(prefix, nopts); in ShowGraphNode()
/external/selinux/libselinux/include/selinux/
Dlabel.h80 unsigned nopts);
Davc.h206 extern int avc_open(struct selinux_opt *opts, unsigned nopts);