Lines Matching full:options
13 const EscapeOptions& options,
19 if (str[i] == '$' && (options.mode & ESCAPE_NINJA)) {
23 } else if (str[i] == '"' && (options.mode & ESCAPE_SHELL)) {
29 if (options.mode & ESCAPE_NINJA) {
33 if (options.mode & ESCAPE_SHELL) {
37 if (!options.inhibit_quoting) {
45 } else if (str[i] == '\'' && (options.mode & ESCAPE_JSON)) {
49 } else if (str[i] == '/' && options.convert_slashes) {
53 } else if (str[i] == '\\' && (options.mode & ESCAPE_SHELL)) {
58 } else if (str[i] == '\\' && (options.mode & ESCAPE_JSON)) {
73 const EscapeOptions& options,
77 EscapeStringToString(str, options, &result, needed_quoting);
83 const EscapeOptions& options) {
87 EscapeStringToString(str, options, &result.container(), NULL);