Home
last modified time | relevance | path

Searched refs:sh (Results 1 – 25 of 1672) sorted by relevance

12345678910>>...67

/external/selinux/libsemanage/src/
Dhandle.c63 semanage_handle_t *sh = NULL; in semanage_handle_create() local
67 if ((sh = calloc(1, sizeof(semanage_handle_t))) == NULL) in semanage_handle_create()
73 if ((sh->conf = semanage_conf_parse(conf_name)) == NULL) in semanage_handle_create()
77 sh->sepolh = sepol_handle_create(); in semanage_handle_create()
78 if (!sh->sepolh) in semanage_handle_create()
80 sepol_msg_set_callback(sh->sepolh, semanage_msg_relay_handler, sh); in semanage_handle_create()
83 sh->priority = 400; in semanage_handle_create()
87 sh->do_rebuild = 0; in semanage_handle_create()
90 sh->do_reload = (is_selinux_enabled() > 0); in semanage_handle_create()
93 sh->do_check_contexts = 1; in semanage_handle_create()
[all …]
Dmodules.c56 static int parse_module_headers(semanage_handle_t * sh, char *module_data, in parse_module_headers() argument
64 ERR(sh, "Out of memory!"); in parse_module_headers()
68 sepol_policy_file_set_handle(pf, sh->sepolh); in parse_module_headers()
73 ERR(sh, "Could not parse module data."); in parse_module_headers()
78 …ERR(sh, "Data did not represent a pp module. Please upgrade to the latest version of libsemanage t… in parse_module_headers()
88 int semanage_module_install_pp(semanage_handle_t * sh, in semanage_module_install_pp() argument
95 if ((status = parse_module_headers(sh, module_data, data_len, &name, &version)) != 0) { in semanage_module_install_pp()
99 status = semanage_module_install_hll(sh, module_data, data_len, name, "pp"); in semanage_module_install_pp()
107 int semanage_module_install_hll(semanage_handle_t * sh, in semanage_module_install_hll() argument
110 if (sh->funcs->install == NULL) { in semanage_module_install_hll()
[all …]
Ddirect_api.c62 static void semanage_direct_destroy(semanage_handle_t * sh);
63 static int semanage_direct_disconnect(semanage_handle_t * sh);
64 static int semanage_direct_begintrans(semanage_handle_t * sh);
65 static int semanage_direct_commit(semanage_handle_t * sh);
66 static int semanage_direct_install(semanage_handle_t * sh, char *data,
68 static int semanage_direct_install_file(semanage_handle_t * sh, const char *module_name);
69 static int semanage_direct_extract(semanage_handle_t * sh,
75 static int semanage_direct_remove(semanage_handle_t * sh, char *module_name);
76 static int semanage_direct_list(semanage_handle_t * sh,
79 static int semanage_direct_get_enabled(semanage_handle_t *sh,
[all …]
Dpywrap-test.py123 def test_modules(self,sh): argument
126 (trans_cnt, mlist, mlist_size) = semanage.semanage_module_list(sh)
141 def test_seusers(self,sh): argument
144 (status, slist) = semanage.semanage_seuser_list(sh)
160 def test_users(self,sh): argument
163 (status, ulist) = semanage.semanage_user_list(sh)
180 (status, rlist) = semanage.semanage_user_get_roles(sh, user)
189 def test_ports(self,sh): argument
192 (status, plist) = semanage.semanage_port_list(sh)
212 (rc, con_str) = semanage.semanage_context_to_string(sh,con)
[all …]
Dsemanage_store.h87 int semanage_check_init(semanage_handle_t *sh, const char *prefix);
97 int semanage_create_store(semanage_handle_t * sh, int create);
103 int semanage_mkdir(semanage_handle_t *sh, const char *path);
105 int semanage_mkpath(semanage_handle_t *sh, const char *path);
107 int semanage_make_sandbox(semanage_handle_t * sh);
109 int semanage_make_final(semanage_handle_t * sh);
111 int semanage_get_cil_paths(semanage_handle_t * sh, semanage_module_info_t *modinfos,
114 int semanage_get_active_modules(semanage_handle_t *sh,
119 int semanage_get_trans_lock(semanage_handle_t * sh);
120 int semanage_get_active_lock(semanage_handle_t * sh);
[all …]
Dsemanage_store.c213 static int semanage_init_final(semanage_handle_t *sh, const char *prefix) in semanage_init_final() argument
215 assert(sh); in semanage_init_final()
220 const char *store_path = sh->conf->store_path; in semanage_init_final()
273 static int semanage_init_final_suffix(semanage_handle_t *sh) in semanage_init_final_suffix() argument
282 ERR(sh, "Unable to allocate space for policy top level path."); in semanage_init_final_suffix()
290 ERR(sh, "Unable to allocate space for file context path."); in semanage_init_final_suffix()
298 ERR(sh, "Unable to allocate space for file context home directory path."); in semanage_init_final_suffix()
306 ERR(sh, "Unable to allocate space for local file context path."); in semanage_init_final_suffix()
314 ERR(sh, "Unable to allocate space for netfilter context path."); in semanage_init_final_suffix()
322 ERR(sh, "Unable to allocate space for userconf path."); in semanage_init_final_suffix()
[all …]
Dmodules.h29 int semanage_module_install_pp(semanage_handle_t * sh,
31 int semanage_module_install_hll(semanage_handle_t * sh,
33 int semanage_module_upgrade(semanage_handle_t * sh,
35 int semanage_module_upgrade_file(semanage_handle_t * sh,
37 int semanage_module_install_base(semanage_handle_t * sh,
39 int semanage_module_install_base_file(semanage_handle_t * sh,
54 int semanage_module_info_init(semanage_handle_t *sh,
61 int semanage_module_info_clone(semanage_handle_t *sh,
88 int semanage_module_key_init(semanage_handle_t *sh,
106 int semanage_module_get_path(semanage_handle_t *sh,
/external/elfutils/tests/
DMakefile.am73 TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \
75 run-show-die-info.sh run-get-files.sh run-get-lines.sh \
76 run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \
77 run-show-abbrev.sh run-line2addr.sh hash \
78 newscn run-strip-test.sh run-strip-test2.sh \
79 run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \
80 run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \
81 run-strip-test9.sh run-strip-test10.sh \
82 run-strip-groups.sh run-strip-reloc.sh run-strip-strmerge.sh \
83 run-unstrip-test.sh run-unstrip-test2.sh \
[all …]
DChangeLog28 run-readelf-zdebug.sh and run-readelf-zdebug-rel.sh.
32 * run-compress-test.sh: New test.
33 * Makefile.am (TESTS): Add run-compress-test.sh.
39 * run-zstrptr.sh: New test.
41 * run-elfputzdata.sh: Expect .shstrtab compression.
43 (TESTS): Add run-zstrptr.sh.
49 * run-readelf-zx.sh: New test.
50 * run-readelf-zp.sh: Likewise.
51 * Makefile.am (TESTS): Add run-readelf-zx.sh and run-readelf-zp.sh.
57 (TESTS): Add run-elfgetzdata.sh and run-elfputzdata.sh.
[all …]
/external/strace/xlat/
DMakemodule.am3 $(top_srcdir)/xlat/access_flags.h: $(top_srcdir)/xlat/access_flags.in $(top_srcdir)/xlat/gen.sh
4 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@
5 $(top_srcdir)/xlat/aclipc.h: $(top_srcdir)/xlat/aclipc.in $(top_srcdir)/xlat/gen.sh
6 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@
7 $(top_srcdir)/xlat/addrfams.h: $(top_srcdir)/xlat/addrfams.in $(top_srcdir)/xlat/gen.sh
8 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@
9 $(top_srcdir)/xlat/adjtimex_modes.h: $(top_srcdir)/xlat/adjtimex_modes.in $(top_srcdir)/xlat/gen.sh
10 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@
11 $(top_srcdir)/xlat/adjtimex_state.h: $(top_srcdir)/xlat/adjtimex_state.in $(top_srcdir)/xlat/gen.sh
12 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@
[all …]
/external/selinux/libsepol/src/
Dhandle.c9 sepol_handle_t *sh = malloc(sizeof(sepol_handle_t)); in sepol_handle_create() local
10 if (sh == NULL) in sepol_handle_create()
14 sh->msg_callback = sepol_msg_default_handler; in sepol_handle_create()
15 sh->msg_callback_arg = NULL; in sepol_handle_create()
18 sh->disable_dontaudit = 0; in sepol_handle_create()
19 sh->expand_consume_base = 0; in sepol_handle_create()
22 sh->preserve_tunables = 0; in sepol_handle_create()
24 return sh; in sepol_handle_create()
27 int sepol_get_preserve_tunables(sepol_handle_t *sh) in sepol_get_preserve_tunables() argument
29 assert(sh != NULL); in sepol_get_preserve_tunables()
[all …]
/external/selinux/libsemanage/include/semanage/
Dmodules.h55 int semanage_module_extract(semanage_handle_t *sh,
77 int semanage_module_info_create(semanage_handle_t *sh,
95 int semanage_module_info_get_priority(semanage_handle_t *sh,
103 int semanage_module_info_get_name(semanage_handle_t *sh,
111 int semanage_module_info_get_lang_ext(semanage_handle_t *sh,
119 int semanage_module_info_get_enabled(semanage_handle_t *sh,
129 int semanage_module_info_set_priority(semanage_handle_t *sh,
137 int semanage_module_info_set_name(semanage_handle_t *sh,
145 int semanage_module_info_set_lang_ext(semanage_handle_t *sh,
153 int semanage_module_info_set_enabled(semanage_handle_t *sh,
[all …]
/external/eigen/bench/btl/data/
Dgo_mean34 source mk_mean_script.sh axpy $1 11 2500 100000 250000 $mode $prefix
35 source mk_mean_script.sh axpby $1 11 2500 100000 250000 $mode $prefix
36 source mk_mean_script.sh matrix_vector $1 11 50 300 1000 $mode $prefix
37 source mk_mean_script.sh atv $1 11 50 300 1000 $mode $prefix
38 source mk_mean_script.sh matrix_matrix $1 11 100 300 1000 $mode $prefix
39 source mk_mean_script.sh aat $1 11 100 300 1000 $mode $prefix
41 source mk_mean_script.sh trmm $1 11 100 300 1000 $mode $prefix
42 source mk_mean_script.sh trisolve_vector $1 11 100 300 1000 $mode $prefix
43 source mk_mean_script.sh trisolve_matrix $1 11 100 300 1000 $mode $prefix
44 source mk_mean_script.sh cholesky $1 11 100 300 1000 $mode $prefix
[all …]
/external/selinux/policycoreutils/semodule/
Dsemodule.c55 static semanage_handle_t *sh = NULL; variable
355 sh = semanage_handle_create(); in main()
356 if (!sh) { in main()
367 semanage_select_store(sh, store, SEMANAGE_CON_DIRECT); in main()
371 semanage_set_store_root(sh, store_root); in main()
375 semanage_set_create_store(sh, 1); in main()
377 if ((result = semanage_connect(sh)) < 0) { in main()
384 if ((result = semanage_reload_policy(sh)) < 0) { in main()
392 if ((result = semanage_begin_transaction(sh)) < 0) { in main()
399 if ((result = semanage_set_default_priority(sh, priority)) != 0) { in main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dtransform.c41 int16_t factQ19, sh; in WebRtcIsacfix_Time2SpecC() local
62 sh = WebRtcSpl_NormW32(xrQ16); in WebRtcIsacfix_Time2SpecC()
63sh = sh-24; //if sh becomes >=0, then we should shift sh steps to the left, and the domain will be… in WebRtcIsacfix_Time2SpecC()
67 if (sh>=0) { in WebRtcIsacfix_Time2SpecC()
69 inre1Q9[k] = (int16_t)(tmpreQ16[k] << sh); // Q(16+sh) in WebRtcIsacfix_Time2SpecC()
70 inre2Q9[k] = (int16_t)(tmpimQ16[k] << sh); // Q(16+sh) in WebRtcIsacfix_Time2SpecC()
73 int32_t round = 1 << (-sh - 1); in WebRtcIsacfix_Time2SpecC()
75 inre1Q9[k] = (int16_t)((tmpreQ16[k] + round) >> -sh); // Q(16+sh) in WebRtcIsacfix_Time2SpecC()
76 inre2Q9[k] = (int16_t)((tmpimQ16[k] + round) >> -sh); // Q(16+sh) in WebRtcIsacfix_Time2SpecC()
84 if (sh>=0) { in WebRtcIsacfix_Time2SpecC()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dshaders_cache.c256 int idx = 0, sh; in create_shader() local
260 sh = SHADERS_GET_PAINT_SHADER(id); in create_shader()
261 switch (sh << SHADERS_PAINT_SHIFT) { in create_shader()
267 shaders[idx] = &shaders_paint_asm[(sh >> SHADERS_PAINT_SHIFT) - 1]; in create_shader()
268 assert(shaders[idx]->id == sh); in create_shader()
276 sh = SHADERS_GET_IMAGE_SHADER(id); in create_shader()
277 switch (sh) { in create_shader()
281 shaders[idx] = &shaders_image_asm[(sh >> SHADERS_IMAGE_SHIFT) - 1]; in create_shader()
282 assert(shaders[idx]->id == sh); in create_shader()
290 assert(idx == ((!sh || sh == VEGA_IMAGE_NORMAL_SHADER) ? 1 : 2)); in create_shader()
[all …]
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
Dbuildall.sh3 ./buildpkb.sh de DE gl0
4 ./buildpkb.sh en GB kh0
5 ./buildpkb.sh en US lh0
6 ./buildpkb.sh es ES zl0
7 ./buildpkb.sh fr FR nk0
8 ./buildpkb.sh it IT cm0
10 ./buildbin.sh de-DE gl0
11 ./buildbin.sh en-GB kh0
12 ./buildbin.sh en-US lh0
13 ./buildbin.sh es-ES zl0
[all …]
/external/ImageMagick/scripts/
DMakefile.am22 Magick++/tests/exceptions.sh \
23 Magick++/tests/appendImages.sh \
24 Magick++/tests/attributes.sh \
25 Magick++/tests/averageImages.sh \
26 Magick++/tests/coalesceImages.sh \
27 Magick++/tests/coderInfo.sh \
28 Magick++/tests/colorHistogram.sh \
29 Magick++/tests/color.sh \
30 Magick++/tests/montageImages.sh \
31 Magick++/tests/morphImages.sh \
[all …]
/external/vboot_reference/host/lib/
Dcrossystem.c211 const VbSharedDataHeader* sh) { in GetVdatLoadFirmwareDebug() argument
218 sh->check_fw_a_result, in GetVdatLoadFirmwareDebug()
219 sh->check_fw_b_result, in GetVdatLoadFirmwareDebug()
220 sh->firmware_index, in GetVdatLoadFirmwareDebug()
221 sh->fw_version_tpm_start, in GetVdatLoadFirmwareDebug()
222 sh->fw_version_lowest); in GetVdatLoadFirmwareDebug()
230 const VbSharedDataHeader* sh) { in GetVdatLoadKernelDebug() argument
243 sh->lk_call_count); in GetVdatLoadKernelDebug()
248 if (sh->lk_call_count > VBSD_MAX_KERNEL_CALLS) in GetVdatLoadKernelDebug()
249 first_call_tracked = sh->lk_call_count - VBSD_MAX_KERNEL_CALLS; in GetVdatLoadKernelDebug()
[all …]
/external/strace/maint/
Dioctls_gen.sh67 "$mydir"/ioctls_hex.sh "$inc_dir" 03 linux/hdreg.h
68 "$mydir"/ioctls_hex.sh "$inc_dir" 22 scsi/sg.h
69 "$mydir"/ioctls_hex.sh "$inc_dir" 46 linux/fb.h
70 "$mydir"/ioctls_hex.sh "$inc_dir" 4B linux/kd.h
71 "$mydir"/ioctls_hex.sh "$inc_dir" 4C linux/loop.h
72 "$mydir"/ioctls_hex.sh "$inc_dir" 53 linux/cdrom.h scsi/scsi.h scsi/scsi_ioctl.h
73 "$mydir"/ioctls_hex.sh "$inc_dir" '\(46\|54\|66\|74\)' asm/ioctls.h asm-generic/ioctls.h
74 "$mydir"/ioctls_hex.sh "$inc_dir" 56 linux/vt.h
75 "$mydir"/ioctls_hex.sh "$inc_dir" '7[12]' linux/videotext.h
76 "$mydir"/ioctls_hex.sh "$inc_dir" 89 asm/sockios.h asm-generic/sockios.h linux/sockios.h
[all …]
/external/selinux/libsemanage/example/
Dtest_fcontext.c11 semanage_handle_t *sh = NULL; in main() local
17 sh = semanage_handle_create(); in main()
18 if (sh == NULL) { in main()
22 if (semanage_access_check(sh) < 0) { in main()
26 if (semanage_connect(sh) < 0) { in main()
31 if (semanage_fcontext_key_create(sh, argv[2], SEMANAGE_FCONTEXT_REG, &k) < 0) { in main()
36 if(semanage_fcontext_exists(sh, k, &exist) < 0) { in main()
45 if (semanage_fcontext_create(sh, &fcontext) < 0) { in main()
49 semanage_fcontext_set_expr(sh, fcontext, argv[2]); in main()
51 if (semanage_context_from_string(sh, argv[1], &con)) { in main()
[all …]
/external/selinux/policycoreutils/semanage/
Dseobject.py214 self.sh = self.get_handle(store)
273 rc = semanage_begin_transaction(self.sh)
284 semanage_set_reload(self.sh, self.load)
285 rc = semanage_commit(self.sh)
305 (rc, mlist, number) = semanage_module_list_all(self.sh)
312 rc, name = semanage_module_info_get_name(self.sh, mod)
316 rc, enabled = semanage_module_info_get_enabled(self.sh, mod)
320 rc, priority = semanage_module_info_get_priority(self.sh, mod)
324 rc, lang_ext = semanage_module_info_get_lang_ext(self.sh, mod)
361 rc = semanage_set_default_priority(self.sh, priority)
[all …]
/external/avahi/initscript/freebsd/
DMakefile.am21 avahi-daemon.sh.in \
22 avahi-dnsconfd.sh.in
25 avahi-daemon.sh \
26 avahi-dnsconfd.sh
29 avahi-daemon.sh \
30 avahi-dnsconfd.sh
32 avahi-daemon.sh: avahi-daemon.sh.in
36 avahi-dnsconfd.sh: avahi-dnsconfd.sh.in
/external/mesa3d/src/mesa/main/
Dshaderobj.c57 struct gl_shader *sh) in _mesa_reference_shader() argument
60 if (*ptr == sh) { in _mesa_reference_shader()
85 if (sh) { in _mesa_reference_shader()
87 sh->RefCount++; in _mesa_reference_shader()
90 *ptr = sh; in _mesa_reference_shader()
125 _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh) in _mesa_delete_shader() argument
127 if (sh->Source) in _mesa_delete_shader()
128 free((void *) sh->Source); in _mesa_delete_shader()
129 _mesa_reference_program(ctx, &sh->Program, NULL); in _mesa_delete_shader()
130 ralloc_free(sh); in _mesa_delete_shader()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.c92 uint i, sh; in softpipe_destroy() local
125 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_destroy()
127 sp_destroy_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_destroy()
128 pipe_sampler_view_reference(&softpipe->sampler_views[sh][i], NULL); in softpipe_destroy()
132 for (sh = 0; sh < Elements(softpipe->constants); sh++) { in softpipe_destroy()
134 if (softpipe->constants[sh][i]) { in softpipe_destroy()
135 pipe_resource_reference(&softpipe->constants[sh][i], NULL); in softpipe_destroy()
164 unsigned i, sh; in softpipe_is_resource_referenced() local
184 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { in softpipe_is_resource_referenced()
186 if (softpipe->tex_cache[sh][i] && in softpipe_is_resource_referenced()
[all …]

12345678910>>...67