| /external/rust/crates/grpcio-sys/grpc/tools/buildgen/ |
| D | build_cleaner.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # produces cleaner build.yaml files 22 import yaml 36 return dumper.represent_mapping('tag:yaml.org,2002:map', 40 yaml.add_representer(collections.OrderedDict, repr_ordered_dict) 72 """Takes dictionary which represents yaml file and returns the cleaned-up yaml string""" 73 js = _rebuild_as_ordered_dict(indict, _TOP_LEVEL_KEYS) 75 if grp not in js: 77 js[grp] = sorted([_clean_elem(x) for x in js[grp]], 79 output = yaml.dump(js, indent=2, width=80, default_flow_style=False) [all …]
|
| /external/grpc-grpc/tools/buildgen/ |
| D | build_cleaner.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # produces cleaner build.yaml files 22 import yaml 52 "tag:yaml.org,2002:map", list(odict.items()) 56 yaml.add_representer(collections.OrderedDict, repr_ordered_dict) 88 """Takes dictionary which represents yaml file and returns the cleaned-up yaml string""" 89 js = _rebuild_as_ordered_dict(indict, _TOP_LEVEL_KEYS) 91 if grp not in js: 93 js[grp] = sorted( 94 [_clean_elem(x) for x in js[grp]], [all …]
|
| /external/google-cloud-java/owl-bot-postprocessor/synthtool/gcp/ |
| D | samples.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 18 import yaml 23 def _read_sample_metadata_comment(sample_file: str) -> Dict: 24 """Additional meta-information can be provided through embedded comments: 26 // sample-metadata: 29 // usage: node iam.js --help 35 r"(?P<metadata>// *sample-metadata:([^\n]+|\n//)+)", contents, re.DOTALL 38 # the metadata yaml is stored in a comments, remove the 39 # prefix so that we can parse the yaml contained. 42 sample_metadata = yaml.load( [all …]
|
| D | gapic_generator.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 19 import yaml 30 GOOGLEAPIS_PRIVATE_URL: str = git.make_repo_clone_url("googleapis/googleapis-private") 41 def py_library(self, service: str, version: str, **kwargs) -> Path: 50 def node_library(self, service: str, version: str, **kwargs) -> Path: 55 def ruby_library(self, service: str, version: str, **kwargs) -> Path: 58 def php_library(self, service: str, version: str, **kwargs) -> Path: 61 def java_library(self, service: str, version: str, **kwargs) -> Path: 79 "nodejs": ("nodejs_gapic", "js"), 107 # $ artman --config path/to/artman_api.yaml generate python_gapic [all …]
|
| D | discogapic_generator.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 23 "googleapis/discovery-artifact-manager" 31 def py_library(self, service: str, version: str, **kwargs) -> Path: 40 def node_library(self, service: str, version: str, **kwargs) -> Path: 45 def ruby_library(self, service: str, version: str, **kwargs) -> Path: 48 def php_library(self, service: str, version: str, **kwargs) -> Path: 51 def java_library(self, service: str, version: str, **kwargs) -> Path: 60 "nodejs": ("nodejs_gapic", "js"), 78 # $ artman --config path/to/artman_api.yaml generate python_gapic 81 Path("gapic/google") / service / f"artman_{service}_{version}.yaml" [all …]
|
| /external/perfetto/infra/ci/frontend/ |
| D | Makefile | 7 # http://www.apache.org/licenses/LICENSE-2.0 21 test: static_3p config.py common_utils.py static/config.js 22 python3 `which dev_appserver.py` app.yaml --dev_appserver_log_level ${LOGLEVEL} 24 deploy: static_3p config.py common_utils.py static/config.js 25 gcloud app deploy -q app.yaml \ 26 --project ${PROJECT} \ 27 -v ${GAE_VERSION} \ 28 --stop-previous-version 36 static/config.js: ../config.py 37 ../config.py js > $@ [all …]
|
| /external/cldr/tools/st-prom-exporter/ |
| D | README.md | 8 As part of [https://unicode-org.atlassian.net/browse/CLDR-14768](CLDR-14768), 11 `/cldr-apps/metrics`. 22 "cldr-smoke.unicode.org": "https://cldr-smoke.unicode.org/cldr-apps/SurveyAjax?what=status", 23 "st.unicode.org": "https://st.unicode.org/cldr-apps/SurveyAjax?what=status" 29 3. `node index.js` 31 Now, the exporter is listening on port 9099 and re-exporting ST metrics as Prometheus metrics. 37 `/lib/systemd/system/prometheus-cldr-surveytool-exporter.service` 44 Documentation=https://github.com/unicode-org/cldr/tree/main/tools/st-prom-exporter 49 ExecStart=/usr/bin/node /usr/local/src/cldr-st-prom-exporter/tools/st-prom-exporter/index.js $ARGS 50 ExecReload=/bin/kill -HUP $MAINPID [all …]
|
| /external/doclava/src/com/google/doclava/ |
| D | NavTree.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 50 if (refPrefix == "gms-"){ in writeNavTree() 51 ClearPage.write(data, "gms_navtree_data.cs", "gms_navtree_data.js"); in writeNavTree() 52 } else if (refPrefix == "gcm-"){ in writeNavTree() 53 ClearPage.write(data, "gcm_navtree_data.cs", "gcm_navtree_data.js"); in writeNavTree() 56 + "navtree_data.js"); in writeNavTree() 58 ClearPage.write(data, "navtree_data.cs", "navtree_data.js"); in writeNavTree() 63 * Write the YAML formatted navigation tree. 64 * This is intended to replace writeYamlTree(), but for now requires an explicit opt-in via 65 * the yamlV2 flag in the doclava command. This version creates a yaml file with all classes, [all …]
|
| /external/doclava/res/assets/templates-sdk/ |
| D | head_tag.cs | 18 # _reference-head-tags.html file for the book path (or ignored if its no longer needed) 21 {% setvar book_path %}/reference/<?cs var:library.root ?>/_book.yaml{% endsetvar %}<?cs 23 {% include "_shared/_reference-head-tags.html" %}<?cs 28 else ?>/_book.yaml<?cs 32 else ?>/_project.yaml<?cs 36 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 37 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale… 38 <meta content="IE=edge" http-equiv="X-UA-Compatible"> 39 <link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>favicon.ico" /> 45 …"alternate" href="http://developer.android.com/intl/pt-br/<?cs var:path.canonical ?>" hreflang="pt… [all …]
|
| /external/trusty/arm-trusted-firmware/ |
| D | .commitlintrc.js | 4 * SPDX-License-Identifier: BSD-3-Clause 7 /* eslint-env es6 */ 12 const yaml = require("js-yaml"); constant 14 const { "trailer-exists": trailerExists } = require("@commitlint/rules").default; 18 * configuration file - `changelog.yaml` - as they decide which section of the changelog commits 25 const contents = fs.readFileSync("changelog.yaml", "utf8"); 27 changelog = yaml.load(contents); 51 extends: ["@commitlint/config-conventional"], 55 "signed-off-by-exists": trailerExists, 56 "change-id-exists": trailerExists, [all …]
|
| D | .versionrc.js | 2 * Copyright (c) 2021-2023, Arm Limited. All rights reserved. 4 * SPDX-License-Identifier: BSD-3-Clause 7 /* eslint-env es6 */ 12 const yaml = require("js-yaml"); constant 16 * configuration file - `changelog.yaml` - as they decide which section of the changelog commits 23 const contents = fs.readFileSync("changelog.yaml", "utf8"); 25 changelog = yaml.load(contents); 33 * The next couple of functions are just used to transform the changelog YAML configuration 34 * structure into one accepted by the Conventional Changelog adapter (conventional-changelog-tf-a). 63 …ry of the new features, changes, fixes and known\nissues in each release of Trusted Firmware-A.\n", [all …]
|
| D | package.json | 2 "name": "trusted-firmware-a", 4 "license": "BSD-3-Clause", 8 "release": "standard-version" 15 "@commitlint/config-conventional": "^16.0.0", 16 "@commitlint/cz-commitlint": "^16.1.0", 18 "conventional-changelog-tf-a": "file:tools/conventional-changelog-tf-a", 20 "js-yaml": "^4.1.0", string 21 "standard-version": "^9.3.2"
|
| /external/jsmn/example/ |
| D | jsondump.c | 9 * with one difference - it frees old memory pointer in case of realloc 12 * memory can't be re-allocated - use standard realloc() instead. 25 * The output looks like YAML, but I'm not sure if it's really compatible. 28 static int dump(const char *js, jsmntok_t *t, size_t count, int indent) { in dump() argument 34 if (t->type == JSMN_PRIMITIVE) { in dump() 35 printf("%.*s", t->end - t->start, js + t->start); in dump() 37 } else if (t->type == JSMN_STRING) { in dump() 38 printf("'%.*s'", t->end - t->start, js + t->start); in dump() 40 } else if (t->type == JSMN_OBJECT) { in dump() 43 for (i = 0; i < t->size; i++) { in dump() [all …]
|
| /external/perfetto/infra/perfetto.dev/ |
| D | build | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -eu 18 ROOT_DIR="$(dirname $(dirname $(cd -P ${BASH_SOURCE[0]%/*}; pwd)))" 20 if [ "$(uname -s)" == "Darwin" ]; then 26 if [ ! -e "$NODE_DIR" ]; then 27 echo 'Could not find Node.js hermetic installation. Please run:' 28 echo 'tools/install-build-deps --ui' 34 cd -P ${BASH_SOURCE[0]%/*} 38 if ! test node_modules/.stamp -nt pnpm-lock.yaml; then 40 ../../tools/pnpm install --shamefully-hoist --frozen-lockfile [all …]
|
| /external/googleapis/google/devtools/containeranalysis/v1/ |
| D | BUILD.bazel | 6 # - names of *_gapic_assembly_* rules 7 # - certain parameters of *_gapic_library rules, including but not limited to: 74 ## Node.js library must be built based on both ContainerAnalysis v1 and 99 gapic_yaml = "containeranalysis_gapic.yaml", 102 service_yaml = "containeranalysis_v1.yaml", 127 name = "google-cloud-devtools-containeranalysis-v1-java", 156 # service_yaml = "containeranalysis_v1.yaml", 166 # name = "gapi-cloud-devtools-containeranalysis-v1-go", 169 # ":containeranalysis_go_gapic_srcjar-metadata.srcjar", 170 # ":containeranalysis_go_gapic_srcjar-snippets.srcjar", [all …]
|
| /external/rust/pica/static/ |
| D | openapi.html | 1 <!-- HTML for static distribution bundle build --> 5 <meta charset="UTF-8" /> 10 href="https://unpkg.com/swagger-ui-dist@4.13.2/swagger-ui.css" 15 href="https://unpkg.com/swagger-ui-dist@4.13.2/favicon-32x32.png" 21 href="https://unpkg.com/swagger-ui-dist@4.13.2/favicon-16x16.png" 26 box-sizing: border-box; 27 overflow: -moz-scrollbars-vertical; 28 overflow-y: scroll; 33 box-sizing: inherit; 45 <div id="swagger-ui"></div> [all …]
|
| /external/python/jinja/ |
| D | .editorconfig | 9 charset = utf-8 12 [*.{yml,yaml,json,js,css,html}]
|
| /external/python/markupsafe/ |
| D | .editorconfig | 9 charset = utf-8 12 [*.{yml,yaml,json,js,css,html}]
|
| /external/python/python-api-core/.github/ |
| D | header-checker-lint.yml | 2 "allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"], 3 …equirements.txt", "**/requirements-test.txt", "**/__init__.py", "samples/**/constraints.txt", "sam… 6 "js", 10 "yaml",
|
| /external/python/google-api-python-client/.github/ |
| D | header-checker-lint.yml | 2 "allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"], 3 …equirements.txt", "**/requirements-test.txt", "**/__init__.py", "samples/**/constraints.txt", "sam… 6 "js", 10 "yaml",
|
| /external/rust/pica/src/bin/http-server/ |
| D | main.rs | 7 // https://www.apache.org/licenses/LICENSE-2.0 48 "/openapi.yaml", 49 "text/yaml", 50 include_str!("../../../static/openapi.yaml"), 53 "/src/components/Map.js", 55 include_str!("../../../static/src/components/Map.js"), 58 "/src/components/DeviceInfo.js", 60 include_str!("../../../static/src/components/DeviceInfo.js"), 63 "/src/components/Orientation.js", 65 include_str!("../../../static/src/components/Orientation.js"), [all …]
|
| /external/licenseclassifier/commentparser/language/ |
| D | language.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 77 Yaml const 86 applescript // -- ... and (* ... *) 92 haskell // -- ... and {- ... -} 93 html // <!-- ... --> 99 sql // -- ... and /* ... */ 141 case "js": 191 case "yaml": 192 return Yaml 218 case Clif, Elixir, NinjaBuild, Perl, Python, R, Shell, Yaml: [all …]
|
| /external/dokka/core/src/main/kotlin/Formats/ |
| D | DacOutlineService.kt | 25 …override fun generateOutlines(outputProvider: (URI) -> Appendable, nodes: Iterable<DocumentationNo… in generateOutlines() 37 * Outline service for generating a _toc.yaml file, responsible for pointing to the paths of each 47 …teOutlineURI(node: DocumentationNode): URI = uriProvider.outlineRootUri(node).resolve("_book.yaml") in computeOutlineURI() 75 to.appendln("- title: Package Index") in appendOutlineHeader() 77 to.appendln(" status_text: no-toggle") in appendOutlineHeader() 79 to.appendln("- title: ${languageService.renderName(node)}") in appendOutlineHeader() 81 to.appendln(" status_text: no-toggle") in appendOutlineHeader() 85 fun appendOutlineLevel(to: Appendable, body: () -> Unit) { in appendOutlineLevel() 88 outlineLevel-- in appendOutlineLevel() 93 * Outline service for generating a _toc.yaml file, responsible for pointing to the paths of each [all …]
|
| /external/googleapis/google/ads/googleads/v16/ |
| D | BUILD.bazel | 7 # https://www.apache.org/licenses/LICENSE-2.0 17 exports_files(["googleads_grpc_service_config.json"] + ["*.yaml"]) 59 gapic_yaml = "googleads_gapic.yaml", 61 service_yaml = "googleads_v16.yaml", 82 name = "googleads-java", 121 gapic_yaml = "googleads_gapic.yaml", 123 service_yaml = "googleads_v16.yaml", 133 name = "googleads-php", 156 service_yaml = "googleads_v16.yaml", 163 name = "googleads-csharp", [all …]
|
| /external/googleapis/google/ads/googleads/v14/ |
| D | BUILD.bazel | 7 # https://www.apache.org/licenses/LICENSE-2.0 17 exports_files(["googleads_grpc_service_config.json"] + ["*.yaml"]) 59 gapic_yaml = "googleads_gapic.yaml", 61 service_yaml = "googleads_v14.yaml", 82 name = "googleads-java", 121 gapic_yaml = "googleads_gapic.yaml", 123 service_yaml = "googleads_v14.yaml", 133 name = "googleads-php", 156 service_yaml = "googleads_v14.yaml", 163 name = "googleads-csharp", [all …]
|