Searched refs:is_ascii (Results 1 – 9 of 9) sorted by relevance
5 is_ascii = locale.getpreferredencoding() == 'ANSI_X3.4-1968' variable6 fail_on_ascii = pytest.mark.xfail(is_ascii, reason="Test fails in this locale")
31 static bool is_ascii(const char* s) { in is_ascii() function41 if (is_ascii(utf8path)) { in fopen_win()
1117 int is_ascii; in regression_tests() local1211 is_ascii = 0; in regression_tests()1213 is_ascii = check_ascii(current->pattern) && check_ascii(current->input); in regression_tests()1236 if (!re8 && (utf || is_ascii)) in regression_tests()1263 if (!re16 && (utf || is_ascii)) in regression_tests()1290 if (!re32 && (utf || is_ascii)) in regression_tests()1632 if (!(current->start_offset & F_NO8) && (utf || is_ascii)) { in regression_tests()1647 if (!(current->start_offset & F_NO16) && (utf || is_ascii)) { in regression_tests()1662 if (!(current->start_offset & F_NO32) && (utf || is_ascii)) { in regression_tests()
262 int is_ascii = 0; in pysqlite_unicode_from_string() local265 is_ascii = 1; in pysqlite_unicode_from_string()270 is_ascii = 0; in pysqlite_unicode_from_string()278 if (is_ascii) { in pysqlite_unicode_from_string()
107 int is_ascii; in check_force_ascii() local145 is_ascii = 0; in check_force_ascii()148 is_ascii = 1; in check_force_ascii()152 if (!is_ascii) { in check_force_ascii()
3217 int is_ascii; in yaffs_load_oh_from_name() local3222 is_ascii = 1; in yaffs_load_oh_from_name()3226 while (is_ascii && *w) { in yaffs_load_oh_from_name()3228 is_ascii = 0; in yaffs_load_oh_from_name()3232 if (is_ascii) { in yaffs_load_oh_from_name()
129 is_ascii = reader.IsProbableASCIIRegion(location, size)137 if is_ascii is not False:161 if is_executable is not True and is_ascii is not True:
1268 int is_sharing, is_ascii; in PyUnicode_New() local1278 is_ascii = 0; in PyUnicode_New()1284 is_ascii = 1; in PyUnicode_New()1330 if (is_ascii) in PyUnicode_New()1340 _PyUnicode_STATE(unicode).ascii = is_ascii; in PyUnicode_New()1341 if (is_ascii) { in PyUnicode_New()