Home
last modified time | relevance | path

Searched refs:code1 (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_unparse.py122 def check_ast_roundtrip(self, code1, **kwargs): argument
123 with self.subTest(code1=code1, ast_parse_kwargs=kwargs):
124 ast1 = ast.parse(code1, **kwargs)
133 def get_source(self, code1, code2=None): argument
134 code2 = code2 or code1
135 code1 = ast.unparse(ast.parse(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):
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/stats/
Dstats_aggregate_test.cpp65 const std::string code1 = R"( in TEST() local
81 CompileAndAggregateStats(code1, &stats); in TEST()
97 CompileAndAggregateStats(code1, &stats); in TEST()
115 const std::string code1 = R"( in TEST() local
134 CompileAndAggregateStats(code1, &stats); in TEST()
145 CompileAndAggregateStats(code1, &stats); in TEST()
159 const std::string code1 = R"( in TEST() local
167 CompileAndAggregateStats(code1, &stats); in TEST()
171 CompileAndAggregateStats(code1, &stats, SPV_ENV_UNIVERSAL_1_0); in TEST()
176 CompileAndAggregateStats(code1, &stats); in TEST()
[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.cc8 static const URange16 code1[] = { /* \d */ variable
23 { "\\d", +1, code1, 1 },
24 { "\\D", -1, code1, 1 },
/third_party/python/Lib/
Dcodeop.py89 code1 = err1 = err2 = None
91 code1 = compiler(source + "\n", filename, symbol)
101 if not code1 and _is_syntax_error(err1, err2):
Dsre_parse.py554 code1 = _class_escape(source, this)
567 code1 = LITERAL, _ord(this)
575 if code1[0] is IN:
576 code1 = code1[1][0]
577 setappend(code1)
591 if code1[0] != LITERAL or code2[0] != LITERAL:
594 lo = code1[1]
601 if code1[0] is IN:
602 code1 = code1[1][0]
603 setappend(code1)
/third_party/boost/boost/outcome/experimental/status-code/
Dgetaddrinfo_code.hpp86 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent() argument
88 assert(code1.domain() == *this); // NOLINT in _do_equivalent()
89 const auto &c1 = static_cast<const getaddrinfo_code &>(code1); // 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() argument
122 assert(code1.domain() == *this); // NOLINT in _do_equivalent()
123 const auto &c1 = static_cast<const posix_code &>(code1); // NOLINT in _do_equivalent()
Dstd_error_code.hpp127 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const …
228 inline bool _std_error_code_domain::_do_equivalent(const status_code<void> &code1, const status_cod… in _do_equivalent() argument
230 assert(code1.domain() == *this); in _do_equivalent()
231 const auto &c1 = static_cast<const std_error_code &>(code1); // NOLINT in _do_equivalent()
Dnt_code.hpp164 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent() argument
166 assert(code1.domain() == *this); in _do_equivalent()
167 const auto &c1 = static_cast<const nt_code &>(code1); // 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() argument
80 assert(code1.domain() == *this); in _do_equivalent()
81 const auto &c1 = static_cast<const _mycode &>(code1); // NOLINT in _do_equivalent()
Dwin32_code.hpp167 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent() argument
169 assert(code1.domain() == *this); in _do_equivalent()
170 const auto &c1 = static_cast<const win32_code &>(code1); // NOLINT in _do_equivalent()
Dcom_code.hpp149 …virtual bool _do_equivalent(const status_code<void> &code1, const status_code<void> &code2) const … in _do_equivalent() argument
151 assert(code1.domain() == *this); in _do_equivalent()
152 const auto &c1 = static_cast<const com_code &>(code1); // NOLINT in _do_equivalent()
/third_party/boost/libs/outcome/test/tests/
Dexperimental-core-result-status.cpp87 …virtual bool _do_equivalent(const BOOST_OUTCOME_SYSTEM_ERROR2_NAMESPACE::status_code<void> &code1,… in _do_equivalent() argument
89 assert(code1.domain() == *this); // NOLINT in _do_equivalent()
90 const auto &c1 = static_cast<const status_code_payload &>(code1); // 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
500 code1 = phy_font->chars[glyph1].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
496 code1 = phy_font->chars[glyph1].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
496 code1 = phy_font->chars[glyph1].char_code; in pfr_face_get_kerning()
498 pair = PFR_KERN_INDEX( code1, code2 ); in pfr_face_get_kerning()
/third_party/ffmpeg/libavcodec/
Dscpr.c40 rc->code1 = 0; in init_rangecoder()
140 rc->code1 += t + 1; in decode0()
146 rc->code1 <<= 8; in decode0()
158 *freq = total_freq * (uint64_t)(rc->code - rc->code1) / rc->range; in get_freq0()
Dralf.c300 int code1, code2; in decode_channel() local
303 code1 = t / range2; in decode_channel()
305 dst[i] = extend_code(gb, code1, 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
532 div = FASTDIV(code1, levels); in decode_blockcodes()
533 audio[n] = code1 - div * levels - offset; in decode_blockcodes()
534 code1 = div; in decode_blockcodes()
542 return code1 | code2; in decode_blockcodes()
549 int code1 = 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()
Dscpr3.c725 rc->code1++; in sync_code3()
726 if (rc->code1 == 0x20000) { in sync_code3()
728 rc->code1 = 0; in sync_code3()
926 rc->code1 = 0; in init_rangecoder3()
/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)):
68 eval(compile(code1, '', 'eval'))
/third_party/python/Modules/
Dunicodedata.c730 Py_UCS4 code1 = PyUnicode_READ(kind, data, i1); in nfc_nfkc() local
731 int comb1 = _getrecord_ex(code1)->combining; in nfc_nfkc()
741 l = find_nfc_index(nfc_last, code1); in nfc_nfkc()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.c260 unsigned char code1, code2; member
266 unsigned char code1, code2_min, code2_max; member
998 if (additional[k].code1 == asc && additional[k].code2 == ascq) { in sg_print_asc_ascq()
1026 if ((additional2[k].code1 == asc) && in sg_print_asc_ascq()

12