Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/external/opencv3/modules/cudaimgproc/src/cuda/
Ddebayer.cu65 uchar4 patch[3][3]; in apply() local
66 patch[0][1] = ((const uchar4*) src.ptr(s_y - 1))[s_x]; in apply()
67 patch[0][0] = ((const uchar4*) src.ptr(s_y - 1))[::max(s_x - 1, 0)]; in apply()
68patch[0][2] = ((const uchar4*) src.ptr(s_y - 1))[::min(s_x + 1, ((src.cols + 3) >> 2) - 1)]; in apply()
70 patch[1][1] = ((const uchar4*) src.ptr(s_y))[s_x]; in apply()
71 patch[1][0] = ((const uchar4*) src.ptr(s_y))[::max(s_x - 1, 0)]; in apply()
72 patch[1][2] = ((const uchar4*) src.ptr(s_y))[::min(s_x + 1, ((src.cols + 3) >> 2) - 1)]; in apply()
74 patch[2][1] = ((const uchar4*) src.ptr(s_y + 1))[s_x]; in apply()
75 patch[2][0] = ((const uchar4*) src.ptr(s_y + 1))[::max(s_x - 1, 0)]; in apply()
76patch[2][2] = ((const uchar4*) src.ptr(s_y + 1))[::min(s_x + 1, ((src.cols + 3) >> 2) - 1)]; in apply()
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dupdate_bug_with_results_test.py148 @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.object(
238 @mock.patch('logging.error')
[all …]
Dauto_bisect_test.py22 @mock.patch.object(utils, 'TickMonitoringCustomMetric', mock.MagicMock())
37 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect')
54 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect')
64 @mock.patch.object(auto_bisect.start_try_job, 'LogBisectResult')
104 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect')
128 @mock.patch.object(
142 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect')
188 @mock.patch.object(utils, 'TickMonitoringCustomMetric')
193 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect')
194 @mock.patch.object(utils, 'TickMonitoringCustomMetric')
[all …]
Dfile_bug_test.py136 @mock.patch(
139 @mock.patch.object(
158 @mock.patch.object(
161 @mock.patch.object(
190 @mock.patch.object(
200 @mock.patch.object(
213 @mock.patch(
237 @mock.patch(
248 @mock.patch(
257 @mock.patch(
[all …]
/external/bouncycastle/
Dimport_bouncycastle.sh92 declare -r patch=$1
94 if [[ $BOUNCYCASTLE_BCPROV_PATCHES == *$patch* ]]; then
97 regenerate $patch $BOUNCYCASTLE_BCPROV_DIR $BOUNCYCASTLE_BCPROV_DIR_ORIG
98 elif [[ $BOUNCYCASTLE_BCPKIX_PATCHES == *$patch* ]]; then
101 regenerate $patch $BOUNCYCASTLE_BCPKIX_DIR $BOUNCYCASTLE_BCPKIX_DIR_ORIG
103 usage "Unknown patch file $patch specified"
106 declare -r patch=$1
111 if [[ $BOUNCYCASTLE_BCPROV_PATCHES == *$patch* ]]; then
112 …generate $patch $bcprov_tar $BOUNCYCASTLE_BCPROV_DIR $BOUNCYCASTLE_BCPROV_DIR_ORIG bcprov "$BOUNCY…
113 elif [[ $BOUNCYCASTLE_BCPKIX_PATCHES == *$patch* ]]; then
[all …]
/external/skia/site/dev/contrib/
Dpatch.md5 externally-submitted patch, this is how to do it. (This technique is useful in
6 other situations too, like if you just want to try out somebody else's patch
11 to patch into your local checkout: https://codereview.appspot.com/6201055/
13 because there is no standard Windows "patch" tool.
16 …velopers/contributing-code#TOC-Instructions-for-Reviewer:-Checking-in-the-patch-for-a-non-committer
21 git cl patch 6201055
26 1. Prepare your local workspace to accept the patch.
29 want to apply the patch.
31 clean enough" for your purposes). If the codereview patch was against
35 2. Download the raw patch set.
[all …]
/external/libweave/src/commands/
Dcloud_command_proxy.cc35 std::unique_ptr<base::DictionaryValue> patch{new base::DictionaryValue}; in OnErrorChanged() local
36 patch->Set(commands::attributes::kCommand_Error, in OnErrorChanged()
40 QueueCommandUpdate(std::move(patch)); in OnErrorChanged()
44 std::unique_ptr<base::DictionaryValue> patch{new base::DictionaryValue}; in OnResultsChanged() local
45 patch->Set(commands::attributes::kCommand_Results, in OnResultsChanged()
47 QueueCommandUpdate(std::move(patch)); in OnResultsChanged()
51 std::unique_ptr<base::DictionaryValue> patch{new base::DictionaryValue}; in OnStateChanged() local
52 patch->SetString(commands::attributes::kCommand_State, in OnStateChanged()
54 QueueCommandUpdate(std::move(patch)); in OnStateChanged()
58 std::unique_ptr<base::DictionaryValue> patch{new base::DictionaryValue}; in OnProgressChanged() local
[all …]
/external/bsdiff/
Dbsdiff_unittest.cc39 BsdiffPatchFile patch; in TEST_F() local
40 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename())); in TEST_F()
41 EXPECT_TRUE(patch.IsValid()); in TEST_F()
44 EXPECT_EQ(14, patch.diff_len); in TEST_F()
45 EXPECT_EQ(14U, patch.extra_len); in TEST_F()
55 BsdiffPatchFile patch; in TEST_F() local
56 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename())); in TEST_F()
57 EXPECT_TRUE(patch.IsValid()); in TEST_F()
60 EXPECT_EQ(14, patch.diff_len); in TEST_F()
61 EXPECT_EQ(14U, patch.extra_len); in TEST_F()
/external/scrypt/
Dimport_scrypt.sh90 declare -r patch=$1
94 regenerate $patch
96 declare -r patch=$1
100 generate $patch $tar
385 generatepatch $patch
393 applypatches $SCRYPT_DIR_ORIG $patch
402 generatepatch $patch
460 echo "Applying patch $i"
463 echo "Skiping patch $i"
481 declare -r variable_name=SCRYPT_PATCHES_`basename $patch .patch | sed s/-/_/`_SOURCES
[all …]
/external/aac/libSBRdec/src/
Dlpp_tran.cpp240 int patch; in lppTransposer() local
606 patch = 0; in lppTransposer()
608 while ( patch < pSettings->noOfPatches ) { /* inner loop over every patch */ in lppTransposer()
610 int hiBand = loBand + patchParam[patch].targetBandOffs; in lppTransposer()
612 if ( loBand < patchParam[patch].sourceStartBand in lppTransposer()
613 || loBand >= patchParam[patch].sourceStopBand in lppTransposer()
617 patch++; in lppTransposer()
624 while (hiBand >= pSettings->bwBorders[bwIndex[patch]]) in lppTransposer()
625 bwIndex[patch]++; in lppTransposer()
632 bw = FX_DBL2FX_SGL(bwVector[bwIndex[patch]]); in lppTransposer()
[all …]
/external/pdfium/third_party/libopenjpeg20/
DREADME.pdfium12 0000-use-colorspace.patch: Makes it possible to not call opj_jp2_apply_pclr().
13 0001-image-data.patch: Fix a crashier in opj_j2k_update_image_data().
14 0002-packet-iterator.patch: Fix integer overflow in opj_pi_create_decode().
15 0003-dwt-decode.patch: Check array bounds for opj_dwt_decode_1() and friends.
16 0004-j2k_read_mcc.patch: Move incrementing of l_tcp->m_nb_mcc_records to the right place.
17 0005-jp2_apply_pclr.patch: Fix out of bounds access.
18 0006-tcd_init_tile.patch: Fix a dividing zero bug in opj_tcd_init_tile().
19 0007-jp2_read_cmap.patch: Fix wrong rendering on greyscale images with index colorspace.
20 0008-jp2_check_color.patch: Replace an assertion with returning false.
21 0009-opj_pi_next.patch: Fix potential bad precno value in opj_pi_next* functions.
/external/selinux/libsemanage/
DChangeLog121 * patch for MCS/MLS in user files
134 * Add enable/disable patch support from Dan Walsh.
297 * Merged dbase_file_flush patch from Dan Walsh.
303 * Merged Makefile test target patch from Caleb Case.
304 * Merged get_commit_number function rename patch from Caleb Case.
305 * Merged strnlen -> strlen patch from Todd Miller.
314 * Merged patch to optionally reduce disk usage by removing
316 * Merged patch to correctly propagate return values in libsemanage
319 * Merged patch to compile wit -fPIC instead of -fpic from
328 * Merged patch to skip reload if no active store exists and
[all …]
/external/chromium-trace/catapult/devil/devil/android/
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('os.listdir', return_value=_INVALID_FILES):
[all …]
Dmd5sum_test.py29 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/third_party/gsutil/third_party/apitools/apitools/scripts/
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.object(oauth2l, '_ValidateToken',
[all …]
/external/autotest/utils/
Dcheck_patch.py86 def apply_patch(self, patch): argument
90 return self.backend.apply_patch(patch)
158 def apply_patch(self, patch): argument
166 utils.system_output("patch -p1 < %s" % patch)
305 def __init__(self, patch=None, patchwork_id=None, confirm=False): argument
308 if patch:
309 self.patch = os.path.abspath(patch)
311 self.patch = self._fetch_from_patchwork(patchwork_id)
313 if not os.path.isfile(self.patch):
315 self.patch)
[all …]
/external/v8/tools/testrunner/objects/
Dworkpacket.py34 base_revision=None, patch=None, pubkey=None): argument
40 self.patch = patch
72 "patch": self.patch,
86 patch = packed["patch"]
89 base_revision=base_revision, patch=patch,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
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('boto.glacier.vault.ConcurrentUploader') as c:
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/
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/selinux/policycoreutils/
DChangeLog458 * Restore symlink handling support to restorecon based on a patch by
683 …* Merged setsebool patch to only use libsemanage for persistent boolean changes from Stephen Small…
686 * Merged genhomedircon patch to use the __default__ setting from Dan Walsh.
695 * Merged seobject setransRecords patch to return the first alias from Xavier Toth.
701 * Merged restorecond init script LSB compliance patch from Steve Grubb.
721 * Merged setfiles memory leak patch from Todd Miller.
747 * Merged newrole man page patch from Michael Thompson.
750 * Merged patch to fix python unicode problem from Dan Walsh.
754 * Merged semodule patch to generalize list support from Karl MacMillan.
761 * Merged patch to correctly handle a failure during semanage handle
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend_unittest.py25 self.battery_patcher = mock.patch.object(battery_utils, 'BatteryUtils')
32 self.device_patcher = mock.patch.multiple(
46 with mock.patch('devil.android.device_utils.DeviceUtils.GetProp',
54 with mock.patch('devil.android.device_utils.DeviceUtils.GetProp',
68 with mock.patch('devil.android.device_utils.DeviceUtils.ReadFile',
78 with mock.patch('devil.android.device_utils.DeviceUtils.ReadFile',
111 with mock.patch('adb_install_cert.AndroidCertInstaller'):
165 self.battery_patcher = mock.patch.object(battery_utils, 'BatteryUtils')
173 self.device_patcher = mock.patch.multiple(
192 with mock.patch('devil.android.device_utils.DeviceUtils.ReadFile',
[all …]
Dandroid_device_unittest.py24 self._healthy_device_patcher = mock.patch(
58 mock.patch('os.path.isabs', return_value=True)), (
59 mock.patch('os.path.exists', return_value=False)):
66 with mock.patch('os.path.isabs', return_value=False):
74 with mock.patch('os.path.isabs', return_value=False):
90 with mock.patch('os.path.isabs', return_value=False):
101 with mock.patch('os.path.isabs', return_value=False):
113 with mock.patch('os.path.isabs', return_value=False):
123 with mock.patch('os.path.isabs', return_value=False):
135 with mock.patch('os.path.isabs', return_value=False):
/external/autotest/client/bin/
Dkernelexpand.py97 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 in component:
120 if url_accessible(patch):
121 new_patches.append(patch)
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/
Dd3d11spikysphere.hlsl144 const OutputPatch<HS2DS, OUTPUT_PATCH_SIZE> patch)
148 float3 s = map(patch[0].position, patch[1].position, patch[2].position, k);
158 float3 ds_du = dmap_du(patch[0].position, patch[1].position, patch[2].position, k);
159 float3 ds_dv = dmap_du(patch[1].position, patch[2].position, patch[0].position, k.yzx);
160 float3 ds_dw = dmap_du(patch[2].position, patch[0].position, patch[1].position, k.zxy);
/external/autotest/site_utils/
Ddeploy_production_local_unittest.py88 @mock.patch('subprocess.check_output', autospec=True)
108 @mock.patch('subprocess.check_output', autospec=True)
131 @mock.patch('subprocess.check_output', autospec=True)
151 @mock.patch('subprocess.check_output', autospec=True)
180 @mock.patch('subprocess.check_call', autospec=True)
190 @mock.patch('subprocess.check_output', autospec=True)
200 @mock.patch.object(dpl, 'restart_service', autospec=True)
208 with mock.patch.object(dpl, 'service_status', autospec=True,
236 @mock.patch('subprocess.check_output', autospec=True)
260 @mock.patch('subprocess.check_output', autospec=True)

12345678910>>...23