Lines Matching refs:loc
889 db_table::cacheValid(entryp loc) { in cacheValid() argument
897 if (loc < 0 || loc >= table_size || tab == 0 || tab[loc] == 0) in cacheValid()
899 else if (mapping.expire == 0 || mapping.expire[loc] >= now.tv_sec) in cacheValid()
914 db_table::dupEntry(entry_object *obj, entryp loc) { in dupEntry() argument
915 if (obj == 0 || loc < 0 || loc >= table_size || tab == 0 || in dupEntry()
916 tab[loc] == 0) in dupEntry()
919 if (sameEntry(obj, tab[loc])) { in dupEntry()
920 setEntryExp(loc, tab[loc], 0); in dupEntry()
923 enumTouch(loc); in dupEntry()
1032 db_table::enumTouch(entryp loc) { in enumTouch() argument
1033 if (loc < 0 || loc >= table_size) in enumTouch()
1038 ((entry_object **)enumArray.ptr)[loc] = 0; in enumTouch()
1043 if (loc == ((entryp *)enumIndex.ptr)[i]) { in enumTouch()
1056 db_table::enumSetup(entryp loc, long index) { in enumSetup() argument
1057 if (enumMode.flag == 0 || loc < 0 || loc >= table_size || in enumSetup()
1061 ((entryp *)enumIndex.ptr)[index] = loc; in enumSetup()
1062 ((entry_object **)enumArray.ptr)[index] = tab[loc]; in enumSetup()
1070 db_table::touchEntry(entryp loc) { in touchEntry() argument
1071 if (loc < 0 || loc >= table_size || tab == 0 || tab[loc] == 0) in touchEntry()
1074 setEntryExp(loc, tab[loc], 0); in touchEntry()
1076 enumTouch(loc); in touchEntry()