Home
last modified time | relevance | path

Searched refs:typemap (Results 1 – 25 of 45) sorted by relevance

12

/external/selinux/libsemanage/src/
Dsemanageswig_ruby.i21 %typemap(in, numinputs=0) char **(char *temp=NULL) {
25 %typemap(argout) char** {
30 %typemap(in, numinputs=0) char ***(char **temp=NULL) {
36 %typemap(in, numinputs=0) semanage_module_info_t **(semanage_module_info_t *temp=NULL) {
40 %typemap(argout) semanage_module_info_t ** {
48 %typemap(in, numinputs=0) semanage_context_t **(semanage_context_t *temp=NULL) {
52 %typemap(argout) semanage_context_t** {
60 %typemap(in, numinputs=0) semanage_bool_t ***(semanage_bool_t **temp=NULL) {
64 %typemap(in, numinputs=0) semanage_bool_t **(semanage_bool_t *temp=NULL) {
68 %typemap(argout) semanage_bool_t ** {
[all …]
Dsemanageswig_python.i111 %typemap(in, numinputs=0) char **(char *temp=NULL) {
115 %typemap(argout) char** {
120 %typemap(in, numinputs=0) char ***(char **temp=NULL) {
124 %typemap(argout) (
148 %typemap(in, numinputs=0) semanage_module_info_t **(semanage_module_info_t *temp=NULL) {
152 %typemap(argout) semanage_module_info_t ** {
160 %typemap(in, numinputs=0) semanage_module_key_t **(semanage_module_key_t *temp=NULL) {
164 %typemap(argout) semanage_module_key_t ** {
172 %typemap(in, numinputs=0) semanage_context_t **(semanage_context_t *temp=NULL) {
176 %typemap(argout) semanage_context_t** {
[all …]
/external/libchrome/mojo/public/cpp/base/
Dtypemaps.gni6 "//mojo/public/cpp/base/big_buffer.typemap",
7 "//mojo/public/cpp/base/big_string.typemap",
8 "//mojo/public/cpp/base/file_error.typemap",
9 "//mojo/public/cpp/base/file_info.typemap",
10 "//mojo/public/cpp/base/file_path.typemap",
11 "//mojo/public/cpp/base/file.typemap",
12 "//mojo/public/cpp/base/read_only_buffer.typemap",
13 "//mojo/public/cpp/base/memory_allocator_dump_cross_process_uid.typemap",
14 "//mojo/public/cpp/base/process_id.typemap",
15 "//mojo/public/cpp/base/ref_counted_memory.typemap",
[all …]
/external/selinux/libselinux/src/
Dselinuxswig_ruby.i16 %typemap(argout) (security_id_t * sid) {
22 %typemap(in,numinputs=0) security_id_t *(security_id_t temp) {
26 %typemap(in,noblock=1,numinputs=0) char ** (char * temp = 0) {
29 %typemap(freearg,match="in") char ** "";
30 %typemap(argout,noblock=1) char ** {
37 %typemap(in,noblock=1,numinputs=0) char ** (char * temp = 0) {
40 %typemap(freearg,match="in") char ** "";
41 %typemap(argout,noblock=1) char ** {
Dselinuxswig_python.i66 %typemap(argout) (char ***names, int *len) {
76 %typemap(argout) (security_id_t * sid) {
85 %typemap(in,numinputs=0) security_id_t *(security_id_t temp) {
89 %typemap(in, numinputs=0) void *(char *temp=NULL) {
94 %typemap(argout) (char ***con) {
113 %typemap(argout) (char ***list) {
129 %typemap(in,noblock=1,numinputs=0) char ** (char * temp = 0) {
132 %typemap(freearg,match="in") char ** "";
133 %typemap(argout,noblock=1) char ** {
144 %typemap(in,noblock=1,numinputs=0) char ** (char * temp = 0) {
[all …]
Dselinuxswig.i21 %typemap(in, numinputs=0) (char ***names, int *len) (char **temp1=NULL, int temp2) {
26 %typemap(freearg) (char ***names, int *len) {
36 %typemap(in, numinputs=0) (char ***) (char **temp=NULL) {
40 %typemap(freearg) (char ***) {
/external/libchrome/mojo/public/tools/bindings/
Dformat_typemap_generator_args.py16 typemap = {}
17 exec typemap_content in typemap
19 for header in typemap.get('public_headers', []):
21 for header in typemap.get('traits_headers', []):
23 for header in typemap.get('type_mappings', []):
29 print ' '.join('--start-typemap %s' % ' '.join(FormatTypemap(typemap))
30 for typemap in typemaps)
Dgenerate_type_mappings.py79 for typemap in typemaps:
80 result.update(ParseTypemap(typemap))
84 def ParseTypemap(typemap): argument
86 for line in typemap.split('\n'):
Dblink_bindings_configuration.gni26 foreach(typemap, _typemaps) {
29 filename = typemap
30 config = read_file(typemap, "scope")
Dchromium_bindings_configuration.gni74 foreach(typemap, _typemaps) {
77 filename = typemap
78 config = read_file(typemap, "scope")
Dmojom.gni128 # Check that the mojom field of each typemap refers to a mojom that exists.
129 foreach(typemap, configuration.typemaps) {
132 _typemap_config = typemap.config
745 foreach(typemap, bindings_configuration.typemaps) {
748 _typemap_config = typemap.config
775 active_typemaps += [ typemap ]
818 "--typemap",
897 # TODO(sammc): Pass the typemap description in a file to avoid command
900 foreach(typemap, active_typemaps) {
903 _typemap_config = typemap.config
[all …]
/external/llvm-project/lldb/bindings/python/
Dpython-typemaps.swig9 %typemap(in) char ** {
35 %typemap(typecheck) char ** {
53 %typemap(freearg) char** {
57 %typemap(out) char** {
68 %typemap(in) lldb::tid_t {
76 %typemap(in) lldb::StateType {
91 // typemap for a char buffer
92 %typemap(in) (char *dst, size_t dst_len) {
106 %typemap(in) (void *char_buf, size_t size) = (char *dst, size_t dst_len);
109 %typemap(argout) (char *dst, size_t dst_len) {
[all …]
/external/libchrome/mojo/public/tools/chrome_ipc/
Dgenerate_mojom.py66 for typemap in self._typemap_files:
67 self.load_typemap(typemap)
70 typemap = {}
73 exec content in typemap
74 for mapping in typemap['type_mappings']:
77 'mojom': typemap['mojom'].strip('/')}
377 for typemap in self._typemaps.format_new_types():
378 yield typemap
437 typemap = generator.generate_typemap(args.output_mojom, args.input)
444 if typemap:
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dchromium_typemaps.gni6 "//mojo/public/cpp/bindings/tests/rect_chromium.typemap",
7 "//mojo/public/cpp/bindings/tests/struct_with_traits.typemap",
8 "//mojo/public/cpp/bindings/tests/test_native_types_chromium.typemap",
Dblink_typemaps.gni6 "//mojo/public/cpp/bindings/tests/rect_blink.typemap",
7 "//mojo/public/cpp/bindings/tests/test_native_types_blink.typemap",
/external/llvm-project/lldb/tools/intel-features/scripts/
Dpython-typemaps.txt3 // typemap for an incoming buffer
4 %typemap(in) (void *buf, size_t size) {
21 %typemap(argout) (void *buf, size_t size) {
Dlldb-intel-features.swig12 /* Combined python typemap for all features */
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_cpp_generator.py208 for typemap in self._GetAllUsedTypemaps():
209 extra_headers.update(typemap.get("traits_headers", []))
240 typemap = self.typemap.get(name, None)
241 if typemap:
242 used_typemaps.append(typemap)
269 for typename, typemap in self.typemap.iteritems():
271 headers.update(typemap.get("public_headers", []))
459 self._GetFullMojomNameForKind(kind) in self.typemap
481 not self.typemap[self._GetFullMojomNameForKind(kind)]["hashable"]):
485 return not self._IsTypemappedKind(kind) or self.typemap[
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Dexpand.h49 policydb_t * out, uint32_t * typemap, uint32_t * boolmap,
61 uint32_t * typemap);
62 extern int expand_convert_type_set(policydb_t * p, uint32_t * typemap,
/external/selinux/libsepol/src/
Dexpand.c44 uint32_t *typemap; member
123 state->typemap[type->s.value - 1] = new_type->s.value; in type_copy_callback()
172 if (map_ebitmap(&type->types, &tmp_union, state->typemap)) { in attr_convert_callback()
318 state->typemap)) { in constraint_node_clone()
325 typemap, in constraint_node_clone()
542 bounds_val = state->typemap[type->bounds - 1]; in type_bounds_copy_callback()
673 new_alias->s.value = state->typemap[alias->s.value - 1]; in alias_copy_callback()
675 new_alias->s.value = state->typemap[alias->primary - 1]; in alias_copy_callback()
692 state->typemap[alias->s.value - 1] = new_alias->s.value; in alias_copy_callback()
865 (state->out, state->typemap, &role->types, &tmp_union_types, 1)) { in role_copy_callback()
[all …]
/external/dtc/pylibfdt/
Dlibfdt.i1005 %typemap(in) (const void *)(const void *fdt) {
1016 %typemap(in) (void *)(const void *fdt) {
1027 %typemap(out) (struct fdt_property *) {
1042 %typemap(out) (const void *) {
1054 %typemap(in) (const void *val) {
1067 %typemap(in, numinputs=1) int *depth (int depth) {
1072 %typemap(argout) int *depth {
1080 %typemap(in, numinputs=0) uint64_t * (uint64_t temp) {
1084 %typemap(argout) uint64_t * {
/external/libchrome/
DBUILD.gn607 "mojo/public/cpp/base/big_buffer.typemap",
608 "mojo/public/cpp/base/big_string.typemap",
609 "mojo/public/cpp/base/file.typemap",
610 "mojo/public/cpp/base/file_error.typemap",
611 "mojo/public/cpp/base/file_info.typemap",
612 "mojo/public/cpp/base/file_path.typemap",
613 "mojo/public/cpp/base/memory_allocator_dump_cross_process_uid.typemap",
614 "mojo/public/cpp/base/process_id.typemap",
615 "mojo/public/cpp/base/read_only_buffer.typemap",
616 "mojo/public/cpp/base/ref_counted_memory.typemap",
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dgenerator.py162 def __init__(self, module, output_dir=None, typemap=None, variant=None, argument
171 self.typemap = typemap or {}
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng_swig.i28 %typemap(python,except) int {
/external/selinux/libsepol/tests/
Dtest-expander.c64 static uint32_t *typemap; variable
193 free(typemap); in expander_test_cleanup()

12