Searched refs:patch (Results 1 - 25 of 252) sorted by relevance

1234567891011

/external/clang/
H A Dversion.py3 patch = '256229' variable
/external/bsdiff/
H A Dbsdiff_unittest.cc33 // Check that a file with no changes has a very small patch (no extra data).
39 BsdiffPatchFile patch; local
40 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename()));
41 EXPECT_TRUE(patch.IsValid());
44 EXPECT_EQ(14, patch.diff_len);
45 EXPECT_EQ(14U, patch.extra_len);
55 BsdiffPatchFile patch; local
56 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename()));
57 EXPECT_TRUE(patch.IsValid());
60 EXPECT_EQ(14, patch
[all...]
/external/opencv3/modules/cudaimgproc/src/cuda/
H A Ddebayer.cu65 uchar4 patch[3][3];
66 patch[0][1] = ((const uchar4*) src.ptr(s_y - 1))[s_x];
67 patch[0][0] = ((const uchar4*) src.ptr(s_y - 1))[::max(s_x - 1, 0)];
68 patch[0][2] = ((const uchar4*) src.ptr(s_y - 1))[::min(s_x + 1, ((src.cols + 3) >> 2) - 1)];
70 patch[1][1] = ((const uchar4*) src.ptr(s_y))[s_x];
71 patch[1][0] = ((const uchar4*) src.ptr(s_y))[::max(s_x - 1, 0)];
72 patch[1][2] = ((const uchar4*) src.ptr(s_y))[::min(s_x + 1, ((src.cols + 3) >> 2) - 1)];
74 patch[2][1] = ((const uchar4*) src.ptr(s_y + 1))[s_x];
75 patch[2][0] = ((const uchar4*) src.ptr(s_y + 1))[::max(s_x - 1, 0)];
76 patch[
[all...]
/external/v8/tools/testrunner/objects/
H A Dworkpacket.py34 base_revision=None, patch=None, pubkey=None):
40 self.patch = patch
72 "patch": self.patch,
86 patch = packed["patch"]
89 base_revision=base_revision, patch=patch,
/external/libweave/src/commands/
H A Dcloud_command_proxy.cc35 std::unique_ptr<base::DictionaryValue> patch{new base::DictionaryValue};
36 patch->Set(commands::attributes::kCommand_Error,
40 QueueCommandUpdate(std::move(patch));
44 std::unique_ptr<base::DictionaryValue> patch{new base::DictionaryValue};
45 patch->Set(commands::attributes::kCommand_Results,
47 QueueCommandUpdate(std::move(patch));
51 std::unique_ptr<base::DictionaryValue> patch{new base::DictionaryValue};
52 patch->SetString(commands::attributes::kCommand_State,
54 QueueCommandUpdate(std::move(patch));
58 std::unique_ptr<base::DictionaryValue> patch{ne
68 QueueCommandUpdate( std::unique_ptr<base::DictionaryValue> patch) argument
[all...]
/external/bouncycastle/
H A Dimport_bouncycastle.sh48 echo " ./import_bouncycastle.sh regenerate <patch/*.patch>"
49 echo " ./import_bouncycastle.sh generate <patch/*.patch> </path/to/bcprov-jdk*-*.tar.gz>"
55 die "Bouncy Castle patch directory patches/ not found"
92 declare -r patch=$1
93 shift || usage "No patch file specified."
94 if [[ $BOUNCYCASTLE_BCPROV_PATCHES == *$patch* ]]; then
97 regenerate $patch $BOUNCYCASTLE_BCPROV_DIR $BOUNCYCASTLE_BCPROV_DIR_ORIG
98 elif [[ $BOUNCYCASTLE_BCPKIX_PATCHES == *$patch* ]]; the
[all...]
/external/v8/test/cctest/
H A Dtest-version.cc39 void SetVersion(int major, int minor, int build, int patch, argument
44 Version::patch_ = patch;
54 int patch, bool candidate,
61 SetVersion(major, minor, build, patch, candidate, "");
69 SetVersion(major, minor, build, patch, candidate, soname);
53 CheckVersion(int major, int minor, int build, int patch, bool candidate, const char* expected_version_string, const char* expected_generic_soname) argument
/external/chromium-trace/catapult/dashboard/dashboard/
H A Dupdate_bug_with_results_test.py146 # In this class, we patch apiclient.discovery.build so as to not make network
148 @mock.patch('apiclient.discovery.build', mock.MagicMock())
149 @mock.patch.object(utils, 'TickMonitoringCustomMetric', mock.MagicMock())
180 @mock.patch(
183 @mock.patch.object(
211 @mock.patch(
214 @mock.patch.object(
231 @mock.patch.object(utils, 'ServiceAccountCredentials', mock.MagicMock())
232 @mock.patch(
235 @mock.patch
[all...]
H A Dbuildbucket_service_test.py61 @mock.patch('oauth2client.client.SignedJwtAssertionCredentials',
63 @mock.patch('httplib2.Http', mock.MagicMock())
67 with mock.patch('apiclient.discovery.build', mock.MagicMock(
82 @mock.patch('oauth2client.client.SignedJwtAssertionCredentials',
84 @mock.patch('httplib2.Http', mock.MagicMock())
88 with mock.patch('apiclient.discovery.build', mock.MagicMock(
/external/v8/test/mjsunit/es6/
H A Dgenerators-debug-liveedit.js45 function patch(fun, from, to) { function
69 assertThrows(function() { patch(generator, "'Cat'", "'Capybara'") },
79 // At this point one iterator is live, but closed, so the patch will succeed.
80 patch(generator, "'Cat'", "'Capybara'");
89 assertThrows(function() { patch(generator, "'Capybara'", "'Tapir'") },
93 // Try to patch functions with activations inside and outside generator
108 assertThrows(function() { patch(fun_outside, "'Cat'", "'Cobra'") },
111 patch(fun_inside, "'Cat'", "'Koala'");
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/
H A Dbinary_manager_unittest.py22 @mock.patch(
24 @mock.patch(
41 @mock.patch(
43 @mock.patch(
65 @mock.patch(
67 @mock.patch(
89 @mock.patch(
91 @mock.patch(
/external/libnfc-nxp/src/
H A DphLibNfcStatus.h47 #define LIB_NFC_VERSION_SET(v,major,minor,patch,build) ((v) = \
50 ( ((patch) << 8) & 0x0000FF00 ) | \
/external/scrypt/
H A Dimport_scrypt.sh52 echo " ./import_scrypt.sh regenerate <patch/*.patch>"
53 echo " ./import_scrypt.sh generate <patch/*.patch> </path/to/scrypt-*.tar.gz>"
59 die "scrypt patch directory patches/ not found"
90 declare -r patch=$1
91 shift || usage "No patch file specified."
94 regenerate $patch
96 declare -r patch=$1
97 shift || usage "No patch fil
[all...]
/external/autotest/client/tests/kernelbuild/
H A Dkernelbuild.py10 kernel.patch(*patches)
/external/chromium-trace/catapult/devil/devil/android/tools/
H A Dscript_common_test.py26 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices',
37 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices',
44 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices',
50 with mock.patch('devil.android.device_utils.DeviceUtils.HealthyDevices',
/external/mesa3d/src/mapi/mapi/
H A Dentry_x86_tls.h96 char patch[8] = { local
102 *((unsigned long *) (patch + 2)) = x86_current_tls();
105 memcpy(entry, patch, sizeof(patch));
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
H A Dtest_vault.py35 self.size_patch = mock.patch('os.path.getsize')
47 @mock.patch('boto.glacier.vault.compute_hashes_from_fileobj',
53 with mock.patch('boto.glacier.vault.open', self.mock_open,
68 with mock.patch('boto.glacier.vault.open', self.mock_open,
80 with mock.patch('boto.glacier.vault.open', self.mock_open,
93 with mock.patch('boto.glacier.vault.open', self.mock_open,
139 with mock.patch.object(self.vault.layer1, 'initiate_job',
141 with mock.patch.object(self.vault.layer1, 'describe_job',
156 with mock.patch('boto.glacier.vault.ConcurrentUploader') as c:
166 with mock.patch('bot
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
H A Dtest_keyring.py37 with mock.patch.object(keyring, 'get_password',
46 with mock.patch.object(keyring, 'get_password',
69 # we patch twice.
70 with mock.patch.object(keyring, 'get_password',
73 with mock.patch.object(keyring, 'set_password',
85 with mock.patch.object(keyring, 'get_password',
/external/chromium-trace/catapult/devil/devil/android/
H A Dfastboot_utils_test.py99 @mock.patch('time.sleep', mock.Mock())
192 with mock.patch('__builtin__.open', return_value=mock_file, create=True):
193 with mock.patch('os.listdir', return_value=_VALID_FILES):
198 with mock.patch('__builtin__.open', return_value=mock_file, create=True):
199 with mock.patch('os.listdir', return_value=_INVALID_FILES):
203 with mock.patch('os.listdir', return_value=[_BOARD + '.zip']):
208 with mock.patch('__builtin__.open', return_value=mock_file, create=True):
209 with mock.patch('os.listdir', return_value=['android-info.txt']):
214 with mock.patch('__builtin__.open', return_value=mock_file, create=True):
215 with mock.patch('o
[all...]
/external/curl/packages/vms/
H A Dmake_pcsi_curl_kit_name.com147 $ patch = ""
153 $ patch = vtype + daily_tag
157 $ if eco_level .nes. "" then patch = eco_level
164 $ if update .nes. "" .or. patch .nes. ""
166 $! The presence of a patch implies an update
167 $ if update .eqs. "" .and. patch .nes. "" then update = "0"
168 $ version = version + "-" + update + patch
/external/autotest/utils/
H A Dcheck_patch.py16 Usage: check_patch.py -p [/path/to/patch]
86 def apply_patch(self, patch):
88 Applies a patch using the most appropriate method to the particular VCS.
90 return self.backend.apply_patch(patch)
158 def apply_patch(self, patch):
160 Apply a patch to the code base. Patches are expected to be made using
163 @param patch: Path to the patch file.
166 utils.system_output("patch -p1 < %s" % patch)
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/scripts/
H A Doauth2l_test.py78 with mock.patch.object(oauth2l, 'FetchCredentials',
86 with mock.patch.object(oauth2l, 'FetchCredentials',
95 with mock.patch.object(oauth2l, 'FetchCredentials',
104 with mock.patch.object(oauth2l, 'FetchCredentials',
118 with mock.patch.object(oauth2l, 'FetchCredentials',
133 with mock.patch.object(oauth2l, 'FetchCredentials',
169 with mock.patch.object(apitools_base, 'GetCredentials',
172 with mock.patch.object(oauth2l, '_GetTokenScopes',
186 with mock.patch.object(apitools_base, 'GetCredentials',
189 with mock.patch
[all...]
/external/autotest/client/bin/
H A Dkernelexpand.py26 kernel + 'v%(major)s/snapshots/old/patch-%(full)s.bz2',
27 kernel + 'v%(major)s/snapshots/patch-%(full)s.bz2',
34 kernel + 'people/mbligh/%(base)s/patch-%(full)s.bz2'
65 # Build the new kernel and patch list.
97 for patch in component:
98 if patch.startswith(prefix):
99 new_patch = local + patch[len(prefix):]
101 for patch in component:
102 new_patches.append(patch)
119 for patch i
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
H A Dlinux_platform_backend_unittest.py21 with mock.patch.object(
34 with mock.patch.object(
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/ipaddr/
H A Dtest-2to3.sh22 ( cd 2to3output && 2to3 . | patch -p0 ) && \

Completed in 753 milliseconds

1234567891011