| /third_party/ffmpeg/libavfilter/ |
| D | vf_eq.c | 22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 40 double g = 1.0 / param->gamma; in create_lut() 41 double lw = 1.0 - param->gamma_weight; in create_lut() 45 v = param->contrast * (v - 0.5) + 0.5 + param->brightness; in create_lut() 48 param->lut[i] = 0; in create_lut() 50 v = v * lw + pow(v, g) * param->gamma_weight; in create_lut() 53 param->lut[i] = 255; in create_lut() 55 param->lut[i] = 256.0 * v; in create_lut() 59 param->lut_clean = 1; in create_lut() 67 if (!param->lut_clean) in apply_lut() [all …]
|
| /third_party/node/deps/icu-small/source/i18n/ |
| D | number_decimfmtprops.cpp | 45 formatWidth = -1; in clear() 46 groupingSize = -1; in clear() 49 maximumFractionDigits = -1; in clear() 50 maximumIntegerDigits = -1; in clear() 51 maximumSignificantDigits = -1; in clear() 52 minimumExponentDigits = -1; in clear() 53 minimumFractionDigits = -1; in clear() 54 minimumGroupingDigits = -1; in clear() 55 minimumIntegerDigits = -1; in clear() 56 minimumSignificantDigits = -1; in clear() [all …]
|
| /third_party/icu/icu4c/source/i18n/ |
| D | number_decimfmtprops.cpp | 45 formatWidth = -1; in clear() 46 groupingSize = -1; in clear() 49 maximumFractionDigits = -1; in clear() 50 maximumIntegerDigits = -1; in clear() 51 maximumSignificantDigits = -1; in clear() 52 minimumExponentDigits = -1; in clear() 53 minimumFractionDigits = -1; in clear() 54 minimumGroupingDigits = -1; in clear() 55 minimumIntegerDigits = -1; in clear() 56 minimumSignificantDigits = -1; in clear() [all …]
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| D | number_decimfmtprops.cpp | 44 formatWidth = -1; in clear() 45 groupingSize = -1; in clear() 48 maximumFractionDigits = -1; in clear() 49 maximumIntegerDigits = -1; in clear() 50 maximumSignificantDigits = -1; in clear() 51 minimumExponentDigits = -1; in clear() 52 minimumFractionDigits = -1; in clear() 53 minimumGroupingDigits = -1; in clear() 54 minimumIntegerDigits = -1; in clear() 55 minimumSignificantDigits = -1; in clear() [all …]
|
| /third_party/python/Lib/test/ |
| D | test_future.py | 82 # bpo-39562: test that future flags and compiler flags doesn't clash 129 def f() -> {ann}: 131 def g(arg: {ann}) -> None: 133 async def f2() -> {ann}: 135 async def g2(arg: {ann}) -> None: 167 expected = annotation if not is_tuple else annotation[1:-1] 183 eq = self.assertAnnotationEqual 184 eq('...') 185 eq("'some_string'") 186 eq("u'some_string'") [all …]
|
| D | test_gettext.py | 11 # - Add new tests, for example for "dgettext" 12 # - Remove dummy tests, for example testing for single and double quotes 14 # - Tests should have only one assert. 153 eq = self.assertEqual 155 eq(_('albatross'), 'albatross') 156 eq(_('mullusk'), 'bacon') 157 eq(_(r'Raymond Luxury Yach-t'), 'Throatwobbler Mangrove') 158 eq(_(r'nudge nudge'), 'wink wink') 161 eq = self.assertEqual 162 eq(pgettext('my context', 'nudge nudge'), [all …]
|
| D | test_base64.py | 22 eq = self.assertEqual 23 eq(base64.encodebytes(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=\n") 24 eq(base64.encodebytes(b"a"), b"YQ==\n") 25 eq(base64.encodebytes(b"ab"), b"YWI=\n") 26 eq(base64.encodebytes(b"abc"), b"YWJj\n") 27 eq(base64.encodebytes(b""), b"") 28 eq(base64.encodebytes(b"abcdefghijklmnopqrstuvwxyz" 34 # Non-bytes 35 eq(base64.encodebytes(bytearray(b'abc')), b'YWJj\n') 36 eq(base64.encodebytes(memoryview(b'abc')), b'YWJj\n') [all …]
|
| D | test_reprlib.py | 29 eq = self.assertEqual 30 eq(r("abc"), "'abc'") 31 eq(r("abcdefghijklmnop"),"'abcdefghijklmnop'") 34 expected = repr(s)[:13] + "..." + repr(s)[-14:] 35 eq(r(s), expected) 37 eq(r("\"'"), repr("\"'")) 39 expected = repr(s)[:13] + "..." + repr(s)[-14:] 40 eq(r(s), expected) 43 eq = self.assertEqual 44 eq(r((1,)), "(1,)") [all …]
|
| D | test_mimetypes.py | 37 eq = self.assertEqual 38 eq(self.db.guess_type("foobar.HTML"), self.db.guess_type("foobar.html")) 39 eq(self.db.guess_type("foobar.TGZ"), self.db.guess_type("foobar.tgz")) 40 eq(self.db.guess_type("foobar.tar.Z"), ("application/x-tar", "compress")) 41 eq(self.db.guess_type("foobar.tar.z"), (None, None)) 44 eq = self.assertEqual 45 eq(self.db.guess_type("foo.html"), ("text/html", None)) 46 eq(self.db.guess_type("foo.HTML"), ("text/html", None)) 47 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 48 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip")) [all …]
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
| D | compressedtex.adoc | 1 // Copyright 2015-2024 The Khronos Group Inc. 3 // SPDX-License-Identifier: CC-BY-4.0 10 specifically identified sections of the <<data-format,Khronos Data Format 16 Those formats listed as sRGB-encoded have in-memory representations of 17 [eq]#R#, [eq]#G# and [eq]#B# components which are nonlinearly-encoded as 18 [eq]#R'#, [eq]#G'#, and [eq]#B'#; any alpha component is unchanged. 19 As part of filtering, the nonlinear [eq]#R'#, [eq]#G'#, and [eq]#B'# values 20 are converted to linear [eq]#R#, [eq]#G#, and [eq]#B# components; any alpha 28 [[appendix-compressedtex-bc]] 29 == Block-Compressed Image Formats [all …]
|
| D | compressedtex.txt | 1 // Copyright 2015-2021 The Khronos Group, Inc. 3 // SPDX-License-Identifier: CC-BY-4.0 10 specifically identified sections of the <<data-format,Khronos Data Format 16 Those formats listed as sRGB-encoded have in-memory representations of 17 [eq]#R#, [eq]#G# and [eq]#B# components which are nonlinearly-encoded as 18 [eq]#R'#, [eq]#G'#, and [eq]#B'#; any alpha component is unchanged. 19 As part of filtering, the nonlinear [eq]#R'#, [eq]#G'#, and [eq]#B'# values 20 are converted to linear [eq]#R#, [eq]#G#, and [eq]#B# components; any alpha 28 [[appendix-compressedtex-bc]] 29 == Block-Compressed Image Formats [all …]
|
| /third_party/python/Lib/idlelib/idle_test/ |
| D | test_configdialog.py | 154 fontlist.event_generate('<Key-Down>') 155 fontlist.event_generate('<KeyRelease-Down>') 164 fontlist.event_generate('<Key-Up>') 165 fontlist.event_generate('<KeyRelease-Up>') 186 fontlist.event_generate('<Button-1>', x=x, y=y) 187 fontlist.event_generate('<ButtonRelease-1>', x=x, y=y) 224 'font-size': default_size, 225 'font-bold': str(default_bold)}} 232 'font-size': '20', 233 'font-bold': str(default_bold)}} [all …]
|
| D | test_codecontext.py | 111 eq = self.assertEqual 115 eq(cc.editwin, ed) 116 eq(cc.text, ed.text) 117 eq(cc.text['font'], ed.text['font']) 119 eq(cc.info, [(0, -1, '', False)]) 120 eq(cc.topvisible, 1) 138 eq = self.assertEqual 149 eq(cc.context['font'], self.text['font']) 150 eq(cc.context['fg'], self.highlight_cfg['foreground']) 151 eq(cc.context['bg'], self.highlight_cfg['background']) [all …]
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/chapters/ |
| D | framebuffer.txt | 1 // Copyright 2015-2021 The Khronos Group, Inc. 3 // SPDX-License-Identifier: CC-BY-4.0 9 [[framebuffer-blending]] 14 framebuffer at the fragment's [eq]#(x~f~,y~f~)# location. 19 <<framebuffer-blendoperations,blend operation>>, quadruplets of source and 20 destination weighting factors determined by the <<framebuffer-blendfactors, 21 blend factors>>, and a <<framebuffer-blendconstants,blend constant>>, to 28 fixed-point color components undergo an implied conversion to floating-point 29 as specified by <<fundamentals-fixedfpconv,Conversion from Normalized 30 Fixed-Point to Floating-Point>>. [all …]
|
| D | tessellation.txt | 1 // Copyright 2015-2021 The Khronos Group, Inc. 3 // SPDX-License-Identifier: CC-BY-4.0 9 First, a <<shaders-tessellation-control,tessellation control shader>> 10 transforms control points of a patch and can: produce per-patch data. 11 Second, a fixed-function tessellator generates multiple primitives 14 Third, a <<shaders-tessellation-evaluation,tessellation evaluation shader>> 27 (rectangle or triangle) according to the per-patch outer and inner 29 These levels are specified using the <<interfaces-builtin-variables,built-in 31 This subdivision is performed in an implementation-dependent manner. 39 Other tessellation-related execution modes can: also be specified in either [all …]
|
| D | tessellation.adoc | 1 // Copyright 2015-2024 The Khronos Group Inc. 3 // SPDX-License-Identifier: CC-BY-4.0 9 First, a <<shaders-tessellation-control,tessellation control shader>> 10 transforms control points of a patch and can: produce per-patch data. 11 Second, a fixed-function tessellator generates multiple primitives 14 Third, a <<shaders-tessellation-evaluation,tessellation evaluation shader>> 27 (rectangle or triangle) according to the per-patch outer and inner 29 These levels are specified using the <<interfaces-builtin-variables,built-in 31 This subdivision is performed in an implementation-dependent manner. 39 When using <<shaders-objects, shader objects>>, this instruction must: be [all …]
|
| D | framebuffer.adoc | 1 // Copyright 2015-2024 The Khronos Group Inc. 3 // SPDX-License-Identifier: CC-BY-4.0 9 [[framebuffer-blending]] 14 framebuffer at the fragment's [eq]#(x~f~,y~f~)# location. 19 <<framebuffer-blendoperations,blend operation>>, quadruplets of source and 20 destination weighting factors determined by the <<framebuffer-blendfactors, 21 blend factors>>, and a <<framebuffer-blendconstants,blend constant>>, to 28 fixed-point color components undergo an implied conversion to floating-point 29 as specified by <<fundamentals-fixedfpconv,Conversion from Normalized 30 Fixed-Point to Floating-Point>>. [all …]
|
| D | textures.txt | 1 // Copyright 2015-2021 The Khronos Group, Inc. 3 // SPDX-License-Identifier: CC-BY-4.0 10 Vulkan Image Operations are operations performed by those SPIR-V Image 31 Image Operations include the functionality of the following SPIR-V Image 35 neighboring texels of the image, and <<textures-texel-filtering,filter>> 38 <<textures-level-of-detail-operation,determine>> the LOD used in the 42 <<textures-level-of-detail-operation,determine>> the LOD used in the 45 <<textures-projection,projection>> to the coordinates. 50 texels and <<textures-gather,return a single component>> of each. 60 <<textures-depth-compare-operation,depth comparison>> on the texel [all …]
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
| D | cord_rep_btree_navigator_test.cc | 7 // https://www.apache.org/licenses/LICENSE-2.0 35 using ::testing::Eq; 91 testing::Values(1, CordRepBtree::kMaxCapacity - 1, 93 CordRepBtree::kMaxCapacity* CordRepBtree::kMaxCapacity - 1, 103 EXPECT_THAT(nav.btree(), Eq(nullptr)); in TEST() 113 EXPECT_THAT(nav.btree(), Eq(tree())); in TEST_P() 114 EXPECT_THAT(nav.Current(), Eq(flats().front())); in TEST_P() 115 EXPECT_THAT(edge, Eq(flats().front())); in TEST_P() 122 EXPECT_THAT(nav.btree(), Eq(tree())); in TEST_P() 123 EXPECT_THAT(nav.Current(), Eq(flats().back())); in TEST_P() [all …]
|
| D | cordz_info_test.cc | 7 // https://www.apache.org/licenses/LICENSE-2.0 38 using ::testing::Eq; 71 EXPECT_FALSE(info->is_snapshot()); in TEST() 72 EXPECT_THAT(CordzInfo::Head(CordzSnapshot()), Eq(info)); in TEST() 73 EXPECT_THAT(info->GetCordRepForTesting(), Eq(data.rep.rep)); in TEST() 74 info->Untrack(); in TEST() 81 EXPECT_THAT(child.data.cordz_info(), Eq(nullptr)); in TEST() 88 EXPECT_THAT(child.data.cordz_info(), Eq(nullptr)); in TEST() 99 EXPECT_THAT(child_info->GetCordRepForTesting(), Eq(child.rep.rep)); in TEST() 100 EXPECT_THAT(child_info->GetParentStack(), parent_info->GetStack()); in TEST() [all …]
|
| /third_party/rust/crates/syn/src/gen/ |
| D | eq.rs | 1 // This file is @generated by syn-internal-codegen. 8 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 9 impl Eq for Abi {} 11 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 13 fn eq(&self, other: &Self) -> bool { in eq() method 18 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 19 impl Eq for AngleBracketedGenericArguments {} 21 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 23 fn eq(&self, other: &Self) -> bool { in eq() method 28 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] [all …]
|
| /third_party/python/Lib/test/test_email/ |
| D | test_email.py | 1 # Copyright (C) 2001-2010 Python Software Foundation 2 # Contact: email-sig@python.org 58 eq = self.assertEqual 60 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 61 eq(msg.get_all('xx', 'n/a'), 'n/a') 64 eq = self.assertEqual 66 eq(msg.get_charset(), None) 67 charset = Charset('iso-8859-1') 69 eq(msg['mime-version'], '1.0') 70 eq(msg.get_content_type(), 'text/plain') [all …]
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
| D | hash_function_defaults_test.cc | 7 // https://www.apache.org/licenses/LICENSE-2.0 34 TEST(Eq, Int32) { in TEST() argument 35 hash_default_eq<int32_t> eq; in TEST() local 36 EXPECT_TRUE(eq(1, 1u)); in TEST() 37 EXPECT_TRUE(eq(1, char{1})); in TEST() 38 EXPECT_TRUE(eq(1, true)); in TEST() 39 EXPECT_TRUE(eq(1, double{1.1})); in TEST() 40 EXPECT_FALSE(eq(1, char{2})); in TEST() 41 EXPECT_FALSE(eq(1, 2u)); in TEST() 42 EXPECT_FALSE(eq(1, false)); in TEST() [all …]
|
| /third_party/decimal.js/test/modules/ |
| D | clone.js | 12 toExpNeg: -7, 14 minE: -9e15, 43 t(x1.div(3).eq(2)); 44 t(x2.div(3).eq(1.7)); 45 t(x3.div(3).eq(1.67)); 46 t(x4.div(3).eq(1.667)); 47 t(x5.div(3).eq(1.6667)); 48 t(x6.div(3).eq(1.66667)); 49 t(x7.div(3).eq(1.666667)); 50 t(x8.div(3).eq(1.6666667)); [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
| D | text_to_binary.memory_test.cpp | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 16 // the SPIR-V spec. 32 using ::testing::Eq; 45 Eq(MakeInstruction(SpvOpStore, {1, 2, GetParam().value()}, in TEST_P() 62 EXPECT_THAT(expected_mask, Eq(3u)); in TEST_F() 64 Eq(MakeInstruction(SpvOpStore, {1, 2, expected_mask, 16}))); in TEST_F() 75 Eq(MakeInstruction(SpvOpVariable, {1, 2, GetParam().value()}))); in TEST_P() 78 // clang-format off 97 // clang-format on [all …]
|