/external/perfetto/src/traced/probes/packages_list/ |
D | packages_list_unittest.cc | 38 Package pkg; in TEST() local 39 ASSERT_TRUE(ReadPackagesListLine(kLine, &pkg)); in TEST() 40 EXPECT_EQ(pkg.name, "com.test.app"); in TEST() 41 EXPECT_EQ(pkg.debuggable, false); in TEST() 42 EXPECT_EQ(pkg.profileable_from_shell, false); in TEST() 43 EXPECT_EQ(pkg.version_code, 1111); in TEST() 50 Package pkg; in TEST() local 51 ASSERT_TRUE(ReadPackagesListLine(kLine, &pkg)); in TEST() 52 EXPECT_EQ(pkg.name, "com.test.app"); in TEST() 53 EXPECT_EQ(pkg.debuggable, false); in TEST() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
D | CodeGenerationUtils.java | 67 public static Path fileInPackageAbsolutePath(String root, String pkg, String file) { in fileInPackageAbsolutePath() argument 68 pkg = packageToPath(pkg); in fileInPackageAbsolutePath() 69 return Paths.get(root, pkg, file).normalize(); in fileInPackageAbsolutePath() 72 public static Path fileInPackageAbsolutePath(Path root, String pkg, String file) { in fileInPackageAbsolutePath() argument 73 return fileInPackageAbsolutePath(root.toString(), pkg, file); in fileInPackageAbsolutePath() 80 public static Path fileInPackageRelativePath(String pkg, String file) { in fileInPackageRelativePath() argument 81 pkg = packageToPath(pkg); in fileInPackageRelativePath() 82 return Paths.get(pkg, file).normalize(); in fileInPackageRelativePath() 88 public static String packageToPath(String pkg) { in packageToPath() argument 89 return pkg.replace('.', File.separatorChar); in packageToPath() [all …]
|
/external/dokka/core/src/test/kotlin/model/ |
D | TypeAliasTest.kt | 12 val pkg = it.members.single() in <lambda>() constant 13 with(pkg.member(NodeKind.TypeAlias)) { in <lambda>() 24 val pkg = it.members.single() in <lambda>() constant 25 with(pkg.member(NodeKind.TypeAlias)) { in <lambda>() 31 with(pkg.members(NodeKind.Class).find { it.name == "My" }!!) { in <lambda>() 40 val pkg = it.members.single() in <lambda>() constant 41 with(pkg.members(NodeKind.TypeAlias).find { it.name == "B" }!!) { in <lambda>() 45 with(pkg.members(NodeKind.TypeAlias).find { it.name == "C" }!!) { in <lambda>() 55 val pkg = it.members.single() in <lambda>() constant 56 with(pkg.member(NodeKind.TypeAlias)) { in <lambda>() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
D | PrimitiveArrayTest.java | 30 private final String pkg = "!!org.yaml.snakeyaml.array"; field in PrimitiveArrayTest 42 String testInput = "- " + pkg + ".ByteArr [ " + Arrays.toString(bytes) + " ]\n" + "- " in testValidConstructor() 43 + pkg + ".ShortArr [ " + Arrays.toString(shorts) + " ]\n" + "- " + pkg in testValidConstructor() 44 + ".IntArr [ " + Arrays.toString(ints) + " ]\n" + "- " + pkg + ".LongArr [ " in testValidConstructor() 45 + Arrays.toString(longs) + " ]\n" + "- " + pkg + ".FloatArr [ " in testValidConstructor() 46 + Arrays.toString(floats) + " ]\n" + "- " + pkg + ".DoubleArr [ " in testValidConstructor() 47 + Arrays.toString(doubles) + " ]\n" + "- " + pkg + ".CharArr [ " in testValidConstructor() 48 + Arrays.toString(chars) + " ]\n" + "- " + pkg + ".BooleanArr [ " in testValidConstructor() 92 tryInvalid(pkg + ".ByteArr [ [ 'a' ] ]", NumberFormatException.class); in testInvalidConstructors() 93 tryInvalid(pkg + ".ShortArr [ [ 'a' ] ]", NumberFormatException.class); in testInvalidConstructors() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | LegacyManifestParser.java | 107 Package pkg = new Package(androidManifest.getPackageName()); in createPackage() local 109 pkg.mVersionName = androidManifest.getVersionName(); in createPackage() 110 pkg.mVersionCode = androidManifest.getVersionCode(); in createPackage() 114 Permission permission = new Permission(pkg, createPermissionInfo(pkg, itemData)); in createPackage() 116 pkg.permissions.add(permission); in createPackage() 123 new PermissionGroup(pkg, createPermissionGroupInfo(pkg, itemData)); in createPackage() 125 pkg.permissionGroups.add(permissionGroup); in createPackage() 128 pkg.requestedPermissions.addAll(androidManifest.getUsedPermissions()); in createPackage() 131 ReflectionHelpers.getField(pkg, "requestedPermissionsRequired"); in createPackage() 132 permissionsRequired.addAll(buildBooleanList(pkg.requestedPermissions.size(), true)); in createPackage() [all …]
|
/external/icu/icu4c/source/tools/icupkg/ |
D | icupkg.cpp | 271 Package *pkg, *listPkg, *addListPkg; in main() local 285 pkg=new Package; in main() 286 if(pkg==NULL) { in main() 294 pkg->setAutoPrefix(); in main() 303 pkg->setAutoPrefixWithType(); in main() 335 pkg->readPackage(inFilename); in main() 339 pkg->addFile(sourcePath, inFilename); in main() 381 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); in main() 383 outType=pkg->getInType(); // default to input type in main() 409 pkg->extractItem(destPath, outFilename, 0, outType); in main() [all …]
|
/external/turbine/javatests/com/google/turbine/lower/testdata/ |
D | annouse2.test | 1 === pkg/Anno1.java === 2 package pkg; 5 === pkg/Anno2.java === 6 package pkg; 9 === pkg/Anno3.java === 10 package pkg; 13 === pkg/Simple.java === 14 package pkg;
|
D | fuse.test | 1 === pkg/Converter.java === 2 package pkg; 8 === pkg/EnumConverter.java === 9 package pkg; 15 === pkg/Suite.java === 16 package pkg; 22 === pkg/Test.java === 23 package pkg;
|
D | annouse14.test | 1 === pkg/Anno1.java === 2 package pkg; 10 === pkg/Anno2.java === 11 package pkg; 15 === pkg/Simple.java === 16 package pkg;
|
D | annouse17.test | 1 === pkg/SourceAnno.java === 2 package pkg; 10 === pkg/ContainerAnno.java === 11 package pkg; 21 === pkg/Simple.java === 22 package pkg;
|
/external/grpc-grpc/tools/internal_ci/linux/ |
D | grpc_publish_packages.sh | 139 for pkg in "${PROTOC_PACKAGES[@]}"; do add_to_manifest protoc "$pkg"; done 140 for pkg in "${CSHARP_PACKAGES[@]}"; do add_to_manifest csharp "$pkg"; done 141 for pkg in "${PHP_PACKAGES[@]}"; do add_to_manifest php "$pkg"; done 142 for pkg in "${PYTHON_GRPCIO_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio/; done 143 …for pkg in "${PYTHON_GRPCIO_TOOLS_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio-tools/; d… 144 …for pkg in "${PYTHON_GRPCIO_HEALTH_CHECKING_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio… 145 …for pkg in "${PYTHON_GRPCIO_REFLECTION_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio-refl… 146 …for pkg in "${PYTHON_GRPCIO_TESTING_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio-testing… 147 for pkg in "${RUBY_PACKAGES[@]}"; do add_to_manifest ruby "$pkg"; done
|
/external/pigweed/pw_package/py/pw_package/ |
D | package_manager.py | 91 pkg = _PACKAGES[package] 94 pkg.install(self._pkg_root / pkg.name) 97 pkg = _PACKAGES[package] 98 pkg.remove(self._pkg_root / pkg.name) 101 pkg = _PACKAGES[package] 102 path = self._pkg_root / pkg.name 103 return os.path.isdir(path) and pkg.status(path) 109 pkg = _PACKAGES[package] 110 if pkg.status(self._pkg_root / pkg.name): 111 installed.append(pkg.name) [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/linux/ |
D | grpc_publish_packages.sh | 139 for pkg in "${PROTOC_PACKAGES[@]}"; do add_to_manifest protoc "$pkg"; done 140 for pkg in "${CSHARP_PACKAGES[@]}"; do add_to_manifest csharp "$pkg"; done 141 for pkg in "${PHP_PACKAGES[@]}"; do add_to_manifest php "$pkg"; done 142 for pkg in "${PYTHON_GRPCIO_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio/; done 143 …for pkg in "${PYTHON_GRPCIO_TOOLS_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio-tools/; d… 144 …for pkg in "${PYTHON_GRPCIO_HEALTH_CHECKING_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio… 145 …for pkg in "${PYTHON_GRPCIO_REFLECTION_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio-refl… 146 …for pkg in "${PYTHON_GRPCIO_TESTING_PACKAGES[@]}"; do add_to_manifest python "$pkg" grpcio-testing… 147 for pkg in "${RUBY_PACKAGES[@]}"; do add_to_manifest ruby "$pkg"; done
|
/external/autotest/client/site_tests/policy_EnterpriseForceInstallCustom/ |
D | policy_EnterpriseForceInstallCustom.py | 54 for pkg in controlled_apps: 55 self._verify_package_status(pkg['packageName'], pkg['installType']) 57 def _verify_package_status(self, pkg, installType): argument 72 lambda: self._check_pkg(pkg, status), 73 exception=error.TestFail('Package {} not installed!'.format(pkg)), 78 def _check_pkg(self, pkg, status): argument 89 return arc._is_in_installed_packages_list(pkg) 91 return not arc._is_in_installed_packages_list(pkg)
|
/external/perfetto/src/profiling/common/ |
D | producer_support.cc | 81 Package pkg; in CanProfileAndroid() local 82 if (!ReadPackagesListLine(ss.cur_token(), &pkg)) { in CanProfileAndroid() 86 if (pkg.uid != uid_without_profile) in CanProfileAndroid() 89 if (pkg.installed_by.empty()) { in CanProfileAndroid() 96 pkg.installed_by) == installed_by.cend()) { in CanProfileAndroid() 102 return pkg.profileable_from_shell || pkg.debuggable; in CanProfileAndroid() 104 return pkg.profileable || pkg.debuggable; in CanProfileAndroid()
|
/external/fonttools/Lib/fontTools/ |
D | help.py | 13 for pkg in sorted( 18 imports = __import__(pkg, globals(), locals(), ["main"]) 24 pkg = pkg.replace("fontTools.", "").replace(".__main__", "") 25 descriptions[pkg] = description 28 for pkg, description in descriptions.items(): 29 print("fonttools %-12s %s" % (pkg, description), file=sys.stderr)
|
/external/doclava/src/com/google/doclava/ |
D | NavTree.java | 32 for (PackageInfo pkg : Doclava.choosePackages()) { in writeNavTree() 33 children.add(makePackageNode(pkg)); in writeNavTree() 70 for (PackageInfo pkg : Doclava.choosePackages()) { in writeYamlTree2() 71 children.add(makePackageNode(pkg)); in writeYamlTree2() 111 PackageInfo pkg = cl.containingPackage(); in writeYamlTree() local 113 if (pkg == null) { in writeYamlTree() 116 name = pkg.name(); in writeYamlTree() 118 sorted.put(name, pkg); in writeYamlTree() 141 PackageInfo pkg = (PackageInfo) o; in makeYamlHDF() local 144 data.setValue("docs.pages." + i + ".label", pkg.name()); in makeYamlHDF() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_pkgutil.py | 25 pkg = 'test_getdata_filesys' 31 package_dir = os.path.join(self.dirname, pkg) 46 res1 = pkgutil.get_data(pkg, 'res.txt') 48 res2 = pkgutil.get_data(pkg, 'sub/res.txt') 51 del sys.modules[pkg] 55 pkg = 'test_getdata_zipfile' 65 z.writestr(pkg + '/__init__.py', "") 67 z.writestr(pkg + '/res.txt', RESOURCE_DATA) 68 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA) 73 res1 = pkgutil.get_data(pkg, 'res.txt') [all …]
|
/external/toolchain-utils/binary_search_tool/cros_pkg/ |
D | switch_to_bad.sh | 22 while read pkg || [[ -n "$pkg" ]]; 24 sudo cp ${BAD_BUILD}/packages/$pkg ${WORK_BUILD}/packages/$pkg 27 echo "Failed to copy ${pkg} to work build tree." 38 echo "Failed to copy ${pkg} to work build tree."
|
D | switch_to_good.sh | 22 while read pkg || [[ -n "$pkg" ]]; 24 sudo cp ${GOOD_BUILD}/packages/$pkg ${WORK_BUILD}/packages/$pkg 27 echo "Failed to copy ${pkg} to work build tree." 38 echo "Failed to copy ${pkg} to work build tree."
|
/external/ImageMagick/m4/ |
D | pkg.m4 | 1 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 2 # serial 12 (pkg-config-0.29.2) 32 dnl Verify that the version of the pkg-config macros are at least 34 dnl installed version of pkg-config, this checks the developer's version 35 dnl of pkg.m4 when generating configure. 39 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) 46 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 53 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to 54 dnl first found in the path. Checks that the version of pkg-config found 57 dnl pkg-config existed. [all …]
|
/external/boringssl/src/util/ |
D | godeps.go | 145 pkg, err := build.Default.Import(pkgName, ".", 0) 151 if pkg.Goroot { 156 if _, ok := done[pkg.Dir]; ok { 159 done[pkg.Dir] = struct{}{} 161 files = appendPrefixed(files, pkg.GoFiles, pkg.Dir) 162 files = appendPrefixed(files, pkg.CgoFiles, pkg.Dir) 165 files = appendPrefixed(files, pkg.IgnoredGoFiles, pkg.Dir) 168 for _, importName := range pkg.Imports {
|
/external/googletest/docs/ |
D | pkgconfig.md | 3 GoogleTest comes with pkg-config files that can be used to determine all 13 All current build systems support pkg-config in one way or another. For all 19 Using `pkg-config` in CMake is fairly easy: 43 splitting the pkg-config `Cflags` variable into include dirs and macros for 48 ### Help! pkg-config can't find GoogleTest! 62 pkg-config where it can find the `.pc` files containing the information. Say you 70 pkg-config will also try to look in `PKG_CONFIG_PATH` to find `gtest_main.pc`. 72 ### Using pkg-config in a cross-compilation setting 89 variables for pkg-config in a cross-compilation setting: 96 otherwise `pkg-config` will filter `-I` and `-L` flags against standard prefixes [all …]
|
/external/python/cpython2/ |
D | aclocal.m4 | 15 dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 16 dnl serial 11 (pkg-config-0.29.1) 46 dnl Verify that the version of the pkg-config macros are at least 48 dnl installed version of pkg-config, this checks the developer's version 49 dnl of pkg.m4 when generating configure. 53 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) 60 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 67 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to 68 dnl first found in the path. Checks that the version of pkg-config found 71 dnl pkg-config existed. [all …]
|
/external/icu/icu4c/source/ |
D | aclocal.m4 | 15 dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 16 dnl serial 11 (pkg-config-0.29) 46 dnl Verify that the version of the pkg-config macros are at least 48 dnl installed version of pkg-config, this checks the developer's version 49 dnl of pkg.m4 when generating configure. 53 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) 60 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 67 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to 68 dnl first found in the path. Checks that the version of pkg-config found 71 dnl pkg-config existed. [all …]
|