Searched refs:dataPath (Results 1 - 5 of 5) sorted by relevance

/haiku/src/apps/mail/
H A DWords.h60 Words(const char* dataPath, const char* indexPath,
H A DMailApp.cpp485 BPath dataPath; local
515 dataPath = dictionaryDir;
516 dataPath.Append("words");
519 if (BEntry(kWordsPath).Exists() || BEntry(dataPath.Path()).Exists()) {
522 if (!BEntry(dataPath.Path()).Exists() && BEntry(kWordsPath).Exists()) {
524 BFile copy(dataPath.Path(), B_WRITE_ONLY | B_CREATE_FILE);
541 dataPath.SetTo(&entry);
544 leafName.SetTo(dataPath.Leaf());
547 gWords[gDictCount] = new Words(dataPath.Path(), indexPath.Path(), true);
550 leafName.SetTo(dataPath
[all...]
H A DWIndex.h90 status_t SetTo(const char* dataPath, const char* indexPath);
H A DWIndex.cpp75 WIndex::SetTo(const char *dataPath, const char *indexPath) argument
82 if (dataFile->SetTo(dataPath, B_READ_ONLY) != B_OK) {
H A DWords.cpp102 Words::Words(const char* dataPath, const char* indexPath, bool useMetaphone) argument
108 SetTo(dataPath, indexPath);

Completed in 48 milliseconds