Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dmarshal.c69 #define w_byte(c, p) if (((p)->fp)) putc((c), (p)->fp); \ macro
103 w_byte(*s, p); in w_string()
112 w_byte((char)( x & 0xff), p); in w_short()
113 w_byte((char)((x>> 8) & 0xff), p); in w_short()
119 w_byte((char)( x & 0xff), p); in w_long()
120 w_byte((char)((x>> 8) & 0xff), p); in w_long()
121 w_byte((char)((x>>16) & 0xff), p); in w_long()
122 w_byte((char)((x>>24) & 0xff), p); in w_long()
174 w_byte(TYPE_LONG, p); in w_PyLong()
222 w_byte(TYPE_NULL, p); in w_object()
[all …]
/external/python/cpython3/Python/
Dmarshal.c92 #define w_byte(c, p) do { \ macro
168 w_byte((char)( x & 0xff), p); in w_short()
169 w_byte((char)((x>> 8) & 0xff), p); in w_short()
175 w_byte((char)( x & 0xff), p); in w_long()
176 w_byte((char)((x>> 8) & 0xff), p); in w_long()
177 w_byte((char)((x>>16) & 0xff), p); in w_long()
178 w_byte((char)((x>>24) & 0xff), p); in w_long()
206 w_byte(Py_SAFE_DOWNCAST(n, Py_ssize_t, unsigned char), p); in w_short_pstring()
223 w_byte((t) | flag, (p)); \
311 w_byte(TYPE_REF, p); in w_ref()
[all …]