Searched refs:rune (Results 1 - 6 of 6) sorted by relevance
/openbsd-current/usr.bin/mklocale/ |
H A D | lex.l | 53 \'.\' { yylval.rune = (unsigned char)yytext[1]; 56 '\\a' { yylval.rune = '\a'; 58 '\\b' { yylval.rune = '\b'; 60 '\\f' { yylval.rune = '\f'; 62 '\\n' { yylval.rune = '\n'; 64 '\\r' { yylval.rune = '\r'; 66 '\\t' { yylval.rune = '\t'; 68 '\\v' { yylval.rune = '\v'; 71 0x{XDIGIT}+ { yylval.rune = strtoul(yytext, 0, 16); 73 0{ODIGIT}+ { yylval.rune [all...] |
H A D | yacc.y | 80 rune_t rune; 87 %token <rune> RUNE
|
/openbsd-current/sys/ntfs/ |
H A D | ntfs_conv.c | 61 wchar rune = 0; local 72 rune = s[0] & 0xff; 77 rune = ((s[0] & 0x1F) << 6) | (s[1] & 0x3F); 82 rune = ((s[0] & 0x1F) << 12) | ((s[1] & 0x3F) << 6) | 89 return rune;
|
/openbsd-current/lib/libc/locale/ |
H A D | Makefile.inc | 16 rune.c runetable.c ___runetype_mb.c \
|
/openbsd-current/usr.bin/awk/ |
H A D | b.c | 704 int rune; local 716 n = u8_rune(&rune, (const char *) p); 717 if ((ns = get_gototab(f, s, rune)) != 0) 720 s = cgoto(f, s, rune); 734 int rune; local 749 n = u8_rune(&rune, (const char *) q); 750 if ((ns = get_gototab(f, s, rune)) != 0) 753 s = cgoto(f, s, rune); 780 n = u8_rune(&rune, (const char *) p); 790 int rune; local [all...] |
H A D | run.c | 46 static char *wide_char_to_byte_str(int rune, size_t *outlen); 625 /* Convert (prefix of) utf8 string to utf-32 rune. */ 626 /* Sets *rune to the value, returns the length. */ 628 int u8_rune(int *rune, const char *s) argument 635 *rune = c; 641 *rune = ((c & 0x1F) << 6) | (s[1] & 0x3F); /* 110xxxxx 10xxxxxx */ 645 *rune = ((c & 0xF) << 12) | ((s[1] & 0x3F) << 6) | (s[2] & 0x3F); 650 *rune = ((c & 0x7) << 18) | ((s[1] & 0x3F) << 12) | ((s[2] & 0x3F) << 6) | (s[3] & 0x3F); 654 *rune = c; 726 /* runetochar() adapted from rune 2828 wide_char_to_byte_str(int rune, size_t *outlen) argument [all...] |
Completed in 213 milliseconds