Home
last modified time | relevance | path

Searched refs:CHKLOG (Results 1 – 25 of 39) sorted by relevance

12

/external/srec/srec/AcousticModels/src/
DAcousticModelsImpl.c58 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.dimen", 16)); in SR_AcousticModels_ToSession()
59 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.skip", 5)); in SR_AcousticModels_ToSession()
60 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.stay", 5)); in SR_AcousticModels_ToSession()
61 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.whole_skip", 10)); in SR_AcousticModels_ToSession()
62 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.whole_stay", 10)); in SR_AcousticModels_ToSession()
63 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.durscale", 5)); in SR_AcousticModels_ToSession()
64 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.frame_period", 10)); in SR_AcousticModels_ToSession()
65 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.minvar", 1)); in SR_AcousticModels_ToSession()
66 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.maxvar", 64000)); in SR_AcousticModels_ToSession()
67 CHKLOG(rc, ESR_SessionSetBoolIfEmpty("CREC.Acoustic.load_all_at_once", ESR_FALSE)); in SR_AcousticModels_ToSession()
[all …]
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c73 CHKLOG(rc, ESR_SessionSetBoolIfEmpty("CREC.Recognizer.partial_results", ESR_FALSE)); in SR_RecognizerToSessionImpl()
74 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.NBest", 1)); in SR_RecognizerToSessionImpl()
75 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.eou_threshold", 100)); in SR_RecognizerToSessionImpl()
76 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_altword_tokens", 400)); in SR_RecognizerToSessionImpl()
77 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_frames", 1000)); in SR_RecognizerToSessionImpl()
78 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsm_arcs", 3000)); in SR_RecognizerToSessionImpl()
79 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsm_nodes", 3000)); in SR_RecognizerToSessionImpl()
80 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsmnode_tokens", 1000)); in SR_RecognizerToSessionImpl()
81 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_hmm_tokens", 1000)); in SR_RecognizerToSessionImpl()
82 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_model_states", 1000)); in SR_RecognizerToSessionImpl()
[all …]
DRecognizerResultImpl.c97 CHKLOG(rc, ArrayListGetSize(impl->results, count)); in SR_RecognizerResult_GetSize()
112 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); in SR_RecognizerResult_GetKeyCount()
117 CHKLOG(rc, results->get(results, 0, (void **)&result)); in SR_RecognizerResult_GetKeyCount()
118 CHKLOG(rc, result->getKeyCount(result , count)); in SR_RecognizerResult_GetKeyCount()
133 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); in SR_RecognizerResult_GetKeyList()
139 CHKLOG(rc, results->get(results, 0, (void **)&result)); in SR_RecognizerResult_GetKeyList()
140 CHKLOG(rc, result->getKeyList(result, list, listSize)); in SR_RecognizerResult_GetKeyList()
160 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); in SR_RecognizerResult_GetValue()
162 CHKLOG(rc, results->getSize(results, &resultCount)); in SR_RecognizerResult_GetValue()
167 CHKLOG(rc, results->get(results, i, (void **)&result)); in SR_RecognizerResult_GetValue()
[all …]
/external/srec/shared/src/
DSessionTypeImpl.c190 CHKLOG(rc, HashMapGet(data->value, name, (void **)&pair)); in ESR_SessionTypeGetSize_tImpl()
291 CHKLOG(rc, list->getSize(list, &size)); in firePropertyChanged()
294 CHKLOG(rc, list->get(list, i, (void **)&listener)); in firePropertyChanged()
295CHKLOG(rc, listener->listener->propertyChanged(listener->listener, name, oldValue, newValue, type,… in firePropertyChanged()
311 CHKLOG(rc, HashMapContainsKey(data->value, name, &exists)); in ESR_SessionTypeSetPropertyImpl()
320 CHKLOG ( rc, ESR_SessionTypeRemoveAndFreePropertyImpl ( self, name ) ); in ESR_SessionTypeSetPropertyImpl()
331 CHKLOG(rc, firePropertyChanged(self, name, NULL, value, type)); in ESR_SessionTypeSetPropertyImpl()
332 CHKLOG(rc, HashMapPut(data->value, name, pair)); in ESR_SessionTypeSetPropertyImpl()
542 CHKLOG(rc, firePropertyChanged(self, name, pair->value, NULL, pair->type)); in ESR_SessionTypeRemovePropertyImpl()
600 CHKLOG(rc, self->getProperty(self, key, (void **)&value, type)); in ESR_SessionTypeImportCommandLineImpl()
[all …]
DESR_Session.c41 CHKLOG(rc, ESR_SessionTypeCreate(&ESR_Session)); in ESR_SessionCreate()
44 CHKLOG(rc, ESR_Session->setLCHAR(ESR_Session, L("cmdline.nametagPath"), L(""))); in ESR_SessionCreate()
46 CHKLOG(rc, ESR_Session->setUint16_t(ESR_Session, L("thread.priority"), PtrdThreadNormalPriority)); in ESR_SessionCreate()
50 CHKLOG(rc, ESR_Session->importParFile(ESR_Session, filename)); in ESR_SessionCreate()
262 CHKLOG(rc, ESR_Session->destroy(ESR_Session)); in ESR_SessionDestroy()
284 CHKLOG(rc, pf_convert_backslashes_to_forwardslashes (path)); in ESR_SessionPrefixWithBaseDirectory()
285 CHKLOG(rc, pf_is_path_absolute (path, &isAbsolute)); in ESR_SessionPrefixWithBaseDirectory()
289 CHKLOG(rc, ESR_SessionGetLCHAR(L("parFile.baseDirectory"), baseDirectory, &len2)); in ESR_SessionPrefixWithBaseDirectory()
290 CHKLOG(rc, lstrinsert(baseDirectory, path, 0, len)); in ESR_SessionPrefixWithBaseDirectory()
DHashMapImpl.c86 CHKLOG(rc, PHashTableContainsKey(impl->table, key, &exists)); in HashMap_Put()
101 CHKLOG(rc, PHashTableGetEntry(impl->table, key, &entry)); in HashMap_Put()
182 CHKLOG(rc, PHashTableContainsKey(impl->table, key, exists)); in HashMap_ContainsKey()
/external/srec/srec/Nametag/src/
DNametagsImpl.c59 CHKLOG(rc, HashMapCreate(&impl->value)); in SR_NametagsCreate()
60 CHKLOG(rc, ESR_SessionGetSize_t(L("SREC.Recognizer.osi_log_level"), &impl->logLevel)); 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()
99 CHKLOG(rc, ESR_SessionGetLCHAR(L("cmdline.nametagPath"), devicePath, &size)); in SR_NametagsLoadImpl()
113 CHKLOG(rc, nametags->getSize(nametags, &size)); in SR_NametagsLoadImpl()
116 CHKLOG(rc, nametags->getValueAtIndex(nametags, 0, (void **)&oldNametag)); in SR_NametagsLoadImpl()
117 CHKLOG(rc, nametags->removeAtIndex(nametags, 0)); in SR_NametagsLoadImpl()
118 CHKLOG(rc, oldNametag->destroy(oldNametag)); in SR_NametagsLoadImpl()
[all …]
/external/srec/portable/src/
DPANSIFileSystemImpl.c63 CHKLOG(rc, PHashTableCreate(NULL, MTAG, &impl->directoryMap)); in PANSIFileSystemCreate()
81 CHKLOG(rc, PHashTableEntryGetFirst(impl->directoryMap, &entry)); in PANSIFileSystemDestroyImpl()
84 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)&value)); in PANSIFileSystemDestroyImpl()
86 CHKLOG(rc, PHashTableEntryAdvance(&entry)); in PANSIFileSystemDestroyImpl()
87 CHKLOG(rc, PHashTableEntryRemove(oldEntry)); in PANSIFileSystemDestroyImpl()
88 CHKLOG(rc, PHashTableRemoveValue(PFileSystemPathMap, key, NULL)); in PANSIFileSystemDestroyImpl()
92 CHKLOG(rc, PHashTableDestroy(impl->directoryMap)); in PANSIFileSystemDestroyImpl()
129 CHKLOG(rc, PFileSystemCanonicalSlashes(key)); in PANSIFileSystemAddPathImpl()
153 CHKLOG(rc, PFileSystemCanonicalSlashes(value)); in PANSIFileSystemAddPathImpl()
157 CHKLOG(rc, PHashTableContainsKey(impl->directoryMap, key, &exists)); in PANSIFileSystemAddPathImpl()
[all …]
DPFileSystemImpl.c66 CHKLOG(rc, PStackTraceCreate()); in PFileSystemCreate()
68 CHKLOG(rc, PHashTableCreate(NULL, MTAG, &PFileSystemPathMap)); in PFileSystemCreate()
69 CHKLOG(rc, PFileSystemInitializeStreamsImpl()); in PFileSystemCreate()
88 CHKLOG(rc, PHashTableEntryGetFirst(PFileSystemPathMap, &entry)); in PFileSystemDestroy()
91 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)NULL)); in PFileSystemDestroy()
93 CHKLOG(rc, PHashTableEntryAdvance(&entry)); in PFileSystemDestroy()
94 CHKLOG(rc, PHashTableEntryRemove(oldEntry)); in PFileSystemDestroy()
97 CHKLOG(rc, PHashTableDestroy(PFileSystemPathMap)); in PFileSystemDestroy()
100 CHKLOG(rc, PFileSystemShutdownStreamsImpl()); in PFileSystemDestroy()
102 CHKLOG(rc, PStackTraceDestroy()); in PFileSystemDestroy()
DPFileSystem.c58 CHKLOG(rc, lstrreplace(path, L('\\'), L('/'))); in PFileSystemCanonicalSlashes()
81 CHKLOG(rc, PFileSystemCanonicalSlashes(linear)); in PFileSystemLinearToPathTokens()
82 CHKLOG(rc, ArrayListCreate(&arrayList)); in PFileSystemLinearToPathTokens()
98 CHKLOG(rc, lstrtrim(value)); in PFileSystemLinearToPathTokens()
106 CHKLOG(rc, arrayList->add(arrayList, value)); in PFileSystemLinearToPathTokens()
115 CHKLOG(rc, arrayList->getSize(arrayList, count)); in PFileSystemLinearToPathTokens()
168 CHKLOG(rc, PFileSystemCanonicalSlashes(canonical)); in PFileSystemIsAbsolutePath()
191 CHKLOG(rc, PFileSystemIsAbsolutePath(path, &isAbsolute)); in PFileSystemGetAbsolutePath()
200 CHKLOG(rc, PFileSystemGetcwd(cwd, &len2)); in PFileSystemGetAbsolutePath()
202 CHKLOG(rc, lstrinsert(cwd, path, 0, &len2)); in PFileSystemGetAbsolutePath()
[all …]
DPFileImpl.c85 CHKLOG(rc, PtrdMonitorLock(impl->lock));
94 CHKLOG(rc, PtrdMonitorUnlock(impl->lock)); \
115 CHKLOG(rc, self->isOpen(self, &isOpen)); in PFileDestroyImpl()
117 CHKLOG(rc, self->close(self)); in PFileDestroyImpl()
176 CHKLOG(rc, self->isOpen(self, &isOpen)); in PFileVfprintfImpl()
195 CHKLOG(rc, self->write(self, buffer, sizeof(LCHAR), &len)); in PFileVfprintfImpl()
DLCHAR.c125 CHKLOG(rc, lstrcasecmp(text, L("true"), &compare)); in lstrtob()
131 CHKLOG(rc, lstrcasecmp(text, L("yes"), &compare)); in lstrtob()
137 CHKLOG(rc, lstrcasecmp(text, L("false"), &compare)); in lstrtob()
143 CHKLOG(rc, lstrcasecmp(text, L("no"), &compare)); in lstrtob()
DPANSIFileSystem.c47 CHKLOG(rc, PANSIFileSystemSingleton->destroy(PANSIFileSystemSingleton)); in PANSIFileSystemDestroy()
/external/srec/portable/src/UNIX/
DPFileSystemUNIXImpl.c54 CHKLOG(rc, PANSIFileSystemCreate()); in PFileSystemInitializeStreamsImpl()
56 CHKLOG(rc, PMemSetLogEnabled(ESR_FALSE)); in PFileSystemInitializeStreamsImpl()
57 CHKLOG(rc, PHashTablePutValue(PFileSystemPathMap, L("/"), PANSIFileSystemSingleton, NULL)); in PFileSystemInitializeStreamsImpl()
58 CHKLOG(rc, PHashTablePutValue(ANSIImpl->directoryMap, L("/"), L("/"), NULL)); in PFileSystemInitializeStreamsImpl()
59CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdin"), isLitt… in PFileSystemInitializeStreamsImpl()
63CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdout"), isLit… in PFileSystemInitializeStreamsImpl()
68CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stderr"), isLit… in PFileSystemInitializeStreamsImpl()
75 CHKLOG(rc, PtrdIsEnabled(&threadingEnabled)); in PFileSystemInitializeStreamsImpl()
78 CHKLOG(rc, PtrdMonitorDestroy(impl->Interface.lock)); in PFileSystemInitializeStreamsImpl()
82 CHKLOG(rc, PHashTableRemoveValue(PFileSystemPathMap, L("/"), NULL)); in PFileSystemInitializeStreamsImpl()
[all …]
DPANSIFileSystemUNIXImpl.c43 CHKLOG(rc, lstrtrim(path)); in PANSIFileSystemGetVirtualPathImpl()
44 CHKLOG(rc, PFileSystemCanonicalSlashes(path)); in PANSIFileSystemGetVirtualPathImpl()
45 CHKLOG(rc, PFileSystemIsAbsolutePath(path, &isAbsolute)); in PANSIFileSystemGetVirtualPathImpl()
52 CHKLOG(rc, PHashTableEntryGetFirst(impl->directoryMap, &entry)); in PANSIFileSystemGetVirtualPathImpl()
55 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)&value)); in PANSIFileSystemGetVirtualPathImpl()
67 CHKLOG(rc, PHashTableEntryAdvance(&entry)); in PANSIFileSystemGetVirtualPathImpl()
79 CHKLOG(rc, lstrinsert(bestKey, path, 0, len)); in PANSIFileSystemGetVirtualPathImpl()
84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len)); in PANSIFileSystemGetVirtualPathImpl()
100 CHKLOG(rc, PANSIFileSystemGetRealPathImpl(self, realPath, &len)); in PANSIFileSystemMkdirImpl()
144 CHKLOG(rc, PANSIFileSystemGetVirtualPathImpl(self, path, len)); in PANSIFileSystemGetcwdImpl()
[all …]
/external/srec/srec/Semproc/src/
DExpressionParser.c62 CHKLOG(rc, HashMapCreate(&Interface->pfunctions)); in EP_Init()
66 CHKLOG(rc, EP_RegisterFunction(Interface, L("concat"), NULL, EE_concat)); in EP_Init()
67 CHKLOG(rc, EP_RegisterFunction(Interface, L("conditional"), NULL, EE_conditional)); in EP_Init()
68 CHKLOG(rc, EP_RegisterFunction(Interface, L("add"), NULL, EE_add)); in EP_Init()
69 CHKLOG(rc, EP_RegisterFunction(Interface, L("subtract"), NULL, EE_subtract)); in EP_Init()
87 CHKLOG(rc, HashMapRemoveAll(self->pfunctions)); in EP_Free()
93 CHKLOG(rc, HashMapDestroy(self->pfunctions)); in EP_Free()
110 CHKLOG(rc, ST_reset(symtable)); /* reset the symbol table, for a new set of keys and values */ in EP_parse()
111 CHKLOG(rc, handle_NewStatement(parser)); in EP_parse()
115 CHKLOG(rc, LA_nextToken(lexAnalyzer, parser->ptokenBuf, &tokenLen)); in EP_parse()
[all …]
DSemanticProcessorImpl.c493 CHKLOG(rc, sem_partial_path_list_init(heap, sizeof(heap)/sizeof(heap[0]))); in SR_SemanticProcessor_CheckParseByWordID()
547 CHKLOG(rc, accumulate_scripts(semgraph, &raw_scripts_buf, path_root)); in SR_SemanticProcessor_CheckParseByWordID()
548 CHKLOG(rc, sem_partial_path_free(heap, path_root)); in SR_SemanticProcessor_CheckParseByWordID()
579CHKLOG(rc, append_with_check(&dst, *src, &semproc->acc_scripts[MAX_SCRIPT_LEN-1])); in SR_SemanticProcessor_CheckParseByWordID()
580 CHKLOG(rc, append_with_check(&p, *src, &ruleName[31])); in SR_SemanticProcessor_CheckParseByWordID()
586CHKLOG(rc, append_with_check(&dst, L('.'), &semproc->acc_scripts[MAX_SCRIPT_LEN-1])); in SR_SemanticProcessor_CheckParseByWordID()
587 CHKLOG(rc, append_with_check(&p, L('.'), &ruleName[31])); in SR_SemanticProcessor_CheckParseByWordID()
590 CHKLOG(rc, append_with_check(&p, 0, &ruleName[31])); in SR_SemanticProcessor_CheckParseByWordID()
602CHKLOG(rc, append_with_check(&dst, *src, &semproc->acc_scripts[MAX_SCRIPT_LEN-1])); in SR_SemanticProcessor_CheckParseByWordID()
603 CHKLOG(rc, append_with_check(&p, *src, &lhs[MAX_STRING_LEN-1])); in SR_SemanticProcessor_CheckParseByWordID()
[all …]
DSemanticResultImpl.c67 CHKLOG(rc, impl->results->getSize(impl->results, count)); in SR_SemanticResult_GetKeyCount()
80 CHKLOG(rc, HashMapGetSize(impl->results, &size)); in SR_SemanticResult_GetKeyList()
96 CHKLOG(rc, HashMapGetKeyAtIndex(impl->results, i, &theKey)); in SR_SemanticResult_GetKeyList()
110 CHKLOG(rc, impl->results->get(impl->results, key, (void **)&theValue)); in SR_SemanticResult_GetValue()
128 CHKLOG(rc, HashMapRemoveAndFreeAll(impl->results)); in SR_SemanticResult_Destroy()
129 CHKLOG(rc, HashMapDestroy(impl->results)); in SR_SemanticResult_Destroy()
DSymbolTable.c43 CHKLOG(rc, HashMapCreate(&(*ptr)->hashmap)); in ST_Init()
69 CHKLOG(rc, HashMapDestroy(self->hashmap)); in ST_Free()
95 CHKLOG(rc, ST_getSymbolSlot(self, &symbol)); in ST_putKeyValue()
102 CHKLOG(rc, HashMapPut(self->hashmap, symbol->key, symbol->value)); in ST_putKeyValue()
223 CHKLOG(rc, HashMapRemoveAll(ptr->hashmap)); in ST_reset()
245 CHKLOG(rc, HashMapRemoveAll(ptr->hashmap)); in ST_reset_all()
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c70 CHKLOG(rc, ESR_SessionTypeCreate(&impl->parameters)); in SR_Grammar_Create()
91 CHKLOG(rc, ESR_SessionExists(&exists)); in SR_Grammar_Create()
124 CHKLOG(rc, SR_Grammar_Create(self)); in SR_GrammarCreate()
219 CHKLOG(rc, vocab->getPronunciation(vocab, word, buffer, &len)); 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()
235CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("PRON"), pronunciation)); in SR_Grammar_AddWordToSlot()
237CHKLOG(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()
[all …]
/external/srec/srec/EventLog/src/
DEventLogImpl.c110 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()
129 CHKLOG(rc, ESR_SessionGetProperty(name, (void **)&list, TYPES_INTARRAYLIST)); in propertyChanged()
130 CHKLOG(rc, list->getSize(list, &len)); in propertyChanged()
131 CHKLOG(rc, SR_EventLogTokenInt(eventLog, name, len)); in propertyChanged()
134 CHKLOG(rc, list->get(list, i, &iValue)); in propertyChanged()
[all …]
/external/srec/srec/Session/src/
DSR_Session.c37 CHKLOG(rc, ESR_SessionCreate(filename)); in SR_SessionCreate()
40 CHKLOG(rc, SR_EventLogCreate(&eventLog)); in SR_SessionCreate()
42 CHKLOG(rc, ESR_SessionSetSize_t(L("SREC.Recognizer.osi_log_level"), 0)); in SR_SessionCreate()
58 CHKLOG(rc, ESR_SessionSetLCHAR(L("parFile.baseDirectory"), baseDirectory)); in SR_SessionCreate()
77 CHKLOG(rc, eventLog->destroy(eventLog)); in SR_SessionDestroy()
82 CHKLOG(rc, ESR_SessionDestroy()); in SR_SessionDestroy()
/external/srec/tools/make_g2g/
Dmake_g2g.c58 CHKLOG(rc, PMemInit()); in main()
62 CHKLOG(rc, PLogInit(NULL, 3)); in main()
114 CHKLOG(rc, SR_GrammarLoad(base, &grammar)); in main()
117 CHKLOG(rc, SR_GrammarSave(grammar, outFilename)); in main()
/external/srec/srec/clib/
Dswicms.c112 CHKLOG(rc, ESR_SessionContains(parname, &exists)); in GetSomeIntsIfAny()
121 CHKLOG(rc, IntArrayListGetSize(intList, &size)); in GetSomeIntsIfAny()
127 CHKLOG(rc, IntArrayListGet(intList, 0, parvalue)); in GetSomeIntsIfAny()
130 CHKLOG(rc, IntArrayListGet(intList, i, &parvalue[i])); in GetSomeIntsIfAny()
153 CHKLOG(rc, ESR_SessionExists(&sessionExists)); in swicms_init()
188 CHKLOG(rc, ESR_SessionExists(&sessionExists)); in swicms_init()
193 CHKLOG(rc, ESR_SessionContains(parname, &exists)); in swicms_init()
/external/srec/srec/Vocabulary/src/
DVocabularyImpl.c207 CHKLOG(rc, ESR_SessionExists(&sessionExists)); in sr_vocabularyloadimpl_for_real()
213 CHKLOG(rc, ESR_SessionPrefixWithBaseDirectory(vocabulary, &len)); in sr_vocabularyloadimpl_for_real()
220 CHKLOG(rc, ESR_INVALID_ARGUMENT); in sr_vocabularyloadimpl_for_real()
251 CHKLOG( rc, sr_vocabularyloadimpl_for_real( impl)); in SR_VocabularyLoadImpl()
447 CHKLOG( nEsrRes, sr_vocabularyloadimpl_for_real( impl)); in SR_VocabularyGetPronunciationImpl()

12