Searched refs:has_double_quote (Results 1 – 4 of 4) sorted by relevance
45 bool has_double_quote = false; in uni_print_quoted() local46 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()
50 bool has_double_quote = false; in mp_str_print_quoted() local51 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()
71 has_double_quote (struct substring str) in has_double_quote() function106 quote = has_double_quote (in) && !has_single_quote (in) ? '\'' : '"'; in syntax_gen_string()
131 let mut has_double_quote = false; in visit_quoted_string() localVariable144 } 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()