Home
last modified time | relevance | path

Searched +full:- +full:- +full:google +full:- +full:java +full:- +full:format +full:- +full:jar (Results 1 – 25 of 184) sorted by relevance

12345678

/external/robolectric/.github/workflows/
Dcheck_code_style.yml5 branches: [ master, 'robolectric-*.x' ]
6 paths-ignore:
7 - '**.md'
10 branches: [ master, google ]
11 paths-ignore:
12 - '**.md'
15 group: ${{ github.workflow }}-${{ github.ref }}
16 cancel-in-progress: true
23 runs-on: ubuntu-22.04
26 - uses: actions/checkout@v4
[all …]
/external/google-cloud-java/java-aiplatform/
Dformat.sh2 mkdir -p .cache
4 if [ ! -f google-java-format-1.7-all-deps.jar ]
6 …curl -LJO "https://github.com/google/google-java-format/releases/download/google-java-format-1.7/g…
7 chmod 755 google-java-format-1.7-all-deps.jar
11 changed_java_files=$(git diff --cached --name-only --diff-filter=ACMR | grep ".*java$" )
13 java -jar .cache/google-java-format-1.7-all-deps.jar --replace $changed_java_files
/external/opencensus-java/examples/
Dbuild.gradle12 classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.8'
13 classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
14 …classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.…
19 apply plugin: 'com.google.protobuf'
20 apply plugin: 'com.github.sherter.google-java-format'
22 apply plugin: 'java'
25 // Also see https://github.com/ben-manes/gradle-versions-plugin.
26 apply plugin: 'com.github.ben-manes.versions'
34 version = "0.32.0-SNAPSHOT" // CURRENT_OPENCENSUS_VERSION
48 compile "com.google.api.grpc:proto-google-common-protos:1.12.0",
[all …]
/external/ktfmt/
DREADME.md1-ktfmt-purple.svg?logo=slack)](https://slack-chats.kotlinlang.org/c/ktfmt) [![invite](https://im…
3 …is a program that pretty-prints (formats) Kotlin code, based on [google-java-format](https://githu…
12 | ---- | ---- |
18 | ------ | --------|
23 …ound](https://facebook.github.io/ktfmt/) where you can easily see how ktfmt would format your code.
31 [ktfmt IntelliJ plugin](https://plugins.jetbrains.com/plugin/14912-ktfmt)
45 triggered from the `Code` menu or with the Ctrl-Alt-L (by default) keyboard
50 [`.editorconfig` file](https://www.jetbrains.com/help/idea/configuring-code-style.html#editorconfig)
67 ### from the command-line
73 java -jar /path/to/ktfmt-<VERSION>-jar-with-dependencies.jar [--dropbox-style] [files...]
[all …]
/external/conscrypt/
D.travis.yml5 - BORINGSSL_HOME="$HOME/boringssl"
6 - CXXFLAGS="-std=c++11"
7 - GOOGLE_JAVA_FORMAT_VERSION=1.1
11 - $HOME/.gradle/caches/
12 - $HOME/.gradle/wrapper/dists/
19 - os: linux
23 - ANDROID_TOOLS_URL="https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip"
24 - ANDROID_HOME="$HOME/android-sdk-linux"
25 - JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
26 - JAVA11_HOME=/usr/lib/jvm/java-11-openjdk-amd64
[all …]
/external/sdk-platform-java/gax-java/
Drepositories.bzl1 # Copyright 2019 Google LLC
13 # * Neither the name of Google LLC nor the names of its
45 # Import Bazel-only dependencies (Gradle version will import maven artifacts of same
55 strip_prefix = "protobuf-%s" % _protobuf_version,
63 urls = ["https://github.com/grpc/grpc-java/archive/%s.zip" % _grpc_version_in_link],
64 strip_prefix = "grpc-java-%s" % _grpc_version,
71 strip_prefix = "bazel-skylib-%s" % _bazel_skylib_version,
72 … urls = ["https://github.com/bazelbuild/bazel-skylib/archive/%s.zip" % _bazel_skylib_version],
78 …artifact = "com.google.protobuf:protobuf-java-util:%s" % PROPERTIES["version.com_google_protobuf"],
86 … artifact = "com.google.protobuf:protobuf-java:%s" % PROPERTIES["version.com_google_protobuf"],
[all …]
/external/jarjar/res/com/tonicsystems/jarjar/
Dhelp.txt1 Jar Jar Links - A utility to repackage and embed Java libraries
2 Copyright 2007 Google Inc.
4 Command-line usage:
6 java -jar jarjar.jar [help]
10 java -jar jarjar.jar strings <cp>
15 java -jar jarjar.jar find <level> <cp1> [<cp2>]
20 The level argument must be "class" or "jar". The former prints
22 prints jar->jar dependencies. A "jar" in this context is actually
23 any classpath component, which can be a jar file, a zip file, or a
26 java -jar jarjar.jar process <rulesFile> <inJar> <outJar>
[all …]
/external/google-java-format/scripts/
Dgoogle-java-format-diff.py3 #===- google-java-format-diff.py - google-java-format Diff Reformatter -----===#
10 #===------------------------------------------------------------------------===#
13 google-java-format Diff Reformatter
20 git diff -U0 HEAD^ | google-java-format-diff.py -p1 -i
21 svn diff --diff-cmd=diff -x-U0 | google-java-format-diff.py -i
25 P4DIFF="git --no-pager diff --no-index" p4 diff | ./google-java-format-diff.py -i -p7
40 'Reformat changed lines in diff. Without -i '
43 parser.add_argument('-i', action='store_true', default=False,
46 parser.add_argument('-p', metavar='NUM', default=0,
48 parser.add_argument('-regex', metavar='PATTERN', default=None,
[all …]
/external/google-smali/
DREADME.md3format used by dalvik, Android's Java VM implementation. The syntax is loosely based on Jasmin's/d…
5Google as the original repository is currently not maintained. After forking the namespace was cha…
7 * [`com.android.tools.smali:smali:<version>`](https://maven.google.com/web/index.html?q=smali#com.a…
8 …droid.tools.smali:smali-dexlib2:<version>`](https://maven.google.com/web/index.html?q=smali-dexlib…
9 * [`com.android.tools.smali:smali-baksmali:<version>`](https://maven.google.com/web/index.html?q=sm…
10 ….android.tools.smali:smali-util:<version>`](https://maven.google.com/web/index.html?q=smali-util#c…
15 - [github Issue tracker](https://github.com/google/smali/issues) - For any bugs/issues/feature requ…
19 - [Official dex bytecode reference](https://source.android.com/devices/tech/dalvik/dalvik-bytecode.…
20 - [Registers wiki page](https://github.com/JesusFreke/smali/wiki/Registers)
21 - [Types, Methods and Fields wiki page](https://github.com/JesusFreke/smali/wiki/TypesMethodsAndFie…
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dzip_output_unittest.sh3 # Protocol Buffers - Google's data interchange format
4 # Copyright 2009 Google Inc. All rights reserved.
5 # https://developers.google.com/protocol-buffers/
17 # * Neither the name of Google Inc. nor the names of its
33 # Author: kenton@google.com (Kenton Varda)
44 JAR=jar
50 option java_package = "test.jar";
57 --cpp_out=$TEST_TMPDIR/testzip.zip --python_out=$TEST_TMPDIR/testzip.zip \
58 --java_out=$TEST_TMPDIR/testzip.jar -I$TEST_TMPDIR testzip.proto \
62 if $UNZIP -h > /dev/null; then
[all …]
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/
Dzip_output_unittest.sh3 # Protocol Buffers - Google's data interchange format
4 # Copyright 2009 Google Inc. All rights reserved.
5 # https://developers.google.com/protocol-buffers/
17 # * Neither the name of Google Inc. nor the names of its
33 # Author: kenton@google.com (Kenton Varda)
44 JAR=jar
50 option java_package = "test.jar";
57 --cpp_out=$TEST_TMPDIR/testzip.zip --python_out=$TEST_TMPDIR/testzip.zip \
58 --java_out=$TEST_TMPDIR/testzip.jar -I$TEST_TMPDIR testzip.proto \
62 if $UNZIP -h > /dev/null; then
[all …]
/external/google-java-format/eclipse_plugin/META-INF/
DMANIFEST.MF1 Manifest-Version: 1.0
2 Bundle-ManifestVersion: 2
3 Bundle-Name: google-java-format
4 Bundle-SymbolicName: google-java-format-eclipse-plugin;singleton:=true
5 Bundle-Vendor: Google
6 Bundle-Version: 1.13.0
7 Bundle-RequiredExecutionEnvironment: JavaSE-11
8 Require-Bundle: org.eclipse.jdt.core;bundle-version="3.10.0",
13 Bundle-ClassPath: .,
14 lib/guava.jar,
[all …]
/external/google-java-format/
Dpom.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ~ Copyright 2015 Google Inc.
9 ~ http://www.apache.org/licenses/LICENSE-2.0
16 -->
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 …xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <groupId>com.google.googlejavaformat</groupId>
24 <artifactId>google-java-format-parent</artifactId>
26 <version>HEAD-SNAPSHOT</version>
[all …]
DREADME.md1 # google-java-format chapter
3 `google-java-format` is a program that reformats Java source code to comply with
4 [Google Java Style][].
6 [Google Java Style]: https://google.github.io/styleguide/javaguide.html
10 ### from the command-line
12 [Download the formatter](https://github.com/google/google-java-format/releases)
16 java -jar /path/to/google-java-format-${GJF_VERSION?}-all-deps.jar <options> [files...]
19 The formatter can act on whole files, on limited lines (`--lines`), on specific
20 offsets (`--offset`), passing through to standard-out (default) or altered
21 in-place (`--replace`).
[all …]
/external/google-cloud-java/owl-bot-postprocessor/synthtool/languages/
Djava.py1 # Copyright 2018 Google LLC
7 # https://www.apache.org/licenses/LICENSE-2.0
29 …https://github.com/google/google-java-format/releases/download/google-java-format-{version}/google…
32 * Copyright 2020 Google LLC
38 * https://www.apache.org/licenses/LICENSE-2.0
49 \\* Copyright \\d{4} Google LLC
54 \\* http://www.apache.org/licenses/LICENSE-2.0
67 ) -> None:
69 Runs the google-java-format jar against all .java files found within the
72 jar_name = f"google-java-format-{version}.jar"
[all …]
/external/sdk-platform-java/rules_java_gapic/
Djava_gapic.bzl1 # Copyright 2020 Google LLC
7 # https://www.apache.org/licenses/LICENSE-2.0
32 unzip -q {gapic_srcjar}
33 # Sync'd to the output file name in Writer.java.
34 unzip -q temp-codegen.srcjar -d {output_dir_path}
36 {formatter} --replace $(find {output_dir_path} -type f -printf "%p ")
40 cd {output_dir_path}/src/main/java
41 zip -r $WORKING_DIR/{output_srcjar_name}.srcjar ./
44 PROTO_DIR=$WORKING_DIR/{output_dir_path}/proto/src/main/java
45 PROTO_SRCJAR=$WORKING_DIR/{output_srcjar_name}-resource-name.srcjar
[all …]
/external/google-java-format/.github/workflows/
Drelease.yml1 name: Release google-java-format
11 build-maven-jars:
12 runs-on: ubuntu-latest
16 - name: Checkout
19 - name: Set up JDK
20 uses: actions/setup-java@v2.5.0
22 java-version: 17
25 server-id: sonatype-nexus-staging
26 server-username: CI_DEPLOY_USERNAME
27 server-password: CI_DEPLOY_PASSWORD
[all …]
/external/rust/beto-rust/
DDockerfile1 # Copyright 2022 Google LLC
7 # http://www.apache.org/licenses/LICENSE-2.0
18 RUN apt-get update && apt-get install -y build-essential wget vim libstdc++-10-dev \
19 clang git checkinstall zlib1g-dev curl protobuf-compiler cmake \
20 pkg-config libdbus-1-dev ninja-build libssl-dev default-jre
21 RUN apt upgrade -y
23 RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
24 RUN apt-get -y install ./google-chrome-stable_current_amd64.deb
25 RUN export CHROME_BIN="/usr/bin/google-chrome-stable"
31 RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.77.1
[all …]
/external/nullaway/
Dbuild.gradle8 * http://www.apache.org/licenses/LICENSE-2.0
21 google() // For Gradle 4.0+
26 classpath 'com.vanniktech:gradle-maven-publish-plugin:0.25.3'
34 id "com.github.ben-manes.versions" version "0.50.0"
39 // to get the google-java-format jar and dependencies
45 subprojects { project ->
53 "-Xlint:deprecation",
54 "-Xlint:rawtypes",
55 "-Xlint:unchecked",
56 "-Werror"
[all …]
/external/sdk-platform-java/showcase/gapic-showcase/
Dpom.xml1 <?xml version='1.0' encoding='UTF-8'?>
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 …xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
6 <groupId>com.google.cloud</groupId>
7 <artifactId>gapic-showcase</artifactId>
8 <version>0.0.1-SNAPSHOT</version>
9 <packaging>jar</packaging>
13 patterns used by Google.
16 <groupId>com.google.cloud</groupId>
17 <artifactId>gapic-showcase-parent</artifactId>
[all …]
/external/dagger2/tools/
Dbazel_compat.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
36 # java-only projects may be missing a required runtime dependency on it.
38 # Add the kotlin_stdlib, otherwise it will be missing from java-only projects.
40 # See https://github.com/google/dagger/issues/3119
48 name = "{}_internal".format(name),
54 actual = ":{}_internal_kt".format(name),
58 name = "lib{}.jar".format(name),
59 actual = ":{}_internal_kt.jar".format(name),
63 name = "lib{}-src.jar".format(name),
64 actual = ":{}_internal_kt-sources.jar".format(name),
/external/cronet/build/android/
Dgenerate_jacoco_report.py4 # Use of this source code is governed by a BSD-style license that can be
22 _PARTIAL_PACKAGE_NAMES = ['com/google', 'org/chromium']
25 # and input path to non-instrumented jars.
28 # "chrome/android/java/src/org/chromium/chrome/browser/toolbar/bottom",
29 # "chrome/android/java/src/org/chromium/chrome/browser/ui/system",
33 # obj/chrome/android/features/tab_ui/java__process_prebuilt-filtered.jar'
49 # These should match the jar class files generated in internal_rules.gni
50 search_jar_suffix = '%s.filter.jar' % report_type
62 result_class_files += ['--classfiles', f]
70 if args.format == 'html':
[all …]
/external/angle/build/android/
Dgenerate_jacoco_report.py4 # Use of this source code is governed by a BSD-style license that can be
22 _PARTIAL_PACKAGE_NAMES = ['com/google', 'org/chromium']
25 # and input path to non-instrumented jars.
28 # "chrome/android/java/src/org/chromium/chrome/browser/toolbar/bottom",
29 # "chrome/android/java/src/org/chromium/chrome/browser/ui/system",
33 # obj/chrome/android/features/tab_ui/java__process_prebuilt-filtered.jar'
49 # These should match the jar class files generated in internal_rules.gni
50 search_jar_suffix = '%s.filter.jar' % report_type
62 result_class_files += ['--classfiles', f]
70 if args.format == 'html':
[all …]
/external/rust/beto-rust/nearby/src/
Dmain.rs1 // Copyright 2023 Google LLC
7 // http://www.apache.org/licenses/LICENSE-2.0
30 fn main() -> anyhow::Result<()> { in main()
44 " cargo run -- run-rust-fuzzers\n", in main()
45 " cargo run -- check-stack-usage\n", in main()
75 fn check_format(root: &path::Path, options: &FormatterOptions) -> anyhow::Result<()> { in check_format()
76 // Rust format in check_format()
78 let fmt_command = if options.reformat { "cargo fmt" } else { "cargo fmt --check" }; in check_format()
82 // Java format. This uses the jar downloaded as part of the CI script or the local in check_format()
83 // `google-java-format` executable. The jar file path can be overridden with the in check_format()
[all …]
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/analysis/
DClassPathResolver.java2 * Copyright 2016, Google LLC
14 * Neither the name of Google LLC nor the names of its
43 import java.io.File;
44 import java.io.IOException;
45 import java.util.Arrays;
46 import java.util.List;
59 …* device paths (e.g. "/system/framework/framework.jar"). The entry wil…
90 if (entry.endsWith(".jar")) { in ClassPathResolver()
91 String odexEntry = entry.substring(0, entry.length() - 4) + ".odex"; in ClassPathResolver()
104 String jarEntry = entry.substring(0, entry.length() - 5) + ".jar"; in ClassPathResolver()
[all …]

12345678