/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
SplitFspBin.py | 404 def __init__(self, offset, fih, fihoff, patch):
410 self.PatchList = patch
416 def Patch(self, delta, fdbin):
419 for idx, patch in enumerate(self.PatchList):
420 ptype = (patch>>24) & 0x0F
422 raise Exception('ERROR: Invalid patch type %d !' % ptype)
423 if patch & 0x80000000:
424 patch = self.Fih.ImageSize - (0x1000000 - (patch & 0xFFFFFF))
426 patch = patch & 0xFFFFFF [all...] |
/external/autotest/server/hosts/ |
file_store_unittest.py | 122 @mock.patch('chromite.lib.locking.FileLock', autospec=True) 142 @mock.patch('chromite.lib.locking.FileLock', autospec=True) 167 @mock.patch('chromite.lib.locking.FileLock', autospec=True)
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/ |
audio_buffer.h | 206 T* patch = srcFramePatch; 207 for (int j = 0; j < srcFrameCopies; ++j, patch += src.getChannelCount()) { 208 memcpy(patch, srcFrame, src.getFrameSize());
|
/external/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
|
/external/pdfium/core/fxge/ |
cfx_fontmgr.cpp | 241 FT_Int patch; local 242 FXFT_Library_Version(m_FTLibrary, &major, &minor, &patch); 246 (major == 2 && minor == 8 && patch >= 1);
|
/external/python/cpython3/Lib/test/ |
test_rlcompleter.py | 2 from unittest.mock import patch 76 with patch.object(CompleteMe, "me", CompleteMe, create=True): 104 @unittest.mock.patch('rlcompleter._readline_available', False)
|
/external/swiftshader/third_party/llvm-7.0/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
|
/external/tensorflow/tensorflow/compiler/tests/ |
lrn_ops_test.py | 55 patch = input_image[b, r, c, begin:end] 57 np.power(bias + alpha * np.sum(patch * patch), beta))
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
lrn_op_test.py | 52 patch = input_image[b, r, c, begin:end] 54 np.power(bias + alpha * np.sum(patch * patch), beta))
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
rocm_diagnostics.cc | 69 int patch = 0; local 84 if (pieces.size() == 3 && !port::safe_strto32(pieces[2], &patch)) { 87 absl::StrFormat("could not parse patch version number \"%s\" as an " 92 DriverVersion result{major, minor, patch};
|
/external/toolchain-utils/crosperf/ |
download_images_unittest.py | 31 @mock.patch.object(os, 'makedirs') 32 @mock.patch.object(os.path, 'exists') 95 @mock.patch.object(os.path, 'exists')
|
settings_unittest.py | 185 @mock.patch.object(logger, 'GetLogger') 186 @mock.patch.object(download_images.ImageDownloader, 'Run') 187 @mock.patch.object(download_images, 'ImageDownloader')
|
/frameworks/av/services/audioflinger/ |
PatchPanel.h | 57 /* Create a patch between several source and sink ports */ 58 status_t createAudioPatch(const struct audio_patch *patch, 61 /* Release a patch */ 73 // Notifies patch panel about all opened and closed streams. 93 "A non empty Patch Endpoint leaked, handle %d", mHandle); 153 class Patch { 155 explicit Patch(const struct audio_patch &patch) : mAudioPatch(patch) {} 156 ~Patch(); [all...] |
/external/tensorflow/tensorflow/python/distribute/ |
distribute_coordinator_test.py | 622 with test.mock.patch.object(distribute_coordinator, "_run_std_server", 661 with test.mock.patch.object(distribute_coordinator, "_run_std_server", 686 with test.mock.patch.object(distribute_coordinator, "_run_std_server", 722 with test.mock.patch.object(distribute_coordinator, "_run_std_server", 778 with test.mock.patch.dict( 780 {"TF_CONFIG": json.dumps(tf_config)}), test.mock.patch.object( 803 with test.mock.patch.dict( 805 {"TF_CONFIG": json.dumps(tf_config)}), test.mock.patch.object( 848 with test.mock.patch.dict( 850 {"TF_CONFIG": json.dumps(tf_config)}), test.mock.patch.object [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_linking_helpers.c | 43 unsigned location = var->data.patch ? 78 if (var->data.patch) { 103 if (var->data.patch) 141 if (var->data.patch) { 151 if (var->data.patch) { 215 * TODO: add TES patch support. 367 * TODO: add TES patch support.
|
/external/toolchain-utils/cros_utils/ |
misc.py | 460 gerrit_patch_string: a patch string just like the one gives to cbuildbot, 461 'id1 id2 *id3 ... idn'. A prefix of '* means this is an internal patch. 478 logger.GetLogger().LogOutput('Retrieving patch information from server ...') 484 'Failed to find patch project "{project}" in manifest.'.format( 492 'Applying patch "{0}" in "{1}" ...'.format(pi_str, project_git_path)) 496 logger.GetLogger().LogError('Failed to apply patch "{0}"'.format(pi_str))
|
/external/openssh/contrib/redhat/ |
openssh.spec | 415 (patch from bet@rahul.net) 440 - add Markus's patch to compile with OpenSSL 0.9.5a (from 449 - drop debug patch, fixed upstream 497 - pull cvs patch to fix support for /etc/nologin for non-PAM logins (#47298) 501 - pull cvs patch to add -t flag to sshd (#28611) 508 - pull cvs patch to fix remote port forwarding with protocol 2 511 - pull cvs patch to add session initialization to no-pty sessions 512 - pull cvs patch to not cut off challengeresponse auth needlessly 529 - disable the gssapi patch 533 - refresh to a new version of the gssapi patch [all...] |
/external/syzkaller/pkg/email/ |
parser.go | 29 Patch string // attached patch, if any 90 patch, cmd, cmdArgs := "", "", "" 93 _, patch, _ = ParsePatch(string(a)) 94 if patch != "" { 98 if patch == "" { 99 _, patch, _ = ParsePatch(bodyStr) 115 Patch: patch,
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
dependency_manager_unittest.py | 384 @mock.patch( 404 @mock.patch('os.path') 405 @mock.patch( 407 @mock.patch( 429 @mock.patch( 450 @mock.patch(
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
test_colorizer.py | 204 @mock.patch.object(colorizer.ColorDelegator, 'notify_range') 216 @mock.patch.object(colorizer.ColorDelegator, 'notify_range') 307 @mock.patch.object(colorizer.ColorDelegator, 'recolorize_main') 352 @mock.patch.object(colorizer.ColorDelegator, 'notify_range') 400 @mock.patch.object(colorizer.ColorDelegator, 'recolorize') 401 @mock.patch.object(colorizer.ColorDelegator, 'notify_range')
|
test_squeezer.py | 7 from unittest.mock import Mock, NonCallableMagicMock, patch, sentinel, ANY 331 @patch('idlelib.squeezer.Hovertip', autospec=Hovertip) 410 # Patch the message box module to always return False. 411 with patch('idlelib.squeezer.tkMessageBox') as mock_msgbox: 421 # Patch the message box module to always return True. 422 with patch('idlelib.squeezer.tkMessageBox') as mock_msgbox: 458 with patch('idlelib.squeezer.view_text', autospec=view_text)\ 473 with patch('tkinter.Menu') as mock_Menu:
|
/external/skia/src/utils/ |
SkCamera.cpp | 284 // the view axis (which is 'dot'). This transforms the patch (which transforms from local path 377 SkPatch3D patch; local 378 patch.transform(fRec->fMatrix); 379 return patch.dotWith(x, y, z); 384 SkPatch3D patch; local 385 patch.transform(fRec->fMatrix); 386 fCamera.patchToMatrix(patch, matrix);
|
/external/skqp/src/utils/ |
SkCamera.cpp | 284 // the view axis (which is 'dot'). This transforms the patch (which transforms from local path 377 SkPatch3D patch; local 378 patch.transform(fRec->fMatrix); 379 return patch.dotWith(x, y, z); 384 SkPatch3D patch; local 385 patch.transform(fRec->fMatrix); 386 fCamera.patchToMatrix(patch, matrix);
|
/external/u-boot/tools/ |
kwboot.c | 685 fprintf(stream, " -p: patch <image> to type 0x69 (uart boot)\n"); 705 int rv, rc, tty, term, prot, patch; local 719 patch = 0; 746 patch = 1; 786 if (patch && !imgpath) 801 prot = PROT_READ | (patch ? PROT_WRITE : 0); 810 if (patch) {
|
/bootable/recovery/updater/include/private/ |
commands.h | 257 // - Read the source blocks, apply a patch, and write result to target blocks. 305 Command(Type type, size_t index, std::string cmdline, PatchInfo patch, TargetInfo target, 310 patch_(std::move(patch)), 337 const PatchInfo& patch() const { function in class:Command 393 // The patch info. Only meaningful for BSDIFF and IMGDIFF commands. 414 // for a patch or move) after it has been written. 422 // All the patch data is concatenated into one patch_data file in the update package. It must be
|