/external/bazelbuild-rules_android/rules/ |
D | acls.bzl | 24 2. Check `acls.list_name(fqn)` using the //fully/qualified:target 81 def _in_aar_import_deps_checker(fqn): 82 …return not matches(fqn, AAR_IMPORT_DEPS_CHECKER_FALLBACK_DICT) and matches(fqn, AAR_IMPORT_DEPS_CH… 84 def _in_aar_import_explicit_exports_manifest(fqn): 85 return matches(fqn, AAR_IMPORT_EXPLICIT_EXPORTS_MANIFEST_DICT) 87 def _in_aar_import_exports_r_java(fqn): 88 return matches(fqn, AAR_IMPORT_EXPORTS_R_JAVA_DICT) 90 def _in_aar_propagate_resources(fqn): 91 …return not matches(fqn, AAR_PROPAGATE_RESOURCES_FALLBACK_DICT) and matches(fqn, AAR_PROPAGATE_RESO… 93 def _in_android_archive_dogfood(fqn): [all …]
|
/external/bazelbuild-rules_android/src/tools/ak/res/ |
D | naming.go | 102 fqn := removeRef(unparsed) 103 fqn.Type = resType 104 pkgIdx := strings.Index(fqn.Name, ":") 105 typeIdx := strings.Index(fqn.Name, "/") 114 t, err := ParseType(fqn.Name[pkgIdx+1 : typeIdx]) 119 fqn.Type = t 120 fqn.Package = fqn.Name[:pkgIdx] 121 fqn.Name = fqn.Name[typeIdx+1:] 125 t, err := ParseType(fqn.Name[:typeIdx]) 130 fqn.Type = t [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_policy.c | 128 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper() 135 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper() 151 if (strcmp(role->datum.fqn, "object_r") != 0) { in __cil_gather_statements_helper() 192 fprintf(out, "%s %s;\n", kind, DATUM(i1->data)->fqn); in cil_simple_rules_to_policy() 210 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy() 217 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy() 224 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy() 230 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy() 237 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy() 244 fprintf(out, "%s", DATUM(level->sens)->fqn); in cil_level_to_policy() [all …]
|
D | cil_find.c | 311 if (t1->fqn != CIL_KEY_SELF && t2->fqn != CIL_KEY_SELF) { in cil_find_matching_avrule() 314 if (t1->fqn == CIL_KEY_SELF && t2->fqn == CIL_KEY_SELF) { in cil_find_matching_avrule() 316 } else if (t1->fqn == CIL_KEY_SELF) { in cil_find_matching_avrule() 324 } else if (t2->fqn == CIL_KEY_SELF) { in cil_find_matching_avrule()
|
D | cil_binary.c | 81 *sepol_user = hashtab_search(pdb->p_users.table, datum->fqn); in __cil_get_sepol_user_datum() 83 cil_log(CIL_INFO, "Failed to find user %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_user_datum() 92 *sepol_role = hashtab_search(pdb->p_roles.table, datum->fqn); in __cil_get_sepol_role_datum() 94 cil_log(CIL_INFO, "Failed to find role %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_role_datum() 103 *sepol_type = hashtab_search(pdb->p_types.table, datum->fqn); in __cil_get_sepol_type_datum() 105 cil_log(CIL_INFO, "Failed to find type %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_type_datum() 114 *sepol_class = hashtab_search(pdb->p_classes.table, datum->fqn); in __cil_get_sepol_class_datum() 116 cil_log(CIL_INFO, "Failed to find class %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_class_datum() 125 *sepol_cat = hashtab_search(pdb->p_cats.table, datum->fqn); in __cil_get_sepol_cat_datum() 127 cil_log(CIL_INFO, "Failed to find category %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_cat_datum() [all …]
|
D | cil.c | 432 (*db)->selftype->datum.fqn = CIL_KEY_SELF; in cil_db_init() 1445 …str_len += strlen("user ") + strlen(user->datum.fqn) + strlen(" prefix ") + strlen(userprefix->pre… in cil_userprefixes_to_string() 1457 buf_pos = snprintf(str_tmp, str_len, "user %s prefix %s;\n", user->datum.fqn, in cil_userprefixes_to_string() 1521 if (strcmp(low->sens->datum.fqn, high->sens->datum.fqn)) { in cil_level_equals() 1557 str_len += strlen(lvl->sens->datum.fqn); in __cil_level_strlen() 1564 str1 = cat->datum.fqn; in __cil_level_strlen() 1569 str2 = cat->datum.fqn; in __cil_level_strlen() 1572 str_len += strlen(str1) + strlen(cat->datum.fqn) + 1; in __cil_level_strlen() 1574 str_len += strlen(str1) + strlen(str2) + strlen(cat->datum.fqn) + 2; in __cil_level_strlen() 1576 str_len += strlen(str1) + strlen(str2) + strlen(cat->datum.fqn) + 2; in __cil_level_strlen() [all …]
|
/external/bazelbuild-rules_android/src/tools/ak/liteparse/ |
D | values_parse.go | 89 fqn, err := res.ParseName(name, t) 94 if err := fqn.SetResource(r); err != nil { 95 return respipe.SendErr(ctx, errC, respipe.Errorf(ctx, "%v: name->proto failed: %v", fqn, err)) 117 fqn, err := res.ParseName(name, t) 123 if err := fqn.SetResource(r); err != nil { 124 return respipe.SendErr(ctx, errC, respipe.Errorf(ctx, "%v: name->proto failed: %v", fqn, err)) 126 if fqn.Type == res.Styleable { 131 if err := fqn.SetMetaData(md); err != nil { 132 …return respipe.SendErr(ctx, errC, respipe.Errorf(ctx, "%v: could not set stylablemeta: %v", fqn, e… 136 if fqn.Type == res.Attr && !parseAttrChildren(ctx, childC, resC, errC) {
|
D | non_values_parse.go | 39 fqn, err := res.ParseName(unparsed, res.ID) 47 if err := fqn.SetResource(r); err != nil { 48 if !respipe.SendErr(ctx, errC, respipe.Errorf(ctx, "%s: name->proto failed: %+v", fqn, err)) {
|
D | liteparse.go | 257 fqn, err := res.ParseName(rawName, pi.Type) 262 if err := fqn.SetResource(r); err != nil { 263 … return respipe.SendErr(ctx, pathErrC, respipe.Errorf(ctx, "%s: name->proto failed: %v", fqn, err))
|
/external/bazelbuild-rules_android/src/tools/ak/bucketize/ |
D | partitioner.go | 209 fqn, err := res.ParseName(p, src.Type) 213 arch, err := ps.archiveFor(fqn) 227 func (ps *PartitionSession) archiveFor(fqn res.FullyQualifiedName) (*zip.Writer, error) { 228 archs, ok := ps.typedOutput[fqn.Type] 230 return nil, fmt.Errorf("%s: do not have output stream for this res type", fqn.Type) 232 shard := ps.sharder(fqn.String(), len(archs)) 234 …return nil, fmt.Errorf("%v: bad sharder f(%v, %d) -> %d must be [0,%d)", ps.sharder, fqn, len(arch… 284 for _, fqn := range keys { 285 p := v[fqn] 286 shard := ps.sharder(fqn, len(ws)) [all …]
|
D | partitioner_test.go | 56 shardFn: shard.Func(func(fqn string, shardCount int) int { 58 name := strings.Split(fqn, "/")[1] 288 for fqn, p := range vps { 289 ps.CollectValues(&res.ValuesResource{Src: &pi, N: fqn, Payload: p})
|
/external/bazelbuild-rules_android/rules/android_application/ |
D | android_feature_module_rule.bzl | 85 def get_feature_module_paths(fqn): 86 # Given a fqn to an android_feature_module, returns the absolute paths to 89 binary = Label("%s_bin" % fqn), 90 manifest_lib = Label("%s_AndroidManifest" % fqn), 91 title_strings_xml = Label("%s_title_strings_xml" % fqn), 92 title_lib = Label("%s_title_lib" % fqn), 106 fqn = "//%s:%s" % (native.package_name(), attrs.name) 109 if not acls.in_android_feature_splits_dogfood(fqn): 115 fail("%s missing required attr <%s>" % (fqn, attr)) 120 targets = get_feature_module_paths(fqn) [all …]
|
D | android_application_rule.bzl | 55 def _verify_attrs(attrs, fqn): 61 _log.error("%s missing required applicationId in manifest_values" % fqn) 65 _log.error("%s missing require attribute `%s`" % (fqn, attr)) 351 fqn = "//%s:%s" % (native.package_name(), attrs["name"]) 362 _verify_attrs(attrs, fqn)
|
/external/rust/crates/protobuf-codegen/2.27.1/src/ |
D | scope.rs | 33 pub fn _find_enum(&'a self, fqn: &ProtobufAbsolutePath) -> EnumWithScope<'a> { in _find_enum() 34 match self.find_message_or_enum(fqn) { in _find_enum() 36 _ => panic!("not an enum: {}", fqn), in _find_enum() 41 pub fn find_message(&'a self, fqn: &ProtobufAbsolutePath) -> MessageWithScope<'a> { in find_message() 42 match self.find_message_or_enum(fqn) { in find_message() 44 _ => panic!("not a message: {}", fqn), in find_message() 51 fqn: &ProtobufAbsolutePath, in find_message_or_enum() 53 assert!(!fqn.is_empty()); in find_message_or_enum() 56 .flat_map(|p| p.find_message_or_enum_abs(fqn)) in find_message_or_enum() 58 .expect(&format!("enum not found by name: {}", fqn)) in find_message_or_enum()
|
/external/rust/crates/protobuf-codegen/src/gen/ |
D | scope.rs | 41 pub fn _find_enum(&'a self, fqn: &ProtobufAbsPath) -> EnumWithScope<'a> { in _find_enum() 42 match self.find_message_or_enum(fqn) { in _find_enum() 44 _ => panic!("not an enum: {}", fqn), in _find_enum() 49 pub fn find_message(&'a self, fqn: &ProtobufAbsPath) -> MessageWithScope<'a> { in find_message() 50 match self.find_message_or_enum(fqn) { in find_message() 52 _ => panic!("not a message: {}", fqn), in find_message() 57 pub fn find_message_or_enum(&'a self, fqn: &ProtobufAbsPath) -> MessageOrEnumWithScope<'a> { in find_message_or_enum() 58 assert!(!fqn.is_root()); in find_message_or_enum() 61 .flat_map(|p| p.find_message_or_enum_abs(fqn)) in find_message_or_enum() 63 .expect(&format!("enum not found by name: {}", fqn)) in find_message_or_enum()
|
/external/rust/crates/protobuf/2.27.1/src/ |
D | descriptorx.rs | 68 pub fn find_enum(&'a self, fqn: &str) -> EnumWithScope<'a> { in find_enum() 69 match self.find_message_or_enum(fqn) { in find_enum() 71 _ => panic!("not an enum: {}", fqn), in find_enum() 76 pub fn find_message(&'a self, fqn: &str) -> MessageWithScope<'a> { in find_message() 77 match self.find_message_or_enum(fqn) { in find_message() 79 _ => panic!("not a message: {}", fqn), in find_message() 84 pub fn find_message_or_enum(&'a self, fqn: &str) -> MessageOrEnumWithScope<'a> { in find_message_or_enum() 85 assert!(fqn.starts_with("."), "name must start with dot: {}", fqn); in find_message_or_enum() 86 let fqn1 = &fqn[1..]; in find_message_or_enum() 101 .expect(&format!("enum not found by name: {}", fqn)) in find_message_or_enum()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | RenamePackage.java | 46 String fqn = packageDeclaration.getName().getFullyQualifiedName(); in process() local 47 if (!fqn.startsWith(toMatch)) { in process() 50 String newFqn = replacement + fqn.substring(toMatch.length()); in process()
|
/external/bazelbuild-rules_android/rules/acls/ |
D | android_instrumentation_derived_test_class_rollout.bzl | 30 def acls_in_android_instrumentation_test_derived_test_class_rollout(fqn): 31 …return not matches(fqn, _ANDROID_INSTRUMENTATION_TEST_DERIVED_TEST_CLASS_FALLBACK_DICT) and matche…
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/output/ |
D | BasicOutputSourceFileGenerator.java | 38 String fqn = PackageMatcher.getPackageName(cu); in generate() local 39 String packageSubDir = fqn.replace(".", File.separator); in generate()
|
/external/python/cpython2/PC/VS7.1/ |
D | build_ssl.py | 68 fqn = os.path.join(s, fname) 69 if os.path.isdir(fqn) and fname.startswith("openssl-"): 70 candidates.append(fqn)
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/ |
D | TypeDeclarationTest.java | 58 void assertFQN(String fqn, Node node) { in assertFQN() argument 59 assertEquals(fqn, node.findAll(TypeDeclaration.class).stream() in assertFQN()
|
/external/python/cpython2/PC/VC6/ |
D | build_ssl.py | 72 fqn = os.path.join(s, fname) 73 if os.path.isdir(fqn) and fname.startswith("openssl-"): 74 candidates.append(fqn)
|
/external/python/cpython2/PC/VS8.0/ |
D | build_ssl.py | 77 fqn = os.path.join(s, fname) 78 if os.path.isdir(fqn) and fname.startswith("openssl-"): 79 candidates.append(fqn)
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistEnumDeclaration.java | 261 …bolReference<? extends ResolvedValueDeclaration> solveSymbolForFQN(String symbolName, String fqn) { in solveSymbolForFQN() argument 262 if (fqn == null) { in solveSymbolForFQN() 266 ResolvedReferenceTypeDeclaration fqnTypeDeclaration = typeSolver.solveType(fqn); in solveSymbolForFQN()
|
D | JavassistInterfaceDeclaration.java | 237 …bolReference<? extends ResolvedValueDeclaration> solveSymbolForFQN(String symbolName, String fqn) { in solveSymbolForFQN() argument 238 if (fqn == null) { in solveSymbolForFQN() 242 ResolvedReferenceTypeDeclaration fqnTypeDeclaration = typeSolver.solveType(fqn); in solveSymbolForFQN()
|