Home
last modified time | relevance | path

Searched refs:has_double_quote (Results 1 – 4 of 4) sorted by relevance

/dports/lang/micropython/micropython-1.17/py/
H A Dobjstrunicode.c45 bool has_double_quote = false; in uni_print_quoted() local
46 for (const byte *s = str_data, *top = str_data + str_len; !has_double_quote && s < top; s++) { in uni_print_quoted()
50 has_double_quote = true; in uni_print_quoted()
54 if (has_single_quote && !has_double_quote) { in uni_print_quoted()
H A Dobjstr.c50 bool has_double_quote = false; in mp_str_print_quoted() local
51 for (const byte *s = str_data, *top = str_data + str_len; !has_double_quote && s < top; s++) { in mp_str_print_quoted()
55 has_double_quote = true; in mp_str_print_quoted()
59 if (has_single_quote && !has_double_quote) { in mp_str_print_quoted()
/dports/math/pspp/pspp-1.4.1/src/ui/
H A Dsyntax-gen.c71 has_double_quote (struct substring str) in has_double_quote() function
106 quote = has_double_quote (in) && !has_single_quote (in) ? '\'' : '"'; in syntax_gen_string()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/grass-0.10.8/src/value/
H A Dmod.rs131 let mut has_double_quote = false; in visit_quoted_string() localVariable
144 } else if has_double_quote { in visit_quoted_string()
158 has_double_quote = true; in visit_quoted_string()
189 let quote = if has_double_quote { '\'' } else { '"' }; in visit_quoted_string()