| /openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/ |
| H A D | utf8.t | 38 my $display_invariant = isASCII ? "7F" : sprintf "%02X", utf8::unicode_to_native(0x9F); 39 my $display_variant = isASCII ? "80" : sprintf "%02X", utf8::unicode_to_native(0xA0); 153 my $highest_non_extended_cp = 2 ** ((isASCII) ? 31 : 30) - 1; 183 0x0100 => (isASCII) ? "\xc4\x80" : I8_to_native("\xc8\xa0"), 184 0x0400 - 1 => (isASCII) ? "\xcf\xbf" : I8_to_native("\xdf\xbf"), 185 0x0400 => (isASCII) ? "\xd0\x80" : I8_to_native("\xe1\xa0\xa0"), 186 0x0800 - 1 => (isASCII) ? "\xdf\xbf" : I8_to_native("\xe1\xbf\xbf"), 187 0x0800 => (isASCII) ? "\xe0\xa0\x80" : I8_to_native("\xe2\xa0\xa0"), 188 0x4000 - 1 => (isASCII) ? "\xe3\xbf\xbf" : I8_to_native("\xef\xbf\xbf"), 189 0x4000 => (isASCII) ? "\xe4\x80\x80" : I8_to_native("\xf0\xb0\xa0\xa0"), [all …]
|
| H A D | utf8_warn_base.pl | 30 my $highest_non_extended_utf8_cp = (isASCII) ? 0x7FFFFFFF : 0x3FFFFFFF; 52 return ord $byte >= 0xFE if isASCII; 63 if (isASCII) { 83 if (isASCII) { 120 (isASCII) ? "\xc0\x80" : I8_to_native("\xc0\xa0"), 124 (isASCII) ? "\xc1\xbf" : I8_to_native("\xc4\xbf"), 125 (isASCII) ? 0x7F : 0xFF, 128 (isASCII) ? "\xe0\x80\x80" : I8_to_native("\xe0\xa0\xa0"), 132 (isASCII) ? "\xe0\x9f\xbf" : I8_to_native("\xe0\xbf\xbf"), 133 (isASCII) ? 0x7FF : 0x3FF, [all …]
|
| H A D | utf8_setup.pl | 9 sub isASCII { ord "A" == 65 } subroutine 52 $byte |= (isASCII) ? 0x80 : 0xA0; 58 $::lowest_continuation = (isASCII) ? 0x80 : 0xA0; 60 $::I8c = (isASCII) ? "\x80" : "\xa0"; # A continuation byte 63 $::max_bytes = (isASCII) ? 13 : 14; # Max number of bytes in a UTF-8 sequence
|
| /openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/t/ |
| H A D | 108_decode.t | 12 my $isASCII = ord "A" == 65; 27 is($json->decode(($isASCII) ? q|"\u00e3\u0081\u0082"| 42 is($utf8, ($isASCII) ? "\xf0\x92\x90\x80" : "\xDE\x4A\x41\x41");
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | CharInfo.h | 42 LLVM_READNONE inline bool isASCII(char c) { in isASCII() function 46 LLVM_READNONE inline bool isASCII(unsigned char c) { return c <= 127; } in isASCII() function 49 LLVM_READNONE inline bool isASCII(uint32_t c) { return c <= 127; } in isASCII() function 50 LLVM_READNONE inline bool isASCII(int64_t c) { return 0 <= c && c <= 127; } in isASCII() function
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/ |
| H A D | Parsing.cpp | 150 return S.drop_while([](char c) { return isASCII(c) && isWhitespace(c); }); in consumeWhitespace() 167 [](char c) { return isASCII(c) && isAsciiIdentifierContinue(c); }); in parseId()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | StringExtras.h | 111 inline bool isASCII(char C) { return static_cast<unsigned char>(C) <= 127; } in isASCII() function 114 inline bool isASCII(llvm::StringRef S) { in isASCII() function 116 if (LLVM_UNLIKELY(!isASCII(C))) in isASCII()
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | handy.h | 885 =for apidoc Am|bool|isASCII|UV ch 898 C<isASCII_L1()> are identical to C<isASCII()>. 907 UTF-8 or not), C<isASCII> will give the correct results when called with any 1513 # define isASCII(c) (((WIDEST_UTYPE) ASSERT_NOT_PTR(c)) < 128) macro 1681 # define isASCII(c) generic_isCC_(c, CC_ASCII_) macro 1772 # define isASCII(c) (isCNTRL_A(c) || isPRINT_A(c)) 1773 # else /* isASCII is already defined for ASCII platforms, so can use that to 1775 # define isCNTRL_A(c) (isASCII(c) && ! isPRINT_A(c)) 1847 #define isASCII_A(c) isASCII(c) 1848 #define isASCII_L1(c) isASCII( [all...] |
| H A D | utf8.c | 4042 if (isASCII(*s)) { in Perl__to_utf8_fold_flags() 4475 if (isASCII(*p1) && ! (flags & FOLDEQ_LOCALE)) { 4483 if ((flags & FOLDEQ_UTF8_NOMIX_ASCII) && ! isASCII(*p2)) { 4520 if (isASCII(*p2) && ! (flags & FOLDEQ_LOCALE)) { 4521 if ((flags & FOLDEQ_UTF8_NOMIX_ASCII) && ! isASCII(*p1)) {
|
| H A D | regcomp_study.c | 134 && (! isASCII(uc) || ! inRANGE(OP(node), EXACTFAA, in S_make_exactf_invlist() 160 if (isASCII(*s)) { in S_make_exactf_invlist() 213 && isASCII(c) != isASCII(fc)) in S_make_exactf_invlist() 1309 else if (isASCII(*s)) { in Perl_join_exact() 1351 if (isASCII(*s)) { in Perl_join_exact()
|
| H A D | regcomp.c | 9243 if (isASCII(cp)) { in S_add_multi_match() 10832 if (isASCII(j) || ! DEPENDS_SEMANTICS) { in S_regclass() 10845 && (! isASCII(j) || ! ASCII_FOLD_RESTRICTED)) in S_regclass() 10879 && (isASCII(c) != isASCII(j)))) in S_regclass() 10892 if (isASCII(c) || c > 255 || AT_LEAST_UNI_SEMANTICS) in S_regclass() 11539 if (partial_cp_count == 2 && isASCII(lowest_cp)) { in S_optimize_regclass() 11709 && ! isASCII(lowest_cp)) in S_optimize_regclass() 14921 if (! isASCII(name[i]) || ! isCHARNAME_CONT(name[i])) { in S_parse_uniprop_string()
|
| H A D | regcomp_debug.c | 960 if (op != ANYOFR || ! isASCII(ANYOFRbase(o) + ANYOFRdelta(o))) in S_put_range()
|
| H A D | regexec.c | 4991 if (op == EXACTF && (! isASCII(folded) || ! isASCII(fold_from))) { in S_setup_EXACTISH_ST() 4997 if ( isASCII(folded) != isASCII(fold_from) in S_setup_EXACTISH_ST() 10942 && ! isASCII(c)) in S_reginclass()
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | Lexer.cpp | 1672 if (isASCII(CodePoint)) in diagnoseInvalidUnicodeCodepointInIdentifier() 1705 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUCN() 1751 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUTF8Char() 1798 !PP->isPreprocessedOutput() && !isASCII(*BufferPtr) && in LexUnicodeIdentifierStart() 1852 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexIdentifierContinue() 1972 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexNumericConstant() 1996 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexUDSuffix() 2066 } else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) { in LexUDSuffix() 2467 while (isASCII(C) && C != 0 && // Potentially EOF. in SkipLineComment() 2473 if (!isASCII(C)) { in SkipLineComment() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/ |
| H A D | Changes | 177 * Fixed isASCII on early perls to work with signed char arguments 289 * Fix isASCII and isCNTRL for <5.6.0 345 * Fix cpan #81484: fix isASCII and isCNTRL for inputs > 255 357 * fix CPAN #56749: isASCII and isCNTRL macros are buggy 451 isASCII
|
| /openbsd-src/gnu/usr.bin/perl/pod/ |
| H A D | perlclib.pod | 241 isascii(c) isASCII(c) isASCII_LC(c) 269 is an C<isASCII_L1>, which is identical to C<isASCII>; the
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Term-ReadKey/ |
| H A D | ppport.h | 13012 # undef isASCII 13058 #ifndef isASCII 13059 # define isASCII(c) (isCNTRL(c) || isPRINT(c)) macro 13152 # undef isASCII 13170 #ifndef isASCII 13171 # define isASCII(c) ((WIDEST_UTYPE) (c) <= 127) macro 13193 # define isASCII_L1(c) isASCII(c) 13197 # define isASCII_LC(c) isASCII(c) 13410 # define isASCII_A(c) isASCII(c) 13473 # define isASCII_utf8_safe(s,e) (((e) - (s)) <= 0 ? 0 : isASCII(*(s))) [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/inc/ |
| H A D | misc | 464 # undef isASCII 511 __UNDEFINED__ isASCII(c) (isCNTRL(c) || isPRINT(c)) 593 # undef isASCII 612 __UNDEFINED__ isASCII(c) ((WIDEST_UTYPE) (c) <= 127) 621 __UNDEFINED__ isASCII_L1(c) isASCII(c) 622 __UNDEFINED__ isASCII_LC(c) isASCII(c) 705 __UNDEFINED__ isASCII_A(c) isASCII(c) 722 __UNDEFINED__ isASCII_utf8_safe(s,e) (((e) - (s)) <= 0 ? 0 : isASCII(*(s))) 1692 isASCII(ord) 1695 RETVAL = isASCII(or [all...] |
| H A D | utf8 | 123 __UNDEFINED__ UTF8_IS_INVARIANT(c) isASCII(c) 125 __UNDEFINED__ UTF8_IS_INVARIANT(c) (isASCII(c) || isCNTRL_L1(c))
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | JSON.cpp | 697 if (LLVM_LIKELY(isASCII(S))) in isUTF8()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/todo/ |
| H A D | 5003007 | 206 isASCII # T
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | APValue.cpp | 661 if (!isASCII(Char64)) in TryPrintAsStringLiteral()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Data-Dumper/ |
| H A D | Dumper.xs | 118 if (!isASCII(*s)) in globname_supra_ascii()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/base/ |
| H A D | 5006000 | 245 isASCII # E
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Expr.h | 1906 if (!isASCII(c)) in containsNonAscii() 1913 if (!isASCII(c) || !c) in containsNonAsciiOrNull()
|