Home
last modified time | relevance | path

Searched refs:code2 (Results 1 – 25 of 36) sorted by relevance

12

/third_party/boost/boost/outcome/experimental/status-code/
Dcom_code.hpp149 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent()
153 if(code2.domain() == *this) in _do_equivalent()
155 const auto &c2 = static_cast<const com_code &>(code2); // NOLINT in _do_equivalent()
160 if(code2.domain() == nt_code_domain) in _do_equivalent()
162 const auto &c2 = static_cast<const nt_code &>(code2); // NOLINT in _do_equivalent()
168 else if(code2.domain() == generic_code_domain) in _do_equivalent()
170 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
179 if(code2.domain() == win32_code_domain) in _do_equivalent()
181 const auto &c2 = static_cast<const win32_code &>(code2); // NOLINT in _do_equivalent()
187 else if(code2.domain() == generic_code_domain) in _do_equivalent()
[all …]
Dnt_code.hpp164 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent()
168 if(code2.domain() == *this) in _do_equivalent()
170 const auto &c2 = static_cast<const nt_code &>(code2); // NOLINT in _do_equivalent()
173 if(code2.domain() == generic_code_domain) in _do_equivalent()
175 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
181 if(code2.domain() == win32_code_domain) in _do_equivalent()
183 const auto &c2 = static_cast<const win32_code &>(code2); // NOLINT in _do_equivalent()
Dposix_code.hpp120 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent()
124 if(code2.domain() == *this) in _do_equivalent()
126 const auto &c2 = static_cast<const posix_code &>(code2); // NOLINT in _do_equivalent()
129 if(code2.domain() == generic_code_domain) in _do_equivalent()
131 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
Dstd_error_code.hpp127 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const …
228 …main::_do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const noexcept in _do_equivalent()
234 if(code2.domain() == *this) in _do_equivalent()
236 const auto &c2 = static_cast<const std_error_code &>(code2); // NOLINT in _do_equivalent()
251 return _c1 == code2; in _do_equivalent()
259 return _c1 == code2; in _do_equivalent()
262 return _c1 == code2; in _do_equivalent()
Dwin32_code.hpp167 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent()
171 if(code2.domain() == *this) in _do_equivalent()
173 const auto &c2 = static_cast<const win32_code &>(code2); // NOLINT in _do_equivalent()
176 if(code2.domain() == generic_code_domain) in _do_equivalent()
178 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
Dgetaddrinfo_code.hpp86 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent()
90 if(code2.domain() == *this) in _do_equivalent()
92 const auto &c2 = static_cast<const getaddrinfo_code &>(code2); // NOLINT in _do_equivalent()
Dstatus_code_ptr.hpp78 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent()
82 return typename StatusCode::domain_type()._do_equivalent(*c1.value(), code2); in _do_equivalent()
/third_party/python/Lib/test/
Dtest_unparse.py125 code2 = ast.unparse(ast1)
126 ast2 = ast.parse(code2, **kwargs)
133 def get_source(self, code1, code2=None): argument
134 code2 = code2 or code1
136 return code1, code2
138 def check_src_roundtrip(self, code1, code2=None): argument
139 code1, code2 = self.get_source(code1, code2)
140 with self.subTest(code1=code1, code2=code2):
141 self.assertEqual(code2, code1)
143 def check_src_dont_roundtrip(self, code1, code2=None): argument
[all …]
Dtest_code.py243 code2 = func2.__code__
253 ("co_code", code2.co_code),
254 ("co_consts", code2.co_consts),
256 ("co_varnames", code2.co_varnames),
261 ("co_linetable", code2.co_linetable),
/third_party/flutter/skia/third_party/externals/spirv-tools/test/stats/
Dstats_aggregate_test.cpp73 const std::string code2 = R"( in TEST() local
89 CompileAndAggregateStats(code2, &stats); in TEST()
105 CompileAndAggregateStats(code2, &stats); in TEST()
124 const std::string code2 = R"( in TEST() local
139 CompileAndAggregateStats(code2, &stats); in TEST()
151 CompileAndAggregateStats(code2, &stats); in TEST()
220 const std::string code2 = R"( in TEST() local
236 CompileAndAggregateStats(code2, &stats); in TEST()
252 CompileAndAggregateStats(code2, &stats); in TEST()
269 const std::string code2 = R"( in TEST() local
[all …]
/third_party/ffmpeg/libavcodec/arm/
Ddca.h32 static inline int decode_blockcodes(int code1, int code2, int levels, in decode_blockcodes() argument
71 "+&r"(code1), "+&r"(code2) in decode_blockcodes()
76 return code1 | code2; in decode_blockcodes()
/third_party/re2/re2/
Dperl_groups.cc11 static const URange16 code2[] = { /* \s */ variable
25 { "\\s", +1, code2, 3 },
26 { "\\S", -1, code2, 3 },
/third_party/boost/libs/regex/test/regress/
Dtest_deprecated.cpp295 int code2 = std::atoi(buf); in test_deprecated() local
296 if(code2 != code) in test_deprecated()
377 long code2 = std::wcstol(buf, 0, 10); in test_deprecated() local
378 if(code2 != code) in test_deprecated()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTestLocaleValidity.java326 …atasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) {
327 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2);
328 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTestLocaleValidity.java328 …atasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) {
329 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2);
330 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value);
/third_party/boost/libs/outcome/test/tests/
Dexperimental-core-result-status.cpp87 …> &code1, const BOOST_OUTCOME_SYSTEM_ERROR2_NAMESPACE::status_code<void> &code2) const noexcept ov… in _do_equivalent()
91 if(code2.domain() == *this) in _do_equivalent()
93 const auto &c2 = static_cast<const status_code_payload &>(code2); // NOLINT in _do_equivalent()
/third_party/boost/libs/outcome/doc/src/content/experimental/
Ddifferences.md46 if(code1 == code2) ...
51 or inexact comparison is being performed (after all, all there is is "`code1 == code2`",
52 so it depends on the types of `code1` and `code2` which usually is not obvious).
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrobjs.c483 FT_UInt32 code1, code2, pair; in pfr_face_get_kerning() local
501 code2 = phy_font->chars[glyph2].char_code; in pfr_face_get_kerning()
502 pair = PFR_KERN_INDEX( code1, code2 ); in pfr_face_get_kerning()
/third_party/freetype/src/pfr/
Dpfrobjs.c479 FT_UInt32 code1, code2, pair; in pfr_face_get_kerning() local
497 code2 = phy_font->chars[glyph2].char_code; in pfr_face_get_kerning()
498 pair = PFR_KERN_INDEX( code1, code2 ); in pfr_face_get_kerning()
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/
Dpfrobjs.c479 FT_UInt32 code1, code2, pair; in pfr_face_get_kerning() local
497 code2 = phy_font->chars[glyph2].char_code; in pfr_face_get_kerning()
498 pair = PFR_KERN_INDEX( code1, code2 ); in pfr_face_get_kerning()
/third_party/python/Lib/
Dcodeop.py96 code2 = compiler(source + "\n\n", filename, symbol)
Dsre_parse.py581 code2 = _class_escape(source, that)
590 code2 = LITERAL, _ord(that)
591 if code1[0] != LITERAL or code2[0] != LITERAL:
595 hi = code2[1]
/third_party/python/Lib/idlelib/idle_test/
Dtest_run.py65 for (code1, exc1, msg1), (code2, exc2, msg2) in data2:
66 with self.subTest(codes=(code1,code2)):
71 eval(compile(code2, '', 'eval'))
/third_party/ffmpeg/libavcodec/
Dralf.c300 int code1, code2; in decode_channel() local
304 code2 = t % range2; in decode_channel()
306 dst[i + 1] = extend_code(gb, code2, range, 0) * (1U << add_bits); in decode_channel()
Ddca_core.c526 static inline int decode_blockcodes(int code1, int code2, int levels, int32_t *audio) in decode_blockcodes() argument
537 div = FASTDIV(code2, levels); in decode_blockcodes()
538 audio[n] = code2 - div * levels - offset; in decode_blockcodes()
539 code2 = div; in decode_blockcodes()
542 return code1 | code2; in decode_blockcodes()
550 int code2 = get_bits(&s->gb, block_code_nbits[abits - 1]); in parse_block_codes() local
554 if (decode_blockcodes(code1, code2, levels, audio)) { in parse_block_codes()

12