Home
last modified time | relevance | path

Searched refs:IS_UTF8 (Results 1 – 25 of 70) sorted by relevance

123

/dports/textproc/R-cran-stringi/stringi/src/
H A Dstri_macros.h136 #ifndef IS_UTF8
137 #define IS_UTF8(x) (LEVELS(x) & UTF8_MASK) macro
H A Dstri_container_utf8.cpp111 else if (IS_UTF8(curs)) { in StriContainerUTF8()
151 && !(IS_ASCII(tmps) || IS_UTF8(tmps) || IS_BYTES(tmps)) in StriContainerUTF8()
H A Dstri_test.cpp74 fprintf(stdout, "!NDEBUG: \tMARK_UTF8 = %d\n", (IS_UTF8(curs) > 0)); in stri_test_Rmark()
H A Dstri_encoding_conversion.cpp242 if (curs == NA_STRING || IS_ASCII(curs) || IS_UTF8(curs)) in stri_enc_toutf8()
259 if (IS_ASCII(curs) || IS_UTF8(curs)) { in stri_enc_toutf8()
398 if (IS_UTF8(curs)) { in stri_enc_toascii()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/r/src/
H A Darrow_cpp11.h35 #define IS_UTF8(x) (LEVELS(x) & UTF8_MASK) macro
76 if (!IS_UTF8(s) && !IS_ASCII(s)) { in utf8_string()
86 } else if (IS_ASCII(s) || IS_UTF8(s)) { in r_string_size()
100 if (s != NA_STRING && !IS_UTF8(s) && !IS_ASCII(s)) { in utf8_strings()
/dports/databases/arrow/apache-arrow-6.0.1/r/src/
H A Darrow_cpp11.h36 #define IS_UTF8(x) (LEVELS(x) & UTF8_MASK) macro
82 if (!IS_UTF8(s) && !IS_ASCII(s)) { in utf8_string()
92 } else if (IS_ASCII(s) || IS_UTF8(s)) { in r_string_size()
106 if (s != NA_STRING && !IS_UTF8(s) && !IS_ASCII(s)) { in utf8_strings()
/dports/math/R/R-4.1.2/src/library/utils/src/
H A Dutils.c58 int IS_UTF8(SEXP x);
80 if (!(IS_ASCII(sx) || IS_UTF8(sx) || (utf8locale && !ENC_KNOWN(sx)))) in charClass()
/dports/math/libRmath/R-4.1.1/src/library/utils/src/
H A Dutils.c58 int IS_UTF8(SEXP x);
80 if (!(IS_ASCII(sx) || IS_UTF8(sx) || (utf8locale && !ENC_KNOWN(sx)))) in charClass()
/dports/security/rhash/RHash-1.4.2/
H A Doutput.c26 # define IS_UTF8() (opt.flags & OPT_UTF8) macro
28 # define IS_UTF8() 1 macro
43 format_length = (IS_UTF8() ? count_utf8_symbols(format) : strlen(format)) - 2; in count_printed_size()
46 …return format_length + (IS_UTF8() || (output_flags & OutForceUtf8) ? count_utf8_symbols(path) : st… in count_printed_size()
/dports/audio/fatfrog-lv2/FatFrog.lv2-1.0/libxputty/xputty/header/
H A Dxputty.h99 #define IS_UTF8(c) (((c)&0xc0)==0xc0) macro
/dports/audio/littlefly-lv2/LittleFly.lv2-1.0/libxputty/xputty/header/
H A Dxputty.h99 #define IS_UTF8(c) (((c)&0xc0)==0xc0) macro
/dports/audio/guitarix-lv2/guitarix-0.43.1/src/LV2/xputty/header/
H A Dxputty.h99 #define IS_UTF8(c) (((c)&0xc0)==0xc0) macro
/dports/math/rkward-kde/rkward-0.7.1/rkward/rbackend/
H A Drkrsupport.cpp24 #define IS_UTF8(x) (Rf_getCharCE(x) == CE_UTF8) macro
116 if (IS_UTF8 (dummy)) { in SEXPToStringList()
/dports/math/R/R-4.1.2/src/main/
H A Dpaste.c109 sepUTF8 = IS_UTF8(sep); in do_paste()
187 if(IS_UTF8(cs)) use_UTF8 = TRUE; in do_paste()
260 use_UTF8 = IS_UTF8(sep); in do_paste()
263 if(!use_UTF8 && IS_UTF8 (STRING_ELT(ans, i))) use_UTF8 = TRUE; in do_paste()
392 if(IS_UTF8(cs)) {use_UTF8 = TRUE; break;} in do_filepath()
H A Dcharacter.c171 if (IS_UTF8(string)) { in R_nchar()
211 if (IS_UTF8(string)) { in R_nchar()
1078 if (IS_UTF8(xi) || in do_tolower()
1463 if (IS_UTF8(xi) || (!latin1locale && IS_LATIN1(xi))) use_WC = TRUE; in do_chartr()
1466 if (IS_UTF8(STRING_ELT(old, 0)) || in do_chartr()
1468 if (IS_UTF8(STRING_ELT(_new, 0)) || in do_chartr()
1489 if (use_WC && IS_UTF8(STRING_ELT(old, 0))) { in do_chartr()
1514 if (use_WC && IS_UTF8(STRING_ELT(_new, 0))) { in do_chartr()
H A Dsysutils.c174 if(IS_UTF8(fn)) from = "UTF-8"; in filenameToWchar()
784 if(IS_UTF8(x)) return CE_UTF8; in getCharCE()
848 if (IS_UTF8(x)) { in needsTranslation()
1098 if(IS_UTF8(x)) return ans; in translateCharUTF8()
1164 if(IS_UTF8(x)) return ans; in trCharUTF8()
1268 } else if(IS_UTF8(x)) { in wtransChar()
/dports/math/libRmath/R-4.1.1/src/main/
H A Dpaste.c109 sepUTF8 = IS_UTF8(sep); in do_paste()
187 if(IS_UTF8(cs)) use_UTF8 = TRUE; in do_paste()
260 use_UTF8 = IS_UTF8(sep); in do_paste()
263 if(!use_UTF8 && IS_UTF8 (STRING_ELT(ans, i))) use_UTF8 = TRUE; in do_paste()
392 if(IS_UTF8(cs)) {use_UTF8 = TRUE; break;} in do_filepath()
H A Dcharacter.c171 if (IS_UTF8(string)) { in R_nchar()
211 if (IS_UTF8(string)) { in R_nchar()
1078 if (IS_UTF8(xi) || in do_tolower()
1463 if (IS_UTF8(xi) || (!latin1locale && IS_LATIN1(xi))) use_WC = TRUE; in do_chartr()
1466 if (IS_UTF8(STRING_ELT(old, 0)) || in do_chartr()
1468 if (IS_UTF8(STRING_ELT(_new, 0)) || in do_chartr()
1489 if (use_WC && IS_UTF8(STRING_ELT(old, 0))) { in do_chartr()
1514 if (use_WC && IS_UTF8(STRING_ELT(_new, 0))) { in do_chartr()
H A Dsysutils.c174 if(IS_UTF8(fn)) from = "UTF-8"; in filenameToWchar()
784 if(IS_UTF8(x)) return CE_UTF8; in getCharCE()
848 if (IS_UTF8(x)) { in needsTranslation()
1098 if(IS_UTF8(x)) return ans; in translateCharUTF8()
1164 if(IS_UTF8(x)) return ans; in trCharUTF8()
1268 } else if(IS_UTF8(x)) { in wtransChar()
/dports/audio/mamba/Mamba-2.2/libxputty/xputty/header/
H A Dxputty.h114 #define IS_UTF8(c) (((c)&0xc0)==0xc0) macro
/dports/audio/fluida-lv2/Fluida.lv2-0.7/libxputty/xputty/header/
H A Dxputty.h114 #define IS_UTF8(c) (((c)&0xc0)==0xc0) macro
/dports/textproc/p5-YAML-Syck/YAML-Syck-1.34/
H A Dperl_syck.h11 #undef IS_UTF8
34 # define IS_UTF8(x) TRUE macro
58 # define IS_UTF8(x) (SvUTF8(sv)) macro
60 # define IS_UTF8(x) (FALSE) macro
1029 else if (IS_UTF8(sv)) {
/dports/devel/R-cran-data.table/data.table/src/
H A Ddata.table.h27 #define IS_UTF8(x) (LEVELS(x) & 8) macro
71 #define NEED2UTF8(s) !(IS_ASCII(s) || (s)==NA_STRING || IS_UTF8(s))
/dports/math/R-cran-dplyr/dplyr/src/
H A Dmask.cpp4 if (!IS_UTF8(s) && !IS_ASCII(s)) { in as_utf8()
/dports/textproc/sphinxsearch/sphinx-2.2.11-release/src/
H A Dsphinxaot.cpp804 template < EMMITERS IS_UTF8 >
839 sOut = Emit<IS_UTF8> ( sOut, *sBase++ ); in CreateLemma()
847 sOut = Emit<IS_UTF8> ( sOut, *sFlexia++ ); in CreateLemma()
854 sOut = Emit<IS_UTF8> ( sOut, *sBase++ ); in CreateLemma()

123