Home | History | Annotate | Download | only in SQLite

Lines Matching refs:str

63     static public String sql_quote_dbl(String str) {
64 if (str == null) {
68 for (i = 0; i < str.length(); i++) {
69 if (str.charAt(i) == '\'') {
71 } else if (str.charAt(i) == '"') {
76 return "\"" + str + "\"";
79 for (i = 0; i < str.length(); i++) {
80 char c = str.charAt(i);
90 static public String sql_quote(String str) {
91 if (str == null) {
95 for (i = 0; i < str.length(); i++) {
96 if (str.charAt(i) == '\'') {
98 } else if (str.charAt(i) == '"') {
103 return "'" + str + "'";
106 return "\"" + str + "\"";
109 for (i = 0; i < str.length(); i++) {
110 char c = str.charAt(i);
120 static String html_quote(String str) {
121 if (str == null) {
125 for (int i = 0; i < str.length(); i++) {
126 char c = str.charAt(i);
145 static boolean is_numeric(String str) {
147 Double d = Double.valueOf(str);
154 void set_table_name(String str) {
155 if (str == null) {
160 tableName = Shell.sql_quote_dbl(str);
162 tableName = Shell.sql_quote(str);