HomeSort by relevance Sort by last modified time
    Searched refs:patch (Results 226 - 250 of 700) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/samplecode/
SamplePatch.cpp 50 class Patch {
52 Patch() { sk_bzero(fPts, sizeof(fPts)); }
53 ~Patch() {}
109 void Patch::draw(SkCanvas* canvas, const SkPaint& paint, int nu, int nv,
190 Patch* patch) {
193 patch->draw(canvas, paint, nu, nv, false, false);
195 patch->draw(canvas, paint, nu, nv, true, false);
197 patch->draw(canvas, paint, nu, nv, false, true);
199 patch->draw(canvas, paint, nu, nv, true, true)
258 Patch patch; variable
    [all...]
  /external/python/cpython3/Lib/idlelib/idle_test/
test_config.py 240 with mock.patch('os.path.expanduser', return_value='/home/foo'):
241 with mock.patch('os.path.exists', return_value=True):
245 with mock.patch('os.path.expanduser', return_value='~'):
246 with mock.patch('os.getcwd', return_value='/home/foo/cpython'):
247 with mock.patch('os.mkdir'):
252 with mock.patch('os.path.join', return_value='/path/not/exists'):
263 with mock.patch('os.path.expanduser', return_value='C:\\foo'):
264 with mock.patch('os.path.exists', return_value=True):
268 with mock.patch('os.path.expanduser', return_value='~'):
269 with mock.patch('os.getcwd', return_value='C:\\foo\\cpython')
    [all...]
  /external/tensorflow/tensorflow/contrib/learn/python/learn/
experiment_test.py 259 with test.mock.patch.object(time, 'time', sheep.time):
260 with test.mock.patch.object(time, 'sleep', sheep.sleep):
267 with test.mock.patch.dict('os.environ',
275 with test.mock.patch.object(time, 'time', sheep.time):
276 with test.mock.patch.object(time, 'sleep', sheep.sleep):
280 @test.mock.patch.object(server_lib, 'Server')
291 with test.mock.patch.dict('os.environ',
304 with test.mock.patch.object(time, 'time', sheep.time):
305 with test.mock.patch.object(time, 'sleep', sheep.sleep):
323 @test.mock.patch.object(server_lib, 'Server'
    [all...]
learn_runner_test.py 35 patch = test.mock.patch variable
354 with patch.dict("os.environ", {"TF_CONFIG": json.dumps(tf_config)}):
369 with patch.dict("os.environ", {"TF_CONFIG": json.dumps(tf_config)}):
384 with patch.dict("os.environ", {"TF_CONFIG": json.dumps(tf_config)}):
399 with patch.dict("os.environ", {"TF_CONFIG": json.dumps(tf_config)}):
410 with patch.dict("os.environ", {"TF_CONFIG": json.dumps(tf_config)}):
  /external/python/oauth2client/tests/
test_client.py 167 @mock.patch.object(client.Credentials, '_to_json',
308 @mock.patch.object(client.GoogleCredentials,
311 @mock.patch.object(client.GoogleCredentials,
313 @mock.patch.object(client, '_in_gae_environment',
315 @mock.patch.object(client, '_get_application_default_credential_GAE',
325 @mock.patch.object(client.GoogleCredentials,
328 @mock.patch.object(client.GoogleCredentials,
331 @mock.patch.object(client, '_in_gce_environment',
333 @mock.patch.object(client, '_get_application_default_credential_GCE',
384 with mock.patch('oauth2client.client.os') as os_module
    [all...]
test_service_account.py 113 @mock.patch('oauth2client.crypt.Signer.from_string',
204 @mock.patch('oauth2client.crypt.Signer', new=crypt.PyCryptoSigner)
208 @mock.patch('oauth2client.crypt.Signer', new=crypt.RsaSigner)
265 @mock.patch('oauth2client.client._UTCNOW')
267 # Configure the patch.
396 @mock.patch('oauth2client.client._UTCNOW')
397 @mock.patch('time.time')
434 @mock.patch('oauth2client.client._UTCNOW')
435 @mock.patch('time.time')
471 @mock.patch('oauth2client.client._UTCNOW'
    [all...]
  /external/autotest/site_utils/
count_jobs_unittest.py 52 with mock.patch.object(count_jobs, 'datetime', FakeDatetime):
  /external/llvm/include/llvm/Support/
Compiler.h 45 # define LLVM_GNUC_PREREQ(maj, min, patch) \
47 ((maj) << 20) + ((min) << 10) + (patch))
49 # define LLVM_GNUC_PREREQ(maj, min, patch) \
52 # define LLVM_GNUC_PREREQ(maj, min, patch) 0
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RequestTest.java 116 Request patch = new Request.Builder().url("http://localhost/api").patch(body).build(); local
117 assertEquals("PATCH", patch.method());
118 assertEquals(body, patch.body());
  /external/python/cpython3/Lib/test/
test_code_module.py 20 # use exit stack to match patch context managers to addCleanup
23 self.infunc = stack.enter_context(mock.patch('code.input',
25 self.stdout = stack.enter_context(mock.patch('code.sys.stdout'))
26 self.stderr = stack.enter_context(mock.patch('code.sys.stderr'))
27 prepatch = mock.patch('code.sys', wraps=code.sys, spec=code.sys)
  /external/python/oauth2client/tests/contrib/django_util/
test_django_util.py 51 @mock.patch("oauth2client.contrib.django_util.clientsecrets")
68 @mock.patch("oauth2client.contrib.django_util.clientsecrets")
84 @mock.patch("oauth2client.contrib.django_util.clientsecrets")
95 @mock.patch("oauth2client.contrib.django_util.clientsecrets")
test_decorators.py 63 @mock.patch('oauth2client.client.OAuth2Credentials')
88 @mock.patch('oauth2client.contrib.dictionary_storage.DictionaryStorage')
141 @mock.patch('oauth2client.contrib.django_util.UserOAuth2', autospec=True)
159 @mock.patch('oauth2client.client.OAuth2Credentials')
179 @mock.patch('oauth2client.client.OAuth2Credentials')
  /external/python/setuptools/setuptools/tests/
test_build_clib.py 12 @mock.patch(
  /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Compiler.h 49 # define LLVM_GNUC_PREREQ(maj, min, patch) \
51 ((maj) << 20) + ((min) << 10) + (patch))
53 # define LLVM_GNUC_PREREQ(maj, min, patch) \
56 # define LLVM_GNUC_PREREQ(maj, min, patch) 0
  /external/syzkaller/pkg/email/
patch.go 52 if strings.Contains(strings.ToLower(title), "[patch") {
55 err = fmt.Errorf("title contains '[patch' but not ']'")
  /external/u-boot/tools/patman/
series.py 20 """Holds information about a patch series, including all tags.
24 commits: List of Commit objects, one for each patch
42 # key: name of patch file
98 args: List of patch files we created
108 print('Send a total of %d patch%s with %scover letter.' % (
116 cc_list = list(self._generated_cc[commit.patch])
237 cc += get_maintainer.GetMaintainer(commit.patch)
245 print(commit.patch, ', '.join(set(cc)), file=fd)
246 self._generated_cc[commit.patch] = cc
273 """Get the patch version strin
    [all...]
  /frameworks/av/media/libaudiohal/impl/
DeviceHalLocal.cpp 162 audio_patch_handle_t *patch) {
165 mDev, num_sources, sources, num_sinks, sinks, patch);
171 status_t DeviceHalLocal::releaseAudioPatch(audio_patch_handle_t patch) {
173 return mDev->release_audio_patch(mDev, patch);
  /bootable/recovery/tests/unit/
commands_test.cpp 178 ASSERT_EQ(PatchInfo(), command.patch());
210 ASSERT_EQ(PatchInfo(0, 148), command.patch());
226 ASSERT_EQ(PatchInfo(), command.patch());
242 ASSERT_EQ(PatchInfo(), command.patch());
266 ASSERT_EQ(PatchInfo(29629269, 185), command.patch());
289 ASSERT_EQ(PatchInfo(), command.patch());
305 ASSERT_EQ(PatchInfo(), command.patch());
321 ASSERT_EQ(PatchInfo(), command.patch());
337 ASSERT_EQ(PatchInfo(), command.patch());
356 ASSERT_EQ(PatchInfo(), command.patch());
    [all...]
  /external/chromium-trace/catapult/dependency_manager/dependency_manager/
base_config_unittest.py 220 @mock.patch('dependency_manager.uploader.cloud_storage')
236 @mock.patch('dependency_manager.uploader.cloud_storage')
279 @mock.patch('dependency_manager.uploader.cloud_storage')
327 @mock.patch('dependency_manager.uploader.cloud_storage')
369 @mock.patch('dependency_manager.uploader.cloud_storage')
413 @mock.patch('dependency_manager.uploader.cloud_storage')
463 @mock.patch('dependency_manager.uploader.cloud_storage')
524 @mock.patch('dependency_manager.uploader.cloud_storage')
579 @mock.patch('dependency_manager.uploader.cloud_storage')
623 @mock.patch('dependency_manager.uploader.cloud_storage'
    [all...]
  /external/tensorflow/tensorflow/contrib/distribute/python/
estimator_training_test.py 362 with test.mock.patch.object(dc, "_run_std_server",
479 with test.mock.patch.dict(
495 with test.mock.patch.dict("os.environ",
503 with test.mock.patch.dict("os.environ",
521 with test.mock.patch.dict("os.environ",
550 with test.mock.patch.dict("os.environ",
558 with test.mock.patch.dict("os.environ",
566 with test.mock.patch.dict("os.environ",
596 with test.mock.patch.object(sys, "exit", os._exit):
  /external/skia/src/core/
SkMaskFilter.cpp 219 // Attempt to speed up drawing by creating a nine patch. If a nine patch
222 NinePatch patch; local
223 patch.fMask.fImage = nullptr;
226 &patch)) {
227 SkASSERT(nullptr == patch.fMask.fImage);
230 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter);
243 NinePatch patch; local
    [all...]
  /external/skqp/src/core/
SkMaskFilter.cpp 219 // Attempt to speed up drawing by creating a nine patch. If a nine patch
222 NinePatch patch; local
223 patch.fMask.fImage = nullptr;
226 &patch)) {
227 SkASSERT(nullptr == patch.fMask.fImage);
230 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter);
243 NinePatch patch; local
    [all...]
  /external/autotest/client/bin/
local_host_unittest.py 19 @mock.patch('autotest_lib.client.bin.local_host.platform.node')
26 @mock.patch('autotest_lib.client.bin.local_host.platform.node')
39 @mock.patch('autotest_lib.client.bin.local_host.utils.run')
73 @mock.patch('autotest_lib.client.bin.local_host.utils.run')
95 @mock.patch('autotest_lib.client.bin.local_host.utils.run')
117 @mock.patch('autotest_lib.client.bin.local_host.utils.run')
  /external/swiftshader/third_party/LLVM/utils/
codegen-diff 98 Second, you create I<GDB-DISASSEMBLY-FILE> by running B<gdb>, with my patch
131 You will need my B<gdb> patch:
133 http://llvm.cs.uiuc.edu/~gaeke/gdb-disassembly-print-bytes.patch
  /frameworks/av/services/audiopolicy/managerdefault/
AudioPolicyManager.cpp 505 // release existing RX patch if any
510 // release TX patch if any
538 // do not create a patch (aka Sw Bridging) if Primary HW module has declared supporting a
550 // of it due to legacy implementation. If not, create a patch.
558 } else { // create RX path audio patch
565 if (createTxPatch) { // create TX path audio patch
607 // call TX device but this information is not in the audio patch and logic here must be
618 patchBuilder.patch(), &afPatchHandle, delayMs);
620 "%s() error %d creating %s audio patch", __func__, status, isRx ? "RX" : "TX");
623 audioPatch = new AudioPatch(patchBuilder.patch(), mUidCached)
1212 const auto& patch = msdPatches[i]; local
1301 sp<AudioPatch> patch = mAudioPatches.valueAt(i); local
1419 const struct audio_patch* patch = patchBuilder.patch(); local
3565 struct audio_patch *patch = &patchDesc->mPatch; local
    [all...]

Completed in 642 milliseconds

1 2 3 4 5 6 7 8 91011>>