ddc
|
#include "utilit.h"
#include "ddcLocale.h"
#include "ddcTime.h"
#include "util_classes.h"
#include "bserialize.h"
#include "DDCInternalError.h"
#include <time.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <pthread.h>
Classes | |
struct | CPredictPartOfSpeech |
Typedefs | |
typedef bool(* | SymbolCheckerFunc) (BYTE) |
Functions | |
bool | FileExists (const char *FName) |
file_off_t | FileSize (const char *filename) |
time_t | FileMTime (const char *filename) |
bool | IsDirectory (const char *DirName) |
bool | FSeek (FILE *fp, file_off_t pos, int origin) |
file_off_t | FTell (FILE *fp) |
void | ErrorMessage (const string &label, const string &message) |
void | ErrorMessage (const string &Message) |
string | MakeFName (const string &InpitFileName, const string &Ext) |
bool | MakePath (const char *RossPath, const char *FileName, char *FullPath) |
string | GetPathByFile (string FileName) |
bool | IsBinFile (const char *FileName) |
string | CreateTempFileName () |
bool | IsEmptyLine (const char *t) |
char * | rtrim (char *s) |
bool | IsSuperEqualChar (BYTE ch1, BYTE ch2, MorphLanguageEnum langua) |
int | CompareWithoutRegister (const char *s1, const char *s2, size_t l, MorphLanguageEnum langua) |
BYTE | force_rus_char (BYTE ch) |
bool | force_to_rus (char *dest, const char *sour, size_t len) |
char * | IntToStr (int Value, char *Buffer) |
string & | IntToStr (int Value, string &oBuffer) |
string | FileExtension (const string &FileName) |
string | FileDirectory (const string &FileName) |
Returns directory part of FileName, or "." if FileName is a bare filename, like dirname(3) More... | |
string | FileBasename (const string &FileName) |
Returns file part of FileName, like basename(3) More... | |
string | FileBasename (const string &FileName, const string &FileExtension) |
Returns basename FileName, removing any trailing extension FileExtension. More... | |
string | CurrentDirectory (void) |
Wrapper for getcwd(); returns current working directory of current process. More... | |
bool | IsHtmlFile (const string &FileName) |
bool | IsTableFile (const string &FileName) |
bool | IsJsonFile (const string &FileName) |
bool | IsAbsolutePath (const string &PathName) |
Returns true iff PathName is an absolute path (simple string heuristics) More... | |
string | RelativePathName (const string &RefDir, const string &PathName) |
If PathName is absolute, it is returned; otherwise returns (RefDir + "/" + PathName) More... | |
string | RelativeFileName (const string &RefFile, const string &PathName) |
If PathName is absolute, it is returned; otherwise returns (FileDirectory(RefFile) + "/" + PathName) More... | |
void | AddFile (const char *MainFile, const char *ToAdd) |
AddFile(): old ugly file-append hack using system("cat...") More... | |
void | FileAppend (FILE *src, FILE *dst) |
FileAppend(): newer better replacement for AddFile() More... | |
void | FileAppend (const char *srcFile, const char *dstFile) |
void | FileAppend (const string &srcFile, const string &dstFile) |
void | FileAppendPartial (FILE *src, FILE *dst, size_t nBytes) |
FileAppendPartial(): append a substring of src to dst. More... | |
string | GetRmlVariable () |
static string | GetStringInnerFromTheFile (string RegistryPath, string MainPath, string RmlPath) |
string | GetIniFilePath () |
size_t | GetNumberOfOpenFiles (pid_t pid) |
string | GetRegistryString (string RegistryPath) |
bool | CanGetRegistryString (string RegistryPath) |
bool | IsRmlRegistered (string &Error) |
struct tm | RmlGetCurrentTime () |
int | GetPredictionPartOfSpeech (const string &PartOfSpeech, MorphLanguageEnum langua) |
bool | GetLanguageByString (string s, MorphLanguageEnum &Result) |
string | GetStringByLanguage (MorphLanguageEnum Langua) |
bool | is_spc_fill (BYTE x) |
bool | is_generic_upper (BYTE x) |
bool | is_generic_lower (BYTE x) |
bool | is_generic_alpha (BYTE x) |
bool | is_URL_alpha (BYTE x) |
bool | is_english_upper (BYTE x) |
bool | is_english_upper_vowel (BYTE x) |
bool | is_english_lower (BYTE x) |
bool | is_english_lower_vowel (BYTE x) |
bool | is_english_alpha (BYTE x) |
BYTE | etoupper (BYTE ch) |
BYTE | etolower (BYTE ch) |
bool | is_german_upper (BYTE x) |
bool | is_german_lower (BYTE x) |
bool | is_german_lower_vowel (BYTE x) |
bool | is_german_upper_vowel (BYTE x) |
bool | is_german_alpha (BYTE x) |
BYTE | gtoupper (BYTE ch) |
BYTE | gtolower (BYTE ch) |
bool | is_russian_upper (BYTE x) |
bool | is_russian_lower (BYTE x) |
bool | is_russian_lower_vowel (BYTE x) |
bool | is_russian_upper_vowel (BYTE x) |
bool | is_russian_lower_consonant (BYTE x) |
bool | is_russian_upper_consonant (BYTE x) |
bool | is_russian_consonant (BYTE x) |
bool | is_russian_alpha (BYTE x) |
BYTE | rtoupper (BYTE ch) |
BYTE | rtolower (BYTE ch) |
bool | is_lower_vowel (BYTE x, MorphLanguageEnum Langua) |
bool | is_upper_vowel (BYTE x, MorphLanguageEnum Langua) |
bool | is_upper_consonant (BYTE x, MorphLanguageEnum Langua) |
bool | is_alpha (BYTE x) |
bool | is_alpha (BYTE x, MorphLanguageEnum Langua) |
bool | is_lower_alpha (BYTE x, MorphLanguageEnum Langua) |
bool | is_upper_alpha (BYTE x, MorphLanguageEnum Langua) |
bool | isnspace (BYTE x) |
BYTE | ReverseChar (BYTE ch, MorphLanguageEnum langua) |
string & | EngMakeUpper (string &word) |
string & | EngMakeLower (string &word) |
bool | is_arab_digit (BYTE c) |
template<class T > | |
bool | CheckLanguage (const T &src, size_t Length, MorphLanguageEnum langua) |
bool | IsRussian (const char *word) |
bool | CheckLanguage (const char *word, MorphLanguageEnum langua) |
string & | EngRusMakeLower (string &word) |
char * | RmlMakeUpper (char *word, MorphLanguageEnum langua) |
string & | RmlMakeUpper (string &word, MorphLanguageEnum langua) |
string & | RmlMakeLower (string &word, MorphLanguageEnum langua) |
string & | EngRusMakeUpper (string &word) |
char * | EngRusMakeUpper (char *word) |
template<class T > | |
void | ConvertJO2JeTemplate (T &src, size_t Length) |
void | ConvertJO2Je (char *src, size_t Length) |
void | ConvertJO2Je (string &src) |
void | ConvertJO2Je (char *src) |
string & | TrimLeft (string &str) |
string & | TrimRight (string &str) |
string & | Trim (string &str) |
bool | StartsWith (const string &body, const string &prefix) |
int | isbracket (BYTE x) |
size_t | dual_bracket (BYTE x) |
string | timestampLocal (time_t timeval) |
moo: timestamp stuff More... | |
string | timestampUTC (time_t timeval) |
vector< string > | stringSplit (const char *s, const char *delims) |
moo: convenience wrapper for string-to-vector tokenization using StringTokenizer More... | |
void | stringSplitE (const string &s, const string &delims, vector< string > &tokens) |
vector< string > | stringSplitE (const string &s, const string &delims) |
moo: stringSplitE() variant returning token-vector More... | |
uint32_t | date2int (signed int y, unsigned int m, unsigned int d) |
moo: date-to-int encoding (v2.2.4: use signed years) More... | |
void | int2date (uint32_t i, signed int *y, unsigned int *m, unsigned int *d) |
moo: int-to-date decoding (v2.2.4: use signed years) More... | |
string | int2hex (int32_t i) |
moo: int-to-hexidecimal string encoding; encoding preserves sort order (for subcorpus->server communications) More... | |
int32_t | hex2int (const string &s) |
moo: int-to-hexidecimal string deccoding; ; encoding preserves sort order More... | |
static void | ddc_loglabel_destroy (void *label) |
static void | ddc_thread_data_alloc (void) |
void | ddc_thread_init (const char *log_label) |
register a thread-local log prefix (unix only) More... | |
const char * | ddc_log_label (void) |
get thread-local log prefix, or empty string if none registered More... | |
const char * | ddc_set_log_label (const char *log_label) |
set thread-local log prefix; returns old label (if any) More... | |
bool | LoadFileToString (string FileName, string &Result, bool clobber) |
bool | SaveStringToFile (const string &Str, const string &FileName) |
bool | is_pseudo_graph (BYTE x) |
char | wtk (char c) |
char | ktw (char c) |
void | WinToKOI8 (string &s) |
void | KOI8ToWin (string &s) |
string | ConvertASCIIToHtmlSymbols (const string &txt) |
bool | MakeDir (const string &DirName) |
bool | MakeDirP (const string &DirName) |
bool | RemoveWithPrint (const string &FileName) |
size_t | HashValue (const char *pc) |
bool | RmlCopyFile (const char *oldpath, const char *newpath) |
bool | RmlMoveFile (const char *oldpath, const char *newpath) |
string | BuildRMLPath (const char *s) |
typedef bool(* SymbolCheckerFunc) (BYTE) |
bool FileExists | ( | const char * | FName | ) |
Referenced by CHitBorders::CBreakCollection::ClearAll(), CHost::CreateSocket(), CConcIndexator::DestroyIndex(), CStringIndexSet::DestroyIndexSet(), CIndexSetForQueryingStage::DestroyIndexSet(), FileExists(), CConcXml::FinalSaveBibliography(), IsRmlRegistered(), MorphoWizard::load_gramtab(), CConcordance::LoadCorpusFiles(), LoadHosts(), CIndexSetForQueryingStage::LoadIndexSet(), CConcordance::LoadMaskedFiles(), main(), MakePath(), ddcStringEnum< OffT_ >::open(), ddcCorpusList< OffT_ >::open(), CHitBorders::RemoveHitBordersFileAndClear(), RemoveWithPrint(), CConcXml::UnionBibliographies(), and CFatalExpc::~CFatalExpc().
file_off_t FileSize | ( | const char * | filename | ) |
References FSeek(), and FTell().
Referenced by FileSize(), CIndexSetForQueryingStage::GetOccurrsFileSize(), IsDirectory(), CShortStringHolder::ReadShortStringHolder(), ReadVector(), CConcXml::SplitBibliography(), and CConcXml::UnionBibliographies().
time_t FileMTime | ( | const char * | filename | ) |
Referenced by FileSize(), and CConcordance::UpdateTimestamp().
bool IsDirectory | ( | const char * | DirName | ) |
Referenced by FileExists(), IsDirectory(), and MakeDirP().
bool FSeek | ( | FILE * | fp, |
file_off_t | pos, | ||
int | origin | ||
) |
Referenced by FileSize(), ddcFileOrMMap::ReadFromFile(), CIndexSetForLoadingStage::RollbackLoadIndex(), and CConcXml::SplitBibliography().
file_off_t FTell | ( | FILE * | fp | ) |
Referenced by FileSize(), and CItemIndexForLoading::ReadFromTemporalFile().
void ErrorMessage | ( | const string & | label, |
const string & | message | ||
) |
Referenced by CIndexSetForQueryingStage::AssertHasPath(), CConcordance::AssertHasPath(), CGraphanDicts::BuildOborot(), CGraphanDicts::BuildOborottos(), MorphoWizard::check_paradigm(), CItemIndexForLoading::CheckOccurrences(), CShortStringHolder::CreateFromSequence(), CreateMorphIndex(), CMyTimeSpanHolder::EndTimer(), TItemContainer::ErrorMessage(), ErrorMessage(), FileSize(), MorphoWizard::find_lemm(), MorphoWizard::find_wordforms(), CConcSession::GenerateOneHitString(), CConcSession::GenerateOneHitStringJson(), CMorphDictBuilder::GenPredictIdx(), CConcSession::GetContext(), CConcSession::GetContextJson(), TItemContainer::GetDomItemStr(), CDDCBranchServer::GetFirstHitsFromCorpora(), CConcSession::GetHits(), CDDCBranchServer::GetHitStringsFromOneCorpus(), CConcSession::GetOccurrences(), InitAlphabet(), CMorphDict::Load(), CMorphAutomat::Load(), MorphoWizard::predict_lemm(), ReadXmlField(), CBiblIndex::RegisterFreeBiblAttributes(), CStringIndexator::RegisterStringIndices(), CMorphDict::Save(), CMorphAutomat::Save(), CDDCBranchServer::SendGetHitStringsRequest(), CConcSession::SimpleQuery(), CHitBorders::StartIndexing(), and WriteVector().
void ErrorMessage | ( | const string & | Message | ) |
string MakeFName | ( | const string & | InpitFileName, |
const string & | Ext | ||
) |
Referenced by CIndexSetForLoadingStage::AddMemoryLoadIndexToMainLoadIndex(), CConcIndexator::CreateAsUnion(), CIndexSetForLoadingStage::CreateTempFiles(), FileSize(), CBiblIndex::GetBiblDateIndexFileName(), CBiblIndex::GetBiblFileName(), CBiblIndex::GetBiblIndexFileName(), CHitBorders::CBreakCollection::GetBreakFileName(), ConcIndexatorInvoker::GetErrorLogFileName(), CConcordance::GetFileNameForCorpusFileNames(), CIndexSetForQueryingStage::GetFileNameForInfos(), CConcordance::GetFileNameForMaskedFileIds(), CConcordance::GetFileNameForMaskedFiles(), CFreeBiblIndex::GetIndexFileName(), CIndexSetForQueryingStage::GetOccHdrFileName(), CIndexSetForQueryingStage::GetOccursFileName(), CHitBorders::GetPageBreaksFileName(), CIndexSetForQueryingStage::GetPeriodsDivisionFileName(), CStringIndexator::GetSearchPeriodsFileName(), CStringIndexSet::GetStorageFileName(), CFreeBiblStringIndex::GetStringFileName(), CIndexSetForQueryingStage::GetSuffixFileName(), ConcIndexatorInvoker::GetTimeStatisticsFileName(), CDDCLeafServer::handle__info(), CMorphDict::Load(), CConcordance::LoadSourceFilesAndOptions(), main(), CGraphanDicts::ReadAbbrevations(), CMorphDict::Save(), CConcordance::SaveOptions(), and CConcIndexator::SplitProject().
bool MakePath | ( | const char * | RossPath, |
const char * | FileName, | ||
char * | FullPath | ||
) |
References FileExists().
Referenced by FileSize(), TRoss::FullLoad(), TRoss::LoadOnlyConstants(), and TRoss::ReadUnitComments().
string GetPathByFile | ( | string | FileName | ) |
Referenced by ConcIndexatorInvoker::BuildIndex(), FileSize(), MorphoWizard::get_predict_src_file_path(), and GetFullPathByName().
bool IsBinFile | ( | const char * | FileName | ) |
Referenced by TRoss::BuildCorteges(), TRoss::BuildUnits(), FileSize(), and TRoss::ReadUnitComments().
string CreateTempFileName | ( | ) |
bool IsEmptyLine | ( | const char * | t | ) |
Referenced by FileSize(), and TRoss::ReadFromStrWithOneSignatura().
char* rtrim | ( | char * | s | ) |
Referenced by TItemContainer::BuildDomens(), TItemContainer::BuildFields(), DDCProcessMemoryStatus::fetch(), CDwdsThesaurus::LoadDwdsThesaurus(), CGraphanDicts::ReadExtensions(), TRoss::ReadFromStrWithOneSignatura(), CGraphanDicts::ReadKeyboard(), CGraphanDicts::ReadSpaces(), and CDocumentIterator::ReadTabFormatDocument().
bool IsSuperEqualChar | ( | BYTE | ch1, |
BYTE | ch2, | ||
MorphLanguageEnum | langua | ||
) |
References is_english_upper(), is_russian_upper(), ReverseChar(), and rtolower().
Referenced by DDCProcessMemoryStatus::fetch(), CGraphmatFile::FindKeySequence(), and StrSpacingCompare().
int CompareWithoutRegister | ( | const char * | s1, |
const char * | s2, | ||
size_t | l, | ||
MorphLanguageEnum | langua | ||
) |
References ReverseChar().
Referenced by DDCProcessMemoryStatus::fetch(), and CGraphanDicts::FindInIdents().
Referenced by DDCProcessMemoryStatus::fetch(), and force_to_rus().
bool force_to_rus | ( | char * | dest, |
const char * | sour, | ||
size_t | len | ||
) |
References force_rus_char(), and is_russian_alpha().
Referenced by DDCProcessMemoryStatus::fetch(), and CGraphmatFile::InitNonContextDescriptors().
char* IntToStr | ( | int | Value, |
char * | Buffer | ||
) |
Referenced by DDCProcessMemoryStatus::fetch(), and CGraphmatFile::GetGraphematicalLine().
string& IntToStr | ( | int | Value, |
string & | oBuffer | ||
) |
string FileExtension | ( | const string & | FileName | ) |
Referenced by FileSize(), IsHtmlFile(), IsJsonFile(), and IsTableFile().
string FileDirectory | ( | const string & | FileName | ) |
Returns directory part of FileName, or "." if FileName is a bare filename, like dirname(3)
Referenced by FileSize(), MakeDirP(), RelativeFileName(), and CConcIndexator::SplitProject().
string FileBasename | ( | const string & | FileName | ) |
Returns file part of FileName, like basename(3)
Referenced by FileBasename(), FileSize(), and CDDCLeafServer::handle__info().
string FileBasename | ( | const string & | FileName, |
const string & | FileExtension | ||
) |
Returns basename FileName, removing any trailing extension FileExtension.
References FileBasename().
string CurrentDirectory | ( | void | ) |
Wrapper for getcwd(); returns current working directory of current process.
Referenced by do_start(), and FileSize().
bool IsHtmlFile | ( | const string & | FileName | ) |
References EngMakeLower(), and FileExtension().
Referenced by FileSize(), and CIndexDocument::NormalizeDocumentBuffer().
bool IsTableFile | ( | const string & | FileName | ) |
References EngMakeLower(), and FileExtension().
Referenced by FileSize().
bool IsJsonFile | ( | const string & | FileName | ) |
References EngMakeLower(), and FileExtension().
Referenced by FileSize().
bool IsAbsolutePath | ( | const string & | PathName | ) |
Returns true iff PathName is an absolute path (simple string heuristics)
Referenced by FileSize(), and RelativePathName().
string RelativePathName | ( | const string & | RefDir, |
const string & | PathName | ||
) |
If PathName is absolute, it is returned; otherwise returns (RefDir + "/" + PathName)
References IsAbsolutePath().
Referenced by FileSize(), and RelativeFileName().
string RelativeFileName | ( | const string & | RefFile, |
const string & | PathName | ||
) |
If PathName is absolute, it is returned; otherwise returns (FileDirectory(RefFile) + "/" + PathName)
References FileDirectory(), and RelativePathName().
Referenced by FileSize(), CDDCLeafServer::handle__info(), CConcordance::LoadOptionsFromString(), CSourceFileHolder::ReadSourceFileList(), and CDDCServerOptions::Set().
void AddFile | ( | const char * | MainFile, |
const char * | ToAdd | ||
) |
AddFile(): old ugly file-append hack using system("cat...")
References _MAX_PATH.
Referenced by FileSize().
void FileAppend | ( | FILE * | src, |
FILE * | dst | ||
) |
FileAppend(): newer better replacement for AddFile()
References DDC_STATIC_BUFLEN.
Referenced by FileAppend(), FileSize(), and CConcXml::UnionBibliographies().
void FileAppend | ( | const char * | srcFile, |
const char * | dstFile | ||
) |
void FileAppend | ( | const string & | srcFile, |
const string & | dstFile | ||
) |
void FileAppendPartial | ( | FILE * | src, |
FILE * | dst, | ||
size_t | nBytes | ||
) |
FileAppendPartial(): append a substring of src to dst.
References DDC_STATIC_BUFLEN, and Format().
Referenced by FileSize(), and CConcXml::SplitBibliography().
string GetRmlVariable | ( | ) |
References Trim().
Referenced by BuildRMLPath(), DDCProcessMemoryStatus::fetch(), GetIniFilePath(), GetRegistryString(), and CLemmatizer::LoadDictionariesRegistry().
|
static |
References RML_REGISTRY_FILENAME, and Trim().
Referenced by GetRegistryString().
string GetIniFilePath | ( | ) |
References GetRmlVariable().
Referenced by DDCProcessMemoryStatus::fetch(), GetRegistryString(), IsRmlRegistered(), LoadDDCServer(), LoadLocalCorpora(), and main().
size_t GetNumberOfOpenFiles | ( | pid_t | pid = 0 | ) |
return the number of open files for pid (linux only).
Referenced by DDCProcessMemoryStatus::fetch(), CDDCLeafServer::handle__status(), and CDDCBranchServer::handle__status().
string GetRegistryString | ( | string | RegistryPath | ) |
References GetIniFilePath(), GetRmlVariable(), and GetStringInnerFromTheFile().
Referenced by CanGetRegistryString(), CreateLockFile(), ddcLog(), DDCProcessMemoryStatus::fetch(), GetThesaurusPath(), CGraphmatFile::LoadDicts(), CGraphanDicts::ReadAbbrevations(), and CAgramtab::RegistryFilename().
bool CanGetRegistryString | ( | string | RegistryPath | ) |
References GetRegistryString().
Referenced by DDCProcessMemoryStatus::fetch(), and GetThesaurusPath().
bool IsRmlRegistered | ( | string & | Error | ) |
References FileExists(), GetIniFilePath(), CExpc::m_strCause, and RML_REGISTRY_FILENAME.
Referenced by DDCProcessMemoryStatus::fetch(), LoadDDCServer(), LoadLocalCorpora(), and main().
struct tm RmlGetCurrentTime | ( | ) |
References DDCTimeUnix::CalendarTime(), and DDCTimeUnix::Now().
Referenced by TUnitComment::TUnitComment().
int GetPredictionPartOfSpeech | ( | const string & | PartOfSpeech, |
MorphLanguageEnum | langua | ||
) |
References morphEnglish, morphGerman, morphRussian, predict_eng_pos, predict_ger_pos, predict_poses_size, predict_rus_pos, and UnknownPartOfSpeech.
Referenced by CMorphDictBuilder::GenerateUnitedFlexModels(), CMorphDictBuilder::GenPredictIdx(), and MorphoWizard::predict_lemm().
bool GetLanguageByString | ( | string | s, |
MorphLanguageEnum & | Result | ||
) |
References EngRusMakeUpper(), morphEnglish, morphGeneric, morphGerman, morphRussian, and morphURL.
Referenced by MorphoWizard::load_wizard(), CConcordance::LoadOptionsFromString(), and TxLang::setLanguage().
string GetStringByLanguage | ( | MorphLanguageEnum | Langua | ) |
References morphEnglish, morphGeneric, morphGerman, morphRussian, and morphURL.
Referenced by TxDispatcher::ensureDefaultExpanders(), CMorphDictBuilder::GenPredictIdx(), CDDCLeafServer::handle__info(), InitMorphologySystem(), CMorphAutomat::Load(), MorphoWizard::load_gramtab(), MorphoWizard::load_static(), CConcordance::LoadOptionsFromString(), CConcordance::SaveOptionsToString(), and TxLang::setLanguage().
bool is_spc_fill | ( | BYTE | x | ) |
Referenced by ClearString(), CGraLine::ReadWord(), and StrSpacingCompare().
bool is_generic_upper | ( | BYTE | x | ) |
References ASCII, and EngUpper.
Referenced by is_upper_alpha().
bool is_generic_lower | ( | BYTE | x | ) |
References ASCII, and EngLower.
Referenced by is_lower_alpha().
bool is_generic_alpha | ( | BYTE | x | ) |
References is_english_alpha().
Referenced by is_alpha().
bool is_URL_alpha | ( | BYTE | x | ) |
References ASCII, and URL_CHAR.
Referenced by is_alpha().
bool is_english_upper | ( | BYTE | x | ) |
References ASCII, and EngUpper.
Referenced by ClearString(), EngMakeLower(), gtolower(), is_english_alpha(), is_upper_alpha(), CUnitHolder::is_uppercase(), IsSuperEqualChar(), and ReverseChar().
bool is_english_upper_vowel | ( | BYTE | x | ) |
References ASCII, EngUpper, and LatinVowel.
Referenced by is_upper_vowel().
bool is_english_lower | ( | BYTE | x | ) |
References ASCII, and EngLower.
Referenced by ClearString(), EngMakeUpper(), EngRusMakeUpper(), GerEngRusMakeUpperTemplate(), gtoupper(), is_english_alpha(), is_lower_alpha(), CUnitHolder::is_lowercase(), and ReverseChar().
bool is_english_lower_vowel | ( | BYTE | x | ) |
References ASCII, EngLower, and LatinVowel.
Referenced by is_lower_vowel().
bool is_english_alpha | ( | BYTE | x | ) |
References is_english_lower(), and is_english_upper().
Referenced by CheckLanguage(), CGraphmatFile::DealExtensionsAndLocalFileNames(), is_alpha(), is_generic_alpha(), and CUnitHolder::is_latin_alpha().
References Azirkun, azirkun, Ccedille, ccedille, Eakut, eakut, Egravis, egravis, Ezirkun, ezirkun, Ntilda, ntilda, Ouml, ouml, Ozirkun, ozirkun, Uzirkun, and uzirkun.
Referenced by EngMakeUpper(), EngRusMakeUpper(), GerEngRusMakeUpperTemplate(), gtoupper(), and ReverseChar().
bool is_german_upper | ( | BYTE | x | ) |
References ASCII, and GerUpper.
Referenced by is_german_alpha(), is_upper_alpha(), CUnitHolder::is_uppercase(), and RmlMakeLower().
bool is_german_lower | ( | BYTE | x | ) |
References ASCII, and GerLower.
Referenced by GerEngRusMakeUpperTemplate(), is_german_alpha(), is_lower_alpha(), and CUnitHolder::is_lowercase().
bool is_german_lower_vowel | ( | BYTE | x | ) |
References ASCII, GerLower, and LatinVowel.
Referenced by is_lower_vowel().
bool is_german_upper_vowel | ( | BYTE | x | ) |
References ASCII, GerUpper, and LatinVowel.
Referenced by is_upper_vowel().
bool is_german_alpha | ( | BYTE | x | ) |
References is_german_lower(), and is_german_upper().
Referenced by CheckLanguage(), is_alpha(), and CUnitHolder::is_latin_alpha().
References Auml, auml, etoupper(), is_english_lower(), Ouml, ouml, Uuml, and uuml.
Referenced by GerEngRusMakeUpperTemplate().
References Auml, auml, etolower(), is_english_upper(), Ouml, ouml, Uuml, and uuml.
Referenced by RmlMakeLower().
bool is_russian_upper | ( | BYTE | x | ) |
References ASCII, and RusUpper.
Referenced by TItemContainer::CanBeRusAbbr(), EngRusMakeLower(), is_russian_alpha(), is_russian_upper_consonant(), is_upper_alpha(), CUnitHolder::is_uppercase(), IsSuperEqualChar(), ReverseChar(), and rtolower().
bool is_russian_lower | ( | BYTE | x | ) |
References ASCII, and RusLower.
Referenced by EngRusMakeUpper(), GerEngRusMakeUpperTemplate(), is_lower_alpha(), CUnitHolder::is_lowercase(), is_russian_alpha(), is_russian_lower_consonant(), ReverseChar(), and rtoupper().
bool is_russian_lower_vowel | ( | BYTE | x | ) |
References ASCII, RusLower, and RussianVowel.
Referenced by is_lower_vowel(), and is_russian_lower_consonant().
bool is_russian_upper_vowel | ( | BYTE | x | ) |
References ASCII, RussianVowel, and RusUpper.
Referenced by is_russian_upper_consonant(), and is_upper_vowel().
bool is_russian_lower_consonant | ( | BYTE | x | ) |
References is_russian_lower(), and is_russian_lower_vowel().
Referenced by is_russian_consonant().
bool is_russian_upper_consonant | ( | BYTE | x | ) |
References is_russian_upper(), and is_russian_upper_vowel().
Referenced by is_russian_consonant().
bool is_russian_consonant | ( | BYTE | x | ) |
References is_russian_lower_consonant(), and is_russian_upper_consonant().
bool is_russian_alpha | ( | BYTE | x | ) |
References is_russian_lower(), and is_russian_upper().
Referenced by TItemContainer::CanBeRusAbbr(), TItemContainer::CanBeRusColloc(), CheckLanguage(), force_to_rus(), CGraphmatFile::InitNonContextDescriptors(), is_alpha(), TItemContainer::IsStandardRusLexeme(), and CGraLine::LengthUntilDelimiters().
References Apostrophe, is_russian_lower(), LowerJO_cp1251, and UpperJO_cp1251.
Referenced by EngRusMakeUpper(), GerEngRusMakeUpperTemplate(), and ReverseChar().
References Apostrophe, is_russian_upper(), LowerJO_cp1251, and UpperJO_cp1251.
Referenced by EngRusMakeLower(), IsSuperEqualChar(), and ReverseChar().
bool is_lower_vowel | ( | BYTE | x, |
MorphLanguageEnum | Langua | ||
) |
References is_english_lower_vowel(), is_german_lower_vowel(), is_russian_lower_vowel(), morphEnglish, morphGerman, and morphRussian.
Referenced by MorphoWizard::slf_to_mrd(), and TransferReverseVowelNoToCharNo().
bool is_upper_vowel | ( | BYTE | x, |
MorphLanguageEnum | Langua | ||
) |
References is_english_upper_vowel(), is_german_upper_vowel(), is_russian_upper_vowel(), morphEnglish, morphGerman, and morphRussian.
Referenced by is_upper_consonant(), and TransferReverseVowelNoToCharNo().
bool is_upper_consonant | ( | BYTE | x, |
MorphLanguageEnum | Langua | ||
) |
References is_upper_alpha(), and is_upper_vowel().
Referenced by CLemmatizer::CheckAbbreviation().
bool is_alpha | ( | BYTE | x | ) |
References is_german_alpha(), and is_russian_alpha().
Referenced by InitAlphabet(), CGraLine::LengthUntilDelimiters(), NormalizeOborotStr(), and RmlPcreMakeTables().
bool is_alpha | ( | BYTE | x, |
MorphLanguageEnum | Langua | ||
) |
References is_english_alpha(), is_generic_alpha(), is_german_alpha(), is_russian_alpha(), is_URL_alpha(), morphEnglish, morphGeneric, morphGerman, morphRussian, and morphURL.
bool is_lower_alpha | ( | BYTE | x, |
MorphLanguageEnum | Langua | ||
) |
References is_english_lower(), is_generic_lower(), is_german_lower(), is_russian_lower(), morphEnglish, morphGeneric, morphGerman, morphRussian, and morphURL.
Referenced by AddFormsWithDifferentRegisters(), TItemContainer::CanBeRusAbbr(), TxCase::expand(), and RmlPcreMakeTables().
bool is_upper_alpha | ( | BYTE | x, |
MorphLanguageEnum | Langua | ||
) |
References is_english_upper(), is_generic_upper(), is_german_upper(), is_russian_upper(), morphEnglish, morphGeneric, morphGerman, morphRussian, and morphURL.
Referenced by AbbrevIsEqualToString(), CreateMorphIndex(), TxMorph::expand(), GetWordForms(), InitAlphabet(), is_upper_consonant(), IsUpper(), MorphoWizard::ReadOnePrefixSet(), and RmlPcreMakeTables().
bool isnspace | ( | BYTE | x | ) |
BYTE ReverseChar | ( | BYTE | ch, |
MorphLanguageEnum | langua | ||
) |
References Auml, auml, etolower(), etoupper(), is_english_lower(), is_english_upper(), is_russian_lower(), is_russian_upper(), morphEnglish, morphGeneric, morphGerman, Ouml, ouml, rtolower(), rtoupper(), Uuml, and uuml.
Referenced by AddFormsWithDifferentRegisters(), CompareWithoutRegister(), TxMorph::expand(), TxCase::expand(), GetWordForms(), CGraphmatFile::IsKey(), IsSuperEqualChar(), CGraphanDicts::ReadIdents(), and RmlPcreMakeTables().
string& EngMakeUpper | ( | string & | word | ) |
References etoupper(), is_english_lower(), and RegisterConverter().
Referenced by CQCount::countOptionsToString(), CConcSession::GetResultFormatByString(), CQFSort::toString(), CQFBiblSort::toString(), CQFContextSort::toString(), and CQFPrune::toString().
string& EngMakeLower | ( | string & | word | ) |
References etolower(), is_english_upper(), and RegisterConverter().
Referenced by CBiblIndex::AddBiblExpander(), GetLogLevel(), IsHtmlFile(), IsJsonFile(), IsTableFile(), newTermExpander(), and CDDCServerOptions::Set().
bool is_arab_digit | ( | BYTE | c | ) |
bool CheckLanguage | ( | const T & | src, |
size_t | Length, | ||
MorphLanguageEnum | langua | ||
) |
References is_arab_digit(), is_english_alpha(), is_german_alpha(), is_russian_alpha(), morphDigits, morphEnglish, morphGerman, and morphRussian.
Referenced by MorphoWizard::check_prefixes(), CheckLanguage(), CreateMorphIndex(), and IsRussian().
bool IsRussian | ( | const char * | word | ) |
References CheckLanguage(), and morphRussian.
Referenced by TRoss::ReadFromStrWithOneSignatura().
bool CheckLanguage | ( | const char * | word, |
MorphLanguageEnum | langua | ||
) |
string& EngRusMakeLower | ( | string & | word | ) |
References etolower(), is_russian_upper(), and rtolower().
Referenced by RmlMakeLower().
char* RmlMakeUpper | ( | char * | word, |
MorphLanguageEnum | langua | ||
) |
References GerEngRusMakeUpperTemplate(), morphGeneric, and stoupper().
Referenced by AddFormsWithDifferentRegisters(), CQueryTokenNode::CreateThesPattern(), TxToUpper::expand(), TxCase::expand(), MorphoWizard::find_lemm(), CLemmatizer::LemmatizeWord(), NormalizeOborotStr(), ReadAbbrevationsFromOneFile(), CGraphanDicts::ReadENames(), CGraphanDicts::ReadKeyboard(), MorphoWizard::ReadOnePrefixSet(), and MorphoWizard::slf_to_mrd().
string& RmlMakeUpper | ( | string & | word, |
MorphLanguageEnum | langua | ||
) |
References GerEngRusMakeUpperTemplate(), morphGeneric, and stoupper().
string& RmlMakeLower | ( | string & | word, |
MorphLanguageEnum | langua | ||
) |
References EngRusMakeLower(), gtolower(), is_german_upper(), morphGeneric, morphGerman, RegisterConverter(), and stolower().
Referenced by AddFormsWithDifferentRegisters(), CQueryTokenNode::CreateLemmaPattern(), TxMorph::expand(), TxToLower::expand(), TxCase::expand(), MorphoWizard::get_lemm_string_with_accents(), CFormInfo::GetAccentedVowel(), GetWordForms(), CConcordance::LoadOptionsFromString(), MorphoWizard::mrd_to_slf(), and CBiblIndex::RegisterTextAreas().
string& EngRusMakeUpper | ( | string & | word | ) |
References etoupper(), is_russian_lower(), and rtoupper().
Referenced by GetLanguageByString(), and CGraphanDicts::ReadExtensions().
char* EngRusMakeUpper | ( | char * | word | ) |
References etoupper(), is_english_lower(), is_russian_lower(), and rtoupper().
void ConvertJO2JeTemplate | ( | T & | src, |
size_t | Length | ||
) |
References LowerE_cp1251, LowerJO_cp1251, UpperE_cp1251, and UpperJO_cp1251.
Referenced by ConvertJO2Je().
void ConvertJO2Je | ( | char * | src, |
size_t | Length | ||
) |
References ConvertJO2JeTemplate().
Referenced by CLemmatizerRussian::FilterSrc(), CGraphmatFile::GraphmatMain(), and MorphoWizard::prepare_for_RML().
void ConvertJO2Je | ( | string & | src | ) |
void ConvertJO2Je | ( | char * | src | ) |
string& TrimLeft | ( | string & | str | ) |
Referenced by DDCProcessMemoryStatus::fetch(), and Trim().
string& TrimRight | ( | string & | str | ) |
Referenced by DDCProcessMemoryStatus::fetch(), CSocketAddr::ParseAddrPort(), and Trim().
string& Trim | ( | string & | str | ) |
References TrimLeft(), and TrimRight().
Referenced by CBiblIndex::AddBiblExpander(), AddMessage(), MorphoWizard::AddPrefixSet(), BuildHtmlHitStrWithHighlighting(), MorphoWizard::check_common_grammems(), MorphoWizard::check_prefixes(), CQueryTokenNode::CreateFileList(), CRunQueryData::CRunQueryData(), DeleteEmptyLines(), DDCProcessMemoryStatus::fetch(), MorphoWizard::find_wordforms(), CHitBorders::GetBorderIndicesString(), GetCWBFormattedStringRecursive(), CDDCBranchServer::GetHitContexts(), CDDCBranchServer::GetHitStringsFromOneCorpus(), CStringIndexator::GetIndicesString(), GetInterfacePOS(), GetLogLevel(), GetRmlVariable(), GetStringInnerFromTheFile(), GetTextFromXMLRecursive(), GetValue(), CDictionary::ImportFromText(), CConcIndexator::IndexOneTableTextArea(), CTabFormatIndexator::IndexTabFormat(), CRunQueryData::Init(), CMorphDict::Load(), CConcordance::LoadCorpusFiles(), LoadHosts(), CConcordance::LoadMaskedFiles(), newTermExpander(), NormalizeOborotStr(), ddcStringEnum< OffT_ >::openCompat(), ddcCorpusList< OffT_ >::openCompat(), CTabFormatIndexator::ProcessMetaField(), ReadAbbrevationsFromOneFile(), TRoss::ReadConfig(), ReadFlexiaModels(), CDumpParadigm::ReadFromFile(), CBibliography::ReadFromString(), CHost::ReadFromString(), CHighlightTags::ReadFromString(), CFlexiaModel::ReadFromString(), CGraphanDicts::ReadIdents(), CConcXml::ReadMorphXmlFileIntoGraTable(), MorphoWizard::ReadOnePrefixSet(), CLemmatizer::ReadOptions(), CDwdsThesaurus::ReadPathFromString(), CDDCBranchServer::ReadSelectedHosts(), CSourceFileHolder::ReadSourceFileList(), ReadTabFormatDocumentName(), ReadXmlField(), CFreeBiblStringIndex::RegisterBiblStringItemId(), CHitBorders::RegisterBorderIndices(), CBiblIndex::RegisterFreeBiblAttributes(), CStringIndexator::RegisterIndexAliases(), CStringIndexator::RegisterStringIndices(), CBiblIndex::RegisterTextAreas(), TxLang::setLanguage(), and MorphoWizard::slf_to_mrd().
bool StartsWith | ( | const string & | body, |
const string & | prefix | ||
) |
Referenced by DDCProcessMemoryStatus::fetch(), CTabFormatIndexator::IndexTabFormat(), CSocketAddr::ParseSocketAddr(), CTabFormatIndexator::ProcessMetaField(), and ReadTabFormatDocumentName().
int isbracket | ( | BYTE | x | ) |
References close_brackets, and open_brackets.
Referenced by ClearString(), CGraphmatFile::InitNonContextDescriptors(), and CGraLine::ReadWord().
size_t dual_bracket | ( | BYTE | x | ) |
References all_brackets, and open_brackets.
Referenced by ClearString(), and CGraphmatFile::DealSentBreaker().
string timestampLocal | ( | time_t | timeval | ) |
moo: timestamp stuff
Referenced by DDCProcessMemoryStatus::fetch().
string timestampUTC | ( | time_t | timeval | ) |
Referenced by DDCProcessMemoryStatus::fetch(), CDDCLeafServer::handle__info(), CDDCLeafServer::handle__status(), and CDDCBranchServer::handle__status().
vector<string> stringSplit | ( | const char * | s, |
const char * | delims | ||
) |
moo: convenience wrapper for string-to-vector tokenization using StringTokenizer
References StringTokenizer::get_tokens().
Referenced by TxDispatcher::addExpander(), CDDCBranchServer::AlignCorpusPath(), TxCab::compile(), ddc_parse_format_version(), DDCProcessMemoryStatus::fetch(), TxDispatcher::getChain(), CDDCLeafServer::handle__expand_terms(), IndexOneToken(), CStringIndexator::IndexTokenFixLongColumns(), CDDCServer::ProcessSocketString(), SubcorpusRequestRegex(), and TruncateLongColumns().
void stringSplitE | ( | const string & | s, |
const string & | delims, | ||
vector< string > & | tokens | ||
) |
moo: split a string using std::string() methods only, allowing empty tokens
Referenced by CQKeys::Compile(), do_start(), DDCProcessMemoryStatus::fetch(), CDDCServerOptions::LoadString(), and stringSplitE().
vector<string> stringSplitE | ( | const string & | s, |
const string & | delims | ||
) |
moo: stringSplitE() variant returning token-vector
References stringSplitE().
uint32_t date2int | ( | signed int | y, |
unsigned int | m, | ||
unsigned int | d | ||
) |
moo: date-to-int encoding (v2.2.4: use signed years)
Referenced by CBibliography::ConvertDateToInt(), and DDCProcessMemoryStatus::fetch().
void int2date | ( | uint32_t | i, |
signed int * | y, | ||
unsigned int * | m, | ||
unsigned int * | d | ||
) |
moo: int-to-date decoding (v2.2.4: use signed years)
Referenced by CQCountKeyExprDate::Evaluate(), CQCountKeyExprDateSlice::Evaluate(), and DDCProcessMemoryStatus::fetch().
string int2hex | ( | int32_t | i | ) |
moo: int-to-hexidecimal string encoding; encoding preserves sort order (for subcorpus->server communications)
Referenced by DDCProcessMemoryStatus::fetch(), CConcSession::GetHitIds(), and CConcSession::GetSortKeyHint().
int32_t hex2int | ( | const string & | s | ) |
moo: int-to-hexidecimal string deccoding; ; encoding preserves sort order
Referenced by DDCProcessMemoryStatus::fetch(), CFreeBiblIndex::GetIntegerLowerBound(), and CConcSession::SortKeyLB().
|
static |
|
static |
References ddc_loglabel_destroy(), and ddc_loglabel_key.
Referenced by ddc_thread_init().
void ddc_thread_init | ( | const char * | log_label | ) |
register a thread-local log prefix (unix only)
References ddc_loglabel_key, ddc_thread_data_alloc(), and ddc_thread_data_once.
Referenced by do_start(), DDCProcessMemoryStatus::fetch(), ListenerThread(), main(), and CDDCServerThread::run().
const char* ddc_log_label | ( | void | ) |
get thread-local log prefix, or empty string if none registered
References ddc_loglabel_key.
Referenced by ddc_set_log_label(), ddcLog(), and DDCProcessMemoryStatus::fetch().
const char* ddc_set_log_label | ( | const char * | log_label | ) |
set thread-local log prefix; returns old label (if any)
References ddc_log_label(), and ddc_loglabel_key.
Referenced by DDCProcessMemoryStatus::fetch().
bool LoadFileToString | ( | string | FileName, |
string & | Result, | ||
bool | clobber | ||
) |
References ReadVector().
Referenced by DDCProcessMemoryStatus::fetch(), CDDCLeafServer::handle__info(), CConcordance::LoadCorpusFiles(), CDDCServerOptions::LoadFile(), CConcordance::LoadOptionsFromFile(), CConcordance::LoadOptionsFromString(), CConcordance::LoadSourceFilesAndOptions(), and CLemmatizer::ReadOptions().
bool SaveStringToFile | ( | const string & | Str, |
const string & | FileName | ||
) |
References WriteVector().
Referenced by DDCProcessMemoryStatus::fetch(), and CConcIndexator::SplitProject().
bool is_pseudo_graph | ( | BYTE | x | ) |
char wtk | ( | char | c | ) |
char ktw | ( | char | c | ) |
void WinToKOI8 | ( | string & | s | ) |
References wtk().
Referenced by DDCProcessMemoryStatus::fetch().
void KOI8ToWin | ( | string & | s | ) |
References ktw().
Referenced by DDCProcessMemoryStatus::fetch().
string ConvertASCIIToHtmlSymbols | ( | const string & | txt | ) |
Referenced by BuildHtmlHitStrWithHighlighting(), GenerateCountString(), and CConcSession::ShowBibliographyForTable().
bool MakeDir | ( | const string & | DirName | ) |
bool MakeDirP | ( | const string & | DirName | ) |
References FileDirectory(), Format(), IsDirectory(), MakeDir(), and MakeDirP().
Referenced by FileSize(), MakeDirP(), and CConcIndexator::SplitProject().
bool RemoveWithPrint | ( | const string & | FileName | ) |
References FileExists().
Referenced by CIndexSetForLoadingStage::DeleteTempFiles(), and FileSize().
size_t HashValue | ( | const char * | pc | ) |
bool RmlCopyFile | ( | const char * | oldpath, |
const char * | newpath | ||
) |
bool RmlMoveFile | ( | const char * | oldpath, |
const char * | newpath | ||
) |
References RmlCopyFile().
Referenced by CIndexSetForLoadingStage::AddMemoryLoadIndexToMainLoadIndex(), and FileSize().
string BuildRMLPath | ( | const char * | s | ) |
const WORD fWordDelim = 1 |
const WORD RusUpper = 2 |
Referenced by is_russian_upper(), and is_russian_upper_vowel().
const WORD RusLower = 4 |
Referenced by is_russian_lower(), and is_russian_lower_vowel().
const WORD GerUpper = 8 |
Referenced by is_german_upper(), and is_german_upper_vowel().
const WORD GerLower = 16 |
Referenced by is_german_lower(), and is_german_lower_vowel().
const WORD EngUpper = 32 |
Referenced by is_english_upper(), is_english_upper_vowel(), and is_generic_upper().
const WORD EngLower = 64 |
Referenced by is_english_lower(), is_english_lower_vowel(), and is_generic_lower().
const WORD OpnBrck = 128 |
const WORD ClsBrck = 256 |
const WORD UpRomDigits = 512 |
const WORD LwRomDigits = 1024 |
const WORD LatinVowel = 2048 |
Referenced by is_english_lower_vowel(), is_english_upper_vowel(), is_german_lower_vowel(), and is_german_upper_vowel().
const WORD RussianVowel = 4096 |
Referenced by is_russian_lower_vowel(), and is_russian_upper_vowel().
const WORD URL_CHAR = 8192 |
Referenced by is_URL_alpha().
const WORD ASCII[256] |
Referenced by is_english_lower(), is_english_lower_vowel(), is_english_upper(), is_english_upper_vowel(), is_generic_lower(), is_generic_upper(), is_german_lower(), is_german_lower_vowel(), is_german_upper(), is_german_upper_vowel(), is_russian_lower(), is_russian_lower_vowel(), is_russian_upper(), is_russian_upper_vowel(), and is_URL_alpha().
const char RML_REGISTRY_FILENAME[] = "rml.ini" |
Referenced by GetStringInnerFromTheFile(), and IsRmlRegistered().
const int predict_poses_size = 4 |
Referenced by GetPredictionPartOfSpeech().
const CPredictPartOfSpeech predict_rus_pos[predict_poses_size] |
Referenced by GetPredictionPartOfSpeech().
const CPredictPartOfSpeech predict_eng_pos[predict_poses_size] |
Referenced by GetPredictionPartOfSpeech().
const CPredictPartOfSpeech predict_ger_pos[predict_poses_size] |
Referenced by GetPredictionPartOfSpeech().
const BYTE Ccedille = 199 |
Referenced by etolower(), and etoupper().
const BYTE Egravis = 200 |
Referenced by etolower(), and etoupper().
const BYTE Ezirkun = 202 |
Referenced by etolower(), and etoupper().
const BYTE Azirkun = 194 |
Referenced by etolower(), and etoupper().
const BYTE Ozirkun = 212 |
Referenced by etolower(), and etoupper().
const BYTE Ntilda = 209 |
Referenced by etolower(), and etoupper().
const BYTE Eakut = 201 |
Referenced by etolower(), and etoupper().
const BYTE Uzirkun = 219 |
Referenced by etolower(), and etoupper().
const BYTE ccedille = 231 |
Referenced by etolower(), and etoupper().
const BYTE egravis = 232 |
Referenced by etolower(), and etoupper().
const BYTE ezirkun = 234 |
Referenced by etolower(), and etoupper().
const BYTE azirkun = 226 |
Referenced by etolower(), and etoupper().
const BYTE ozirkun = 244 |
Referenced by etolower(), and etoupper().
const BYTE ntilda = 241 |
Referenced by etolower(), and etoupper().
const BYTE eakut = 233 |
Referenced by etolower(), and etoupper().
const BYTE uzirkun = 251 |
Referenced by etolower(), and etoupper().
const string open_brackets = "{[(<" |
Referenced by dual_bracket(), and isbracket().
const string close_brackets = "}])>" |
Referenced by isbracket().
const string all_brackets = open_brackets+close_brackets |
Referenced by dual_bracket().
|
static |
Referenced by ddc_thread_init().
|
static |
Referenced by ddc_log_label(), ddc_set_log_label(), ddc_thread_data_alloc(), and ddc_thread_init().
BYTE kw[] |
BYTE wk[] |