Home
last modified time | relevance | path

Searched refs:eventLog (Results 1 – 9 of 9) sorted by relevance

/external/srec/srec/Recognizer/src/
DRecognizerImpl.c689 impl->eventLog = NULL; in SR_RecognizerCreate()
709 CHKLOG(rc, ESR_SessionGetProperty(L("eventlog"), (void **)&impl->eventLog, TYPES_SR_EVENTLOG)); in SR_RecognizerCreate()
713 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->osi_log_level, L("REC"), recHandle)); in SR_RecognizerCreate()
714 CHKLOG(rc, SR_EventLogEvent_BASIC(impl->eventLog, impl->osi_log_level, L("SWIcrst"))); in SR_RecognizerCreate()
770 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->osi_log_level, L("REC"), recHandle)); in SR_RecognizerCreate()
771 …CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->osi_log_level, L("SUCCESS"), L("ESR_SUCCES… in SR_RecognizerCreate()
772 CHKLOG(rc, SR_EventLogEvent_BASIC(impl->eventLog, impl->osi_log_level, L("SWIcrnd"))); in SR_RecognizerCreate()
784 if (impl->eventLog != NULL) in SR_RecognizerCreate()
786 SR_EventLogToken_BASIC(impl->eventLog, impl->osi_log_level, L("REC"), recHandle); in SR_RecognizerCreate()
787 SR_EventLogToken_BASIC(impl->eventLog, impl->osi_log_level, L("FAILURE"), ESR_rc2str(rc)); in SR_RecognizerCreate()
[all …]
/external/srec/srec/Nametag/src/
DNametagsImpl.c57 impl->eventLog = NULL; in SR_NametagsCreate()
62 CHKLOG(rc, ESR_SessionGetProperty(L("eventlog"), (void **)&impl->eventLog, TYPES_SR_EVENTLOG)); in SR_NametagsCreate()
63 CHKLOG(rc, SR_EventLogTokenInt_BASIC(impl->eventLog, impl->logLevel, L("pointer"), (int) self)); in SR_NametagsCreate()
64 CHKLOG(rc, SR_EventLogEvent_BASIC(impl->eventLog, impl->logLevel, L("SR_NametagsCreate"))); in SR_NametagsCreate()
122 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("removeCount"), number)); in SR_NametagsLoadImpl()
173 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, tokenName, value)); in SR_NametagsLoadImpl()
176 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("filename"), filename)); in SR_NametagsLoadImpl()
180 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("addCount"), number)); in SR_NametagsLoadImpl()
181 CHKLOG(rc, SR_EventLogEvent_BASIC(impl->eventLog, impl->logLevel, L("SR_NametagsLoad"))); in SR_NametagsLoadImpl()
261 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, tokenName, nametag->value)); in SR_NametagsSaveImpl()
[all …]
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c66 impl->eventLog = NULL; in SR_Grammar_Create()
94 rc = ESR_SessionGetProperty(L("eventlog"), (void **)&impl->eventLog, TYPES_SR_EVENTLOG); in SR_Grammar_Create()
229 if (impl->eventLog != NULL) in SR_Grammar_AddWordToSlot()
231 CHKLOG(logrc, SR_EventLogTokenInt_BASIC(impl->eventLog, impl->logLevel, L("igrm"), (int)impl)); in SR_Grammar_AddWordToSlot()
232 CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("SLOT"), slot)); in SR_Grammar_AddWordToSlot()
233 CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("WORD"), word)); in SR_Grammar_AddWordToSlot()
235 … CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("PRON"), pronunciation)); in SR_Grammar_AddWordToSlot()
237 … CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("GPRON"), pronunciation)); in SR_Grammar_AddWordToSlot()
238 CHKLOG(logrc, SR_EventLogTokenInt_BASIC(impl->eventLog, impl->logLevel, L("WEIGHT"), weight)); in SR_Grammar_AddWordToSlot()
239 CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("TAG"), tag)); in SR_Grammar_AddWordToSlot()
[all …]
/external/srec/srec/Session/src/
DSR_Session.c34 SR_EventLog* eventLog = NULL; in SR_SessionCreate() local
40 CHKLOG(rc, SR_EventLogCreate(&eventLog)); in SR_SessionCreate()
72 SR_EventLog* eventLog = NULL; in SR_SessionDestroy() local
74 ESR_SessionGetProperty(L("eventlog"), (void **)&eventLog, TYPES_SR_EVENTLOG); in SR_SessionDestroy()
75 if (eventLog != NULL) in SR_SessionDestroy()
77 CHKLOG(rc, eventLog->destroy(eventLog)); in SR_SessionDestroy()
/external/srec/srec/EventLog/src/
DEventLogImpl.c100 SR_EventLog* eventLog = (SR_EventLog*) data; in propertyChanged() local
110 CHKLOG(rc, SR_EventLogTokenInt(eventLog, name, *((int*) newValue))); in propertyChanged()
113 CHKLOG(rc, SR_EventLogTokenUint16_t(eventLog, name, *((asr_uint16_t*) newValue))); in propertyChanged()
116 CHKLOG(rc, SR_EventLogTokenSize_t(eventLog, name, *((size_t*) newValue))); in propertyChanged()
119 CHKLOG(rc, SR_EventLogTokenBool(eventLog, name, *((ESR_BOOL*) newValue))); in propertyChanged()
122 CHKLOG(rc, SR_EventLogTokenFloat(eventLog, name, *((float*) newValue))); in propertyChanged()
125 CHKLOG(rc, SR_EventLogToken(eventLog, name, (LCHAR*) newValue)); in propertyChanged()
131 CHKLOG(rc, SR_EventLogTokenInt(eventLog, name, len)); in propertyChanged()
137 CHKLOG(rc, SR_EventLogTokenInt(eventLog, lValue, iValue)); in propertyChanged()
/external/srec/srec/AcousticModels/src/
DAcousticModelsImpl.c218 SR_EventLog* eventLog; in LogArbdataVersion() local
225 rc = ESR_SessionGetProperty(L("eventlog"), (void **)&eventLog, TYPES_SR_EVENTLOG); in LogArbdataVersion()
231 if (eventLog) in LogArbdataVersion()
241 rc = SR_EventLogTokenSize_t(eventLog, L("VER"), ver); in LogArbdataVersion()
242 rc = SR_EventLogEvent(eventLog, L("ESRarbd")); in LogArbdataVersion()
/external/srec/srec/Nametag/include/
DSR_NametagsImpl.h48 SR_EventLog* eventLog; member
/external/srec/srec/Grammar/include/
DSR_GrammarImpl.h100 SR_EventLog* eventLog; member
/external/srec/srec/Recognizer/include/
DSR_RecognizerImpl.h276 SR_EventLog* eventLog; member