Lines Matching defs:bytes
40 returns the number of bytes occupied by the multibyte sequence.
169 size_t bytes; /* number of bytes of current character, > 0 */
172 char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */
175 /* EOF (not a real character) is represented with bytes = 0 and
182 #define mb_len(mbc) ((mbc).bytes)
194 : (mbc1).bytes == (mbc2).bytes \
195 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \
196 : (mbc1).bytes < (mbc2).bytes \
197 ? (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) > 0 ? 1 : -1) \
198 : (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc2).bytes) >= 0 ? 1 : -1)))
206 : (mbc1).bytes == (mbc2).bytes \
207 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \
208 : (mbc1).bytes < (mbc2).bytes \
209 ? (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) > 0 ? 1 : -1) \
210 : (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc2).bytes) >= 0 ? 1 : -1)))
214 : (mbc1).bytes == (mbc2).bytes \
215 && memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) == 0)
219 : (mbc1).bytes == (mbc2).bytes \
220 && memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) == 0)
256 #define mb_putc(mbc, stream) fwrite ((mbc).ptr, 1, (mbc).bytes, (stream))
260 ((mbc)->ptr = (mbc)->buf, (mbc)->bytes = 1, (mbc)->wc_valid = 1, \
269 memcpy (&new_mbc->buf[0], &old_mbc->buf[0], old_mbc->bytes);
274 new_mbc->bytes = old_mbc->bytes;