/external/curl/ |
androidconfigure | 96 patch -p1 --no-backup-if-mismatch < local-configure.patch
|
/external/grpc-grpc/tools/buildgen/plugins/ |
expand_version.py | 41 self.major, self.minor, self.patch = [int(x) for x in s.split('.')] 45 s = '%d.%d.%d' % (self.major, self.minor, self.patch) 52 s = '%d.%d.%d' % (self.major, self.minor, self.patch) 69 return '%d.%d.%d.%s' % (self.major, self.minor, self.patch, 72 return '%d.%d.%d' % (self.major, self.minor, self.patch) 76 s = '%d.%d.%d' % (self.major, self.minor, self.patch) 97 return '%d.%d.%d' % (self.major, self.minor, self.patch) 104 - expand version strings to major, minor, patch, and tag
|
/external/chromium-trace/catapult/devil/devil/android/ |
md5sum_test.py | 29 mock.patch('devil.devil_env._Environment.FetchPath', 31 mock.patch('os.path.exists', 45 with mock.patch('devil.utils.cmd_helper.GetCmdOutput', 60 with mock.patch('devil.utils.cmd_helper.GetCmdOutput', 79 with mock.patch('devil.utils.cmd_helper.GetCmdOutput', 109 with mock.patch('os.path.getsize', return_value=1337): 129 with mock.patch('os.path.getsize', return_value=1337): 153 with mock.patch('os.path.getsize', return_value=1337): 178 with mock.patch('os.path.getsize', return_value=1337): 198 with mock.patch('os.path.getsize', return_value=1337) [all...] |
/external/chromium-trace/catapult/devil/devil/android/tools/ |
device_monitor_test.py | 86 @mock.patch('devil.android.battery_utils.BatteryUtils') 87 @mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices') 95 @mock.patch('devil.android.battery_utils.BatteryUtils') 96 @mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices') 112 @mock.patch('devil.android.battery_utils.BatteryUtils') 113 @mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices') 128 @mock.patch('devil.android.battery_utils.BatteryUtils') 129 @mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices') 142 @mock.patch('devil.android.battery_utils.BatteryUtils') 143 @mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices' [all...] |
script_common_test.py | 32 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices', 43 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices', 50 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices', 56 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices',
|
/external/chromium-trace/catapult/devil/devil/ |
devil_env_test.py | 30 with mock.patch('os.environ.get', 36 with mock.patch('os.environ.get', 45 with mock.patch('os.environ.get',
|
/external/drm_hwcomposer/ |
.gitlab-ci-checkcommit.sh | 53 git show "$h" -- | clang-format-diff-5.0 -p 1 -style=file > format-fixup.patch 54 if [ -s format-fixup.patch ]; then 55 cat format-fixup.patch >&2
|
/external/tensorflow/tensorflow/tools/ci_build/ |
update_version.py | 77 def __init__(self, major, minor, patch, identifier_string, version_type): 83 patch: patch string eg. (1) 89 self.patch = patch 97 self.patch, 112 self.patch, 138 # Isolate patch and identifier string if identifier string exists. 140 patch = extension_split[0] 148 patch, [all...] |
/external/fsverity-utils/ |
elide_patch.c | 3 * Elide and patch handling for 'fsverity setup' 19 /* An elision or a patch */ 23 bool patch; /* false if elision, true if patch */ member in struct:fsverity_elide_patch 24 u8 data[]; /* replacement data (if patch=true) */ 27 /* Maximum supported patch size, in bytes */ 57 ext->patch = false; 66 /* Parse a --patch=OFFSET,PATCHFILE option */ 89 error_msg("patch file '%s' is empty", patchfile.name); 93 error_msg("Patch file '%s' is too long. Max patch size is %d bytes." 281 } patch; member in union:__anon22499 [all...] |
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
cloud_storage_unittest.py | 61 with mock.patch('py_utils.cloud_storage.subprocess.Popen') as popen: 105 @mock.patch('py_utils.cloud_storage.subprocess') 157 @mock.patch('py_utils.cloud_storage.subprocess.Popen') 170 @mock.patch('py_utils.cloud_storage._FileLock') 212 @mock.patch('py_utils.cloud_storage._FileLock') 213 @mock.patch('py_utils.cloud_storage._GetLocked') 224 @mock.patch('py_utils.cloud_storage._FileLock') 225 @mock.patch('py_utils.cloud_storage._GetLocked') 238 @mock.patch('py_utils.cloud_storage._FileLock') 239 @mock.patch('py_utils.cloud_storage._GetLocked' [all...] |
/external/autotest/site_utils/ |
deploy_server_local_unittest.py | 89 @mock.patch('subprocess.check_output', autospec=True) 109 @mock.patch('subprocess.check_output', autospec=True) 132 @mock.patch('subprocess.check_output', autospec=True) 142 @mock.patch('subprocess.check_output', autospec=True) 160 @mock.patch('subprocess.check_output', autospec=True) 190 @mock.patch('subprocess.check_call', autospec=True) 201 @mock.patch('subprocess.check_output', autospec=True) 211 @mock.patch.object(dsl, 'restart_service', autospec=True) 219 with mock.patch.object(dsl, 'service_status', autospec=True, 250 @mock.patch('subprocess.check_output', autospec=True [all...] |
/external/skia/infra/bots/android_compile/ |
trigger_wait_ac_task.py | 163 print 'With patch logs are here: %s' % ret['withpatch_log'] 166 raise AndroidCompileException('The build with the patch failed and the ' 167 'build without the patch succeeded. This means that the patch ' 169 'With patch logs are here: %s\n\n' 170 'No patch logs are here: %s\n\n' % ( 173 print ('Both with patch and no patch builds failed. This means that the' 176 print 'With patch logs are here: %s' % ret['withpatch_log'] 177 print 'No patch logs are here: %s' % ret['nopatch_log' [all...] |
/external/skqp/infra/bots/android_compile/ |
trigger_wait_ac_task.py | 163 print 'With patch logs are here: %s' % ret['withpatch_log'] 166 raise AndroidCompileException('The build with the patch failed and the ' 167 'build without the patch succeeded. This means that the patch ' 169 'With patch logs are here: %s\n\n' 170 'No patch logs are here: %s\n\n' % ( 173 print ('Both with patch and no patch builds failed. This means that the' 176 print 'With patch logs are here: %s' % ret['withpatch_log'] 177 print 'No patch logs are here: %s' % ret['nopatch_log' [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
mock_calls.py | 56 for patch in self._patched: 57 patch.__enter__() 61 for patch in self._patched: 62 patch.__exit__(exc_type, exc_val, exc_tb) 99 """Patch the target of a mock.call instance. 102 call: a mock.call instance identifying a target to patch 103 Extra keyword arguments are processed by mock.patch 113 return mock.patch.object( 116 return mock.patch.object(target, attribute, **kwargs) 118 return mock.patch(call.name, **kwargs [all...] |
/external/puffin/src/ |
puffpatch.cc | 97 bool DecodePatch(const uint8_t* patch, 111 string patch_magic(reinterpret_cast<const char*>(patch), kMagicLength); 113 LOG(ERROR) << "Magic number for Puffin patch is incorrect: " << patch_magic; 119 memcpy(&header_size, patch + offset, sizeof(header_size)); 125 TEST_AND_RETURN_FALSE(header.ParseFromArray(patch + offset, header_size)); 143 const uint8_t* patch, 146 size_t bsdiff_patch_offset; // bsdiff offset in |patch|. 152 // Decode the patch and get the bsdiff_patch. 153 TEST_AND_RETURN_FALSE(DecodePatch(patch, patch_length, &bsdiff_patch_offset, 173 &patch[bsdiff_patch_offset] [all...] |
/external/python/cpython3/Lib/test/test_email/ |
test_utils.py | 55 test.support.patch(self, time, 'daylight', True) 60 test.support.patch(self, time, 'daylight', False) 65 test.support.patch(self, time, 'daylight', True) 72 test.support.patch(self, time, 'daylight', False) 80 test.support.patch(self, time, 'daylight', True) 88 test.support.patch(self, time, 'daylight', False) 96 test.support.patch(self, time, 'daylight', True) 105 test.support.patch(self, time, 'daylight', False) 113 test.support.patch(self, time, 'daylight', True) 120 test.support.patch(self, time, 'daylight', False [all...] |
/external/apache-commons-bcel/src/examples/ |
helloify.java | 38 * Read class file(s) and patch all of its methods, so that they print 62 // Patch all methods. 88 * Patch a method. 104 InstructionList patch = new InstructionList(); local 105 patch.append(new GETSTATIC(out)); 106 patch.append(new PUSH(cp, mesg)); 107 patch.append(new INVOKEVIRTUAL(println)); 116 il.append(ihs[j], patch); // Should check: method name == "<init>" 121 il.insert(ihs[0], patch);
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
testcallable.py | 10 NonCallableMock, patch, create_autospec, 58 patcher = patch('%s.X' % __name__, spec=True) 70 patcher = patch('%s.X' % __name__, spec_set=True) 82 patcher = patch('%s.X' % __name__, spec=X()) 91 patcher = patch('%s.X' % __name__, spec_set=X()) 112 with patch('%s.X' % __name__, **{arg: Klass}) as mock:
|
/external/toolchain-utils/crosperf/ |
generate_report_unittest.py | 117 with mock.patch('generate_report.PickInputFile', return_value=input_buf) \ 123 @mock.patch('generate_report.RunActions') 138 @mock.patch('generate_report.RunActions') 148 @mock.patch('generate_report.WriteFile', side_effect=ValueError('Oh noo')) 149 @mock.patch('traceback.print_exc') 160 @mock.patch('generate_report.WriteFile')
|
/art/dex2oat/linker/ |
relative_patcher.h | 48 * Get the code and debug name of a thunk needed by the given linker patch. 50 * @param patch The patch for which we need to retrieve the thunk code. 54 virtual void GetThunkCode(const LinkerPatch& patch, 127 // Patch method code. The input displacement is relative to the patched location, 134 // Patch a reference to a dex cache location. 136 const LinkerPatch& patch, 140 // Patch a branch to a Baker read barrier thunk. 142 const LinkerPatch& patch,
|
/bootable/recovery/applypatch/include/applypatch/ |
applypatch.h | 72 // Applies the given 'patch' to the 'source' Partition, verifies then writes the patching result to 76 // An optional arg 'bonus' can be provided, if the patch was generated with a bonus output. 78 bool PatchPartition(const Partition& target, const Partition& source, const Value& patch, 105 // Applies the bsdiff-patch given in 'patch' (from offset 'patch_offset' to the end) to the source 108 int ApplyBSDiffPatch(const unsigned char* old_data, size_t old_size, const Value& patch, 113 // Applies the imgdiff-patch given in 'patch' to the source data given by (old_data, old_size), with 116 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const Value& patch, SinkFn sink,
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
adb_wrapper_test.py | 26 return mock.patch.object( 61 @mock.patch('devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout') 68 @mock.patch('devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout')
|
/art/test/909-attach-agent/ |
run | 28 patch -s expected.txt <interpreter-expected.patch
|
/external/autotest/server/cros/network/ |
rf_switch_utils_test.py | 17 self.patcher1 = mock.patch('autotest_lib.server.frontend.AFE') 18 self.patcher2 = mock.patch('autotest_lib.server.frontend.Host') 50 with mock.patch('logging.Logger.error') as mock_logger: 60 with mock.patch('logging.Logger.debug') as mock_logger:
|
/external/freetype/builds/cmake/ |
testbuild.sh | 108 FT_Int patch = 0; 114 FT_Library_Version(library, &major, &minor, &patch); 117 || patch != FREETYPE_PATCH) 120 printf("FT_Library_Version: %d.%d.%d\n", major, minor, patch);
|