Home
last modified time | relevance | path

Searched refs:flavor (Results 1 - 25 of 105) sorted by relevance

12345

/third_party/skia/infra/bots/recipes/
H A Dtest.py15 'flavor',
40 api.flavor.install(
50 host_dm_dir = str(api.flavor.host_dirs.dm_dir)
51 api.flavor.create_clean_host_dir(api.path['start_dir'].join('test'))
52 device_dm_dir = str(api.flavor.device_dirs.dm_dir)
54 api.flavor.create_clean_device_dir(device_dm_dir)
60 hashes_file = api.flavor.device_path_join(
61 api.flavor.device_dirs.tmp_dir, hash_filename)
102 api.flavor.copy_file_to_device(host_hashes_file, hashes_file)
122 args.extend(['--resourcePath', api.flavor
[all...]
H A Dperf.py17 'flavor',
40 api.flavor.install(
49 api.flavor.create_clean_device_dir(
50 api.flavor.device_dirs.perf_data_dir)
72 args.extend(['-i', api.flavor.device_dirs.resource_dir])
74 args.extend(['--skps', api.flavor.device_dirs.skp_dir]),
76 args.extend(['--images', api.flavor.device_path_join(
77 api.flavor.device_dirs.images_dir, 'nanobench')])
79 assert api.flavor.device_dirs.texttraces_dir
80 args.extend(['--texttraces', api.flavor
[all...]
H A Dperf_skottietrace.py18 'flavor',
39 api.flavor.create_clean_device_dir(
40 api.flavor.device_dirs.dm_dir)
43 'list lottie files', api.flavor.host_dirs.lotties_dir,
53 trace_output_path = api.flavor.device_path_join(
54 api.flavor.device_dirs.dm_dir, '%s.json' % (idx + 1))
58 '--resourcePath', api.flavor.device_dirs.resource_dir,
59 '--lotties', api.flavor.device_dirs.lotties_dir,
72 api.run(api.flavor.step, 'dm', cmd=dm_args, abort_on_failure=False)
75 trace_file_content = api.flavor
[all...]
H A Dskpbench.py14 'flavor',
54 'makedirs perf_dir', api.flavor.host_dirs.perf_data_dir)
58 _adb(api, 'push skpbench', 'push', app, api.flavor.device_dirs.bin_dir)
81 skpbench_invocation = api.path.join(api.flavor.device_dirs.bin_dir, 'skpbench')
107 skpbench_args += [api.flavor.device_dirs.mskp_dir]
112 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_*svg.skp'),
113 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_motionmark*.skp'),
114 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_chalkboard.skp')]
116 skpbench_args += [api.flavor.device_dirs.skp_dir]
146 api.flavor
[all...]
/third_party/skia/infra/bots/recipe_modules/flavor/examples/
H A Dfull.py8 'flavor',
19 api.flavor.copy_directory_contents_to_device('src', 'dst')
23 api.flavor.copy_directory_contents_to_host('src', 'dst')
27 api.flavor.copy_file_to_device('src', 'dst')
43 api.flavor.setup(app)
49 api.flavor.copy_file_to_device('file.txt', 'file.txt')
50 api.flavor.read_file_on_device('file.txt')
51 api.flavor.remove_file_on_device('file.txt')
52 api.flavor.create_clean_host_dir('results_dir')
53 api.flavor
[all...]
/third_party/selinux/libsepol/cil/src/
H A 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()
68 if (item->flavor == CIL_LIST) { in cil_list_destroy()
84 new_item->flavor = CIL_NONE; in cil_list_item_init()
93 cil_destroy_data(&(*item)->data, (*item)->flavor); in cil_list_item_destroy()
99 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_append() argument
108 item->flavor = flavor; in cil_list_append()
121 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, voi argument
143 cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *data) cil_list_insert() argument
225 cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_data) cil_list_remove() argument
[all...]
H A 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_data);
58 struct cil_list_item *cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *data);
H A Dcil_resolve_ast.c83 if (parent->flavor == CIL_CALL) { in __cil_insert_name()
86 } else if (parent->flavor == CIL_MACRO) { in __cil_insert_name()
93 if (param->flavor == CIL_NAME && param->str == key) { in __cil_insert_name()
119 cil_list_init(perm_datums, perm_strs->flavor); in __cil_resolve_perms()
122 if (curr->flavor == CIL_LIST) { in __cil_resolve_perms()
130 } else if (curr->flavor == CIL_STRING) { in __cil_resolve_perms()
148 cil_list_append(*perm_datums, curr->flavor, curr->data); in __cil_resolve_perms()
225 if (curr->flavor == CIL_CLASSPERMS) { in cil_resolve_classperms_list()
269 cil_list_append(cp->classperms, curr->flavor, curr->data); in cil_resolve_classpermissionset()
414 if (result_node->flavor ! in cil_resolve_type_rule()
501 cil_resolve_aliasactual(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor alias_flavor) cil_resolve_aliasactual() argument
552 cil_resolve_alias_to_actual(struct cil_tree_node *current, enum cil_flavor flavor) cil_resolve_alias_to_actual() argument
2535 cil_resolve_bounds(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor attr_flavor) cil_resolve_bounds() argument
2761 enum cil_flavor flavor = ((struct cil_param*)item->data)->flavor; cil_build_call_args() local
[all...]
H A Dcil_find.c40 enum cil_flavor flavor; member
123 if (n1->flavor != CIL_TYPEATTRIBUTE) { in cil_self_match_any()
170 if (curr->flavor == CIL_CLASSPERMS) { in __cil_classperms_list_match_any()
199 if (curr->flavor == CIL_CLASSPERMS) { in cil_classperms_list_match_any()
227 if (curr->flavor == CIL_CLASSPERMS) { in __add_classes_from_classperms_list()
356 if (node->flavor == CIL_BLOCK) { in __cil_find_matching_avrule_in_ast()
362 } else if (node->flavor == CIL_MACRO) { in __cil_find_matching_avrule_in_ast()
365 } else if (node->flavor == CIL_AVRULE || node->flavor == CIL_AVRULEX) { in __cil_find_matching_avrule_in_ast()
366 if (node->flavor in __cil_find_matching_avrule_in_ast()
375 cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *target, struct cil_list *matching, int match_self) cil_find_matching_avrule_in_ast() argument
[all...]
H A Dcil_post.c140 static int cil_verify_is_list(struct cil_list *list, enum cil_flavor flavor) in cil_verify_is_list() argument
145 switch (curr->flavor) { in cil_verify_is_list()
153 if (flavor == CIL_CAT) { in cil_verify_is_list()
156 if (n->flavor == CIL_CATSET) { in cil_verify_is_list()
569 switch(node->flavor) { in __cil_post_db_count_helper()
677 switch(node->flavor) { in __cil_post_db_array_helper()
896 if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_type_to_bitmap()
903 } else if (node->flavor == CIL_TYPEALIAS) { in __cil_type_to_bitmap()
950 if (node->flavor == CIL_USERATTRIBUTE) { in __cil_user_to_bitmap()
996 if (node->flavor in __cil_role_to_bitmap()
1257 __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_t *bitmap, int max, struct cil_db *db) __cil_expr_to_bitmap_helper() argument
1301 enum cil_flavor flavor; __cil_expr_to_bitmap() local
2028 enum cil_flavor flavor; global() member
2050 __evaluate_perm_expression(struct cil_list *perms, enum cil_flavor flavor, symtab_t *class_symtab, symtab_t *common_symtab, unsigned int num_perms, struct cil_list **new_list, struct cil_db *db) __evaluate_perm_expression() argument
2268 __cil_post_process_context_rules(struct cil_sort *sort, int (*compar)(const void *, const void *), int (*concompar)(const void *, const void *), struct cil_db *db, enum cil_flavor flavor, const char *flavor_str) __cil_post_process_context_rules() argument
[all...]
H A Dcil_policy.c82 switch (node->flavor) { in __cil_gather_statements_helper()
176 cil_list_append(lists[kind], node->flavor, node->data); in __cil_gather_statements_helper()
287 if (i1->flavor == CIL_OP) { in cil_cond_expr_to_policy()
325 } else if (i1->flavor == CIL_DATUM) { in cil_cond_expr_to_policy()
333 } else if (i1->flavor == CIL_LIST) { in cil_cond_expr_to_policy()
357 enum cil_flavor flavor = operand->flavor; in __cil_cons_leaf_operand_len() local
360 if (flavor == CIL_CONS_OPERAND) { in __cil_cons_leaf_operand_len()
362 } else if (flavor == CIL_DATUM) { in __cil_cons_leaf_operand_len()
364 if (node->flavor in __cil_cons_leaf_operand_len()
388 enum cil_flavor flavor = (enum cil_flavor)(uintptr_t)op->data; __cil_cons_leaf_op_len() local
470 enum cil_flavor flavor = operand->flavor; __cil_cons_leaf_operand_to_string() local
558 enum cil_flavor flavor = (enum cil_flavor)(uintptr_t)op->data; __cil_cons_leaf_op_to_string() local
1301 enum cil_flavor flavor; global() member
[all...]
H A Dcil_tree.c55 if (node->flavor == CIL_NODE && node->data == NULL) { in cil_tree_get_next_path()
70 } else if (node->flavor == CIL_SRC_INFO) { in cil_tree_get_next_path()
78 if (node->flavor == CIL_CALL) { in cil_tree_get_next_path()
81 } else if (node->flavor == CIL_BLOCKINHERIT) { in cil_tree_get_next_path()
155 if (node->flavor >= CIL_MIN_DECLARATIVE) { in cil_tree_subtree_has_decl()
223 new_node->flavor = CIL_ROOT; in cil_tree_node_init()
238 if ((*node)->flavor >= CIL_MIN_DECLARATIVE) { in cil_tree_node_destroy()
242 cil_destroy_data(&(*node)->data, (*node)->flavor); in cil_tree_node_destroy()
245 cil_destroy_data(&(*node)->data, (*node)->flavor); in cil_tree_node_destroy()
H A Dcil_build_ast.h43 int cil_parse_to_list(struct cil_tree_node *parse_cl_head, struct cil_list *ast_cl, enum cil_flavor flavor);
57 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
59 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
129 int cil_gen_constrain_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **stack);
130 int cil_gen_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **stack);
135 int cil_gen_condblock(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
137 int cil_gen_alias(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
139 int cil_gen_aliasactual(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
171 int cil_gen_constrain(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
173 int cil_gen_validatetrans(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
[all...]
H A Dcil_verify.c51 static int __cil_is_reserved_name(const char *name, enum cil_flavor flavor) in __cil_is_reserved_name() argument
53 switch (flavor) { in __cil_is_reserved_name()
95 int cil_verify_name(const struct cil_db *db, const char *name, enum cil_flavor flavor) in cil_verify_name() argument
135 if (__cil_is_reserved_name(name, flavor)) { in cil_verify_name()
407 if (param->flavor == node->flavor) { in cil_verify_decl_does_not_shadow_macro_parameter()
418 static int cil_verify_no_self_reference(enum cil_flavor flavor, struct cil_symtab_datum *datum, struct cil_stack *stack);
430 if (item->flavor == CIL_DATUM) { in __verify_no_self_reference_in_expr()
433 } else if (item->flavor == CIL_LIST) { in __verify_no_self_reference_in_expr()
444 static int cil_verify_no_self_reference(enum cil_flavor flavor, struc argument
522 uint32_t *flavor; global() member
528 uint32_t *flavor = args->flavor; __cil_verify_ordered_node_helper() local
561 __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor) __cil_verify_ordered() argument
1095 const char * flavor = cil_node_to_string(node); __cil_verify_booleanif_helper() local
1703 __cil_verify_classperms(struct cil_list *classperms, struct cil_symtab_datum *orig, struct cil_symtab_datum *parent, struct cil_symtab_datum *cur, enum cil_flavor flavor, unsigned steps, unsigned limit) __cil_verify_classperms() argument
[all...]
H A Dcil_build_ast.c59 static int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **list) in cil_fill_list() argument
74 cil_list_init(list, flavor); in cil_fill_list()
125 if (!cil_allow_multiple_decls(db, node->flavor, FLAVOR(prev))) { in cil_add_decl_to_symtab()
159 ast_node->flavor = nflavor; in cil_gen_node()
166 if (ast_node->parent->flavor == CIL_MACRO) { in cil_gen_node()
186 ast_node->flavor = CIL_NONE; in cil_clear_node()
253 if (bi_node->flavor == CIL_BLOCKINHERIT) { in cil_destroy_block()
296 ast_node->flavor = CIL_BLOCKINHERIT; in cil_gen_blockinherit()
358 ast_node->flavor = CIL_BLOCKABSTRACT; in cil_gen_blockabstract()
424 ast_node->flavor in cil_gen_in()
581 cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) cil_gen_perm() argument
623 cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) cil_gen_perm_nodes() argument
2605 __cil_fill_expr_helper(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *expr) __cil_fill_expr_helper() argument
2635 __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *expr) __cil_fill_expr() argument
2664 cil_gen_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **expr) cil_gen_expr() argument
2785 __cil_fill_constraint_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **expr) __cil_fill_constraint_expr() argument
2847 cil_gen_constraint_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **expr) cil_gen_constraint_expr() argument
2999 cil_gen_condblock(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) cil_gen_condblock() argument
3051 cil_gen_alias(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) cil_gen_alias() argument
3108 cil_gen_aliasactual(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) cil_gen_aliasactual() argument
3986 cil_gen_constrain(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) cil_gen_constrain() argument
4043 cil_gen_validatetrans(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) cil_gen_validatetrans() argument
5785 cil_gen_bounds(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) cil_gen_bounds() argument
5844 cil_gen_default(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) cil_gen_default() argument
[all...]
H A Dcil_copy_ast.c56 cil_list_init(&new, data->flavor); in cil_copy_list()
59 switch (orig_item->flavor) { in cil_copy_list()
74 pn->flavor = po->flavor; in cil_copy_list()
80 cil_list_append(new, orig_item->flavor, orig_item->data); in cil_copy_list()
213 if (orig_item->flavor == CIL_CLASSPERMS) { in cil_copy_classperms_list()
1405 cil_list_init(new, orig->flavor); in cil_copy_expr()
1408 switch (curr->flavor) { in cil_copy_expr()
1419 cil_list_append(*new, curr->flavor, curr->data); in cil_copy_expr()
1422 cil_list_append(*new, curr->flavor, cur in cil_copy_expr()
[all...]
/third_party/node/tools/gyp/pylib/gyp/generator/
H A Dninja.py73 def QuoteShellArgument(arg, flavor):
80 if flavor == "win":
85 def Define(d, flavor):
88 if flavor == "win":
92 return QuoteShellArgument(ninja_syntax.escape("-D" + d), flavor)
160 def UsesToc(self, flavor):
166 if flavor == "win" or self.bundle:
170 def PreActionInput(self, flavor):
173 if self.UsesToc(flavor):
223 flavor,
[all...]
H A Dmake.py67 flavor = gyp.common.GetFlavor(params)
68 if flavor == "mac":
96 operating_system = flavor
97 if flavor == "android":
100 if flavor == "aix":
102 elif flavor == "zos":
760 def __init__(self, generator_flags, flavor):
762 self.flavor = flavor
832 self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spe
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Dninja.py73 def QuoteShellArgument(arg, flavor):
80 if flavor == "win":
85 def Define(d, flavor):
88 if flavor == "win":
92 return QuoteShellArgument(ninja_syntax.escape("-D" + d), flavor)
160 def UsesToc(self, flavor):
166 if flavor == "win" or self.bundle:
170 def PreActionInput(self, flavor):
173 if self.UsesToc(flavor):
223 flavor,
[all...]
H A Dmake.py67 flavor = gyp.common.GetFlavor(params)
68 if flavor == "mac":
96 operating_system = flavor
97 if flavor == "android":
100 if flavor == "aix":
102 elif flavor == "zos":
769 def __init__(self, generator_flags, flavor):
771 self.flavor = flavor
841 self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spe
[all...]
/third_party/skia/third_party/externals/abseil-cpp/
H A Dgenerate_def_files.py58 flavor = _DebugOrRelease(is_debug)
82 logging.info('[%s - %s] Creating tmp out dir in %s', cpu, flavor, out_dir)
85 logging.info('[%s - %s] gn gen completed', cpu, flavor)
89 logging.info('[%s - %s] autoninja completed', cpu, flavor)
97 logging.info('[%s - %s] Found %d object files.', cpu, flavor, len(obj_files))
140 logging.info('[%s - %s] Found %d absl symbols.', cpu, flavor, len(absl_symbols))
144 'symbols_{}_{}_{}.def'.format(cpu, flavor, suffix))
147 'symbols_{}_{}.def'.format(cpu, flavor))
157 logging.info('[%s - %s] .def file successfully generated.', cpu, flavor)
/third_party/selinux/libsepol/cil/test/unit/
H A 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 in test_cil_list_prepend_item_prepend_neg()
[all...]
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dgl_marshal_h.py60 flavor = func.marshal_flavor()
61 if flavor in ('skip', 'sync'):
69 flavor = func.marshal_flavor()
70 if flavor in ('custom', 'async'):
75 elif flavor == 'sync':
/third_party/glslang/
H A Dbuild_info.py38 <flavor> - The optional dash suffix parsed from the CHANGES.md file (excluding
40 <-flavor> - The optional dash suffix parsed from the CHANGES.md file (including
103 flavor = match.group(4)
104 if flavor == None:
105 flavor = ""
110 "flavor": flavor.lstrip("-"),
111 "-flavor": flavor,
207 .replace("@flavor
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dhb-test.h201 const char *flavor, in hb_test_add_func_flavor()
204 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor()
223 const char *flavor, in hb_test_add_data_func_flavor()
227 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor()
263 const char *flavor, in hb_test_add_vtable_flavor()
270 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_vtable_flavor()
200 hb_test_add_func_flavor(const char *test_path, const char *flavor, hb_test_func_t test_func) hb_test_add_func_flavor() argument
222 hb_test_add_data_func_flavor(const char *test_path, const char *flavor, gconstpointer test_data, hb_test_data_func_t test_func) hb_test_add_data_func_flavor() argument
262 hb_test_add_vtable_flavor(const char *test_path, const char *flavor, gsize data_size, gconstpointer test_data, hb_test_fixture_func_t data_setup, hb_test_fixture_func_t data_test, hb_test_fixture_func_t data_teardown) hb_test_add_vtable_flavor() argument

Completed in 27 milliseconds

12345