Home
last modified time | relevance | path

Searched refs:alternate (Results 1 - 25 of 29) sorted by relevance

12

/third_party/skia/tests/
H A DFloat16Test.cpp36 alternate = is_denorm(h) ? 0.0f : expected; in DEF_TEST() local
40 REPORTER_ASSERT(r, actual == expected || actual == alternate); in DEF_TEST()
61 uint16_t alternate = expected; local
64 alternate = std::signbit(f) ? 0x8000 : 0x0000;
70 actual == alternate || actual == alternate - 1);
/third_party/ffmpeg/libavfilter/
H A Dvf_vibrance.c39 int alternate; member
65 const float alternate = s->alternate ? 1.f : -1.f; in vibrance_slice8() local
69 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice8()
70 const float sbintensity = alternate * FFSIGN(bintensity); in vibrance_slice8()
71 const float srintensity = alternate * FFSIGN(rintensity); in vibrance_slice8()
124 const float alternate = s->alternate ? 1.f : -1.f; in vibrance_slice16() local
128 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice16()
129 const float sbintensity = alternate * FFSIG in vibrance_slice16()
185 const float alternate = s->alternate ? 1.f : -1.f; vibrance_slice8p() local
242 const float alternate = s->alternate ? 1.f : -1.f; vibrance_slice16p() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/
H A Dimmediate_int_test.cpp217 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
221 EXPECT_EQ(original, alternate); in TEST_F()
229 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
233 EXPECT_EQ(0x0002003Du, alternate[kFirstInstruction]); in TEST_F()
235 Subvector(alternate, kFirstInstruction + 1)); in TEST_F()
244 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
248 EXPECT_EQ(original, alternate); in TEST_F()
258 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
263 EXPECT_EQ(original, alternate); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Dimmediate_int_test.cpp217 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
221 EXPECT_EQ(original, alternate); in TEST_F()
229 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
233 EXPECT_EQ(0x0002003Du, alternate[kFirstInstruction]); in TEST_F()
235 Subvector(alternate, kFirstInstruction + 1)); in TEST_F()
244 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
248 EXPECT_EQ(original, alternate); in TEST_F()
258 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
263 EXPECT_EQ(original, alternate); in TEST_F()
/third_party/spirv-tools/test/
H A Dimmediate_int_test.cpp217 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
221 EXPECT_EQ(original, alternate); in TEST_F()
229 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
233 EXPECT_EQ(0x0002003Du, alternate[kFirstInstruction]); in TEST_F()
235 Subvector(alternate, kFirstInstruction + 1)); in TEST_F()
244 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
248 EXPECT_EQ(original, alternate); in TEST_F()
258 const SpirvVector alternate = CompileSuccessfully(R"( in TEST_F() local
263 EXPECT_EQ(original, alternate); in TEST_F()
/third_party/icu/icu4c/source/test/intltest/
H A Dssearch.cpp997 virtual void append(UnicodeString &test, UnicodeString &alternate) = 0;
1020 virtual void append(UnicodeString &test, UnicodeString &alternate) override;
1037 void SetMonkey::append(UnicodeString &test, UnicodeString &alternate) in append() argument
1045 alternate.append(str); // flip case, or some junk? in append()
1054 void append(UnicodeString &testCase, UnicodeString &alternate) override;
1057 UnicodeString &generateAlternative(const UnicodeString &testCase, UnicodeString &alternate);
1075 void StringSetMonkey::append(UnicodeString &testCase, UnicodeString &alternate) in append() argument
1091 generateAlternative(str, alternate); in append()
1097 generateAlternative(str, alternate); in append()
1103 UnicodeString &StringSetMonkey::generateAlternative(const UnicodeString &testCase, UnicodeString &alternate) in generateAlternative() argument
1163 generateTestCase(UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString &testCase, UnicodeString &alternate) generateTestCase() argument
1390 UnicodeString alternate; monkeyTest() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DinfiniteConstraints.js28 const noError = ensureNoDuplicates({main: value("test"), alternate: value("test2")});
32 const shouldBeError = ensureNoDuplicates({main: value("dup"), alternate: value("dup")});
57 var noError = ensureNoDuplicates({ main: value("test"), alternate: value("test2") });
59 var shouldBeError = ensureNoDuplicates({ main: value("dup"), alternate: value("dup") });
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
H A Dminimal-secure-streams-smd.c68 char alternate; member
114 * Let's alternate between sending NETWORK class smd messages and in myss_tx()
118 m->alternate++; in myss_tx()
120 if (m->alternate == 4) { in myss_tx()
131 (m->alternate & 1) ? LWSSMDCL_NETWORK : in myss_tx()
133 (m->alternate & 1) ? in myss_tx()
/third_party/node/deps/v8/
H A D.ycm_extra_conf.py107 for alternate in [base + e for e in ['.cc', '.cpp']]:
108 if os.path.exists(alternate):
109 filename = alternate
/third_party/python/Include/internal/
H A Dpycore_long.h102 int alternate);
109 int alternate);
/third_party/python/Python/
H A Dformatter_unicode.c132 int alternate; member
169 format->alternate = 0; in parse_internal_render_format_spec()
205 /* If the next character is #, we're in alternate mode. This only in parse_internal_render_format_spec()
208 format->alternate = 1; in parse_internal_render_format_spec()
799 /* alternate is not allowed on strings */ in format_string_internal()
800 if (format->alternate) { in format_string_internal()
909 /* error to request alternate format */ in format_long_internal()
910 if (format->alternate) { in format_long_internal()
975 return _PyLong_FormatWriter(writer, value, base, format->alternate); in format_long_internal()
980 if (format->alternate) in format_long_internal()
[all...]
/third_party/backends/include/sane/
H A Dsanei_usb.h557 * Change set alternate
560 * @param alternate, alternate nummber
571 sanei_usb_set_altinterface (SANE_Int dn, SANE_Int alternate);
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dusb.h292 uint8_t alternate);
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dpsintrp.c2838 FT_Bool alternate = FT_BOOL( op1 == cf2_cmdHVCURVETO ); in cf2_interpT2CharString() local
2848 FT_TRACE4(( "%s\n", alternate ? " hvcurveto" : " vhcurveto" )); in cf2_interpT2CharString()
2855 if ( alternate ) in cf2_interpT2CharString()
2872 alternate = FALSE; in cf2_interpT2CharString()
2891 alternate = TRUE; in cf2_interpT2CharString()
/third_party/backends/backend/
H A Dstv680.c410 int alternate) in stv680_set_config()
433 status = sanei_usb_set_altinterface (dev->fd, alternate); in stv680_set_config()
437 "stv680_set_config: STV0680 FAILED to set alternate interface %d\n", in stv680_set_config()
438 alternate); in stv680_set_config()
442 "stv680_set_config: configuration=%d, interface=%d, alternate=%d\n", in stv680_set_config()
443 configuration, interface, alternate); in stv680_set_config()
506 /* configuration = 1, interface = 0, alternate = 0 */ in stv680_reset_vidcam()
550 /* configuration = 1, interface = 0, alternate = 0 */ in stv680_identify_vidcam()
696 /* configuration = 1, interface = 0, alternate = 1 */ in stv680_identify_vidcam()
819 /* configuration = 1, interface = 0, alternate in stv680_vidcam_init()
409 stv680_set_config(Stv680_Vidcam * dev, int configuration, int interface, int alternate) stv680_set_config() argument
[all...]
/third_party/ffmpeg/tests/fate/
H A Dfilter-video.mak261 FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_SELECT_FILTER) += fate-filter-select-alternate
262 fate-filter-select-alternate: tests/data/filtergraphs/select-alternate
263 fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/select-alternate
/third_party/python/Lib/
H A Dipaddress.py630 For binary and hex presentation types, the alternate form specifier
648 alternate, grouping, fmt_base = m.groups()
665 if alternate:
668 return format(int(self), f'{alternate}0{padlen}{grouping}{fmt_base}')
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_compiler.cpp421 get_provoking_vertex(struct d3d12_selection_context *sel_ctx, bool *alternate, const struct pipe_draw_info *dinfo) in get_provoking_vertex() argument
424 *alternate = false; in get_provoking_vertex()
451 *alternate = (mode == GL_TRIANGLE_STRIP || mode == GL_TRIANGLE_STRIP_ADJACENCY) && in get_provoking_vertex()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gsub-table.hh628 alternates; /* Array of alternate GlyphIDs--in
1469 case Alternate: return_trace (u.alternate.dispatch (c, std::forward<Ts> (ds)...));
1489 AlternateSubst alternate;
1638 if (c->push<SubTable> ()->u.alternate.
/third_party/python/Objects/
H A Dlongobject.c1927 if alternate is nonzero. */
1930 long_format_binary(PyObject *aa, int base, int alternate, in long_format_binary() argument
1982 if (alternate) { in long_format_binary()
2029 if (alternate) { \ in long_format_binary()
2108 int base, int alternate) in _PyLong_FormatWriter()
2114 return long_format_binary(obj, base, alternate, NULL, writer, in _PyLong_FormatWriter()
2121 int base, int alternate) in _PyLong_FormatBytesWriter()
2130 res = long_format_binary(obj, base, alternate, NULL, NULL, in _PyLong_FormatBytesWriter()
2106 _PyLong_FormatWriter(_PyUnicodeWriter *writer, PyObject *obj, int base, int alternate) _PyLong_FormatWriter() argument
2119 _PyLong_FormatBytesWriter(_PyBytesWriter *writer, char *str, PyObject *obj, int base, int alternate) _PyLong_FormatBytesWriter() argument
H A Dbytesobject.c851 int alternate = flags & F_ALT; in _PyBytes_FormatEx() local
875 v, base, alternate); in _PyBytes_FormatEx()
976 if the alternate form is used. in _PyBytes_FormatEx()
999 prefix if the alternate form is used */ in _PyBytes_FormatEx()
/third_party/backends/sanei/
H A Dsanei_usb.c2839 /* Loop through all of the alternate settings */ in sanei_usb_open()
3034 /* Loop through all of the alternate settings */ in sanei_usb_open()
3253 /* Loop through all of the alternate settings */ in sanei_usb_open()
5422 sanei_usb_set_altinterface (SANE_Int dn, SANE_Int alternate) in sanei_usb_set_altinterface() argument
5432 DBG (5, "sanei_usb_set_altinterface: alternate = %d\n", alternate); in sanei_usb_set_altinterface()
5434 devices[dn].alt_setting = alternate; in sanei_usb_set_altinterface()
5454 result = usb_set_altinterface (devices[dn].libusb_handle, alternate); in sanei_usb_set_altinterface()
5468 devices[dn].interface_nr, alternate); in sanei_usb_set_altinterface()
5482 devices[dn].interface_nr, alternate); in sanei_usb_set_altinterface()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp408 // Both mappings should be equivalent: alternate between the two for different formats. in createImageView()
1249 static bool alternate = false; in getIdentitySwizzle() local
1253 const vk::VkComponentMapping& mapping = (alternate ? mappingB : mappingA); in getIdentitySwizzle()
1254 alternate = (!alternate); in getIdentitySwizzle()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp408 // Both mappings should be equivalent: alternate between the two for different formats. in createImageView()
1176 static bool alternate = false; in getIdentitySwizzle() local
1180 const vk::VkComponentMapping& mapping = (alternate ? mappingB : mappingA); in getIdentitySwizzle()
1181 alternate = (!alternate); in getIdentitySwizzle()
/third_party/rust/crates/syn/tests/common/
H A Deq.rs480 spanless_eq_struct!(FormatOptions; width precision alignment fill sign alternate zero_pad debug_hex);

Completed in 53 milliseconds

12