Home
last modified time | relevance | path

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

12345678910>>...116

/third_party/mindspore/mindspore-src/source/cmake/external_libs/
Dopenssl.cmake10 set(OPENSSL_PATCH_ROOT ${TOP_DIR}/third_party/patch/openssl)
12 set(OPENSSL_PATCH_ROOT ${CMAKE_SOURCE_DIR}/third_party/patch/openssl)
29 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2021-3711.patch
30 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2021-3712.patch
31 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2021-4160.patch
32 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2022-0778.patch
33 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2022-1292.patch
34 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2022-2068.patch
35 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2022-2097.patch
36 PATCHES ${OPENSSL_PATCH_ROOT}/CVE-2022-4304.patch
[all …]
Dopencv.cmake69 … PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2022-0561_and_CVE-2022-0562.patch001
70 PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2022-0908.patch002
71 PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2022-3970.patch
72 PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2023-3316.patch
73 PATCHES ${TOP_DIR}/third_party/patch/opencv/Fix_Binary.patch)
100 … PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2022-0561_and_CVE-2022-0562.patch001
101 PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2022-0908.patch002
102 PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2022-3970.patch
103 PATCHES ${TOP_DIR}/third_party/patch/opencv/libtiff/CVE-2023-3316.patch
104 PATCHES ${TOP_DIR}/third_party/patch/opencv/Fix_Binary.patch)
[all …]
/third_party/json/tests/src/
Dunit-json_patch.cpp20 TEST_CASE("JSON patch")
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 const patch = {{{"op", "remove"}, {"path", "/1"}}}; variable
82 CHECK(doc.patch(patch) == json({1, 3, 4}));
92 // A JSON Patch document:
93 json const patch = R"( variable
[all …]
Dunit-merge_patch.cpp17 TEST_CASE("JSON Merge Patch")
31 json const patch = R"({ variable
45 document.merge_patch(patch);
64 json const patch = R"({ variable
87 document.merge_patch(patch);
96 json const patch = R"({"a":"c"})"_json; variable
99 original.merge_patch(patch);
106 json const patch = R"({"b":"c"})"_json; variable
109 original.merge_patch(patch);
116 json const patch = R"({"a":null})"_json; variable
[all …]
/third_party/cJSON/tests/json-patch-tests/
Dtests.json4 "patch": [], array
7 { "comment": "empty patch list",
9 "patch": [], array
14 "patch": [], array
19 "patch": [], array
24 "patch": [], array
29 "patch": [{"op": "add", "path": "/foo", "value":1}], array
34 "patch": [{"op": "add", "path": "/0", "value": "foo"}], array
39 "patch": [], array
44 "patch": [{"op": "add", "path": "/foo", "value": "1"}], array
[all …]
/third_party/python/Lib/unittest/test/testmock/
Dtestpatch.py16 MagicMock, Mock, NonCallableMagicMock, patch, _patch,
101 @patch.object(Something, 'attribute', sentinel.Patched)
107 "patch not restored")
112 patch.object('Something', 'do_something')
118 @patch.object(Something, 'attribute', None)
124 "patch not restored")
132 @patch.object(Something, 'attribute', sentinel.Patched)
133 @patch.object(Something, 'next_attribute', sentinel.Patched2)
142 "patch not restored")
144 "patch not restored")
[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:
63 self.assertEqual(mock_something, sentinel.Patched, "wrong patch")
90 with patch('%s.something' % __name__, sentinel.Patched) as mock_something:
93 with patch('%s.something' % __name__) as mock_again:
[all …]
/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/python/Lib/test/
Dtest_getpass.py17 @mock.patch('os.environ')
42 with mock.patch('os.getuid') as uid, \
43 mock.patch('pwd.getpwuid') as getpw:
65 with mock.patch('sys.stderr') as stderr:
69 @mock.patch('sys.stdin')
75 @mock.patch('sys.stdin')
101 with mock.patch('os.open') as open, \
102 mock.patch('io.FileIO') as fileio, \
103 mock.patch('io.TextIOWrapper') as textio:
115 with mock.patch('os.open') as open, \
[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/json/docs/mkdocs/docs/api/basic_json/
Dpatch.md1 # <small>nlohmann::basic_json::</small>patch
4 basic_json patch(const basic_json& json_patch) const;
7 [JSON Patch](http://jsonpatch.com) defines a JSON document structure for expressing a sequence of o…
8 a JSON document. With this function, a JSON Patch is applied to the current JSON value by executing…
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…
[all …]
Dpatch_inplace.md7 [JSON Patch](http://jsonpatch.com) defines a JSON document structure for expressing a sequence of o…
8 a JSON document. With this function, a JSON Patch is applied to the current JSON value by executing…
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.
[all …]
Dmerge_patch.md7 The merge patch format is primarily intended for use with the HTTP PATCH method as a means of descr…
8 modifications to a target resource's content. This function applies a merge patch to the current JS…
11 [RFC 7396 (JSON Merge Patch)](https://tools.ietf.org/html/rfc7396):
14 define MergePatch(Target, Patch):
15 if Patch is an Object:
18 for each Name/Value pair in Patch:
26 return Patch
29 Thereby, `Target` is the current object; that is, the patch is applied to the current value.
34 : the patch to apply
44 The following code shows how a JSON Merge Patch is applied to a JSON document.
[all …]
/third_party/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/openGLES/extensions/NV/
DNV_tessellation_program5.txt50 This extension adds a new basic primitive type, called a patch, which
51 consists of an array of vertices plus some associated per-patch state. It
53 that transforms a patch into a new patch and a tessellation evaluation
59 variable-size input patch and produces a new fixed-size output patch. The
60 output patch consists of an array of vertices, and a set of per-patch
61 attributes. The per-patch attributes include tessellation levels that
62 control how finely the patch will be tessellated. For each patch
64 -- one per output patch vertex. Each tessellation control program
65 invocation writes all the attributes of its corresponding output patch
68 and write shared per-patch outputs. The tessellation control program
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_tessellation_program5.txt50 This extension adds a new basic primitive type, called a patch, which
51 consists of an array of vertices plus some associated per-patch state. It
53 that transforms a patch into a new patch and a tessellation evaluation
59 variable-size input patch and produces a new fixed-size output patch. The
60 output patch consists of an array of vertices, and a set of per-patch
61 attributes. The per-patch attributes include tessellation levels that
62 control how finely the patch will be tessellated. For each patch
64 -- one per output patch vertex. Each tessellation control program
65 invocation writes all the attributes of its corresponding output patch
68 and write shared per-patch outputs. The tessellation control program
[all …]
/third_party/e2fsprogs/
Dinstall.sh20 patch -p1 < $2/1001-image-make.patch --fuzz=0 --no-backup-if-mismatch
21 patch -p1 < $2/1002-add-header-file-to-musl-compile-mk2efs.patch --fuzz=0 --no-backup-if-mismatch
22 patch -p1 < $2/1003-add-dac-config.patch --fuzz=0 --no-backup-if-mismatch
23 patch -p1 < $2/1004-modify-code-to-compile.patch --fuzz=0 --no-backup-if-mismatch
24 patch -p1 < $2/1005-read-vfat-chinese-label.patch --fuzz=0 --no-backup-if-mismatch
25 patch -p1 < $2/1006-add-hmfs-for-blkid.patch --fuzz=0 --no-backup-if-mismatch
26 patch -p1 < $2/1007-blkid-support-skip-specified-filesystem.patch --fuzz=0 --no-backup-if-mismatch
/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_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/openGLES/extensions/ARB/
DARB_tessellation_shader.txt81 operate on a new basic primitive type, called a patch. A patch consists
83 plus a number of associated per-patch attributes. Tessellation control
84 shaders transform an input patch specified by the application, computing
85 per-vertex and per-patch attributes for a new output patch. A
86 fixed-function tessellation primitive generator subdivides the patch, and
91 tessellation control shader. This shader consumes an input patch and
92 produces a new fixed-size output patch. The output patch consists of an
93 array of vertices, and a set of per-patch attributes. The per-patch
94 attributes include tessellation levels that control how finely the patch
95 will be tessellated. For each patch processed, multiple tessellation
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_tessellation_shader.txt71 operate on a new basic primitive type, called a patch. A patch consists
73 plus a number of associated per-patch attributes. Tessellation control
74 shaders transform an input patch specified by the application, computing
75 per-vertex and per-patch attributes for a new output patch. A
76 fixed-function tessellation primitive generator subdivides the patch, and
81 tessellation control shader. This shader consumes an input patch and
82 produces a new fixed-size output patch. The output patch consists of an
83 array of vertices, and a set of per-patch attributes. The per-patch
84 attributes include tessellation levels that control how finely the patch
85 will be tessellated. For each patch processed, multiple tessellation
[all …]
/third_party/libpng/
Dinstall.py35 "huawei_libpng_CMakeList.patch",
36 "libpng-fix-arm-neon.patch",
37 "libpng-multilib.patch",
38 "backport-libpng-1.6.37-enable-valid.patch",
40 "CVE-2018-14048.patch",
41 "libpng_optimize.patch"
53 …patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target…
62 "huawei_libpng_CMakeList.patch",
63 "libpng-fix-arm-neon.patch",
64 "libpng-multilib.patch",
[all …]
/third_party/freetype/
Dinstall.py35 "backport-freetype-2.2.1-enable-valid.patch",
36 "backport-freetype-2.3.0-enable-spr.patch",
37 "backport-freetype-2.6.5-libtool.patch",
38 "backport-freetype-2.8-multilib.patch",
39 "backport-freetype-2.10.0-internal-outline.patch",
40 "backport-freetype-2.10.1-debughook.patch",
41 "backport-freetype-2.12.1-enable-funcs.patch",
62 …patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target…
71 "backport-freetype-2.2.1-enable-valid.patch",
72 "backport-freetype-2.3.0-enable-spr.patch",
[all …]
/third_party/cups/
Dinstall.py60 …patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target…
63 print(f"apply_patch error! patch: {patch_file}")
69 "ohos-multi-file-print.patch",
70 "ohos-modify-pthread.patch",
71 "ohos_ip_conflict.patch",
72 "ohos-usb-manager.patch",
73 "ohos-usb-print.patch",
74 "ohos-ppdfile-not-generated.patch",
75 "ohos-hilog-print.patch",
76 "ohos-uni-print-driver-path.patch",
[all …]
/third_party/cJSON/tests/
Djson_patch_tests.c52 cJSON *patch = NULL; in test_apply_patch() local
81 patch = cJSON_GetObjectItemCaseSensitive(test, "patch"); in test_apply_patch()
82 TEST_ASSERT_NOT_NULL_MESSAGE(patch, "No \"patch\"in the test."); in test_apply_patch()
92 …TEST_ASSERT_TRUE_MESSAGE(0 != cJSONUtils_ApplyPatchesCaseSensitive(object, patch), "Test didn't fa… in test_apply_patch()
98 /* apply the patch */ in test_apply_patch()
99 …TEST_ASSERT_EQUAL_INT_MESSAGE(0, cJSONUtils_ApplyPatchesCaseSensitive(object, patch), "Failed to a… in test_apply_patch()
125 cJSON *patch = NULL; in test_generate_test() local
156 patch = cJSONUtils_GeneratePatchesCaseSensitive(doc, expected); in test_generate_test()
157 TEST_ASSERT_NOT_NULL_MESSAGE(patch, "Failed to generate patches."); in test_generate_test()
159 printed_patch = cJSON_Print(patch); in test_generate_test()
[all …]
/third_party/openGLES/extensions/OES/
DOES_tessellation_shader.txt84 operate on a new basic primitive type, called a patch. A patch consists
86 plus a number of associated per-patch attributes. Tessellation control
87 shaders transform an input patch specified by the application, computing
88 per-vertex and per-patch attributes for a new output patch. A
89 fixed-function tessellation primitive generator subdivides the patch, and
94 tessellation control shader. This shader consumes an input patch and
95 produces a new fixed-size output patch. The output patch consists of an
96 array of vertices, and a set of per-patch attributes. The per-patch
97 attributes include tessellation levels that control how finely the patch
98 will be tessellated. For each patch processed, multiple tessellation
[all …]

12345678910>>...116