Searched refs:sql_get_int_field (Results 1 - 18 of 18) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/
H A Dsql.h22 sql_get_int_field(sqlite3 *db, const char *fmt, ...);
H A Dplaylist.c62 matches = sql_get_int_field(db, "SELECT count(*) from PLAYLISTS where NAME = '%q'", name);
118 if( sql_get_int_field(db, sql_buf) <= 0 )
132 if( sql_get_int_field(db, "SELECT 1 from OBJECTS where OBJECT_ID = '%s$%llX$%d'",
160 detailID = sql_get_int_field(db, "SELECT ID from DETAILS where PATH like '%%%q'", fname);
H A Dsql.c66 sql_get_int_field(sqlite3 *db, const char *fmt, ...) function
H A Dinotify.c151 i = sql_get_int_field(db, "SELECT count(*) from DETAILS where SIZE is NULL and PATH is not NULL");
361 else if( is_playlist(path) && (sql_get_int_field(db, "SELECT ID from PLAYLISTS where PATH = '%q'", path) > 0) )
571 children = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s'", result[i]);
581 if( sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s'", result[i]) == 0 )
H A Dtivo_commands.c257 count = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s'", id);
259 count = sql_get_int_field(db, "SELECT count(*) from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID) where PARENT_ID = '%s' and "
567 ret = sql_get_int_field(db, "SELECT count(distinct DETAIL_ID) "
H A Dupnpsoap.c789 ret = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s';", id);
954 ret = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s'", ObjectId);
997 ret = sql_get_int_field(db, "SELECT count(*) from OBJECTS where OBJECT_ID = '%s'", ObjectId);
1200 ret = sql_get_int_field(db, "SELECT count(*) from OBJECTS where OBJECT_ID = '%q'",
H A Dminidlna.c730 updateID = sql_get_int_field(db, "SELECT UPDATE_ID from SETTINGS");
732 if( sql_get_int_field(db, "pragma user_version") != DB_VERSION )
H A Dscanner.c411 if( sql_get_int_field(db, "SELECT count(*) from OBJECTS where OBJECT_ID = '%s'", id_buf) > 0 )
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna-1.1.5/
H A Dsql.h39 int sql_get_int_field(sqlite3 *db, const char *fmt, ...);
H A Dplaylist.c68 matches = sql_get_int_field(db, "SELECT count(*) from PLAYLISTS where NAME = '%q'", name);
147 if( sql_get_int_field(db, "SELECT ID from OBJECTS where PARENT_ID = '"MUSIC_PLIST_ID"'"
163 if( sql_get_int_field(db, "SELECT 1 from OBJECTS where OBJECT_ID = '%s$%llX$%d'",
176 detailID = sql_get_int_field(db, "SELECT ID from DETAILS where PATH = '%q/%q'", last_dir, fname);
208 detailID = sql_get_int_field(db, "SELECT ID from DETAILS where PATH like '%%%q'", fname);
H A Dsql.c69 sql_get_int_field(sqlite3 *db, const char *fmt, ...) function
267 db_vers = sql_get_int_field(db, "PRAGMA user_version");
H A Dinotify.c360 ts = sql_get_int_field(db, "SELECT TIMESTAMP from DETAILS where PATH = '%q'", path);
361 if( !ts && is_playlist(path) && (sql_get_int_field(db, "SELECT ID from PLAYLISTS where PATH = '%q'", path) > 0) )
454 if( sql_get_int_field(db, "SELECT ID from DETAILS where PATH = '%q'", path) > 0 )
580 children = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s'", result[i]);
590 if( sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s'", result[i]) == 0 )
739 (sql_get_int_field(db, "SELECT TIMESTAMP from DETAILS where PATH = '%q'", path_buf) != st.st_mtime) )
H A Dtivo_commands.c257 count = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s'", id);
259 count = sql_get_int_field(db, "SELECT count(*) from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID) where PARENT_ID = '%s' and "
606 ret = sql_get_int_field(db, "SELECT count(distinct DETAIL_ID) "
H A Dupnpsoap.c746 ret = sql_get_int_field(db, "SELECT count(*) from %s", magic->child_count);
748 ret = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s';", *(magic->objectid));
750 ret = sql_get_int_field(db, "SELECT count(*) from OBJECTS where PARENT_ID = '%s';", object);
759 ret = sql_get_int_field(db, "SELECT count(*) from OBJECTS where OBJECT_ID = '%q'",
860 if( sql_get_int_field(db, "SELECT ID from CAPTIONS where ID = '%s'", detailID) > 0 )
942 title, sql_get_int_field(db, "SELECT SEC from BOOKMARKS where ID = '%s'", detailID));
1756 totalMatches = sql_get_int_field(db, "SELECT (select count(distinct DETAIL_ID)"
H A Dalbumart.c357 ret = sql_get_int_field(db, "SELECT ID from ALBUM_ART where PATH = '%q'", album_art);
H A Dupnphttp.c602 a = sql_get_int_field(db, "SELECT count(*) from DETAILS where MIME glob 'a*'");
603 v = sql_get_int_field(db, "SELECT count(*) from DETAILS where MIME glob 'v*'");
604 p = sql_get_int_field(db, "SELECT count(*) from DETAILS where MIME glob 'i*'");
1988 if( sql_get_int_field(db, "SELECT ID from CAPTIONS where ID = '%lld'", (long long)id) > 0 )
H A Dminidlna.c324 ret = sql_get_int_field(db, "SELECT TIMESTAMP from DETAILS where PATH = %Q", media_path->path);
1057 updateID = sql_get_int_field(db, "SELECT VALUE from SETTINGS where KEY = 'UPDATE_ID'");
H A Dscanner.c411 if( sql_get_int_field(db, "SELECT count(*) from OBJECTS where OBJECT_ID = '%s'", id_buf) > 0 )
591 if( sql_get_int_field(db, "SELECT 1 from OBJECTS where OBJECT_ID = '%s'", magic->objectid_match) == 0 )

Completed in 133 milliseconds