Home
last modified time | relevance | path

Searched refs:SWAB2 (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Objects/stringlib/
Dcodecs.h634 # define SWAB2(CH) ((CH) << 8) /* high byte is zero */ in STRINGLIB() macro
637 out[0] = SWAB2(in[0]); in STRINGLIB()
638 out[1] = SWAB2(in[1]); in STRINGLIB()
639 out[2] = SWAB2(in[2]); in STRINGLIB()
640 out[3] = SWAB2(in[3]); in STRINGLIB()
645 *out++ = SWAB2((Py_UCS2)ch); in STRINGLIB()
647 #undef SWAB2 in STRINGLIB()
688 #define SWAB2(CH) (((CH) << 8) | ((CH) >> 8)) in STRINGLIB() macro
698 out[0] = SWAB2(in[0]); in STRINGLIB()
699 out[1] = SWAB2(in[1]); in STRINGLIB()
[all …]