Home
last modified time | relevance | path

Searched refs:typemap (Results 1 - 9 of 9) sorted by relevance

/third_party/ltp/metadata/
H A Dmetaparse.c728 static struct typemap { struct
762 struct typemap *typemap = &tst_test_typemap[i]; in check_normalize_types() local
764 n = data_node_hash_get(res, typemap->id); in check_normalize_types()
768 if (n->type == typemap->type) in check_normalize_types()
771 if (n->type == DATA_STRING && typemap->type == DATA_INT) { in check_normalize_types()
772 convert_str2int(res, typemap->id, n->string.val); in check_normalize_types()
777 typemap->id, data_type_name(n->type), in check_normalize_types()
778 data_type_name(typemap->type)); in check_normalize_types()
/third_party/selinux/libsepol/include/sepol/policydb/
H A Dexpand.h38 * to expand base into itself (i.e. base == out); the typemap for
49 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,
/third_party/selinux/libsepol/src/
H A Dexpand.c44 uint32_t *typemap; member
155 state->typemap[type->s.value - 1] = new_type->s.value; in type_copy_callback()
204 if (map_ebitmap(&type->types, &tmp_union, state->typemap)) { in attr_convert_callback()
350 state->typemap)) { in constraint_node_clone()
357 typemap, in constraint_node_clone()
577 bounds_val = state->typemap[type->bounds - 1]; in type_bounds_copy_callback()
708 new_alias->s.value = state->typemap[alias->s.value - 1]; in alias_copy_callback()
710 new_alias->s.value = state->typemap[alias->primary - 1]; in alias_copy_callback()
727 state->typemap[alias->s.value - 1] = new_alias->s.value; in alias_copy_callback()
900 (state->out, state->typemap, in role_copy_callback()
1703 expand_terule_helper(sepol_handle_t * handle, policydb_t * p, uint32_t * typemap, uint32_t specified, cond_av_list_t ** cond, cond_av_list_t ** other, uint32_t stype, uint32_t ttype, class_perm_node_t * perms, avtab_t * avtab, int enabled) expand_terule_helper() argument
1906 expand_rule_helper(sepol_handle_t * handle, policydb_t * p, uint32_t * typemap, avrule_t * source_rule, avtab_t * dest_avtab, cond_av_list_t ** cond, cond_av_list_t ** other, int enabled, ebitmap_t * stypes, ebitmap_t * ttypes) expand_rule_helper() argument
1961 convert_and_expand_rule(sepol_handle_t * handle, policydb_t * dest_pol, uint32_t * typemap, avrule_t * source_rule, avtab_t * dest_avtab, cond_av_list_t ** cond, cond_av_list_t ** other, int enabled, int do_neverallow) convert_and_expand_rule() argument
1999 cond_avrule_list_copy(policydb_t * dest_pol, avrule_t * source_rules, avtab_t * dest_avtab, cond_av_list_t ** list, cond_av_list_t ** other, uint32_t * typemap, int enabled, expand_state_t * state) cond_avrule_list_copy() argument
2390 expand_convert_type_set(policydb_t * p, uint32_t * typemap, type_set_t * set, ebitmap_t * types, unsigned char alwaysexpand) expand_convert_type_set() argument
2635 copy_neverallow(policydb_t * dest_pol, uint32_t * typemap, avrule_t * source_rule) copy_neverallow() argument
2833 expand_module_avrules(sepol_handle_t * handle, policydb_t * base, policydb_t * out, uint32_t * typemap, uint32_t * boolmap, uint32_t * rolemap, uint32_t * usermap, int verbose, int expand_neverallow) expand_module_avrules() argument
[all...]
H A Dkernel_to_cil.c1543 ebitmap_t *typemap; in write_type_attribute_sets_to_cil() local
1557 typemap = &pdb->attr_type_map[i]; in write_type_attribute_sets_to_cil()
1558 if (ebitmap_is_empty(typemap)) continue; in write_type_attribute_sets_to_cil()
1559 types = ebitmap_to_str(typemap, pdb->p_type_val_to_name, 1); in write_type_attribute_sets_to_cil()
/third_party/selinux/libsepol/tests/
H A Dtest-expander.c64 static uint32_t *typemap; variable
193 free(typemap); in expander_test_cleanup()
/third_party/python/Lib/logging/
H A Dhandlers.py1132 self.typemap = {
1168 a mapping using the handler's typemap attribute, which is set up in
1172 the handler's typemap attribute.
1174 return self.typemap.get(record.levelno, self.deftype)
/third_party/tzdata/
H A Dzic.c2508 int typemap[TZ_MAX_TYPES]; in writezone() local
2642 typemap[i == old0 ? thisdefaulttype in writezone()
2719 putc(typemap[pretranstype], fp); in writezone()
2721 putc(typemap[types[i]], fp); in writezone()
2723 putc(typemap[unspecifiedtype], fp); in writezone()
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzic.c1716 int typemap[TZ_MAX_TYPES]; in writezone() local
1834 typemap[i] = writetype[i] ? thistypecnt++ : 0; in writezone()
1888 uc = typemap[types[i]]; in writezone()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dzic.c1715 int typemap[TZ_MAX_TYPES]; in writezone() local
1833 typemap[i] = writetype[i] ? thistypecnt++ : 0; in writezone()
1887 uc = typemap[types[i]]; in writezone()

Completed in 23 milliseconds