Lines Matching refs:index
319 if (Index *index = indexDir->FindIndex(name))
320 index->Dump();
1850 // check whether an index directory exists
1896 // get the next index
1897 Index *index = volume->GetIndexDirectory()->IndexAt(
1899 if (index) {
1900 const char *name = index->GetName();
1948 // get the index directory
1950 // check whether an index with that name does already exist
1954 // create the index
1955 AttributeIndex *index;
1956 error = indexDir->CreateIndex(name, type, &index);
1978 // get the index directory
1980 // check whether an index with that name does exist
1981 if (Index *index = indexDir->FindIndex(name)) {
1982 // don't delete a special index
1983 if (indexDir->IsSpecialIndex(index)) {
1986 indexDir->DeleteIndex(index);
2005 // get the index directory
2007 // find the index
2008 if (Index *index = indexDir->FindIndex(name)) {
2009 st->st_type = index->GetType();
2010 if (index->HasFixedKeyLength())
2011 st->st_size = index->GetKeyLength();
2014 st->st_atime = 0; // TODO: index times
2153 /* index directory & index operations */