Home
last modified time | relevance | path

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

12345678910>>...109

/third_party/json/test/src/
Dunit-json_patch.cpp38 TEST_CASE("JSON patch")
56 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}));
104 // A JSON Patch document:
105 json patch = R"( variable
[all …]
Dunit-merge_patch.cpp35 TEST_CASE("JSON Merge Patch")
49 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
[all …]
/third_party/glib/
Dpatch.tar.gz
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/mindspore/
Dbuild_helper.py20 '0001-generate-schema-headers-manually.patch',
21 '0002-generate-nnacl-simd-headers-manually.patch',
22 '0003-implement-mindir-module-and-support-nnrt-delegate.patch',
23 '0004-adapt-build-gn-and-provide-C-API-for-OHOS.patch',
24 '0005-mindir-add-custom-op.patch',
25 '0006-Support-converting-THIRDPARTY-model-in-MSLite.patch',
26 '0007-support-third-party-model-in-mslite-runtime.patch',
27 '0008-add-js-api.patch',
28 '0009-adapt-nnrt-v2_0.patch',
29 '0010-nnrt-delegate-supports-heterogeneous-predition.patch',
[all …]
/third_party/curl/
Dinstall.py75 class Patch: class
79 "backport-0101-curl-7.32.0-multilib.patch",
80 "backport-CVE-2022-22576.patch",
81 "backport-CVE-2022-27775.patch",
82 "backport-CVE-2022-27776.patch",
83 "backport-pre-CVE-2022-27774.patch",
84 "backport-001-CVE-2022-27774.patch",
85 "backport-002-CVE-2022-27774.patch",
86 "backport-CVE-2022-27781.patch",
87 "backport-pre-CVE-2022-27782.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/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 …]
/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/cef/tools/
Dpatch_updater.py37 """ Extract the list of modified paths from the patch file. """
57 This utility updates existing patch files.
81 help='resave existing patch files to pick up manual changes')
87 help='reapply the patch without first reverting changes')
93 help='revert all changes from existing patch files')
106 'changed the patch file will be resaved. Used in combination with --reapply.')
108 '--patch',
110 dest='patch',
113 help='optional patch name to process (multiples allowed)')
121 'combination with --resave and a single --patch value.')
[all …]
Dpatcher.py20 cef_patch_dir = os.path.join(cef_dir, 'patch')
32 ''' Apply a specific patch file in optional patch directory. '''
33 patch_path = os.path.join(cef_patch_dir, 'patches', patch_file + '.patch')
39 # Apply patch relative to the Chromium 'src' directory.
46 'This patch failed to apply. Your build will not be correct.')
51 ''' Apply patch files based on a configuration file. '''
52 config_file = os.path.join(cef_patch_dir, 'patch.cfg')
54 raise Exception('Patch config file %s does not exist.' % config_file)
63 for patch in patches:
64 patch_file = patch['name']
[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/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/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/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/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/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
/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/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/json/doc/mkdocs/docs/api/basic_json/
Dpatch.md1 # basic_json::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 executin…
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…
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_tessellation_shader.txt74 operate on a new basic primitive type, called a patch. A patch consists
76 plus a number of associated per-patch attributes. Tessellation control
77 shaders transform an input patch specified by the application, computing
78 per-vertex and per-patch attributes for a new output patch. A
79 fixed-function tessellation primitive generator subdivides the patch, and
84 tessellation control shader. This shader consumes an input patch and
85 produces a new fixed-size output patch. The output patch consists of an
86 array of vertices, and a set of per-patch attributes. The per-patch
87 attributes include tessellation levels that control how finely the patch
88 will be tessellated. For each patch processed, multiple tessellation
[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>>...109