Searched refs:needs_quoting (Results 1 – 3 of 3) sorted by relevance
32 bool needs_quoting = false; in TEST() local33 EXPECT_EQ("\"foo\\$ bar\"", EscapeString("foo\\ bar", opts, &needs_quoting)); in TEST()34 EXPECT_TRUE(needs_quoting); in TEST()37 needs_quoting = false; in TEST()39 EXPECT_EQ("foo\\$ bar", EscapeString("foo\\ bar", opts, &needs_quoting)); in TEST()40 EXPECT_TRUE(needs_quoting); in TEST()
130 int needs_quoting = !!str[strcspn(str, "\",\n\r")]; in print_csv_escaped_str() local132 if (needs_quoting) in print_csv_escaped_str()140 if (needs_quoting) in print_csv_escaped_str()
1052 int needs_quoting = !!src[strcspn(src, meta_chars)]; in csv_escape_str() local1054 if (needs_quoting) in csv_escape_str()1062 if (needs_quoting) in csv_escape_str()