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

1234567891011

/external/clang/
H A Dversion.py3 patch = '256229' variable
/external/v8/build/
H A Dgyp_chromium_test.py21 @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('o
[all...]
/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/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/chromium-trace/catapult/dashboard/dashboard/
H A Dbisect_fyi_test.py62 @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')
H A Dupdate_bug_with_results_test.py181 # In this class, we patch apiclient.discovery.build so as to not make network
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
[all...]
H A Dauto_bisect_test.py20 @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
[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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
H A DPerspectiveLodCalculator.java48 private TerrainPatch patch; field in class:PerspectiveLodCalculator
78 return calculateLod(patch, locations, updates);
84 float[] lodEntropies = patch.getLodEntropies();
92 Vector3f patchPos = getCenterLocation(patch);
94 // vector from camera to patch
100 for (int i = 0; i <= patch.getMaxLod(); i++) {
101 if (distance < entropyDistances[i] || i == patch.getMaxLod()){
103 if (i != patch.getLod()) {
107 int prevLOD = patch.getLod();
111 UpdatedTerrainPatch utp = updates.get(patch
125 getCenterLocation(TerrainPatch patch) argument
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
H A DBresenhamTerrainPicker.java51 * all of the TerrainPatches hit (in distance order.) The triangles of each patch
89 TerrainPatch patch = pd.targetPatch;
92 tracer.getGridSpacing().set(patch.getWorldScale());
93 tracer.setGridOrigin(patch.getWorldTranslation());
104 checkTriangles(loc.x, loc.y, workRay, intersection, patch, hit);
107 cr.setGeometry(patch);
115 while (loc.x >= -1 && loc.x <= patch.getSize() &&
116 loc.y >= -1 && loc.y <= patch.getSize()) {
121 if (checkTriangles(loc.x, loc.y, workRay, intersection, patch, hit)) {
125 cr.setGeometry(patch);
166 checkTriangles(float gridX, float gridY, Ray pick, Vector3f intersection, TerrainPatch patch, Triangle store) argument
197 getTriangles(float gridX, float gridY, TerrainPatch patch) argument
229 findClosestHeightIndex(Vector3f position, TerrainPatch patch) argument
[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/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/v8/test/mjsunit/harmony/
H A Ddebug-async-liveedit.js54 function patch(fun, from, to) { function
79 assertThrows(function() { patch(asyncfn, "'Cat'", "'Capybara'") },
90 // At this point one iterator is live, but closed, so the patch will succeed.
91 patch(asyncfn, "'Cat'", "'Capybara'");
99 assertThrows(function() { patch(asyncfn, "'Capybara'", "'Tapir'") },
104 // Try to patch functions with activations inside and outside async
119 assertThrows(function() { patch(fun_outside, "'Cat'", "'Cobra'") },
122 patch(fun_inside, "'Cat'", "'Koala'");
/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/curl/
H A Dandroidconfigure55 patch -p1 --no-backup-if-mismatch < local-configure.patch
/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/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...]

Completed in 585 milliseconds

1234567891011