| /third_party/json/tests/src/ |
| D | unit-json_patch.cpp | 48 CHECK_NOTHROW(doc1.patch(patch1)); 57 CHECK(doc1.patch(patch1) == doc1_ans); 63 …CHECK_THROWS_WITH_AS(doc2.patch(patch1), "[json.exception.out_of_range.403] key 'a' not found", js… 70 …CHECK_THROWS_WITH_AS(doc3.patch(patch2), "[json.exception.out_of_range.403] (/a) key 'b' not found… 72 …CHECK_THROWS_WITH_AS(doc3.patch(patch2), "[json.exception.out_of_range.403] key 'b' not found", js… 81 json patch = {{{"op", "remove"}, {"path", "/1"}}}; variable 82 CHECK(doc.patch(patch) == json({1, 3, 4})); 93 json patch = R"( variable 108 CHECK(doc.patch(patch) == expected); 111 CHECK(doc.patch(json::diff(doc, expected)) == expected); [all …]
|
| D | unit-merge_patch.cpp | 31 json patch = R"({ variable 45 document.merge_patch(patch); 64 json patch = R"({ variable 87 document.merge_patch(patch); 96 json patch = R"({"a":"c"})"_json; variable 99 original.merge_patch(patch); 106 json patch = R"({"b":"c"})"_json; variable 109 original.merge_patch(patch); 116 json patch = R"({"a":null})"_json; variable 119 original.merge_patch(patch); [all …]
|
| /third_party/e2fsprogs/ |
| D | install.sh | 17 patch -p1 < $1/0001-e2fsprogs-set-hugefile-from-4T-to-1T-in-hugefile-tes.patch --fuzz=0 --no-backup… 18 patch -p1 < $1/0002-libss-add-newer-libreadline.so.8-to-dlopen-path.patch --fuzz=0 --no-backup-if-m… 19 patch -p1 < $1/0003-tests-update-expect-files-for-f_mmp_garbage.patch --fuzz=0 --no-backup-if-misma… 20 patch -p1 < $1/0004-tests-update-expect-files-for-f_large_dir-and-f_larg.patch --fuzz=0 --no-backup… 21 patch -p1 < $1/0005-resize2fs-resize2fs-disk-hardlinks-will-be-error.patch --fuzz=0 --no-backup-if-… 22 patch -p1 < $1/0006-e2fsck-exit-journal-recovery-when-find-EIO-ENOMEM-er.patch --fuzz=0 --no-backup… 23 patch -p1 < $1/0007-e2fsck-exit-journal-recovery-when-jounral-superblock.patch --fuzz=0 --no-backup… 24 patch -p1 < $1/0008-e2fsck-add-env-param-E2FS_UNRELIABLE_IO-to-fi.patch --fuzz=0 --no-backup-if-mis… 25 patch -p1 < $1/0009-e2mmpstatus.8.in-detele-filesystem-can-be-UUID-or-LA.patch --fuzz=0 --no-backup… 26 patch -p1 < $1/0010-tests-update-expect-file-for-u_direct_io.patch --fuzz=0 --no-backup-if-mismatch [all …]
|
| D | e2fsprogs.spec | 10 Patch1: 0001-e2fsprogs-set-hugefile-from-4T-to-1T-in-hugefile-tes.patch 11 Patch2: 0002-libss-add-newer-libreadline.so.8-to-dlopen-path.patch 12 Patch3: 0003-tests-update-expect-files-for-f_mmp_garbage.patch 13 Patch4: 0004-tests-update-expect-files-for-f_large_dir-and-f_larg.patch 14 Patch5: 0005-resize2fs-resize2fs-disk-hardlinks-will-be-error.patch 15 Patch6: 0006-e2fsck-exit-journal-recovery-when-find-EIO-ENOMEM-er.patch 16 Patch7: 0007-e2fsck-exit-journal-recovery-when-jounral-superblock.patch 17 Patch8: 0008-e2fsck-add-env-param-E2FS_UNRELIABLE_IO-to-fi.patch 18 Patch9: 0009-e2mmpstatus.8.in-detele-filesystem-can-be-UUID-or-LA.patch 19 Patch10: 0010-tests-update-expect-file-for-u_direct_io.patch [all …]
|
| /third_party/glib/ |
| D | backport-patch.log | 1 Patch6000: backport-add-version-macros-for-GLib-2.74.patch 2 Patch6001: backport-gtype-Add-G_TYPE_FLAG_NONE.patch 3 Patch6002: backport-gioenums-Add-G_TLS_CERTIFICATE_FLAGS_NONE.patch 4 Patch6003: backport-gtestutils-Add-G_TEST_SUBPROCESS_DEFAULT.patch 5 Patch6004: backport-gsignal-Add-G_CONNECT_DEFAULT.patch 6 Patch6005: backport-giomodule-test-Dont-pass-a-magic-number-to-g_test_trap_subprocess.patch 7 Patch6006: backport-giochannel-Add-G_IO_FLAG_NONE.patch 8 Patch6007: backport-gmarkup-Add-G_MARKUP_PARSE_FLAGS_NONE.patch 9 Patch6008: backport-gregex-Add-G_REGEX_DEFAULT-G_REGEX_MATCH_DEFAULT.patch 10 Patch6009: backport-replace-pcre1-with-pcre2.patch [all …]
|
| D | glib2.spec | 9 Patch6000: backport-add-version-macros-for-GLib-2.74.patch 10 Patch6001: backport-gtype-Add-G_TYPE_FLAG_NONE.patch 11 Patch6002: backport-gioenums-Add-G_TLS_CERTIFICATE_FLAGS_NONE.patch 12 Patch6003: backport-gtestutils-Add-G_TEST_SUBPROCESS_DEFAULT.patch 13 Patch6004: backport-gsignal-Add-G_CONNECT_DEFAULT.patch 14 Patch6005: backport-giomodule-test-Dont-pass-a-magic-number-to-g_test_trap_subprocess.patch 15 Patch6006: backport-giochannel-Add-G_IO_FLAG_NONE.patch 16 Patch6007: backport-gmarkup-Add-G_MARKUP_PARSE_FLAGS_NONE.patch 17 Patch6008: backport-gregex-Add-G_REGEX_DEFAULT-G_REGEX_MATCH_DEFAULT.patch 18 Patch6009: backport-replace-pcre1-with-pcre2.patch [all …]
|
| /third_party/node/deps/brotli/c/include/brotli/ |
| D | port.h | 28 #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/ |
| D | port.h | 28 #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/ |
| D | test_getpass.py | 17 @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/ |
| D | testpatch.py | 16 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 …]
|
| D | testwith.py | 5 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/lwip/ |
| D | lwip.spec | 12 Patch6001: backport-tcp-fix-sequence-number-comparison.patch 13 Patch6002: backport-tcp-tighten-up-checks-for-received-SYN.patch 15 Patch9000: 0001-add-makefile.patch 16 Patch9001: 0002-adapt-lstack.patch 17 Patch9002: 0003-fix-the-occasional-coredump-when-the-lwip-exits.patch 18 Patch9003: 0004-fix-error-of-deleting-conn-table-in-connect.patch 19 Patch9004: 0005-syn-rcvd-state-reg-conn-into-conntable.patch 20 Patch9005: 0006-fix-coredump-in-etharp.patch 21 Patch9006: 0007-gazelle-fix-epoll_ctl-EPOLLET-mode-error.patch 22 Patch9007: 0008-gazelle-fix-lwip_accept-memcpy-sockaddr-large.patch [all …]
|
| /third_party/openssl/test/testutil/ |
| D | provider.c | 69 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_lt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_lt() argument 142 || (prov.minor == minor && prov.patch < patch))); in fips_provider_version_lt() [all …]
|
| /third_party/json/include/nlohmann/thirdparty/hedley/ |
| D | hedley.hpp | 85 …LEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(… argument 87 #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (0) argument 105 #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0) argument 107 …N_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 10000000) + (minor * 10… argument 109 …ON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 1000000) + (minor * 10… argument 111 … #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_VER >= ((major * 100) + (minor))) argument 127 …EY_INTEL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_VERSION >= JSON_HEDLEY_VERSION_ENCODE… argument 129 #define JSON_HEDLEY_INTEL_VERSION_CHECK(major,minor,patch) (0) argument 143 …TEL_CL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_CL_VERSION >= JSON_HEDLEY_VERSION_ENCOD… argument 145 #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (0) argument [all …]
|
| /third_party/skia/site/docs/dev/contrib/ |
| D | patch.md | 7 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/typescript/src/compiler/ |
| D | semver.ts | 39 readonly patch: number; property in ts.Version 44 …constructor(major: number, minor?: number, patch?: number, prerelease?: string | readonly string[]… 45 …constructor(major: number | string, minor = 0, patch = 0, prerelease: string | readonly string[] =… 48 ({ major, minor, patch, prerelease, build } = result); 53 Debug.assert(patch >= 0, "Invalid argument: patch"); 63 this.patch = patch; 72 const { major, minor, patch, prerelease, build } = result; constant 73 return new Version(major, minor, patch, prerelease, build); 93 || compareValues(this.patch, other.patch) 101 case "patch": return new Version(this.major, this.minor, this.patch + 1); [all …]
|
| /third_party/expat/ |
| D | expat.spec | 10 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/ |
| D | README.md | 1 # 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/libxml2/ |
| D | README_ZH.md | 11 #### patch包说明 13 以下patch包为openEuler:libxml2开源库本身携带 15 Fix-memleaks-in-xmlXIncludeProcessFlags.patch 16 backport-parser-Fix-potential-memory-leak-in-xmlParseAttValue.patch 17 Fix-memory-leaks-for-xmlACatalogAdd.patch 18 Fix-memory-leaks-in-xmlACatalogAdd-when-xmlHashAddEntry-failed.patch 19 backport-CVE-2022-40303-Fix-integer-overflows-with-XML_PARSE_.patch 20 backport-CVE-2022-40304-Fix-dict-corruption-caused-by-entity-.patch 21 backport-schemas-Fix-null-pointer-deref-in-xmlSchemaCheckCOSS.patch 22 libxml2-multilib.patch
|
| /third_party/grpc/ |
| D | install.sh | 19 patch -p1 < $1/src_core_lib_debug.patch 20 patch -p1 < $1/src_core_lib_iomgr.patch 21 patch -p1 < $1/backport-Ignore-Connection-Aborted-errors-on-accept-29318.patch 22 patch -p1 < $1/backport-iomgr-EventEngine-Improve-server-handling-o.patch
|
| /third_party/json/docs/mkdocs/docs/api/basic_json/ |
| D | patch.md | 1 # <small>nlohmann::basic_json::</small>patch 4 basic_json patch(const basic_json& json_patch) const; 9 the patch. 14 : JSON patch document 26 …r.104`](../../home/exceptions.md#jsonexceptionparse_error104) if the JSON patch does not consist of 28 …r.105`](../../home/exceptions.md#jsonexceptionparse_error105) if the JSON patch is malformed (e.g., 31 …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 …]
|
| D | patch_inplace.md | 9 the patch. This function applies a JSON patch in place and returns void. 14 : JSON patch document 18 No guarantees, value may be corrupted by an unsuccessful patch operation. 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 36 Linear in the size of the JSON value and the length of the JSON patch. As usually only a fraction o… 37 affected by the patch, the complexity can usually be neglected. 41 Unlike [`patch`](patch.md), `patch_inplace` applies the operation "in place" and no copy of the JSO… 49 The following code shows how a JSON patch is applied to a value. [all …]
|
| /third_party/vk-gl-cts/build/include/glslang/ |
| D | build_info.h | 42 #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/ |
| D | README | 3 - 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 …]
|
| /third_party/node/deps/v8/third_party/zlib/patches/ |
| D | README | 3 - 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 …]
|