Home
last modified time | relevance | path

Searched refs:type_names (Results 1 – 25 of 27) 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()
43 type_set_destroy(expr->type_names); in constraint_expr_destroy()
44 free(expr->type_names); in constraint_expr_destroy()
Dmodule_to_cil.c1437 char **type_names = NULL; in role_trans_to_cil() local
1453 rc = process_typeset(pdb, ts, type_attr_list, &type_names, &num_type_names); in role_trans_to_cil()
1462 role_names[role], type_names[type], in role_trans_to_cil()
1470 names_destroy(&type_names, &num_type_names); in role_trans_to_cil()
1475 names_destroy(&type_names, &num_type_names); in role_trans_to_cil()
1780 ts = expr->type_names; in constraint_expr_to_string()
Dexpand.c316 if (map_ebitmap(&expr->type_names->types, in constraint_node_clone()
317 &new_expr->type_names->types, in constraint_node_clone()
327 type_names, in constraint_node_clone()
Dwrite.c951 type_set_write(e->type_names, fp)) || in write_cons_helper()
954 type_set_write(e->type_names, fp))) { in write_cons_helper()
Dservices.c224 types = &e->type_names->types; in get_name_list()
Dpolicydb.c2223 type_set_read(e->type_names, fp)) in read_cons_helper()
2227 type_set_read(e->type_names, fp)) in read_cons_helper()
Dkernel_to_conf.c181 struct type_set *ts = curr->type_names; in constraint_expr_to_str()
/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()
93 if !type_names.insert(ident) in collect()
108 if !type_names.insert(ident) in collect()
125 if !type_names.insert(ident) { in collect()
146 if !type_names.insert(ident) { in collect()
/external/llvm-project/mlir/utils/gdb-scripts/
Dprettyprinters.py93 self.type_names = []
97 self.type_names += [type_name]
104 for type_name in self.type_names:
/external/nanopb-c/tests/package_name/
DSConscript25 type_names = ['AllTypes', 'MyEnum', 'HugeEnum']
26 for name in type_names:
/external/grpc-grpc/third_party/nanopb/tests/package_name/
DSConscript25 type_names = ['AllTypes', 'MyEnum', 'HugeEnum']
26 for name in type_names:
/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h62 struct type_set *type_names; member
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h656 const std::vector<std::string>& type_names =
666 "/" + type_names[index])
681 type_names);
708 const std::vector<std::string>& type_names =
726 prefix, test_location, case_name, test_names, 0, type_names);
733 type_names);
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-internal.h693 const std::vector<std::string>& type_names =
703 "/" + type_names[index])
720 type_names);
747 const std::vector<std::string>& type_names =
765 prefix, test_location, case_name, test_names, 0, type_names);
772 type_names);
/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/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h713 const std::vector<std::string> &type_names =
723 "/" + type_names[static_cast<size_t>(index)])
742 type_names);
774 const std::vector<std::string> &type_names =
793 prefix, test_location, case_name, test_names, 0, type_names);
800 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/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/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_collector.cc300 std::vector<const char*> type_names; in GetDeviceXLineName() local
302 type_names.emplace_back(GetTraceEventTypeName(event_type)); in GetDeviceXLineName()
304 return absl::StrCat(line_name, "(", absl::StrJoin(type_names, ","), ")"); in GetDeviceXLineName()
/external/selinux/checkpolicy/
Dpolicy_define.c3495 (newe->type_names, e->type_names)) in constraint_expr_clone()
3880 if (set_types(expr->type_names, id, &add, 0)) { in define_cexpr()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
DRenderScriptRuntime.cpp4163 llvm::SmallVector<llvm::StringRef, 5> type_names; in ParseReductionTypes() local
4164 llvm::StringRef(option_val).split(type_names, ','); in ParseReductionTypes()
4166 for (const auto &name : type_names) { in ParseReductionTypes()

12