| /external/doclava/src/com/google/doclava/ |
| D | NavTree.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 30 public static void writeNavTree(String dir, String refPrefix) { in writeNavTree() argument 32 for (PackageInfo pkg : Doclava.choosePackages()) { in writeNavTree() 33 children.add(makePackageNode(pkg)); in writeNavTree() 35 Node node = new Node("Reference", dir + refPrefix + "packages.html", children, null); in writeNavTree() 50 if (refPrefix == "gms-"){ in writeNavTree() 52 } else if (refPrefix == "gcm-"){ in writeNavTree() 55 ClearPage.write(data, "navtree_data.cs", dir + Doclava.libraryRoot in writeNavTree() 64 * This is intended to replace writeYamlTree(), but for now requires an explicit opt-in via 68 public static void writeYamlTree2(String dir, String fileName){ in writeYamlTree2() argument [all …]
|
| D | AtLinksNavTree.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 * format: package name -> class name -> member name and signature -> parent package.class name 49 * @param dir The directory path to prepend to the output path if the generated navtree is for 52 public static void writeAtLinksNavTree(String dir) { in writeAtLinksNavTree() argument 64 output_path = dir + Doclava.libraryRoot + "at_links_navtree.json"; in writeAtLinksNavTree() 81 for (PackageInfo pkg : Doclava.choosePackages()) { in addPackages() 82 if (!pkg.name().contains(".internal.")) { in addPackages() 86 buf.append("\n \"" + pkg.name() + "\": {"); in addPackages() 89 is_first_class = addClasses(buf, pkg.annotations(), is_first_class); in addPackages() 90 is_first_class = addClasses(buf, pkg.interfaces(), is_first_class); in addPackages() [all …]
|
| /external/bazelbuild-rules_go/go/tools/builders/ |
| D | stdliblist.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 Pos string // "file:line:col" or "file:line" or "" or "-" 47 pos = "-" // like token.Position{}.String() 68 Dir string // directory containing package sources member 69 ImportPath string // import path of package in dir 74 Root string // Go root or Go path dir containing this package 75 Export string // file containing export data (when using -export) 79 CompiledGoFiles []string // .go files presented to compiler (when using -compiled) 81 IgnoredOtherFiles []string // non-.go source files ignored due to build constraints 115 dir, _ := filepath.Rel(cloneBase, p) [all …]
|
| /external/cronet/third_party/boringssl/src/util/ |
| D | godeps.go | 38 mainPkg = flag.String("pkg", "", "The package to print dependencies for") 44 // See https://cmake.org/cmake/help/v3.0/manual/cmake-language.7.html#quoted-argument 81 // See https://www.gnu.org/software/make/manual/make.html#Rule-Syntax 123 fmt.Fprintf(os.Stderr, "-pkg argument is required.\n") 139 fmt.Fprintf(os.Stderr, "-target argument is required for depfile.\n") 147 pkg, err := build.Default.Import(pkgName, ".", 0) 153 if pkg.Goroot { 157 // Skip already-visited packages. 158 if _, ok := done[pkg.Dir]; ok { 161 done[pkg.Dir] = struct{}{} [all …]
|
| /external/boringssl/src/util/ |
| D | godeps.go | 38 mainPkg = flag.String("pkg", "", "The package to print dependencies for") 44 // See https://cmake.org/cmake/help/v3.0/manual/cmake-language.7.html#quoted-argument 81 // See https://www.gnu.org/software/make/manual/make.html#Rule-Syntax 123 fmt.Fprintf(os.Stderr, "-pkg argument is required.\n") 139 fmt.Fprintf(os.Stderr, "-target argument is required for depfile.\n") 147 pkg, err := build.Default.Import(pkgName, ".", 0) 153 if pkg.Goroot { 157 // Skip already-visited packages. 158 if _, ok := done[pkg.Dir]; ok { 161 done[pkg.Dir] = struct{}{} [all …]
|
| /external/bazelbuild-rules_go/go/private/tools/ |
| D | path.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 57 pkg = struct( 59 dir = "src/" + pkgpath, 66 _merge_pkg(pkg_map[pkgpath], pkg) 68 pkg_map[pkgpath] = pkg 74 for pkg in pkg_map.values(): 79 for f in pkg.srcs: 81 dst = pkg.dir + "/" + f.basename 83 for f in pkg.embedsrcs: 87 …dst = pkg.dir + "/" + paths.relativize(embedpath.lstrip(ctx.bin_dir.path + "/"), src_dir.lstrip(ct… [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 66 max_required[-1] += 1 91 fp = open(filename, encoding='utf-8') 103 fp = open(filename, encoding='utf-8') 115 )['title'].encode('utf-8') 129 fp = open(filename, encoding='utf-8') 148 fp = open(filename, encoding='utf-8') 167 fp = open(filename, encoding='utf-8') [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 65 max_required[-1] += 1 114 )['title'].encode('utf-8') 182 sep = _os.path.join('1', '2')[1:-1] 203 if docs.get('examples.dir', '').strip(): 204 tpl = ['recursive-include %s *' % docs['examples.dir']] 206 tpl.extend(["global-exclude %s" % item 215 if docs.get('userdoc.dir', '').strip(): [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 65 max_required[-1] += 1 114 )['title'].encode('utf-8') 182 sep = _os.path.join('1', '2')[1:-1] 203 if docs.get('examples.dir', '').strip(): 204 tpl = ['recursive-include %s *' % docs['examples.dir']] 206 tpl.extend(["global-exclude %s" % item 215 if docs.get('userdoc.dir', '').strip(): [all …]
|
| /external/tensorflow/tensorflow/java/src/gen/perl/ |
| D | tftypes-runall.pl | 9 # http://www.apache.org/licenses/LICENSE-2.0 19 my $dir = `dirname $script`; 20 chomp $dir; 21 my $gen = "$dir/.."; 25 my $pkg = "$root/org/tensorflow"; 29 if (! -r $f) { 30 … print STDERR "Script tftypes-runall seems to be located in the wrong place (could not find $f)\n"; 36 &locchk("$dir/tftypes.pl"); 39 system("perl $dir/tftypes.pl -t $rsrc/tftypes.csv $pkg/types"); 40 system("perl $dir/tftypes.pl -c $rsrc/tftypes.csv $rsrc/Tensors.java.tmpl > $pkg/Tensors.java");
|
| /external/tagsoup/ |
| D | build.xml | 1 <!-- 2 // This file is part of TagSoup and is Copyright 2002-2008 by John Cowan. 6 // http://www.apache.org/licenses/LICENSE-2.0 . You may also have 14 --> 18 <!-- generic properties --> 20 <!-- additional tasks --> 36 <!-- some folder settings --> 45 <!-- initialize project --> 51 <!-- ensure needed folders are available --> 53 <mkdir dir="${build}"/> [all …]
|
| /external/grpc-grpc/ |
| D | Rakefile | 1 # -*- ruby -*- 15 task.options = ['-c', 'src/ruby/.rubocop.yml'] 22 Gem::PackageTask.new(spec) do |pkg| 32 'x86-mingw32', 'x64-mingw32', 'x64-mingw-ucrt', 33 'x86_64-linux', 'x86-linux', 'aarch64-linux', 34 'x86_64-darwin', 'arm64-darwin', 41 … spec.files += %w( etc/roots.pem grpc_c.32-msvcrt.ruby grpc_c.64-msvcrt.ruby grpc_c.64-ucrt.ruby ) 45 CLEAN.add "src/ruby/lib/grpc/[0-9].[0-9]", "src/ruby/lib/grpc/grpc_c.{bundle,so}" 50 { id: :idiomatic, title: 'idiomatic layer', dir: %w(src/ruby/spec/generic), 52 { id: :bidi, title: 'bidi tests', dir: %w(src/ruby/spec/generic), [all …]
|
| /external/pigweed/pw_build/py/pw_build/ |
| D | create_python_tree.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 50 '--repo-root', 55 '--tree-destination-dir', type=Path, help='Path to output directory.' 58 '--include-tests', 60 help='Include tests in the tests dir.', 64 '--setupcfg-common-file', 70 '--setupcfg-version-append-git-sha', 75 '--setupcfg-version-append-date', 80 '--setupcfg-override-name', help='Override metadata.name in setup.cfg' 83 '--setupcfg-override-version', [all …]
|
| D | generate_python_wheel.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 31 def _parse_args() -> argparse.Namespace: 34 '--package-dir', 37 help='Path to the root gn build dir.', 40 '--out-dir', 46 '--generate-hashes', 57 ) -> int: 60 # Delete existing wheels from the out dir, there may be stale versions. 65 pkg = PythonPackage( 71 requirement_lines = f'{pkg.package_name}=={pkg.package_version}' [all …]
|
| D | generate_python_requirements.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 30 def _parse_args() -> argparse.Namespace: 33 '--python-dep-list-files', 42 '--gn-root-build-dir', 45 help='Path to the root gn build dir.', 48 '--output-requirement-file', 54 '--gn-packages', 62 '--exclude-transitive-deps', 64 help='Exclude checking transitive deps of the specified --gn-packages', 67 '--constraint-files', [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 66 max_required[-1] += 1 91 fp = open(filename, encoding='utf-8') 103 fp = open(filename, encoding='utf-8') 115 )['title'].encode('utf-8') 129 fp = open(filename, encoding='utf-8') 148 fp = open(filename, encoding='utf-8') 167 fp = open(filename, encoding='utf-8') [all …]
|
| /external/antlr/runtime/JavaScript/build/ |
| D | build.xml | 6 <property name="build.dir" value="${basedir}/build" /> 7 <property name="out.dir" value="${build.dir}/out" /> 8 <property name="lib.dir" value="${basedir}/lib" /> 9 <property name="doc.dir" value="${basedir}/doc" /> 10 <property name="test.dir" value="${basedir}/tests" /> 11 <property name="src.dir" value="${basedir}/src" /> 12 <property name="third.dir" value="${basedir}/third" /> 13 <property file="${build.dir}/antlr3.properties" /> 15 …<taskdef file="${third.dir}/antcontrib.properties" classpath="${third.dir}/ant-contrib-1.0b3.jar" … 17 <!-- ******* --> [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/internal_ci/helper_scripts/ |
| D | prepare_build_macos_rc | 8 # http://www.apache.org/licenses/LICENSE-2.0 19 echo "OS: $(sw_vers -productName) $(sw_vers -productVersion) $(sw_vers -buildVersion)" 20 echo "CPU type: $(sysctl -n machdep.cpu.brand_string)" 21 echo "CPU: $(sysctl -n machdep.cpu.vendor) $(uname -m) Family $(sysctl -n machdep.cpu.family) Model… 22 echo "CPU Cores: $(sysctl -n hw.ncpu)" 23 echo "Memory: $(sysctl -n hw.memsize)" 28 df -h /tmpfs / 32 ulimit -a 36 # - think twice before adding installer that takes long time (builds are already slow) 37 # - do not add any steps that are flaky (builds will become flaky) [all …]
|
| /external/grpc-grpc/tools/internal_ci/helper_scripts/ |
| D | prepare_build_macos_rc | 8 # http://www.apache.org/licenses/LICENSE-2.0 19 echo "OS: $(sw_vers -productName) $(sw_vers -productVersion) $(sw_vers -buildVersion)" 20 echo "CPU type: $(sysctl -n machdep.cpu.brand_string)" 21 echo "CPU: $(sysctl -n machdep.cpu.vendor) $(uname -m) Family $(sysctl -n machdep.cpu.family) Model… 22 echo "CPU Cores: $(sysctl -n hw.ncpu)" 23 echo "Memory: $(sysctl -n hw.memsize)" 28 df -h /tmpfs / 32 ulimit -a 36 # - think twice before adding installer that takes long time (builds are already slow) 37 # - do not add any steps that are flaky (builds will become flaky) [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/python/cpython3/Lib/test/test_importlib/ |
| D | fixtures.py | 74 def add_sys_path(dir): argument 75 sys.path[:0] = [str(dir)] 79 sys.path.remove(str(dir)) 93 "distinfo_pkg-1.0.0.dist-info": { 95 Name: distinfo-pkg 98 Requires-Dist: wheel >= 1.0 99 Requires-Dist: pytest; extra == 'test' 103 There was a distinfo pkg 126 shutil.rmtree(self.site_dir / "distinfo_pkg-1.0.0.dist-info") 128 info = files["distinfo_pkg-1.0.0.dist-info"] [all …]
|
| /external/python/cpython2/Lib/plat-mac/ |
| D | pimp.py | 3 This is currently a MacOSX-only strawman implementation. 7 an online XML database per (platform, python-version) containing packages 46 # source: setup-based package 53 DEFAULT_PIMPDATABASE_FMT="http://www.python.org/packman/version-%s/%s-%s-%s-%s-%s.plist" 67 osname, release, machine = longplatform.split('-') 100 def _cmd(output, dir, *cmditems): argument 103 cmd = ("cd \"%s\"; " % dir) + " ".join(cmditems) 120 """Abstract base class - Downloader for archives""" 123 dir="", argument 126 self._dir = dir [all …]
|
| /external/bazelbuild-rules_python/python/ |
| D | packaging.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 21 # Re-export as public API 35 # Based on https://github.com/aspect-build/bazel-lib/tree/main/lib/private/copy_to_directory.bzl 36 # Avoiding a bazelbuild -> aspect-build dependency :( 38 dir = ctx.actions.declare_directory(ctx.attr.out) 41 "mkdir -p \"%s\"" % dir.path, 42 """cp "{}" "{}/$(cat "{}")" """.format(ctx.files.wheel[0].path, dir.path, name_file.path), 46 outputs = [dir], 53 DefaultInfo(files = depset([dir]), runfiles = ctx.runfiles([dir])), 60 See https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-ar… [all …]
|
| /external/python/cpython2/Lib/distutils/tests/ |
| D | test_build_py.py | 35 dist = Distribution({"packages": ["pkg"], 36 "package_dir": {"pkg": sources}}) 42 dist.packages = ["pkg"] 43 dist.package_data = {"pkg": ["README.txt"]} 44 dist.package_dir = {"pkg": sources} 53 # This makes sure the list of outputs includes byte-compiled 55 # (there shouldn't *be* byte-code files for those!). 58 pkgdest = os.path.join(destination, "pkg") 62 # XXX even with -O, distutils writes pyc, not pyo; bug? 85 dist = Distribution({"packages": ["pkg"], [all …]
|
| /external/rust/crates/grpcio-sys/grpc/ |
| D | Rakefile | 1 # -*- ruby -*- 14 task.options = ['-c', 'src/ruby/.rubocop.yml'] 21 Gem::PackageTask.new(spec) do |pkg| 31 'x86-mingw32', 'x64-mingw32', 'x64-mingw-ucrt', 32 'x86_64-linux', 'x86-linux', 33 'x86_64-darwin', 'arm64-darwin', 34 'universal-darwin' 41 … spec.files += %w( etc/roots.pem grpc_c.32-msvcrt.ruby grpc_c.64-msvcrt.ruby grpc_c.64-ucrt.ruby ) 45 CLEAN.add "src/ruby/lib/grpc/[0-9].[0-9]", "src/ruby/lib/grpc/grpc_c.{bundle,so}" 50 { id: :idiomatic, title: 'idiomatic layer', dir: %w(src/ruby/spec/generic), [all …]
|