/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
D | NinePatchDrawable.java | 33 private NinePatch patch; field in NinePatchDrawable 39 public NinePatchDrawable (NinePatch patch) { in NinePatchDrawable() argument 40 setPatch(patch); in NinePatchDrawable() 45 setPatch(drawable.patch); in NinePatchDrawable() 49 patch.draw(batch, x, y, width, height); in draw() 52 public void setPatch (NinePatch patch) { in setPatch() argument 53 this.patch = patch; in setPatch() 54 setMinWidth(patch.getTotalWidth()); in setPatch() 55 setMinHeight(patch.getTotalHeight()); in setPatch() 56 setTopHeight(patch.getPadTop()); in setPatch() [all …]
|
/external/v8/build/ |
D | gyp_chromium_test.py | 21 @mock.patch('os.environ', {}) 22 @mock.patch('sys.argv', [__file__]) 26 @mock.patch('os.environ', {'GYP_GENERATOR_FLAGS': 'output_dir=envfoo'}) 27 @mock.patch('sys.argv', [__file__]) 31 @mock.patch('os.environ', {'GYP_GENERATOR_FLAGS': 'output_dir=envfoo'}) 32 @mock.patch('sys.argv', [__file__, '-Goutput_dir=cmdfoo']) 36 @mock.patch('os.environ', {}) 37 @mock.patch('sys.argv', [__file__, '-G', 'output_dir=foo']) 43 @mock.patch('os.environ', {}) 47 @mock.patch('os.environ', {}) [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | update_bug_with_results_test.py | 183 @mock.patch('apiclient.discovery.build', mock.MagicMock()) 184 @mock.patch.object(utils, 'ServiceAccountHttp', mock.MagicMock()) 185 @mock.patch.object(utils, 'TickMonitoringCustomMetric', mock.MagicMock()) 216 @mock.patch( 219 @mock.patch.object( 222 @mock.patch.object( 250 @mock.patch( 253 @mock.patch.object( 256 @mock.patch.object( 276 @mock.patch.object(utils, 'ServiceAccountHttp', mock.MagicMock()) [all …]
|
D | start_try_job_test.py | 273 @mock.patch('apiclient.discovery.build', mock.MagicMock()) 274 @mock.patch.object(utils, 'ServiceAccountHttp', mock.MagicMock()) 322 @mock.patch.object(utils, 'IsGroupMember', mock.MagicMock(return_value=False)) 621 @mock.patch.object(start_try_job.buildbucket_service, 'PutJob', 623 @mock.patch.object( 664 @mock.patch.object(issue_tracker_service.IssueTrackerService, 'AddBugComment') 665 @mock.patch( 668 @mock.patch( 671 @mock.patch.object(start_try_job.buildbucket_service, 'PutJob', 673 @mock.patch.object( [all …]
|
D | auto_bisect_test.py | 20 @mock.patch.object(utils, 'TickMonitoringCustomMetric', mock.MagicMock()) 31 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect') 48 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect') 58 @mock.patch.object(auto_bisect.start_try_job, 'LogBisectResult') 93 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect') 117 @mock.patch.object( 131 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect') 177 @mock.patch.object(utils, 'TickMonitoringCustomMetric') 182 @mock.patch.object(auto_bisect.start_try_job, 'PerformBisect') 183 @mock.patch.object(utils, 'TickMonitoringCustomMetric') [all …]
|
D | bisect_fyi_test.py | 62 @mock.patch('apiclient.discovery.build', mock.MagicMock()) 63 @mock.patch.object(utils, 'ServiceAccountHttp', mock.MagicMock()) 76 @mock.patch.object( 78 @mock.patch.object(bisect_fyi.start_try_job, '_PerformBuildbucketBisect') 85 @mock.patch.object( 87 @mock.patch.object(bisect_fyi.start_try_job, '_PerformBuildbucketBisect')
|
/external/skia/site/dev/contrib/ |
D | patch.md | 5 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/bouncycastle/ |
D | import_bouncycastle.sh | 92 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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/ |
D | BresenhamTerrainPicker.java | 89 TerrainPatch patch = pd.targetPatch; in getTerrainIntersection() local 92 tracer.getGridSpacing().set(patch.getWorldScale()); in getTerrainIntersection() 93 tracer.setGridOrigin(patch.getWorldTranslation()); in getTerrainIntersection() 104 checkTriangles(loc.x, loc.y, workRay, intersection, patch, hit); in getTerrainIntersection() 107 cr.setGeometry(patch); in getTerrainIntersection() 115 while (loc.x >= -1 && loc.x <= patch.getSize() && in getTerrainIntersection() 116 loc.y >= -1 && loc.y <= patch.getSize()) { in getTerrainIntersection() 121 if (checkTriangles(loc.x, loc.y, workRay, intersection, patch, hit)) { in getTerrainIntersection() 125 cr.setGeometry(patch); in getTerrainIntersection() 149 if (checkTriangles(loc.x + dx, loc.y + dz, workRay, intersection, patch, hit)) { in getTerrainIntersection() [all …]
|
/external/libweave/src/commands/ |
D | cloud_command_proxy.cc | 35 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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/ |
D | PerspectiveLodCalculator.java | 48 private TerrainPatch patch; field in PerspectiveLodCalculator 78 return calculateLod(patch, locations, updates); in calculateLod() 84 float[] lodEntropies = patch.getLodEntropies(); in calculateLod() 92 Vector3f patchPos = getCenterLocation(patch); in calculateLod() 100 for (int i = 0; i <= patch.getMaxLod(); i++) { in calculateLod() 101 if (distance < entropyDistances[i] || i == patch.getMaxLod()){ in calculateLod() 103 if (i != patch.getLod()) { in calculateLod() 107 int prevLOD = patch.getLod(); in calculateLod() 111 UpdatedTerrainPatch utp = updates.get(patch.getName()); in calculateLod() 113 … utp = new UpdatedTerrainPatch(patch, i);//save in here, do not update actual variables in calculateLod() [all …]
|
/external/bsdiff/ |
D | bsdiff_unittest.cc | 39 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/ |
D | import_scrypt.sh | 90 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/pdfium/third_party/libopenjpeg20/ |
D | README.pdfium | 12 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/aac/libSBRdec/src/ |
D | lpp_tran.cpp | 240 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/selinux/libsemanage/ |
D | ChangeLog | 121 * 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/third_party/gsutil/third_party/apitools/apitools/scripts/ |
D | oauth2l_test.py | 78 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/ |
D | check_patch.py | 86 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/ |
D | workpacket.py | 34 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/ |
D | test_vault.py | 35 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/devil/devil/android/ |
D | fastboot_utils_test.py | 108 @mock.patch('time.sleep', mock.Mock()) 214 with mock.patch('__builtin__.open', return_value=mock_file, create=True): 215 with mock.patch('os.listdir', return_value=_VALID_FILES): 220 with mock.patch('__builtin__.open', return_value=mock_file, create=True): 221 with mock.patch('os.listdir', return_value=_INVALID_FILES): 225 with mock.patch('os.listdir', return_value=[_BOARD + '.zip']): 230 with mock.patch('__builtin__.open', return_value=mock_file, create=True): 231 with mock.patch('os.listdir', return_value=['android-info.txt']): 236 with mock.patch('__builtin__.open', return_value=mock_file, create=True): 237 with mock.patch('os.listdir', return_value=_INVALID_FILES): [all …]
|
D | 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/autotest/client/bin/ |
D | kernelexpand.py | 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 in component: 120 if url_accessible(patch): 121 new_patches.append(patch)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | android_platform_backend_unittest.py | 25 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', 113 with mock.patch('adb_install_cert.AndroidCertInstaller'): 169 self.battery_patcher = mock.patch.object(battery_utils, 'BatteryUtils') 177 self.device_patcher = mock.patch.multiple( 196 with mock.patch('devil.android.device_utils.DeviceUtils.ReadFile', [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | browser_test_runner_unittest.py | 50 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 61 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 68 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 76 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 82 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 119 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 125 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 130 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 175 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') 239 @mock.patch('telemetry.internal.util.binary_manager.InitDependencyManager') [all …]
|