Home
last modified time | relevance | path

Searched full:patch (Results 1 – 25 of 2617) sorted by relevance

12345678910>>...105

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dstackmap-liveness.ll2 …-apple-darwin -mcpu=corei7-avx | FileCheck -check-prefix=PATCH %s
43 ; PATCH-LABEL: .long L{{.*}}-_stackmap_liveness
44 ; PATCH-NEXT: .short 0
45 ; PATCH-NEXT: .short 0
47 ; PATCH-NEXT: .p2align 3
48 ; PATCH-NEXT: .short 0
50 ; PATCH-NEXT: .short 1
52 ; PATCH-NEXT: .short 19
53 ; PATCH-NEXT: .byte 0
54 ; PATCH-NEXT: .byte 16
[all …]
/external/llvm/test/CodeGen/X86/
Dstackmap-liveness.ll2 …-apple-darwin -mcpu=corei7-avx | FileCheck -check-prefix=PATCH %s
40 ; PATCH-LABEL: .long L{{.*}}-_stackmap_liveness
41 ; PATCH-NEXT: .short 0
42 ; PATCH-NEXT: .short 0
44 ; PATCH-NEXT: .short 0
46 ; PATCH-NEXT: .short 1
48 ; PATCH-NEXT: .short 19
49 ; PATCH-NEXT: .byte 0
50 ; PATCH-NEXT: .byte 16
52 ; PATCH-NEXT: .p2align 3
[all …]
/external/python/mock/mock/tests/
Dtestpatch.py15 NonCallableMock, CallableMixin, patch, sentinel,
16 MagicMock, Mock, NonCallableMagicMock, patch,
103 @patch.object(Something, 'attribute', sentinel.Patched)
109 "patch not restored")
116 @patch.object(Something, 'attribute', None)
122 "patch not restored")
130 @patch.object(Something, 'attribute', sentinel.Patched)
131 @patch.object(Something, 'next_attribute', sentinel.Patched2)
140 "patch not restored")
142 "patch not restored")
[all …]
Dtestwith.py10 from mock import MagicMock, Mock, patch, sentinel, mock_open, call
21 with patch('%s.something' % __name__, sentinel.Something2):
28 with patch('%s.something' % __name__, sentinel.Something2):
34 self.fail("patch swallowed exception")
39 with patch('%s.something' % __name__) as mock_something:
50 with patch.object(Foo, 'something'):
57 with patch('%s.something' % __name__) as mock_something:
58 with patch('%s.something_else' % __name__) as mock_something_else:
68 with patch('%s.something' % __name__, sentinel.Patched) as mock_something:
70 self.assertEqual(mock_something, sentinel.Patched, "wrong patch")
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestpatch.py15 MagicMock, Mock, NonCallableMagicMock, patch, _patch,
99 @patch.object(Something, 'attribute', sentinel.Patched)
105 "patch not restored")
112 @patch.object(Something, 'attribute', None)
118 "patch not restored")
126 @patch.object(Something, 'attribute', sentinel.Patched)
127 @patch.object(Something, 'next_attribute', sentinel.Patched2)
136 "patch not restored")
138 "patch not restored")
144 @patch('%s.something' % __name__, sentinel.Something2)
[all …]
Dtestwith.py5 from unittest.mock import MagicMock, Mock, patch, sentinel, mock_open, call
17 with patch('%s.something' % __name__, sentinel.Something2):
24 with patch('%s.something' % __name__, sentinel.Something2):
30 self.fail("patch swallowed exception")
35 with patch('%s.something' % __name__) as mock_something:
46 with patch.object(Foo, 'something'):
53 …with patch('%s.something' % __name__) as mock_something, patch('%s.something_else' % __name__) as …
63 with patch('%s.something' % __name__, sentinel.Patched) as mock_something:
65 self.assertEqual(mock_something, sentinel.Patched, "wrong patch")
92 with patch('%s.something' % __name__, sentinel.Patched) as mock_something:
[all …]
/external/pdfium/third_party/lcms/
DREADME.pdfium12 0000-cmserr-changes.patch: change LCMS memory management methods to use PDFium's.
13 0001-fix-include.patch: fix include in lcms2_internal.h.
14 0002-old-performance-fix.patch: https://codereview.chromium.org/534363002/
15 0003-old-uninitialized-in-LUTevalFloat.patch: https://codereview.chromium.org/380293002/
16 0004-old-uninitialized-in-LUTeval16.patch: https://codereview.chromium.org/387273002/
17 0005-old-fix-e-with-tilde.patch: like https://codereview.chromium.org/2411123003/ but better.
18 0006-tag-type-confusion.patch: Fix a type confusion.
19 0008-infinite-loop-GrowNamedColorList.patch: Fix infinite loop when calling GrowNamedColorList.
20 0009-uninit.patch: Fix use uninitialized value and stack buffer overflow read.
21 0010-memory-leak-Type_Curve_Read.patch: Fix memory leak in Type_Curve_Read.
[all …]
/external/pdfium/third_party/libopenjpeg20/
DREADME.pdfium12 0000-use-colorspace.patch: Makes it possible to not call opj_jp2_apply_pclr().
13 0003-dwt-decode.patch: Check array bounds for opj_dwt_decode_1() and friends.
14 0005-jp2_apply_pclr.patch: Fix out of bounds access.
15 0006-tcd_init_tile.patch: Fix a divide by zero bug in opj_tcd_init_tile().
16 0007-jp2_read_cmap.patch: Fix wrong rendering on greyscale images with index colorspace.
17 0009-opj_pi_next.patch: Fix potential bad precno value in opj_pi_next* functions.
18 0011-j2k_update_image_data.patch: Prevent bad signed -> unsigned casting.
19 0012-mct_sse.patch: Don't use SSE intrinsics in 32-bit builds.
20 0014-opj_jp2_read_ihdr_leak.patch: Memory leak in opj_jp2_read_ihdr().
21 0015-read_SPCod_SPCoc_overflow.patch: Prevent a buffer overflow in opj_j2k_read_SPCod_SPCoc.
[all …]
/external/brotli/c/include/brotli/
Dport.h28 #define BROTLI_GNUC_VERSION_CHECK(major, minor, patch) \ argument
29 (BROTLI_GNUC_VERSION >= BROTLI_MAKE_VERSION(major, minor, patch))
31 #define BROTLI_GNUC_VERSION_CHECK(major, minor, patch) (0) argument
50 #define BROTLI_MSVC_VERSION_CHECK(major, minor, patch) (0) argument
52 #define BROTLI_MSVC_VERSION_CHECK(major, minor, patch) \ argument
53 (_MSC_FULL_VER >= ((major * 10000000) + (minor * 100000) + (patch)))
55 #define BROTLI_MSVC_VERSION_CHECK(major, minor, patch) \ argument
56 (_MSC_FULL_VER >= ((major * 1000000) + (minor * 10000) + (patch)))
58 #define BROTLI_MSVC_VERSION_CHECK(major, minor, patch) \ argument
73 #define BROTLI_INTEL_VERSION_CHECK(major, minor, patch) \ argument
[all …]
/external/skqp/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
12 to patch into your local checkout: https://codereview.appspot.com/6201055/
14 because there is no standard Windows "patch" tool.
17 …velopers/contributing-code#TOC-Instructions-for-Reviewer:-Checking-in-the-patch-for-a-non-committe…
22 git cl patch 6201055
27 1. Prepare your local workspace to accept the patch.
30 want to apply the patch.
32 clean enough" for your purposes). If the codereview patch was against
36 2. Download the raw patch set.
[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
12 to patch into your local checkout: https://codereview.appspot.com/6201055/
14 because there is no standard Windows "patch" tool.
17 …velopers/contributing-code#TOC-Instructions-for-Reviewer:-Checking-in-the-patch-for-a-non-committe…
22 git cl patch 6201055
27 1. Prepare your local workspace to accept the patch.
30 want to apply the patch.
32 clean enough" for your purposes). If the codereview patch was against
36 2. Download the raw patch set.
[all …]
/external/python/cpython3/Lib/test/
Dtest_getpass.py17 @mock.patch('os.environ')
39 with mock.patch('os.getuid') as uid, \
40 mock.patch('pwd.getpwuid') as getpw:
62 with mock.patch('sys.stderr') as stderr:
66 @mock.patch('sys.stdin')
72 @mock.patch('sys.stdin')
98 with mock.patch('os.open') as open, \
99 mock.patch('io.FileIO') as fileio, \
100 mock.patch('io.TextIOWrapper') as textio:
112 with mock.patch('os.open') as open, \
[all …]
/external/archive-patcher/tools/src/main/java/com/google/archivepatcher/tools/
DFileByFileTool.java43 + " --generate generate a patch\n"
44 + " --apply apply a patch\n"
47 + " --patch the patch file\n"
51 + " When generating a patch, a limit can be specified on the total number of bytes to\n"
52 + " allow to be recompressed during the patch apply process. This can be for a variety\n"
54 + " be expended applying the patch on the target platform. To properly explain a\n"
55 + " patch that had such a limitation, it is necessary to specify the same limitation\n"
58 + " When generating a patch, a limit can be specified on the total size of the delta-\n"
60 + " needs to be created when applying the patch. The size limit is \"soft\" in that \n"
67 + " To generate a patch from OLD to NEW, saving the patch in PATCH:\n"
[all …]
/external/fsverity-utils/
Delide_patch.c3 * Elide and patch handling for 'fsverity setup'
19 /* An elision or a patch */
23 bool patch; /* false if elision, true if patch */ member
24 u8 data[]; /* replacement data (if patch=true) */
27 /* Maximum supported patch size, in bytes */
57 ext->patch = false; in parse_elide_option()
66 /* Parse a --patch=OFFSET,PATCHFILE option */
89 error_msg("patch file '%s' is empty", patchfile.name); in parse_patch_option()
93 error_msg("Patch file '%s' is too long. Max patch size is %d bytes.", in parse_patch_option()
100 ext->patch = true; in parse_patch_option()
[all …]
/external/python/cpython2/Lib/idlelib/
DNEWS.txt12 Patch by Roger Serwy, updated by Bayard Randel.
33 of warnings was emitted. Patch by Serhiy Storchaka.
42 and ttk widgets. Original patch by Serhiy Storchaka.
79 The patch by Mark Roseman does this by making two changes.
89 Patch by Mark Roseman.
97 list. Patch by Mark Roseman.
115 Settings -> Custom Highlighting. Original patch by Mark Roseman.
119 always highlighted on Windows. Initial patch by Mark Roseman.
122 affected by a tk regression. Initial patch by Mark Roseman.
125 now work on Mac Aqua. Patch by Mark Roseman.
[all …]
/external/bsdiff/include/bsdiff/
Dpatch_writer_factory.h18 // Create a patch writer compatible with upstream's "BSDIFF40" patch format
24 // Create a patch writer using the "BSDF2" patch format. It uses the compressor
33 // Create a patch writer using the "BSDF2" patch format. It also tries all the
34 // compressors in |types| to generate the smallest patch.
41 // Create a patch writer compatible with Android Play Store bsdiff patches.
42 // The data will be written to the passed |patch| vector, which must be valid
43 // until Close() is called or this patch is destroyed. The data will be
44 // compressed using the compressor type |type|. To get an uncompressed patch,
48 std::vector<uint8_t>* patch,
52 // Helper function to create an Endsley patch writer with no compression.
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_extensions.py98 self.patch = int(split[2])
100 self.patch = None
105 assert self.patch is None or self.patch < 4096
110 if self.patch is not None:
111 ver_list.append(str(self.patch))
115 patch = self.patch if self.patch is not None else 0
116 ver_list = [str(self.major), str(self.minor), str(patch)]
121 patch = self.patch if self.patch is not None else 0
122 return (self.major << 22) | (self.minor << 12) | patch
125 # If only one of them has a patch version, "ignore" it by making
[all …]
/external/python/cpython3/Lib/idlelib/
DNEWS.txt122 Patch by Kevin Walzer.
203 Coverage is 100%. Patch by Cheryl Sabella.
251 as when event handling is driven by user code. Patch based on
258 Patch mostly by Cheryl Sabella.
262 Patch by Serhiy Storchake and Terry Jan Reedy.
268 Patch by Terry Jan Reedy.
272 Patch by Zane Bitter.
282 Patch by Terry Jan Reedy
300 Patch by Cheryl Sabella.
307 This affects all dialogs. Patch by Serhiy Storchaka.
[all …]
/external/mesa3d/docs/
Dsubmittingpatches.html22 <li><a href="#formatting">Patch formatting</a>
50 <h2 id="formatting">Patch formatting</h2>
65 <li>Subsequent patch comments should describe the change in more detail,
76 <li>If a patch addresses a bugzilla issue, that should be noted in the
77 patch comment. For example:
81 <li>If a patch addresses a issue introduced with earlier commit, that should be
82 noted in the patch comment. For example:
86 <li>If there have been several revisions to a patch during the review
103 <li>If someone tested your patch, document it with a line like this:
107 <li>If the patch was reviewed (usually the case) or acked by someone,
[all …]
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/gdiff/
DGdiffTest.java31 * The intention is that a bad patch will *always* throw an IOException, either via explicit test
46 byte[] patch = new byte[] { in testExample()
61 // Create "patch" file - this is just a stream in testExample()
62 ByteArrayInputStream patchStream = new ByteArrayInputStream(patch); in testExample()
67 long outputLength = Gdiff.patch(readInputFile, patchStream, outputStream, newBytes.length); in testExample()
89 byte[] patch = new byte[] { in testOpcodes()
110 // Create "patch" file - this is just a stream in testOpcodes()
111 ByteArrayInputStream patchStream = new ByteArrayInputStream(patch); in testOpcodes()
116 long outputLength = Gdiff.patch(readInputFile, patchStream, outputStream, newBytes.length); in testOpcodes()
132 // First 5 bytes for copying into each patch in testInlineDataCommands()
[all …]
/external/scrypt/
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 file specified."
100 generate $patch $tar
353 declare -r patch=$1
[all …]
/external/python/cpython3/Doc/library/
Dunittest.mock.rst27 Additionally, mock provides a :func:`patch` decorator that handles patching
31 :func:`patch`.
81 The :func:`patch` decorator / context manager makes it easy to mock classes or
85 >>> from unittest.mock import patch
86 >>> @patch('module.ClassName2')
87 ... @patch('module.ClassName1')
100 When you nest patch decorators the mocks are passed in to the decorated
105 With :func:`patch` it matters that you patch objects in the namespace where they
107 read :ref:`where to patch <where-to-patch>`.
109 As well as a decorator :func:`patch` can be used as a context manager in a with
[all …]
/external/bsdiff/
Dpatch_writer_unittest.cc50 // This patch writer doesn't use the |new_size| value passed on init, so we in SetUp()
62 test_utils::BsdiffPatchFile patch; in TEST_F() local
63 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename())); in TEST_F()
64 EXPECT_TRUE(patch.IsValid()); in TEST_F()
67 EXPECT_EQ(sizeof(kCompressedEmpty), static_cast<uint64_t>(patch.diff_len)); in TEST_F()
68 EXPECT_EQ(sizeof(kCompressedEmpty), patch.extra_len); in TEST_F()
79 test_utils::BsdiffPatchFile patch; in TEST_F() local
80 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename())); in TEST_F()
81 EXPECT_TRUE(patch.IsValid()); in TEST_F()
82 EXPECT_EQ(patch.bz2_diff, in TEST_F()
[all …]
/external/wayland/doc/
DContributing9 what part is affected by the patch followed by one sentence that
19 same file(s) as the patch being sent.
21 The body of the commit message should describe what the patch changes
34 email address. If you're not the patch's original author, you should
35 also gather S-o-b's by them (and/or whomever gave the patch to you.) The
36 significance of this is that it certifies that you created the patch,
55 If a patch is not found in Patchwork, there is a high possibility for it to be
60 When you send a revised version of a patch, it would be very nice to mark your
61 old patch as superseded (or rejected, if that is applicable). You can change
63 identified by email address you use to register. Updating your patch status
[all …]
/external/python/mock/
DNEWS5 methods to unittest.mock. Patch written by Amit Saha.
7 - Issue #22138: Fix mock.patch behavior when patching descriptors. Restore
8 original values after patching. Patch contributed by Sean McCully.
11 boolean result instead of raising an exception. Patch by A Kaptur.
14 read_data is bytes. Initial patch by Aaron Hill.
20 Patch from Nicola Palumbo and Laurent De Buyst.
23 was a regression vs Python 3.4. Patch from Ignacio Rossi
26 like configure_mock(). Patch by Kasia Jachim.
29 Patch by Håkan Lövdahl.
31 - Issue #23581: Add matmul support to MagicMock. Patch by Håkan Lövdahl.
[all …]

12345678910>>...105