Home
last modified time | relevance | path

Searched refs:type_names (Results 1 – 25 of 40) sorted by relevance

12

/external/selinux/libsepol/src/
Dconstraint.c32 if ((expr->type_names = malloc(sizeof(*expr->type_names))) == NULL) { in constraint_expr_init()
35 type_set_init(expr->type_names); in constraint_expr_init()
46 type_set_destroy(expr->type_names); in constraint_expr_destroy()
47 free(expr->type_names); in constraint_expr_destroy()
Dpolicydb_validate.c248 if (validate_empty_type_set(cexp->type_names)) in validate_constraint_nodes()
278 if (validate_type_set(cexp->type_names, &flavors[SYM_TYPES])) in validate_constraint_nodes()
287 if (validate_empty_type_set(cexp->type_names)) in validate_constraint_nodes()
334 if (validate_empty_type_set(cexp->type_names)) in validate_constraint_nodes()
Dmodule_to_cil.c1436 char **type_names = NULL; in role_trans_to_cil() local
1452 rc = process_typeset(pdb, ts, type_attr_list, &type_names, &num_type_names); in role_trans_to_cil()
1461 role_names[role], type_names[type], in role_trans_to_cil()
1469 names_destroy(&type_names, &num_type_names); in role_trans_to_cil()
1474 names_destroy(&type_names, &num_type_names); in role_trans_to_cil()
1786 ts = expr->type_names; in constraint_expr_to_string()
/external/python/parse_type/parse_type/
Dcardinality_field.py139 def create_type_variants(cls, type_names, type_dict): argument
155 for type_name in type_names:
162 def create_missing_type_variants(cls, type_names, type_dict): argument
169 missing_type_names = [name for name in type_names
/external/python/parse_type/tests/
Dtest_cardinality_field.py226 type_names = [invalid_type_name]
227 type_builder.create_type_variants(type_names, type_dict)
251 type_names = ["Number?", "Number+", "Number*"]
254 new_types = type_builder.create_missing_type_variants(type_names,
257 self.assertSequenceEqual(set(new_types.keys()), set(type_names))
261 new_types2 = type_builder.create_missing_type_variants(type_names,
290 type_names = [invalid_type_name]
291 type_builder.create_missing_type_variants(type_names, type_dict)
Dtest_parse_util.py385 type_names = list(FieldParser.extract_types(field_text))
386 self.assertEqual(len(type_names), len(expected_types))
387 self.assertSequenceEqual(type_names, expected_types)
/external/rust/cxx/syntax/
Dtypes.rs61 let mut type_names = UnorderedSet::new(); in collect() localVariable
74 if !type_names.insert(ident) in collect()
99 if !type_names.insert(ident) in collect()
119 if !type_names.insert(ident) in collect()
136 if !type_names.insert(ident) { in collect()
157 if !type_names.insert(ident) { in collect()
/external/grpc-grpc/third_party/nanopb/tests/package_name/
DSConscript25 type_names = ['AllTypes', 'MyEnum', 'HugeEnum']
26 for name in type_names:
/external/nanopb-c/tests/package_name/
DSConscript25 type_names = ['AllTypes', 'MyEnum', 'HugeEnum']
26 for name in type_names:
/external/pcre/maint/
Ducptest.c134 static const unsigned char *type_names[] = { variable
657 for (i = 0; i < sizeof(type_names)/sizeof(char *); i += 2) in find_chars()
659 if (strcmp(CS (value + offset), CS type_names[i]) == 0) in find_chars()
665 if (i >= sizeof(type_names)/sizeof(char *)) in find_chars()
962 for (i = 0; i < sizeof(type_names)/sizeof(char *); i += 2) in process_command_line()
963 printf("%s %s\n", type_names[i], type_names[i+1]); in process_command_line()
/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h61 struct type_set *type_names; member
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h697 const std::vector<std::string>& type_names =
707 "/" + type_names[static_cast<size_t>(index)])
726 type_names);
753 const std::vector<std::string>& type_names =
771 prefix, test_location, case_name, test_names, 0, type_names);
778 type_names);
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp2050 static const GLchar* type_names[] = { "double", "dvec2" }; in getVertexArrayConfiguration() local
2060 out_configuration.m_type_names = type_names; in getVertexArrayConfiguration()
2070 static const GLchar* type_names[] = { "dvec3", "dvec4" }; in getVertexArrayConfiguration() local
2080 out_configuration.m_type_names = type_names; in getVertexArrayConfiguration()
2090 static const GLchar* type_names[] = { "dmat2" }; in getVertexArrayConfiguration() local
2098 out_configuration.m_type_names = type_names; in getVertexArrayConfiguration()
2108 static const GLchar* type_names[] = { "dmat3x2", "dmat4x2" }; in getVertexArrayConfiguration() local
2116 out_configuration.m_type_names = type_names; in getVertexArrayConfiguration()
2126 static const GLchar* type_names[] = { "dmat2x3", "dmat2x4" }; in getVertexArrayConfiguration() local
2134 out_configuration.m_type_names = type_names; in getVertexArrayConfiguration()
[all …]
/external/cronet/third_party/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-internal.h722 const std::vector<std::string>& type_names =
732 "/" + type_names[static_cast<size_t>(index)])
751 type_names);
783 const std::vector<std::string>& type_names =
802 prefix, test_location, case_name, test_names, 0, type_names);
809 type_names);
/external/cronet/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h725 const std::vector<std::string>& type_names =
735 "/" + type_names[static_cast<size_t>(index)])
754 type_names);
786 const std::vector<std::string>& type_names =
805 prefix, test_location, case_name, test_names, 0, type_names);
812 type_names);
/external/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h718 const std::vector<std::string>& type_names =
728 "/" + type_names[static_cast<size_t>(index)])
747 type_names);
779 const std::vector<std::string>& type_names =
798 prefix, test_location, case_name, test_names, 0, type_names);
805 type_names);
/external/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h718 const std::vector<std::string>& type_names =
728 "/" + type_names[static_cast<size_t>(index)])
747 type_names);
779 const std::vector<std::string>& type_names =
798 prefix, test_location, case_name, test_names, 0, type_names);
805 type_names);
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-internal.h722 const std::vector<std::string>& type_names =
732 "/" + type_names[static_cast<size_t>(index)])
751 type_names);
783 const std::vector<std::string>& type_names =
802 prefix, test_location, case_name, test_names, 0, type_names);
809 type_names);
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h720 const std::vector<std::string>& type_names =
730 "/" + type_names[static_cast<size_t>(index)])
749 type_names);
781 const std::vector<std::string>& type_names =
800 prefix, test_location, case_name, test_names, 0, type_names);
807 type_names);
/external/mesa3d/src/freedreno/ir3/
Dir3_print.c53 static const char *type_names[] = { in type_name() local
63 return type_names[type]; in type_name()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher.cc263 std::vector<const char*> type_names; in DebugString() local
265 type_names.push_back( in DebugString()
/external/libbpf/src/
Dbtf_dump.c108 struct hashmap *type_names; member
168 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new_v0_6_0()
169 if (IS_ERR(d->type_names)) { in btf_dump__new_v0_6_0()
170 err = PTR_ERR(d->type_names); in btf_dump__new_v0_6_0()
171 d->type_names = NULL; in btf_dump__new_v0_6_0()
249 hashmap__free(d->type_names); in btf_dump__free()
1523 return btf_dump_resolve_name(d, id, d->type_names); in btf_dump_type_name()
Dlibbpf.c8761 char *type_names; in libbpf_prog_type_by_name() local
8774 type_names = libbpf_get_type_names(false); in libbpf_prog_type_by_name()
8775 if (type_names != NULL) { in libbpf_prog_type_by_name()
8776 pr_debug("supported section(type) names are:%s\n", type_names); in libbpf_prog_type_by_name()
8777 free(type_names); in libbpf_prog_type_by_name()
9104 char *type_names; in libbpf_attach_type_by_name() local
9113 type_names = libbpf_get_type_names(true); in libbpf_attach_type_by_name()
9114 if (type_names != NULL) { in libbpf_attach_type_by_name()
9115 pr_debug("attachable section(type) names are:%s\n", type_names); in libbpf_attach_type_by_name()
9116 free(type_names); in libbpf_attach_type_by_name()
/external/tensorflow/tensorflow/core/profiler/backends/gpu/
Dcupti_collector.cc290 std::vector<const char*> type_names; in GetDeviceXLineName() local
292 type_names.emplace_back(GetTraceEventTypeName(event_type)); in GetDeviceXLineName()
294 return absl::StrCat(line_name, "(", absl::StrJoin(type_names, ","), ")"); in GetDeviceXLineName()
Ddevice_tracer_rocm.cc64 std::vector<const char*> type_names; in GetDeviceXLineName() local
66 type_names.emplace_back(GetRocmTracerEventTypeName(event_type)); in GetDeviceXLineName()
68 return absl::StrCat(line_name, "(", absl::StrJoin(type_names, ","), ")"); in GetDeviceXLineName()

12