Lines Matching refs:substr
17299 ** structure. For global built-in functions (ex: substr(), max(), count())
112559 "'sqlite_autoindex_' || %Q || substr(name,%d+18) "
112739 /* substr() operations on characters, but addColOffset is in bytes. So we
112746 " || substr(sql,1+length(printf('%%.%ds',sql))) "
125016 ** Implementation of the substr() function.
125018 ** substr(x,p1,p2) returns p2 characters of x[] beginning with p1.
125019 ** p1 is 1-indexed. So substr(x,1,1) returns the first character
125063 /* If SUBSTR_COMPATIBILITY is defined then substr(X,0,N) work the same as
125064 ** as substr(X,1,N) - it returns the first N characters of X. This
127027 FUNCTION(substr, 2, 0, 0, substrFunc ),
127028 FUNCTION(substr, 3, 0, 0, substrFunc ),
209804 "SELECT name, rootpage, sql IS NULL OR substr(8, 6)=='UNIQUE' "
246132 sql = sqlite3_mprintf("SELECT 'CREATE TABLE %s.' || substr(sql,14) FROM sqlite_master WHERE type='table' AND name!='sqlite_sequence' AND rootpage>0;", dbName);
246142 sql = sqlite3_mprintf("SELECT 'CREATE INDEX %s.' || substr(sql,14) FROM sqlite_master WHERE sql LIKE 'CREATE INDEX %%';", dbName);
246152 sql = sqlite3_mprintf("SELECT 'CREATE UNIQUE INDEX %s.' || substr(sql,21) FROM sqlite_master WHERE sql LIKE 'CREATE UNIQUE INDEX %%';", dbName);