/aosp_15_r20/libcore/ojluni/src/main/native/ |
H A D | UNIXProcess_md.c | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 40 * Platform-specific support for java.lang.Process 47 // Android-changed: Fuchsia: Point to correct location of header. http://b/119426171 61 // Android-added: Use raw syscalls instead of libc functions in the child. 74 * - fork(2). Very portable and reliable but subject to 80 * - vfork(). Using this is scary because all relevant man pages 93 * - clone() with flags CLONE_VM but not CLONE_THREAD. clone() is 94 * Linux-specific, but this ought to work - at least the glibc 97 * appeared to fail on 32-bit i386 (but not 64-bit x86_64) Linux with 124 // Android-changed: disable vfork under AddressSanitizer. [all …]
|
H A D | Net.c | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26 // Android-changed: Point to correct location of header. http://b/119426171 73 #define IP_ADD_SOURCE_MEMBERSHIP 60 /* Join a source-specific group */ 74 #define IP_DROP_SOURCE_MEMBERSHIP 61 /* Leave a source-specific group */ 78 #define IP_ADD_SOURCE_MEMBERSHIP 70 /* join a source-specific group */ 98 #define MCAST_JOIN_SOURCE_GROUP 82 /* join a source-specific group */ 146 #define COPY_INET6_ADDRESS(env, source, target) \ argument 147 (*(env))->GetByteArrayRegion(env, source, 0, 16, target) 154 static void initGroupSourceReq(JNIEnv* env, jbyteArray group, jint index, in initGroupSourceReq() argument 159 req->gsr_interface = (uint32_t)index; in initGroupSourceReq() [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_regrtest.py | 31 LOG_PREFIX = r'[0-9]+:[0-9]+:[0-9]+ (?:load avg: [0-9]+\.[0-9]{2} )?' 59 for opt in '-h', '--help': 67 ns = libregrtest._parse_args(['--timeout', '4.2']) 69 self.checkError(['--timeout'], 'expected one argument') 70 self.checkError(['--timeout', 'foo'], 'invalid float value') 73 ns = libregrtest._parse_args(['--wait']) 77 ns = libregrtest._parse_args(['--worker-args', '[[], {}]']) 79 self.checkError(['--worker-args'], 'expected one argument') 82 for opt in '-S', '--start': 89 ns = libregrtest._parse_args(['-v']) [all …]
|
/aosp_15_r20/external/oj-libjdwp/src/share/back/ |
H A D | commonRef.c | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 34 * ANDROID-CHANGED: This was modified for android to avoid any use of weak 48 * the presence of a debugger-tracked object will not prevent 53 * This tag also provides the weak-reference behavior. 55 * The ref member is changed from weak to strong when gc of the object is 66 * with one hash table that will re-size itself as the number of RefNode's 72 /* If element count exceeds HASH_EXPAND_SCALE*hash_size we expand & re-hash */ 83 return ((jint)key) & (gdata->objectsByIDsize-1); in hashBucket() 90 return gdata->nextSeqNum++; in newSeqNum() 93 /* ANDROID-CHANGED: This helper function is unique to android. [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | cmd_helper.py | 2 # Use of this source code is governed by a BSD-style license that can be 30 _SafeShellChars = frozenset(string.ascii_letters + string.digits + '@%_-+=:,./') 32 # Cache the string-escape codec to ensure subprocess can find it 35 codecs.lookup('string-escape') 39 """Return an shell-escaped version of the string using single quotes. 57 """Return an shell-escaped version of the string using double quotes. 112 env=None): argument 114 # pylint: disable=unexpected-keyword-arg 131 env=env, 149 env=env, [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/cgo/internal/testerrors/ |
D | ptr_test.go | 2 // Use of this source code is governed by a BSD-style 29 c1 string // cgo comment forced into non-export cgo file 34 fail bool // whether the test should fail member 49 fail: true, 56 fail: true, 64 fail: false, 71 fail: true, 80 fail: false, 88 fail: false, 96 fail: true, [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | regrtest.py | 1 #! /usr/bin/env python 6 python -m test.regrtest [options] [test_name1 [test_name2 ...]] 12 them in alphabetical order (but see -M and -u, below, for exceptions). 17 python -E -tt -Wd -3 -m test.regrtest [options] [test_name1 ...] 22 -h/--help -- print this text and exit 26 -v/--verbose -- run tests in verbose mode with output to stdout 27 -w/--verbose2 -- re-run failed tests in verbose mode 28 -W/--verbose3 -- re-run failed tests in verbose mode immediately 29 -q/--quiet -- no output unless one or more tests fail 30 -S/--slowest -- print the slowest 10 tests [all …]
|
D | test_regrtest.py | 46 TESTNAME_REGEX = r'test_[a-zA-Z0-9_]+' 82 self.fail("%r not found in %r" % (regex, output)) 90 … regex = (r'^[0-9]+:[0-9]+:[0-9]+ (?:load avg: [0-9]+\.[0-9]{2} )?\[ *[0-9]+(?:/ *[0-9]+)*\] (%s)' 147 regex = list_regex('%s re-run test%s', rerun) 149 self.check_line(output, "Re-running failed tests in verbose mode") 151 regex = "Re-running test %r in verbose mode" % name 154 good = (len(tests) - len(skipped) - len(failed) 155 - len(omitted) - len(env_changed)) 169 result.append('ENV CHANGED') 181 match = self.regex_search(r'Using random seed ([0-9]+)', output) [all …]
|
/aosp_15_r20/tools/acloud/setup/ |
H A D | gcp_setup_runner.py | 1 #!/usr/bin/env python 3 # Copyright 2018 - The Android Open Source Project 9 # http://www.apache.org/licenses/LICENSE-2.0 50 _BUILD_SERVICE_ACCOUNT = "android-build-[email protected]" 138 print("Please enter a non-empty value.") 169 env=self._env, **kwargs) 183 env=self._env, **kwargs) 214 """Show fail messages. 216 Show the fail messages to hint users the impact if the api service 222 msg_color = (utils.TextColors.FAIL if self._required else [all …]
|
/aosp_15_r20/external/icu/icu4c/source/data/ |
H A D | build.xml | 2 <!ENTITY icu-config SYSTEM "./icu-config.xml"> 3 <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml"> 4 <!ENTITY icu-coll-deprecates SYSTEM "./icu-coll-deprecates.xml"> 5 <!ENTITY icu-rbnf-deprecates SYSTEM "./icu-rbnf-deprecates.xml"> 7 <!-- 12 * Copyright (C) 2005-2015, International Business Machines Corporation and * 16 --> 17 <project name="icu-build" default="all" basedir="."> 21 <!-- Load environment variables --> 22 <property environment="env"/> [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/envcmd/ |
D | env.go | 2 // Use of this source code is governed by a BSD-style 5 // Package envcmd implements the “go env” command. 36 UsageLine: "go env [-json] [-changed] [-u] [-w] [var ...]", 39 Env prints Go environment information. 41 By default env prints information as a shell script 43 names is given as arguments, env prints the value of 46 The -json flag prints the environment in JSON format 49 The -u flag requires one or more arguments and unsets 51 if one has been set with 'go env -w'. 53 The -w flag requires one or more arguments of the [all …]
|
/aosp_15_r20/external/openscreen/tools/ |
H A D | licenses.py | 1 #!/usr/bin/env python3 3 # Use of this source code is governed by a BSD-style license that can be 39 os.path.join('third_party', 'llvm-build'), 92 # Absolute-looking paths are relative to the source root 142 # Special-case modules that aren't in the shipping product, so don't need 239 Note that it always returns the direct sub-directory of third_party 242 third_party/cld_3/src/src/BUILD.gn -> third_party/cld_3 258 third_party_deps.add(third_party_path[:-1]) 264 raise RuntimeError("--gn-out-dir is required if --gn-target is used.") 276 _GnBinary(), "desc", tmp_dir, gn_target, "deps", "--as=buildfile", [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/jni/docs/ |
D | 0.21-MIGRATION.md | 3 …n order to improve safety. Most projects that use this library will need to be changed accordingly. 7 … would cause undefined behavior. See [issue #392](https://github.com/jni-rs/jni-rs/issues/392) for… 16 pub extern "system" fn Java_HelloWorld_hello<'local>(mut env: JNIEnv<'local>, 19 -> jstring { 32 pub fn print_string(env: &mut JNIEnv, 34 -> Result<()> { 35 println!("{}", env.get_string(string)?.to_string_lossy()); 48 env.with_local_frame(16, |env| { 72 let result: MyResult<()> = env.with_local_frame(10, |env| { Ok(()) }); 77 env.with_local_frame::<_, _, MyError>(10, |env| { Ok(()) })?; [all …]
|
/aosp_15_r20/external/python/cpython3/Tools/buildbot/ |
D | test.bat | 7 set rt_opts=-q -d 8 set regrtest_args=-j1 12 if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 13 if "%1"=="-arm64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 14 if "%1"=="-arm32" (set rt_opts=%rt_opts% %1) & (set arm32_ssh=true) & shift & goto CheckOpts 15 if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 16 if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 17 if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 18 if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts 19 if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/backtrace/.github/workflows/ |
H A D | check-binary-size.yml | 1 # This workflow checks if a PR commit has changed the size of a hello world Rust program. 2 # It downloads Rustc and compiles two versions of a stage0 compiler - one using the base commit 4 # If the size of the hello world program has changed, it posts a comment to the PR. 11 # - master 14 env: 19 # permission, and vice-versa. 25 platform: [ubuntu-latest, windows-latest] 26 runs-on: ${{ matrix.platform }} 29 env: 37 SIZE_DATA_FILE: size-${{ strategy.job-index }}.json [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/backtrace/.github/workflows/ |
H A D | check-binary-size.yml | 1 # This workflow checks if a PR commit has changed the size of a hello world Rust program. 2 # It downloads Rustc and compiles two versions of a stage0 compiler - one using the base commit 4 # If the size of the hello world program has changed, it posts a comment to the PR. 11 # - master 14 env: 19 # permission, and vice-versa. 25 platform: [ubuntu-latest, windows-latest] 26 runs-on: ${{ matrix.platform }} 29 env: 37 SIZE_DATA_FILE: size-${{ strategy.job-index }}.json [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/backtrace/.github/workflows/ |
H A D | check-binary-size.yml | 1 # This workflow checks if a PR commit has changed the size of a hello world Rust program. 2 # It downloads Rustc and compiles two versions of a stage0 compiler - one using the base commit 4 # If the size of the hello world program has changed, it posts a comment to the PR. 11 # - master 14 env: 19 # permission, and vice-versa. 25 platform: [ubuntu-latest, windows-latest] 26 runs-on: ${{ matrix.platform }} 29 env: 37 SIZE_DATA_FILE: size-${{ strategy.job-index }}.json [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/backtrace/.github/workflows/ |
H A D | check-binary-size.yml | 1 # This workflow checks if a PR commit has changed the size of a hello world Rust program. 2 # It downloads Rustc and compiles two versions of a stage0 compiler - one using the base commit 4 # If the size of the hello world program has changed, it posts a comment to the PR. 11 # - master 14 env: 19 # permission, and vice-versa. 25 platform: [ubuntu-latest, windows-latest] 26 runs-on: ${{ matrix.platform }} 29 env: 37 SIZE_DATA_FILE: size-${{ strategy.job-index }}.json [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/backtrace/.github/workflows/ |
H A D | check-binary-size.yml | 1 # This workflow checks if a PR commit has changed the size of a hello world Rust program. 2 # It downloads Rustc and compiles two versions of a stage0 compiler - one using the base commit 4 # If the size of the hello world program has changed, it posts a comment to the PR. 11 # - master 14 env: 19 # permission, and vice-versa. 25 platform: [ubuntu-latest, windows-latest] 26 runs-on: ${{ matrix.platform }} 29 env: 37 SIZE_DATA_FILE: size-${{ strategy.job-index }}.json [all …]
|
/aosp_15_r20/external/grpc-grpc/bazel/ |
H A D | grpc_build_system.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 22 # Each rule listed must be re-written for Google's internal build system, and 181 copts = copts + if_not_windows(["-std=c11"]) 182 linkopts = linkopts + if_not_windows(["-pthread"]) + if_windows(["-defaultlib:ws2_32.lib"]) 211 "src/core/ext/upb-gen", # Once upb code-gen issue is resolved, remove this. 212 "src/core/ext/upbdefs-gen", # Once upb code-gen issue is resolved, remove this. 321 "env": default_env, 339 "env": { 358 "env": default_env, 365 test_args = args + ["--engine=" + engine_name] [all …]
|
/aosp_15_r20/external/python/cpython3/Tools/scripts/ |
D | patchcheck.py | 1 #!/usr/bin/env python3 49 cmd = "git rev-parse --abbrev-ref HEAD".split() 54 encoding='UTF-8') 64 cmd = "git remote get-url upstream".split() 69 encoding='UTF-8') 81 env = os.environ.copy() 82 env['LANG'] = 'C' 87 encoding='UTF-8', 88 env=env) 117 @status("Getting the list of files that have been added/changed", [all …]
|
/aosp_15_r20/build/soong/ui/build/ |
H A D | kati.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 32 const katiCleanspecSuffix = "-cleanspec" 33 const katiPackageSuffix = "-package" 35 // genKatiSuffix creates a filename suffix for kati-generated files so that we 37 // files and env.sh environment variable setup files. 40 // Currently that includes the TARGET_PRODUCT and kati-processed command line 44 katiSuffix := "-" + config.TargetProduct() + config.CoverageSuffix() 48 katiSuffix += "-" + spaceSlashReplacer.Replace(strings.Join(args, "_")) 54 shortSuffix := "-" + fmt.Sprintf("%x", md5.Sum([]byte(katiSuffix))) 91 "--ninja", [all …]
|
/aosp_15_r20/external/cronet/build/android/ |
H A D | fast_local_dev_server.py | 1 #!/usr/bin/env python3 3 # Use of this source code is governed by a BSD-style license that can be 5 """Creates an server to offload non-critical-path GN targets.""" 25 # Shrink the message (leaving a 2-char prefix and use the rest of the room 29 max_msg_width = width - len(prefix) 31 length_to_show = max_msg_width - 5 # Account for ellipsis and header. 32 msg = f'{msg[:2]}...{msg[-length_to_show:]}' 64 cls._num_processes -= 1 160 def start(self, on_complete_callback: Callable[[], None]) -> int: 168 env = os.environ.copy() [all …]
|
/aosp_15_r20/build/make/tools/ |
H A D | compare_builds.py | 1 #!/usr/bin/env -S python3 -u 6 for files that have changed or have been improperly regenerated, updating 12 runs in full mode. To run in incremental mode, pass the --incremental flag. 20 files that are added, removed or changed are printed, sorted by the timestamp 29 that were changed by the second build. In theory, an incremental build with no 30 source files touched should not have any generated targets changed. As in full 44 complete for some reason because of this, you can pass the --no-check-out-dir 50 In full mode, the --detect-embedded-paths flag does the two builds in different 54 The --hide-build-output flag hides the output of successful bulds, to make 55 script output cleaner. The output of builds that fail is still shown. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | platform.py | 1 #!/usr/bin/env python3 3 """ This module tries to retrieve as much platform-identifying data as 11 # This module is maintained by Marc-Andre Lemburg <[email protected]>. 16 # * support for MS-DOS (PythonDX ?) 20 # Many thanks to all those who helped adding platform-specific 35 # 1.0.8 - changed Windows support to read version from kernel32.dll 36 # 1.0.7 - added DEV_NULL 37 # 1.0.6 - added linux_distribution() 38 # 1.0.5 - fixed Java support to allow running the module on Jython 39 # 1.0.4 - added IronPython support [all …]
|