Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 25 of 1386) sorted by relevance

12345678910>>...56

/third_party/json/test/src/
Dunit-json_patch.cpp56 json patch = R"([{ "op": "add", "path": "/a/b/c", "value": [ "foo", "bar" ] }])"_json; variable
66 CHECK_NOTHROW(doc1.patch(patch));
77 CHECK(doc1.patch(patch) == doc1_ans);
83 CHECK_THROWS_AS(doc2.patch(patch), json::out_of_range&);
84 CHECK_THROWS_WITH(doc2.patch(patch),
93 json patch = {{{"op", "remove"}, {"path", "/1"}}}; variable
94 CHECK(doc.patch(patch) == json({1, 3, 4}));
105 json patch = R"( variable
120 CHECK(doc.patch(patch) == expected);
123 CHECK(doc.patch(json::diff(doc, expected)) == expected);
[all …]
Dunit-merge_patch.cpp49 json patch = R"({ variable
63 document.merge_patch(patch);
82 json patch = R"({ variable
105 document.merge_patch(patch);
114 json patch = R"({"a":"c"})"_json; variable
117 original.merge_patch(patch);
124 json patch = R"({"b":"c"})"_json; variable
127 original.merge_patch(patch);
134 json patch = R"({"a":null})"_json; variable
137 original.merge_patch(patch);
[all …]
/third_party/glib/
Dbackport-patch.log1 Patch6000: backport-correctly-use-3-parameters-for-clise-range.patch
2 Patch6001: backport-fix-a-memory-leak.patch
3 Patch6002: backport-gfileenumerator-fix-leak-in-error-path.patch
4 Patch6003: backport-gdbusobjectmanagerservice-fix-leak-in-error-path.patch
5 Patch6004: backport-gdbusauth-fix-error-leak.patch
6 Patch6005: backport-gapplication-fix-arguments-leak-in-error-path.patch
7 Patch6006: backport-gsocks5proxy-Handle-EOF-when-reading-from-a-stream.patch
8 Patch6007: backport-application-Unset-the-registered-state-after-shutting-down.patch
9 Patch6008: backport-gdtlsconnection-Fix-a-check-for-a-vfunc-being-implemented.patch
10 Patch6009: backport-gthread-posix-Free-a-memory-leak-on-error-path.patch
[all …]
Dglib2.spec9 Patch6000: backport-correctly-use-3-parameters-for-clise-range.patch
10 Patch6001: backport-fix-a-memory-leak.patch
11 Patch6002: backport-gfileenumerator-fix-leak-in-error-path.patch
12 Patch6003: backport-gdbusobjectmanagerservice-fix-leak-in-error-path.patch
13 Patch6004: backport-gdbusauth-fix-error-leak.patch
14 Patch6005: backport-gapplication-fix-arguments-leak-in-error-path.patch
15 Patch6006: backport-gsocks5proxy-Handle-EOF-when-reading-from-a-stream.patch
16 Patch6007: backport-application-Unset-the-registered-state-after-shutting-down.patch
17 Patch6008: backport-gdtlsconnection-Fix-a-check-for-a-vfunc-being-implemented.patch
18 Patch6009: backport-gthread-posix-Free-a-memory-leak-on-error-path.patch
[all …]
/third_party/e2fsprogs/
Dinstall.sh16 patch -p1 < $1/0001-e2fsprogs-set-hugefile-from-4T-to-1T-in-hugefile-tes.patch --fuzz=0 --no-backup…
17 patch -p1 < $1/0002-libss-add-newer-libreadline.so.8-to-dlopen-path.patch --fuzz=0 --no-backup-if-m…
18 patch -p1 < $1/0003-tests-update-expect-files-for-f_mmp_garbage.patch --fuzz=0 --no-backup-if-misma…
19 patch -p1 < $1/0004-tests-update-expect-files-for-f_large_dir-and-f_larg.patch --fuzz=0 --no-backup…
20 patch -p1 < $1/0005-resize2fs-resize2fs-disk-hardlinks-will-be-error.patch --fuzz=0 --no-backup-if-…
21 patch -p1 < $1/0006-e2fsck-exit-journal-recovery-when-find-EIO-ENOMEM-er.patch --fuzz=0 --no-backup…
22 patch -p1 < $1/0007-e2fsck-exit-journal-recovery-when-jounral-superblock.patch --fuzz=0 --no-backup…
23 patch -p1 < $1/0008-e2fsck-add-env-param-E2FS_UNRELIABLE_IO-to-fi.patch --fuzz=0 --no-backup-if-mis…
24 patch -p1 < $1/0009-e2mmpstatus.8.in-detele-filesystem-can-be-UUID-or-LA.patch --fuzz=0 --no-backup…
25 patch -p1 < $1/0010-tests-update-expect-file-for-u_direct_io.patch --fuzz=0 --no-backup-if-mismatch
[all …]
/third_party/node/deps/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/python/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 …]
/third_party/python/Lib/unittest/test/testmock/
Dtestpatch.py16 MagicMock, Mock, NonCallableMagicMock, patch, _patch,
101 @patch.object(Something, 'attribute', sentinel.Patched)
112 patch.object('Something', 'do_something')
118 @patch.object(Something, 'attribute', None)
132 @patch.object(Something, 'attribute', sentinel.Patched)
133 @patch.object(Something, 'next_attribute', sentinel.Patched2)
150 @patch('%s.something' % __name__, sentinel.Something2)
163 @patch('%s.something' % __name__, sentinel.Something2)
172 @patch('%s.something' % __name__, sentinel.Something2)
173 @patch('%s.something_else' % __name__, sentinel.SomethingElse)
[all …]
Dtestwith.py5 from unittest.mock import MagicMock, Mock, patch, sentinel, mock_open, call
19 with patch('%s.something' % __name__, sentinel.Something2):
26 with patch('%s.something' % __name__, sentinel.Something2):
33 with patch('%s.something' % __name__) as mock_something:
44 with patch.object(Foo, 'something'):
51 …with patch('%s.something' % __name__) as mock_something, patch('%s.something_else' % __name__) as …
61 with patch('%s.something' % __name__, sentinel.Patched) as mock_something:
90 with patch('%s.something' % __name__, sentinel.Patched) as mock_something:
93 with patch('%s.something' % __name__) as mock_again:
103 with patch('%s.something' % __name__) as mock_something:
[all …]
/third_party/libnl/
Dinstall.sh17 patch -p1 < $1/backport-lib-add-include-netlink-private-nl-auto-h-header.patch --fuzz=0 --no-backup…
18 patch -p1 < $1/backport-lib-use-proper-int-type-for-id-attributes-in-nl_object_identical.patch --fu…
19 patch -p1 < $1/backport-route-link-add-RTNL_LINK_REASM_OVERLAPS-stat.patch --fuzz=0 --no-backup-if-…
20 patch -p1 < $1/backport-route-link-Check-for-null-pointer-in-macvlan.patch --fuzz=0 --no-backup-if-…
21 patch -p1 < $1/backport-rtnl-link-fix-leaking-rtnl_link_af_ops-in-link_msg_parser.patch --fuzz=0 --…
22 patch -p1 < $1/backport-rtnl-route-fix-NLE_NOMEM-handling-in-parse_multipath.patch --fuzz=0 --no-ba…
23 patch -p1 < $1/solve-redefinition-of-struct-ipv6_mreq.patch --fuzz=0 --no-backup-if-mismatch
24 patch -p1 < $1/solve-oh-compile-problem.patch --fuzz=0 --no-backup-if-mismatch
DREADME_ZH.md11 #### patch包说明
13 以下patch包为openEuler:libnl3开源库本身携带
14 backport-lib-add-include-netlink-private-nl-auto-h-header.patch
15 backport-lib-use-proper-int-type-for-id-attributes-in-nl_object_identical.patch
16 backport-route-link-add-RTNL_LINK_REASM_OVERLAPS-stat.patch
17 backport-route-link-Check-for-null-pointer-in-macvlan.patch
18 backport-rtnl-link-fix-leaking-rtnl_link_af_ops-in-link_msg_parser.patch
19 backport-rtnl-route-fix-NLE_NOMEM-handling-in-parse_multipath.patch
20 solve-redefinition-of-struct-ipv6_mreq.patch
22 以下patch包为解决在OpenHarmony工程下编译存在的问题自行添加
[all …]
/third_party/curl/
Dcurl.spec15 Patch1: backport-0101-curl-7.32.0-multilib.patch
16 Patch2: backport-CVE-2022-22576.patch
17 Patch3: backport-CVE-2022-27775.patch
18 Patch4: backport-CVE-2022-27776.patch
19 Patch5: backport-pre-CVE-2022-27774.patch
20 Patch6: backport-001-CVE-2022-27774.patch
21 Patch7: backport-002-CVE-2022-27774.patch
22 Patch8: backport-CVE-2022-27781.patch
23 Patch9: backport-pre-CVE-2022-27782.patch
24 Patch10: backport-CVE-2022-27782.patch
[all …]
/third_party/openssl/test/testutil/
Dprovider.c69 int major, minor, patch; member
89 || sscanf(vs, "%d.%d.%d", &vers->major, &vers->minor, &vers->patch) != 3) in fips_provider_version()
99 int fips_provider_version_eq(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_eq() argument
106 return major == prov.major && minor == prov.minor && patch == prov.patch; in fips_provider_version_eq()
109 int fips_provider_version_ne(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_ne() argument
116 return major != prov.major || minor != prov.minor || patch != prov.patch; in fips_provider_version_ne()
119 int fips_provider_version_le(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_le() argument
129 || (prov.minor == minor && prov.patch <= patch))); in fips_provider_version_le()
132 int fips_provider_version_gt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_gt() argument
142 || (prov.minor == minor && prov.patch > patch))); in fips_provider_version_gt()
[all …]
/third_party/json/include/nlohmann/thirdparty/hedley/
Dhedley.hpp84 …LEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(… argument
86 #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (0) argument
104 #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0) argument
106 …N_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 10000000) + (minor * 10… argument
108 …ON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 1000000) + (minor * 10… argument
110 … #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_VER >= ((major * 100) + (minor))) argument
126 …EY_INTEL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_VERSION >= JSON_HEDLEY_VERSION_ENCODE… argument
128 #define JSON_HEDLEY_INTEL_VERSION_CHECK(major,minor,patch) (0) argument
142 …TEL_CL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_CL_VERSION >= JSON_HEDLEY_VERSION_ENCOD… argument
144 #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (0) argument
[all …]
/third_party/cups/
Dinstall.sh22 patch -p1 < $1/backport-CVE-2022-26691.patch --fuzz=0 --no-backup-if-mismatch
23 patch -p1 < $1/backport-CVE-2023-32324.patch --fuzz=0 --no-backup-if-mismatch
24 patch -p1 < $1/backport-CVE-2023-34241.patch --fuzz=0 --no-backup-if-mismatch
25 patch -p1 < $1/ohos-multi-file-print.patch --fuzz=0 --no-backup-if-mismatch
26 patch -p1 < $1/ohos-modify-pthread.patch --fuzz=0 --no-backup-if-mismatch
27 patch -p1 < $1/ohos-add-openssl.patch --fuzz=0 --no-backup-if-mismatch
/third_party/skia/site/docs/dev/contrib/
Dpatch.md7 externally-submitted patch, this is how to do it. (This technique is useful in
8 other situations too, like if you just want to try out somebody else's patch
14 patch into your local checkout: https://codereview.appspot.com/6201055/
16 there is no standard Windows "patch" tool.
19 …velopers/contributing-code#TOC-Instructions-for-Reviewer:-Checking-in-the-patch-for-a-non-committe…
24 git cl patch 6201055
29 1. Prepare your local workspace to accept the patch.
32 want to apply the patch.
34 enough" for your purposes). If the codereview patch was against an old
38 2. Download the raw patch set.
[all …]
/third_party/flutter/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 …]
/third_party/expat/
Dexpat.spec10 Patch0: backport-CVE-2021-45960.patch
11 Patch1: backport-CVE-2021-46143.patch
12 …ort-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch
13 Patch3: backport-CVE-2022-23852-lib-Detect-and-prevent-integer-overflow-in-XML_GetBu.patch
14 Patch4: backport-CVE-2022-23852-tests-Cover-integer-overflow-in-XML_GetBuffer-CVE-20.patch
15 Patch5: backport-CVE-2022-23990-lib-Prevent-integer-overflow-in-doProlog-CVE-2022-23.patch
16 Patch6: backport-CVE-2022-25235-lib-Add-missing-validation-of-encoding.patch
17 Patch7: backport-tests-Cover-missing-validation-of-encoding.patch
18 Patch8: backport-CVE-2022-25236-lib-Protect-against-malicious-namespace-declarations.patch
19 Patch9: backport-tests-Cover-CVE-2022-25236.patch
[all …]
/third_party/chromium/patch/
DREADME.md1 # chromium patch information
4 主要介绍各个patch的相关信息
8 | 0001-cve.patch | 针对Chromium CVE漏洞的修复 |
9 | 0002-cef.patch | CEF代码 |
10 | 0003-ohos-1115.patch | OpenHarmony特性代码 |
11 | 0004-ohos-3.2-Beta5.patch | OpenHarmony 3.2 Beta5 特性代码 |
12 | 0005-ohos-3.2-Beta5-bugfix.patch | 修复 OpenHarmony 3.2 Beta5 版本编译错误 |
19 git apply --whitespace=nowarn --ignore-whitespace -p2 ../patch/*.patch
/third_party/typescript/src/compiler/
Dsemver.ts37 readonly patch: number; property in ts.Version
42 … constructor(major: number, minor?: number, patch?: number, prerelease?: string, build?: string);
43 constructor(major: number | string, minor = 0, patch = 0, prerelease = "", build = "") {
46 ({ major, minor, patch, prerelease, build } = result);
51 Debug.assert(patch >= 0, "Invalid argument: patch");
56 this.patch = patch;
65 const { major, minor, patch, prerelease, build } = result; constant
66 return new Version(major, minor, patch, prerelease, build);
86 || compareValues(this.patch, other.patch)
94 case "patch": return new Version(this.major, this.minor, this.patch + 1);
[all …]
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dpatch.md1 # basic_json::patch
4 basic_json patch(const basic_json& json_patch) const;
9 the patch.
14 : JSON patch document
22 …r.104`](../../home/exceptions.md#jsonexceptionparse_error104) if the JSON patch does not consist of
24 …r.105`](../../home/exceptions.md#jsonexceptionparse_error105) if the JSON patch is malformed (e.g.,
27 …nge.403`](../../home/exceptions.md#jsonexceptionout_of_range403) if a JSON pointer inside the patch
40 Linear in the size of the JSON value and the length of the JSON patch. As usually only a fraction o…
41 affected by the patch, the complexity can usually be neglected.
45 The application of a patch is atomic: Either all operations succeed and the patched document is ret…
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dversion.dart7 factory Version(int major, int minor, int patch, {String text}) {
12 if (patch != null)
13 text = '$text.$patch';
16 return Version._(major ?? 0, minor ?? 0, patch ?? 0, text);
19 Version._(this.major, this.minor, this.patch, this._text) {
24 if (patch < 0)
38 final int patch = int.parse(match[5] ?? '0');
39 return Version._(major, minor, patch, text);
67 /// The patch version number: "3" in "1.2.3".
68 final int patch;
[all …]
/third_party/vk-gl-cts/build/include/glslang/
Dbuild_info.h42 #define GLSLANG_VERSION_GREATER_THAN(major, minor, patch) \ argument
45 ((patch) > GLSLANG_VERSION_PATCH)))))
47 #define GLSLANG_VERSION_GREATER_OR_EQUAL_TO(major, minor, patch) \ argument
50 ((patch) >= GLSLANG_VERSION_PATCH)))))
52 #define GLSLANG_VERSION_LESS_THAN(major, minor, patch) \ argument
55 ((patch) < GLSLANG_VERSION_PATCH)))))
57 #define GLSLANG_VERSION_LESS_OR_EQUAL_TO(major, minor, patch) \ argument
60 ((patch) <= GLSLANG_VERSION_PATCH)))))
/third_party/node/deps/zlib/patches/
DREADME3 - 0000-build.patch: changes from the upstream version, mostly related to the
5 - 0001-simd.patch: integrate Intel SIMD optimizations from
7 - 0002-uninitializedcheck.patch: prevent uninitialized use of state->check
9 == Procedure to create a patch file ==
12 - git format-patch master --stdout > foo.patch # where naming follows a growing
13 # number plus patch description.
14 - git add foo.patch
15 - git commit -a -m "Local patch."
19 the need to append this file with a description of what the patch does. This
29 intention is not immediately clear, generate a .patch file to go with your
[all …]

12345678910>>...56