Home
last modified time | relevance | path

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

12345678910>>...50

/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_remove(semanage_handle_t * sh, char *module_name);
70 static int semanage_direct_list(semanage_handle_t * sh,
73 static int semanage_direct_get_enabled(semanage_handle_t *sh,
76 static int semanage_direct_set_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.h83 int semanage_check_init(semanage_handle_t *sh, const char *prefix);
93 int semanage_create_store(semanage_handle_t * sh, int create);
99 int semanage_mkdir(semanage_handle_t *sh, const char *path);
101 int semanage_mkpath(semanage_handle_t *sh, const char *path);
103 int semanage_make_sandbox(semanage_handle_t * sh);
105 int semanage_make_final(semanage_handle_t * sh);
107 int semanage_get_cil_paths(semanage_handle_t * sh, semanage_module_info_t *modinfos,
110 int semanage_get_active_modules(semanage_handle_t *sh,
115 int semanage_get_trans_lock(semanage_handle_t * sh);
116 int semanage_get_active_lock(semanage_handle_t * sh);
[all …]
Dsemanage_store.c209 static int semanage_init_final(semanage_handle_t *sh, const char *prefix) in semanage_init_final() argument
211 assert(sh); in semanage_init_final()
216 const char *store_path = sh->conf->store_path; in semanage_init_final()
269 static int semanage_init_final_suffix(semanage_handle_t *sh) in semanage_init_final_suffix() argument
278 ERR(sh, "Unable to allocate space for policy top level path."); in semanage_init_final_suffix()
286 ERR(sh, "Unable to allocate space for file context path."); in semanage_init_final_suffix()
294 ERR(sh, "Unable to allocate space for file context home directory path."); in semanage_init_final_suffix()
302 ERR(sh, "Unable to allocate space for local file context path."); in semanage_init_final_suffix()
310 ERR(sh, "Unable to allocate space for netfilter context path."); in semanage_init_final_suffix()
318 ERR(sh, "Unable to allocate space for userconf path."); in semanage_init_final_suffix()
[all …]
/external/elfutils/src/tests/
DMakefile.am70 TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \
72 run-show-die-info.sh run-get-files.sh run-get-lines.sh \
73 run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \
74 run-show-abbrev.sh run-line2addr.sh hash \
75 newscn run-strip-test.sh run-strip-test2.sh \
76 run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \
77 run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \
78 run-strip-groups.sh run-strip-reloc.sh \
79 run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-M.sh \
80 run-ecp-test.sh run-ecp-test2.sh run-alldts.sh \
[all …]
DChangeLog3 * run-deleted.sh: Don't check libfunc on ppc64.
14 * backtrace-subr.sh (check_native_unsupported): Relax special ARM
16 * run-deleted.sh: Call check_native_unsupported.
29 * run-addr2line-i-lex-test.sh: New test.
31 * Makefile.am (EXTRA_DIST): Add run-addr2line-i-lex-test.sh and
33 (TESTS): Add run-addr2line-i-lex-test.sh.
37 * run-addr2line-i-test.sh: Test 0x5f0 to make sure linkage_name is
48 * run-dwarf-getmacros.sh: Add two tests.
56 * run-readelf-A.sh: New test.
58 * Makefile.am (TESTS): Add run-readelf-A.sh.
[all …]
DMakefile.in117 TESTS = run-arextract.sh run-arsymtest.sh newfile$(EXEEXT) \
119 update3$(EXEEXT) update4$(EXEEXT) run-show-die-info.sh \
120 run-get-files.sh run-get-lines.sh run-get-pubnames.sh \
121 run-get-aranges.sh run-allfcts.sh run-show-abbrev.sh \
122 run-line2addr.sh hash$(EXEEXT) newscn$(EXEEXT) \
123 run-strip-test.sh run-strip-test2.sh run-strip-test3.sh \
124 run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \
125 run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \
126 run-strip-reloc.sh run-unstrip-test.sh run-unstrip-test2.sh \
127 run-unstrip-M.sh run-ecp-test.sh run-ecp-test2.sh \
[all …]
DMakefile117 TESTS = run-arextract.sh run-arsymtest.sh newfile$(EXEEXT) \
119 update3$(EXEEXT) update4$(EXEEXT) run-show-die-info.sh \
120 run-get-files.sh run-get-lines.sh run-get-pubnames.sh \
121 run-get-aranges.sh run-allfcts.sh run-show-abbrev.sh \
122 run-line2addr.sh hash$(EXEEXT) newscn$(EXEEXT) \
123 run-strip-test.sh run-strip-test2.sh run-strip-test3.sh \
124 run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \
125 run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \
126 run-strip-reloc.sh run-unstrip-test.sh run-unstrip-test2.sh \
127 run-unstrip-M.sh run-ecp-test.sh run-ecp-test2.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.h60 int semanage_module_info_create(semanage_handle_t *sh,
78 int semanage_module_info_get_priority(semanage_handle_t *sh,
86 int semanage_module_info_get_name(semanage_handle_t *sh,
94 int semanage_module_info_get_lang_ext(semanage_handle_t *sh,
102 int semanage_module_info_get_enabled(semanage_handle_t *sh,
112 int semanage_module_info_set_priority(semanage_handle_t *sh,
120 int semanage_module_info_set_name(semanage_handle_t *sh,
128 int semanage_module_info_set_lang_ext(semanage_handle_t *sh,
136 int semanage_module_info_set_enabled(semanage_handle_t *sh,
149 int semanage_module_key_create(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.c53 static semanage_handle_t *sh = NULL; variable
325 sh = semanage_handle_create(); in main()
326 if (!sh) { in main()
337 semanage_select_store(sh, store, SEMANAGE_CON_DIRECT); in main()
341 semanage_set_store_root(sh, store_root); in main()
345 semanage_set_create_store(sh, 1); in main()
347 if ((result = semanage_connect(sh)) < 0) { in main()
354 if ((result = semanage_reload_policy(sh)) < 0) { in main()
362 if ((result = semanage_begin_transaction(sh)) < 0) { in main()
369 if ((result = semanage_set_default_priority(sh, priority)) != 0) { in main()
[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/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dtransform.c127 WebRtc_Word16 factQ19, sh; in WebRtcIsacfix_Time2Spec() local
147 sh = WebRtcSpl_NormW32(xrQ16); in WebRtcIsacfix_Time2Spec()
148sh = sh-24; //if sh becomes >=0, then we should shift sh steps to the left, and the domain will be… in WebRtcIsacfix_Time2Spec()
152 if (sh>=0) { in WebRtcIsacfix_Time2Spec()
154 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(tmpreQ16[k], sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec()
155 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(tmpimQ16[k], sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec()
158 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); in WebRtcIsacfix_Time2Spec()
160 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec()
161 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec()
169 if (sh>=0) { in WebRtcIsacfix_Time2Spec()
[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/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.py191 self.sh = self.get_handle(store)
250 rc = semanage_begin_transaction(self.sh)
260 semanage_set_reload(self.sh, self.load)
261 rc = semanage_commit(self.sh)
279 (rc, mlist, number) = semanage_module_list_all(self.sh)
286 rc, name = semanage_module_info_get_name(self.sh, mod)
290 rc, enabled = semanage_module_info_get_enabled(self.sh, mod)
294 rc, priority = semanage_module_info_get_priority(self.sh, mod)
298 rc, lang_ext = semanage_module_info_get_lang_ext(self.sh, mod)
335 rc = semanage_set_default_priority(self.sh, priority)
[all …]
/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 …]
/external/toybox/
DMakefile8 toybox_stuff: $(KCONFIG_CONFIG) *.[ch] lib/*.[ch] toys/*.h toys/*/*.c scripts/*.sh
11 scripts/make.sh
20 generated/Config.in: toys/*/*.c scripts/genconfig.sh
21 scripts/genconfig.sh
33 NOBUILD=1 scripts/make.sh
37 scripts/install.sh --symlink --force
40 scripts/install.sh --long --symlink --force
43 scripts/install.sh --uninstall
46 scripts/install.sh --long --uninstall
49 scripts/change.sh
[all …]

12345678910>>...50