Home
last modified time | relevance | path

Searched refs:flavor (Results 1 – 25 of 180) sorted by relevance

12345678

/external/selinux/libsepol/cil/src/
Dcil_list.c47 void cil_list_init(struct cil_list **list, enum cil_flavor flavor) in cil_list_init() argument
52 new_list->flavor = flavor; in cil_list_init()
67 if (item->flavor == CIL_LIST) { in cil_list_destroy()
83 new_item->flavor = CIL_NONE; in cil_list_item_init()
92 cil_destroy_data(&(*item)->data, (*item)->flavor); in cil_list_item_destroy()
98 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_append() argument
107 item->flavor = flavor; in cil_list_append()
120 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_prepend() argument
129 item->flavor = flavor; in cil_list_prepend()
142 …_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *data) in cil_list_insert() argument
[all …]
Dcil_list.h38 enum cil_flavor flavor; member
43 enum cil_flavor flavor; member
51 void cil_list_init(struct cil_list **list, enum cil_flavor flavor);
55 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data);
56 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data);
57 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da…
58 …list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *data);
Dcil_resolve_ast.c87 if (parent->flavor == CIL_CALL) { in __cil_insert_name()
90 } else if (parent->flavor == CIL_MACRO) { in __cil_insert_name()
114 cil_list_init(perm_datums, perm_strs->flavor); in __cil_resolve_perms()
117 if (curr->flavor == CIL_LIST) { in __cil_resolve_perms()
125 } else if (curr->flavor == CIL_STRING) { in __cil_resolve_perms()
141 cil_list_init(&empty_list, perm_strs->flavor); in __cil_resolve_perms()
147 cil_list_append(*perm_datums, curr->flavor, curr->data); in __cil_resolve_perms()
219 if (curr->flavor == CIL_CLASSPERMS) { in cil_resolve_classperms_list()
263 cil_list_append(cp->classperms, curr->flavor, curr->data); in cil_resolve_classpermissionset()
403 if (result_node->flavor != CIL_TYPE) { in cil_resolve_type_rule()
[all …]
Dcil_find.c39 enum cil_flavor flavor; member
47 enum cil_flavor f1 = ((struct cil_tree_node*)d1->nodes->head->data)->flavor; in cil_type_match_any()
48 enum cil_flavor f2 = ((struct cil_tree_node*)d2->nodes->head->data)->flavor; in cil_type_match_any()
84 enum cil_flavor f1 = ((struct cil_tree_node*)d1->nodes->head->data)->flavor; in cil_type_matches()
85 enum cil_flavor f2 = ((struct cil_tree_node*)d2->nodes->head->data)->flavor; in cil_type_matches()
122 if (n1->flavor != CIL_TYPEATTRIBUTE) { in cil_self_match_any()
169 if (curr->flavor == CIL_CLASSPERMS) { in __cil_classperms_list_match_any()
198 if (curr->flavor == CIL_CLASSPERMS) { in cil_classperms_list_match_any()
226 if (curr->flavor == CIL_CLASSPERMS) { in __add_classes_from_classperms_list()
355 if (node->flavor == CIL_BLOCK) { in __cil_find_matching_avrule_in_ast()
[all …]
Dcil_post.c133 static int cil_verify_is_list(struct cil_list *list, enum cil_flavor flavor) in cil_verify_is_list() argument
138 switch (curr->flavor) { in cil_verify_is_list()
146 if (flavor == CIL_CAT) { in cil_verify_is_list()
149 if (n->flavor == CIL_CATSET) { in cil_verify_is_list()
555 switch(node->flavor) { in __cil_post_db_count_helper()
663 switch(node->flavor) { in __cil_post_db_array_helper()
882 if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_type_to_bitmap()
889 } else if (node->flavor == CIL_TYPEALIAS) { in __cil_type_to_bitmap()
936 if (node->flavor == CIL_USERATTRIBUTE) { in __cil_user_to_bitmap()
982 if (node->flavor == CIL_ROLEATTRIBUTE) { in __cil_role_to_bitmap()
[all …]
Dcil_build_ast.c58 int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **list) in cil_fill_list() argument
73 cil_list_init(list, flavor); in cil_fill_list()
124 ast_node->flavor = nflavor; in cil_gen_node()
152 if (ast_node->flavor >= CIL_MIN_DECLARATIVE && ast_node->parent->flavor == CIL_MACRO) { in cil_gen_node()
158 if (param->flavor == ast_node->flavor) { in cil_gen_node()
183 ast_node->flavor = CIL_NONE; in cil_clear_node()
266 ast_node->flavor = CIL_BLOCKINHERIT; in cil_gen_blockinherit()
310 ast_node->flavor = CIL_BLOCKABSTRACT; in cil_gen_blockabstract()
355 ast_node->flavor = CIL_IN; in cil_gen_in()
487 ast_node->flavor = CIL_CLASSORDER; in cil_gen_classorder()
[all …]
Dcil_policy.c81 switch (node->flavor) { in __cil_gather_statements_helper()
175 cil_list_append(lists[kind], node->flavor, node->data); in __cil_gather_statements_helper()
286 if (i1->flavor == CIL_OP) { in cil_cond_expr_to_policy()
324 } else if (i1->flavor == CIL_DATUM) { in cil_cond_expr_to_policy()
332 } else if (i1->flavor == CIL_LIST) { in cil_cond_expr_to_policy()
358 enum cil_flavor flavor = operand->flavor; in __cil_cons_leaf_operand_len() local
361 if (flavor == CIL_CONS_OPERAND) { in __cil_cons_leaf_operand_len()
363 } else if (flavor == CIL_DATUM) { in __cil_cons_leaf_operand_len()
365 if (node->flavor == CIL_USERATTRIBUTE) { in __cil_cons_leaf_operand_len()
371 } else if (flavor == CIL_LIST) { in __cil_cons_leaf_operand_len()
[all …]
Dcil_verify.c329 if (i->flavor == CIL_DATUM) { in cil_verify_no_self_reference()
335 } else if (i->flavor == CIL_LIST) { in cil_verify_no_self_reference()
358 if (curr->flavor == CIL_LIST) { in __cil_verify_ranges()
374 uint32_t *flavor; member
380 uint32_t *flavor = args->flavor; in __cil_verify_ordered_node_helper() local
382 if (node->flavor == *flavor) { in __cil_verify_ordered_node_helper()
383 if (node->flavor == CIL_SID) { in __cil_verify_ordered_node_helper()
389 } else if (node->flavor == CIL_CLASS) { in __cil_verify_ordered_node_helper()
395 } else if (node->flavor == CIL_CAT) { in __cil_verify_ordered_node_helper()
401 } else if (node->flavor == CIL_SENS) { in __cil_verify_ordered_node_helper()
[all …]
/external/skqp/infra/bots/recipe_modules/flavor/examples/
Dfull.py17 api.flavor.copy_directory_contents_to_device('src', 'dst')
21 api.flavor.copy_directory_contents_to_host('src', 'dst')
25 api.flavor.copy_file_to_device('src', 'dst')
32 api.flavor.setup()
39 api.flavor.copy_file_to_device('file.txt', 'file.txt')
40 api.flavor.create_clean_host_dir('results_dir')
41 api.flavor.create_clean_device_dir('device_results_dir')
43 api.flavor.install(lotties=True)
45 api.flavor.install(skps=True, images=True, lotties=False, svgs=True,
48 api.flavor.step('dm', ['dm', '--some-flag'])
[all …]
/external/skia/infra/bots/recipe_modules/flavor/examples/
Dfull.py17 api.flavor.copy_directory_contents_to_device('src', 'dst')
21 api.flavor.copy_directory_contents_to_host('src', 'dst')
25 api.flavor.copy_file_to_device('src', 'dst')
32 api.flavor.setup()
39 api.flavor.copy_file_to_device('file.txt', 'file.txt')
40 api.flavor.create_clean_host_dir('results_dir')
41 api.flavor.create_clean_device_dir('device_results_dir')
43 api.flavor.install(lotties=True)
45 api.flavor.install(skps=True, images=True, lotties=False, svgs=True,
48 api.flavor.step('dm', ['dm', '--some-flag'])
[all …]
/external/skia/infra/bots/recipes/
Dperf.py290 api.flavor.create_clean_device_dir(
291 api.flavor.device_dirs.perf_data_dir)
310 '-i', api.flavor.device_dirs.resource_dir,
311 '--skps', api.flavor.device_dirs.skp_dir,
312 '--images', api.flavor.device_path_join(
313 api.flavor.device_dirs.images_dir, 'nanobench'),
318 args.extend(['--svgs', api.flavor.device_dirs.svg_dir])
330 '-i', api.flavor.device_dirs.resource_dir,
331 '--images', api.flavor.device_path_join(
332 api.flavor.device_dirs.resource_dir, 'images', 'color_wheel.jpg'),
[all …]
Dtest.py856 host_dm_dir = str(api.flavor.host_dirs.dm_dir)
857 api.flavor.create_clean_host_dir(api.path['start_dir'].join('test'))
858 device_dm_dir = str(api.flavor.device_dirs.dm_dir)
860 api.flavor.create_clean_device_dir(device_dm_dir)
866 hashes_file = api.flavor.device_path_join(
867 api.flavor.device_dirs.tmp_dir, hash_filename)
908 api.flavor.copy_file_to_device(host_hashes_file, hashes_file)
931 '--resourcePath', api.flavor.device_dirs.resource_dir,
932 '--skps', api.flavor.device_dirs.skp_dir,
933 '--images', api.flavor.device_path_join(
[all …]
Dskpbench.py43 'makedirs perf_dir', api.flavor.host_dirs.perf_data_dir)
47 _adb(api, 'push skpbench', 'push', app, api.flavor.device_dirs.bin_dir)
58 api.path.join(api.flavor.device_dirs.bin_dir, 'skpbench'),
82 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_*svg.skp'),
83 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_chalkboard.skp')]
85 skpbench_args += [api.flavor.device_dirs.skp_dir]
109 api.flavor.host_dirs.perf_data_dir,
130 api.flavor.setup()
133 api.flavor.install(skps=True)
136 api.flavor.cleanup_steps()
/external/skqp/infra/bots/recipes/
Dperf.py283 api.flavor.create_clean_device_dir(
284 api.flavor.device_dirs.perf_data_dir)
303 '-i', api.flavor.device_dirs.resource_dir,
304 '--skps', api.flavor.device_dirs.skp_dir,
305 '--images', api.flavor.device_path_join(
306 api.flavor.device_dirs.images_dir, 'nanobench'),
311 args.extend(['--svgs', api.flavor.device_dirs.svg_dir])
323 '-i', api.flavor.device_dirs.resource_dir,
324 '--images', api.flavor.device_path_join(
325 api.flavor.device_dirs.resource_dir, 'images', 'color_wheel.jpg'),
[all …]
Dtest.py851 host_dm_dir = str(api.flavor.host_dirs.dm_dir)
852 api.flavor.create_clean_host_dir(api.path['start_dir'].join('test'))
853 device_dm_dir = str(api.flavor.device_dirs.dm_dir)
855 api.flavor.create_clean_device_dir(device_dm_dir)
861 hashes_file = api.flavor.device_path_join(
862 api.flavor.device_dirs.tmp_dir, hash_filename)
903 api.flavor.copy_file_to_device(host_hashes_file, hashes_file)
925 '--resourcePath', api.flavor.device_dirs.resource_dir,
926 '--skps', api.flavor.device_dirs.skp_dir,
927 '--images', api.flavor.device_path_join(
[all …]
Dskpbench.py43 'makedirs perf_dir', api.flavor.host_dirs.perf_data_dir)
47 _adb(api, 'push skpbench', 'push', app, api.flavor.device_dirs.bin_dir)
58 api.path.join(api.flavor.device_dirs.bin_dir, 'skpbench'),
82 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_*svg.skp'),
83 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_chalkboard.skp')]
85 skpbench_args += [api.flavor.device_dirs.skp_dir]
109 api.flavor.host_dirs.perf_data_dir,
130 api.flavor.setup()
133 api.flavor.install(skps=True)
136 api.flavor.cleanup_steps()
Dcalmbench.py25 api.flavor.setup()
27 api.flavor.install(skps=True, svgs=True)
32 extra_arg = '--svgs %s --skps %s' % (api.flavor.device_dirs.svg_dir,
33 api.flavor.device_dirs.skp_dir)
/external/grpc-grpc-java/
Djava_grpc_library.bzl19 flavor = ctx.attr.flavor
20 if flavor == "normal":
21 flavor = ""
29 .format(flavor, str(ctx.attr.enable_deprecated).lower(), srcdotjar.path)]
45 "flavor": attr.string(
72 def java_grpc_library(name, srcs, deps, flavor=None,
88 flavor: (str) "normal" (default) for normal proto runtime. "lite"
93 if flavor == None:
94 flavor = "normal"
103 flavor = flavor,
[all …]
/external/python/cpython2/Demo/tkinter/matt/
Dradiobutton-simple.py19 self.flavor = StringVar()
20 self.flavor.set("chocolate")
31 variable=self.flavor, value="chocolate",
37 variable=self.flavor, value="strawberry",
43 variable=self.flavor, value="lemon",
48 self.entry = Entry(self, textvariable=self.flavor)
/external/libaom/libaom/build/cmake/
Dcpu.cmake71 foreach(flavor ${X86_FLAVORS})
72 if(ENABLE_${flavor} AND NOT disable_remaining_flavors)
73 set(HAVE_${flavor} 1)
74 set(RTCD_HAVE_${flavor} "yes")
77 set(HAVE_${flavor} 0)
78 string(TOLOWER ${flavor} flavor)
79 set(AOM_RTCD_FLAGS ${AOM_RTCD_FLAGS} --disable-${flavor})
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_list.c69 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item()
97 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append()
104 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append()
133 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append_extra()
139 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append_extra()
145 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append_extra()
174 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_listnull_neg()
226 test_new_item->flavor = CIL_CLASS; in test_cil_list_prepend_item()
254 test_new_item->flavor = CIL_CLASS; in test_cil_list_prepend_item_prepend()
283 test_new_item->flavor = CIL_CLASS; in test_cil_list_prepend_item_prepend_neg()
[all …]
/external/fonttools/Lib/fontTools/
Dttx.py128 flavor = None variable in Options
211 self.flavor = value
222 if self.mergeFile and self.flavor:
228 if self.flavor != 'woff' and self.useZopfli:
242 if ttf.flavor == "woff2":
282 ttf = TTFont(options.mergeFile, flavor=options.flavor,
354 extension = "."+options.flavor if options.flavor else ".ttf"
357 extension = "."+options.flavor if options.flavor else ".otf"
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/
Djava_plugin.cpp37 java_grpc_generator::ProtoFlavor flavor = in Generate() local
43 flavor = java_grpc_generator::ProtoFlavor::NANO; in Generate()
45 flavor = java_grpc_generator::ProtoFlavor::LITE; in Generate()
52 file, flavor == java_grpc_generator::ProtoFlavor::NANO); in Generate()
61 service, output.get(), flavor, disable_version); in Generate()
Djava_generator.cpp374 Printer* p, ProtoFlavor flavor) { in PrintMethodFields() argument
382 (*vars)["input_type"] = MessageFullJavaName(flavor == ProtoFlavor::NANO, in PrintMethodFields()
384 (*vars)["output_type"] = MessageFullJavaName(flavor == ProtoFlavor::NANO, in PrintMethodFields()
405 if (flavor == ProtoFlavor::NANO) { in PrintMethodFields()
471 if (flavor == ProtoFlavor::LITE) { in PrintMethodFields()
504 if (flavor == ProtoFlavor::NORMAL) { in PrintMethodFields()
523 if (flavor == ProtoFlavor::NANO) { in PrintMethodFields()
991 ProtoFlavor flavor) { in PrintGetServiceDescriptorMethod() argument
995 if (flavor == ProtoFlavor::NORMAL) { in PrintGetServiceDescriptorMethod()
1064 if (flavor == ProtoFlavor::NORMAL) { in PrintGetServiceDescriptorMethod()
[all …]
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py49 self.flavor = None
67 self.flavor = "woff"
91 if self.flavor == "woff":
197 flavor = None
199 flavor = kwargs['flavor']
201 flavor = args[3]
203 if flavor == "woff2":
211 flavor=None, flavorData=None): argument
215 self.flavor = flavor
218 if self.flavor == "woff":
[all …]

12345678