Lines Matching refs:c

212 #define MAX_255(c) TRUE  argument
214 #define TABLE_GET(c, table, default) ((table)[c]) argument
217 #define CHMAX_255(c) ((c) <= 255u) argument
219 #define CHMAX_255(c) TRUE argument
223 #define CHMAX_255(c) ((c) <= 255u) argument
224 #define MAX_255(c) ((c) <= 255u) argument
227 #define TABLE_GET(c, table, default) (MAX_255(c)? ((table)[c]):(default)) argument
261 #define GETCHAR(c, eptr) c = *eptr; argument
262 #define GETCHARTEST(c, eptr) c = *eptr; argument
263 #define GETCHARINC(c, eptr) c = *eptr++; argument
264 #define GETCHARINCTEST(c, eptr) c = *eptr++; argument
265 #define GETCHARLEN(c, eptr, len) c = *eptr; argument
266 #define PUTCHAR(c, p) (*p = c, 1) argument
286 #define HAS_EXTRALEN(c) HASUTF8EXTRALEN(c) argument
291 #define GET_EXTRALEN(c) (PRIV(utf8_table4)[(c) & 0x3fu]) argument
296 #define NOT_FIRSTCU(c) (((c) & 0xc0u) == 0x80u) argument
301 #define GETCHAR(c, eptr) \ argument
302 c = *eptr; \
303 if (c >= 0xc0u) GETUTF8(c, eptr);
308 #define GETCHARTEST(c, eptr) \ argument
309 c = *eptr; \
310 if (utf && c >= 0xc0u) GETUTF8(c, eptr);
315 #define GETCHARINC(c, eptr) \ argument
316 c = *eptr++; \
317 if (c >= 0xc0u) GETUTF8INC(c, eptr);
322 #define GETCHARINCTEST(c, eptr) \ argument
323 c = *eptr++; \
324 if (utf && c >= 0xc0u) GETUTF8INC(c, eptr);
329 #define GETCHARLEN(c, eptr, len) \ argument
330 c = *eptr; \
331 if (c >= 0xc0u) GETUTF8LEN(c, eptr, len);
337 #define GETCHARLENTEST(c, eptr, len) \ argument
338 c = *eptr; \
339 if (utf && c >= 0xc0u) GETUTF8LEN(c, eptr, len);
357 #define PUTCHAR(c, p) ((utf && c > MAX_UTF_SINGLE_CU)? \ argument
358 PRIV(ord2utf)(c,p) : (*p = c, 1))
372 #define HAS_EXTRALEN(c) (((c) & 0xfc00u) == 0xd800u) argument
377 #define GET_EXTRALEN(c) 1 argument
382 #define NOT_FIRSTCU(c) (((c) & 0xfc00u) == 0xdc00u) argument
387 #define GETUTF16(c, eptr) \ argument
388 { c = (((c & 0x3ffu) << 10) | (eptr[1] & 0x3ffu)) + 0x10000u; }
393 #define GETCHAR(c, eptr) \ argument
394 c = *eptr; \
395 if ((c & 0xfc00u) == 0xd800u) GETUTF16(c, eptr);
400 #define GETCHARTEST(c, eptr) \ argument
401 c = *eptr; \
402 if (utf && (c & 0xfc00u) == 0xd800u) GETUTF16(c, eptr);
407 #define GETUTF16INC(c, eptr) \ argument
408 { c = (((c & 0x3ffu) << 10) | (*eptr++ & 0x3ffu)) + 0x10000u; }
413 #define GETCHARINC(c, eptr) \ argument
414 c = *eptr++; \
415 if ((c & 0xfc00u) == 0xd800u) GETUTF16INC(c, eptr);
420 #define GETCHARINCTEST(c, eptr) \ argument
421 c = *eptr++; \
422 if (utf && (c & 0xfc00u) == 0xd800u) GETUTF16INC(c, eptr);
427 #define GETUTF16LEN(c, eptr, len) \ argument
428 { c = (((c & 0x3ffu) << 10) | (eptr[1] & 0x3ffu)) + 0x10000u; len++; }
434 #define GETCHARLEN(c, eptr, len) \ argument
435 c = *eptr; \
436 if ((c & 0xfc00u) == 0xd800u) GETUTF16LEN(c, eptr, len);
442 #define GETCHARLENTEST(c, eptr, len) \ argument
443 c = *eptr; \
444 if (utf && (c & 0xfc00u) == 0xd800u) GETUTF16LEN(c, eptr, len);
463 #define PUTCHAR(c, p) ((utf && c > MAX_UTF_SINGLE_CU)? \ argument
464 PRIV(ord2utf)(c,p) : (*p = c, 1))
475 #define HAS_EXTRALEN(c) (0) argument
476 #define GET_EXTRALEN(c) (0) argument
477 #define NOT_FIRSTCU(c) (0) argument
482 #define GETCHAR(c, eptr) \ argument
483 c = *(eptr);
488 #define GETCHARTEST(c, eptr) \ argument
489 c = *(eptr);
494 #define GETCHARINC(c, eptr) \ argument
495 c = *((eptr)++);
500 #define GETCHARINCTEST(c, eptr) \ argument
501 c = *((eptr)++);
507 #define GETCHARLEN(c, eptr, len) \ argument
508 GETCHAR(c, eptr)
514 #define GETCHARLENTEST(c, eptr, len) \ argument
515 GETCHARTEST(c, eptr)
537 #define PUTCHAR(c, p) (*p = c, 1) argument