Home
last modified time | relevance | path

Searched refs:ESR_SUCCESS (Results 1 – 25 of 74) sorted by relevance

123

/external/srec/portable/src/
DPFileWrap.c36 return ( ESR_SUCCESS ); in PFileClose()
51 read_status = ESR_SUCCESS; in PFileRead()
60 read_status = ESR_SUCCESS; in PFileRead()
82 write_status = ESR_SUCCESS; in PFileWrite()
103 flush_status = ESR_SUCCESS; in PFileFlush()
123 seek_status = ESR_SUCCESS; in PFileSeek()
144 get_status = ESR_SUCCESS; in PFileGetPosition()
180 return ( ESR_SUCCESS ); in PFileIsEOF()
195 return ( ESR_SUCCESS ); in PFileIsErrorSet()
204 return ( ESR_SUCCESS ); in PFileClearError()
[all …]
Dplog.c105 return pfflush(p->fp) == 0 ? ESR_SUCCESS : ESR_FATAL_ERROR; in FileLoggerFlush()
140 return ESR_SUCCESS; in createPFileLogger()
155 ESR_ReturnCode rc = ESR_SUCCESS; in PLogInit()
163 if ((rc = PtrdMutexCreate(&Gmutex)) != ESR_SUCCESS) in PLogInit()
172 if (rc != ESR_SUCCESS) in PLogInit()
193 return ESR_SUCCESS; in PLogIsInitialized()
201 return ESR_SUCCESS; in PLogIsLocked()
213 ESR_ReturnCode rc = ESR_SUCCESS; in PLogShutdown()
219 if ((rc = PtrdMutexDestroy(Gmutex)) != ESR_SUCCESS) in PLogShutdown()
239 return ESR_SUCCESS; in PLogGetLevel()
[all …]
DLCHAR.c40 return ESR_SUCCESS; in lstrtrim()
62 return ESR_SUCCESS; in lstrinsert()
78 return ESR_SUCCESS; in lstrreplace()
90 return ESR_SUCCESS; in lstrtoi()
102 return ESR_SUCCESS; in lstrtoui()
114 return ESR_SUCCESS; in lstrtof()
119 ESR_ReturnCode rc = ESR_SUCCESS; in lstrtob()
129 return ESR_SUCCESS; in lstrtob()
135 return ESR_SUCCESS; in lstrtob()
141 return ESR_SUCCESS; in lstrtob()
[all …]
Dpcputimer.c58 return ESR_SUCCESS; in PCPUTimerCreate()
65 return ESR_SUCCESS; in PCPUTimerDestroy()
90 return ESR_SUCCESS; in PCPUTimerStart()
115 return ESR_SUCCESS; in PCPUTimerStop()
145 return ESR_SUCCESS; in PCPUTimerGetElapsed()
158 return ESR_SUCCESS; in PCPUTimerReset()
187 return ESR_SUCCESS; in PCPUTimerCreate()
194 return ESR_SUCCESS; in PCPUTimerDestroy()
204 return ESR_SUCCESS; in PCPUTimerStart()
212 return ESR_SUCCESS; in PCPUTimerStop()
[all …]
Dptimer.c66 return ESR_SUCCESS; in PTimerCreate()
73 return ESR_SUCCESS; in PTimerDestroy()
85 ESR_SUCCESS : in PTimerStart()
102 return ESR_SUCCESS; in PTimerStop()
126 return ESR_SUCCESS; in PTimerGetElapsed()
139 return ESR_SUCCESS; in PTimerReset()
177 return ESR_SUCCESS; in PTimerCreate()
186 return ESR_SUCCESS; in PTimerDestroy()
203 ESR_SUCCESS : in PTimerStart()
223 return ESR_SUCCESS; in PTimerStop()
[all …]
DPFileSystem.c59 return ESR_SUCCESS; in PFileSystemCanonicalSlashes()
125 if (rc != ESR_SUCCESS) in PFileSystemLinearToPathTokens()
129 if (rc != ESR_SUCCESS) in PFileSystemLinearToPathTokens()
131 return ESR_SUCCESS; in PFileSystemLinearToPathTokens()
139 if (cleanRC != ESR_SUCCESS) in PFileSystemLinearToPathTokens()
144 if (cleanRC != ESR_SUCCESS) in PFileSystemLinearToPathTokens()
148 if (cleanRC != ESR_SUCCESS) in PFileSystemLinearToPathTokens()
172 return ESR_SUCCESS; in PFileSystemIsAbsolutePath()
237 return ESR_SUCCESS; in PFileSystemGetAbsolutePath()
261 return ESR_SUCCESS; in PFileSystemIsCreated()
[all …]
Dphashtable.c126 return ESR_SUCCESS; in PHashTableCreate()
146 return ESR_SUCCESS; in PHashTableDestroy()
156 return ESR_SUCCESS; in PHashTableGetSize()
222 return ESR_SUCCESS; in PHashTableGetValue()
243 if (rc == ESR_SUCCESS) in PHashTableContainsKey()
250 return ESR_SUCCESS; in PHashTableContainsKey()
271 return ESR_SUCCESS; in PHashTableGetEntry()
334 return ESR_SUCCESS; in PHashTableRehash()
343 ESR_ReturnCode rc = ESR_SUCCESS; in PHashTablePutValue()
356 return ESR_SUCCESS; in PHashTablePutValue()
[all …]
DArrayListImpl.c65 return ESR_SUCCESS; in ArrayListCreateWithCapacity()
93 return ESR_SUCCESS; in ArrayList_Insert_Internal()
134 return ESR_SUCCESS; in ArrayList_Remove_Internal()
167 return ESR_SUCCESS; in ArrayList_RemoveAll()
181 return ESR_SUCCESS; in ArrayList_Contains()
185 return ESR_SUCCESS; in ArrayList_Contains()
195 return ESR_SUCCESS; in ArrayList_Get()
205 return ESR_SUCCESS; in ArrayList_Set()
213 return ESR_SUCCESS; in ArrayList_GetSize()
229 return ESR_SUCCESS; in ArrayList_Clone()
[all …]
/external/srec/shared/src/
DHashMapImpl.c33 ESR_ReturnCode rc = ESR_SUCCESS; in HashMapCreate_Internal()
41 if ((rc = PHashTableCreate(hashArgs, MTAG, &impl->table)) != ESR_SUCCESS) in HashMapCreate_Internal()
61 return ESR_SUCCESS; in HashMapCreate_Internal()
93 if ((rc = PHashTablePutValue(impl->table, clone, value, NULL)) != ESR_SUCCESS) in HashMap_Put()
112 ESR_ReturnCode rc = ESR_SUCCESS; in HashMap_Remove_Internal()
144 ESR_ReturnCode rc = ESR_SUCCESS; in HashMap_RemoveAll_Internal()
148 if ((rc = PHashTableEntryGetFirst(impl->table, &entry1)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal()
153 if ((rc = PHashTableEntryGetKeyValue(entry1, (void **)&key, (void **)&value)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal()
158 if ((rc = PHashTableEntryAdvance(&entry1)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal()
160 if ((rc = PHashTableEntryRemove(entry2)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal()
[all …]
DIntArrayListImpl.c56 return ESR_SUCCESS; in IntArrayListCreate()
69 return ESR_SUCCESS; in IntArrayListImport()
89 return ESR_SUCCESS; in IntArrayList_Add()
119 return ESR_SUCCESS; in IntArrayList_Remove()
127 return ESR_SUCCESS; in IntArrayList_RemoveAll()
142 return ESR_SUCCESS; in IntArrayList_Contains()
146 return ESR_SUCCESS; in IntArrayList_Contains()
155 return ESR_SUCCESS; in IntArrayList_Get()
164 return ESR_SUCCESS; in IntArrayList_Set()
172 return ESR_SUCCESS; in IntArrayList_GetSize()
[all …]
DInt8ArrayListImpl.c57 return ESR_SUCCESS; in Int8ArrayListCreate()
70 return ESR_SUCCESS; in Int8ArrayListImport()
90 return ESR_SUCCESS; in Int8ArrayList_Add()
120 return ESR_SUCCESS; in Int8ArrayList_Remove()
128 return ESR_SUCCESS; in Int8ArrayList_RemoveAll()
143 return ESR_SUCCESS; in Int8ArrayList_Contains()
147 return ESR_SUCCESS; in Int8ArrayList_Contains()
156 return ESR_SUCCESS; in Int8ArrayList_Get()
165 return ESR_SUCCESS; in Int8ArrayList_Set()
173 return ESR_SUCCESS; in Int8ArrayList_GetSize()
[all …]
DSessionTypeImpl.c108 return ESR_SUCCESS; in ESR_SessionTypeCreate()
136 return ESR_SUCCESS; in ESR_SessionTypeGetPropertyImpl()
156 return ESR_SUCCESS; in ESR_SessionTypeGetIntImpl()
176 return ESR_SUCCESS; in ESR_SessionTypeGetUint16_tImpl()
197 return ESR_SUCCESS; in ESR_SessionTypeGetSize_tImpl()
217 return ESR_SUCCESS; in ESR_SessionTypeGetFloatImpl()
237 return ESR_SUCCESS; in ESR_SessionTypeGetBoolImpl()
268 return ESR_SUCCESS; in ESR_SessionTypeGetLCHARImpl()
297 return ESR_SUCCESS; in firePropertyChanged()
333 return ESR_SUCCESS; in ESR_SessionTypeSetPropertyImpl()
[all …]
/external/srec/srec/test/SRecTest/src/
DSRecTest.c214 return ESR_SUCCESS; in myDSMCallback()
223 return ESR_SUCCESS; in myDSMCallback()
373 if ( init_status == ESR_SUCCESS ) in InitSession()
377 if ( init_status == ESR_SUCCESS ) in InitSession()
382 if ( init_status != ESR_SUCCESS ) in InitSession()
419 if ( setup_status == ESR_SUCCESS ) in SetupGrammarLoad()
423 if ( setup_status == ESR_SUCCESS ) in SetupGrammarLoad()
427 if ( setup_status == ESR_SUCCESS ) in SetupGrammarLoad()
431 if ( setup_status != ESR_SUCCESS ) in SetupGrammarLoad()
514 if ( get_status == ESR_SUCCESS ) in srec_test_get_five_command_items()
[all …]
/external/srec/srec/test/SRecTestAudio/src/
DSRecTestAudio.c212 return ESR_SUCCESS; in myDSMCallback()
221 return ESR_SUCCESS; in myDSMCallback()
371 if ( init_status == ESR_SUCCESS ) in InitSession()
375 if ( init_status == ESR_SUCCESS ) in InitSession()
380 if ( init_status != ESR_SUCCESS ) in InitSession()
417 if ( setup_status == ESR_SUCCESS ) in SetupGrammarLoad()
421 if ( setup_status == ESR_SUCCESS ) in SetupGrammarLoad()
426 if ( setup_status == ESR_SUCCESS ) in SetupGrammarLoad()
430 if ( setup_status != ESR_SUCCESS ) in SetupGrammarLoad()
507 if ( get_status == ESR_SUCCESS ) in srec_test_get_five_command_items()
[all …]
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c78 if (rc != ESR_SUCCESS) in SR_Grammar_Create()
85 if (rc != ESR_SUCCESS) in SR_Grammar_Create()
95 if (rc != ESR_NO_MATCH_ERROR && rc != ESR_SUCCESS) in SR_Grammar_Create()
101 if (rc != ESR_NO_MATCH_ERROR && rc != ESR_SUCCESS) in SR_Grammar_Create()
109 return ESR_SUCCESS; in SR_Grammar_Create()
125 return ESR_SUCCESS; in SR_GrammarCreate()
135 return ESR_SUCCESS; in SR_Grammar_Compile()
157 ESR_ReturnCode rc = ESR_SUCCESS, logrc; in SR_Grammar_AddWordToSlot()
308 if (rc == ESR_SUCCESS) in SR_Grammar_ResetAllSlots()
311 rc = irc ? ESR_INVALID_STATE : ESR_SUCCESS; in SR_Grammar_ResetAllSlots()
[all …]
/external/srec/srec/AcousticModels/src/
DAcousticModelsImpl.c38 if (rc!=ESR_SUCCESS) \
69 return ESR_SUCCESS; in SR_AcousticModels_ToSession()
128 return ESR_SUCCESS; in SR_AcousticModels_PatternToSession()
180 return ESR_SUCCESS; in SR_AcousticModels_LoadLegacyPatternParameters()
210 return ESR_SUCCESS; in SR_AcousticModels_GetLegacyParameters()
226 if ((rc != ESR_NO_MATCH_ERROR) && (rc != ESR_SUCCESS)) in LogArbdataVersion()
234 if ((rc != ESR_NO_MATCH_ERROR) && (rc != ESR_SUCCESS)) in LogArbdataVersion()
290 if (rc != ESR_SUCCESS) in SR_AcousticModelsLoad()
296 if (rc != ESR_SUCCESS) in SR_AcousticModelsLoad()
302 if (rc != ESR_SUCCESS) in SR_AcousticModelsLoad()
[all …]
/external/srec/srec/Semproc/src/
DSymbolTable.c74 return ESR_SUCCESS; in ST_Free()
107 else if (rc != ESR_SUCCESS) in ST_putKeyValue()
116 return ESR_SUCCESS; in ST_putKeyValue()
146 return ESR_SUCCESS; in ST_Copy()
163 if (rc == ESR_SUCCESS || rc != ESR_NO_MATCH_ERROR) in ST_getKeyValue()
175 return ESR_SUCCESS; in ST_getKeyValue()
187 return ESR_SUCCESS; in ST_getKeyValue()
193 return ESR_SUCCESS; in ST_getKeyValue()
208 return ESR_SUCCESS; in ST_getSymbolSlot()
230 return ESR_SUCCESS; in ST_reset()
[all …]
DExpressionParser.c72 return ESR_SUCCESS; in EP_Init()
95 return ESR_SUCCESS; in EP_Free()
151 if (rc == ESR_SUCCESS) in EP_parse()
155 return ESR_SUCCESS; in EP_parse()
167 rc = ESR_SUCCESS; in EP_parse()
186 return ESR_SUCCESS; in handle_NewStatement()
198 return ESR_SUCCESS; in handle_Identifier()
203 return ESR_SUCCESS; in handle_Identifier()
220 return ESR_SUCCESS; in handle_OpAssign()
239 return ESR_SUCCESS; in handle_OpConcat()
[all …]
/external/srec/tools/parseStringTest/
DparseStringTest.c88 if (rc == ESR_SUCCESS) in display_results()
93 if ((rc = result->getValue(result, keys[i], value, &len)) == ESR_SUCCESS) in display_results()
106 ESR_ReturnCode rc = ESR_SUCCESS; in Parse()
171 rc = ESR_SUCCESS; in Parse()
181 if (rc != ESR_SUCCESS) in Parse()
202 if (rc != ESR_SUCCESS) in Parse()
206 return ESR_SUCCESS; in Parse()
229 if (rc != ESR_SUCCESS) in ParseTestSet()
248 if ((rc = semanticResults[i]->getValue(semanticResults[i], key, value, &len)) == ESR_SUCCESS) in ParseTestSet()
267 if (rc != ESR_SUCCESS) in ParseTestSet()
[all …]
/external/srec/srec/EventLog/include/
DSR_EventLog.h59 log->token(log, tokenName, value) : ESR_SUCCESS ) \
66 log->tokenInt(log, tokenName, value) : ESR_SUCCESS ) \
73 log->tokenUint16_t(log, tokenName, value) : ESR_SUCCESS ) \
80 log->tokenSize_t(log, tokenName, value) : ESR_SUCCESS ) \
87 log->tokenBool(log, tokenName, value) : ESR_SUCCESS ) \
94 log->tokenFloat(log, tokenName, value) : ESR_SUCCESS ) \
101 log->event(log, eventName) : ESR_SUCCESS ) \
108 log->token(log, tokenName, value) : ESR_SUCCESS ) \
115 log->tokenInt(log, tokenName, value) : ESR_SUCCESS ) \
122 log->event(log, eventName) : ESR_SUCCESS ) \
/external/srec/srec/Nametag/src/
DNametagImpl.c45 if (rc != ESR_SUCCESS) in SR_NametagCreate()
62 if (rc != ESR_SUCCESS && rc != ESR_BUFFER_OVERFLOW) in SR_NametagCreate()
104 if ((rc = SR_Vocabulary_etiinf_conv_from_multichar(locale, multichar, singlechar)) != ESR_SUCCESS) in SR_NametagCreate()
125 return ESR_SUCCESS; in SR_NametagCreate()
164 if (rc != ESR_SUCCESS) in SR_NametagCreateFromValue()
171 return ESR_SUCCESS; in SR_NametagCreateFromValue()
191 return ESR_SUCCESS; in SR_Nametag_Destroy()
199 return ESR_SUCCESS; in SR_Nametag_GetID()
210 return ESR_SUCCESS; in SR_Nametag_GetValue()
228 return ESR_SUCCESS; in SR_Nametag_SetID()
[all …]
/external/srec/srec/Vocabulary/src/
DVocabularyImpl.c51 ESR_ReturnCode rc = ESR_SUCCESS; in SR_CreateG2P()
59 if ( rc != ESR_SUCCESS ) in SR_CreateG2P()
67 return ESR_SUCCESS; in SR_CreateG2P()
71 if ( rc != ESR_SUCCESS ) in SR_CreateG2P()
77 if ( rc != ESR_SUCCESS ) in SR_CreateG2P()
106 ESR_ReturnCode rc = ESR_SUCCESS; in SR_DestroyG2P()
112 if ( rc != ESR_SUCCESS ) in SR_DestroyG2P()
119 return ESR_SUCCESS; in SR_DestroyG2P()
170 return ESR_SUCCESS; in SR_VocabularyCreateImpl()
189 return ESR_SUCCESS; in SR_VocabularyDestroyImpl()
[all …]
/external/srec/srec/clib/
Dswicms.c115 if (rc != ESR_SUCCESS && rc != ESR_NO_MATCH_ERROR) { in GetSomeIntsIfAny()
120 else if (rc == ESR_SUCCESS) { in GetSomeIntsIfAny()
134 return ESR_SUCCESS; in GetSomeIntsIfAny()
141 ESR_ReturnCode rc = ESR_SUCCESS; in swicms_init()
159 if ( rc != ESR_SUCCESS ) in swicms_init()
196 if (rc != ESR_SUCCESS && rc != ESR_NO_MATCH_ERROR) { in swicms_init()
204 if(rc != ESR_SUCCESS) return rc; in swicms_init()
208 if(rc != ESR_SUCCESS) return rc; in swicms_init()
212 if(rc != ESR_SUCCESS) return rc; in swicms_init()
218 if(rc != ESR_SUCCESS) in swicms_init()
[all …]
/external/srec/srec/EventLog/src/
Driff.c246 return ESR_SUCCESS; in readPCMWave()
271 return ESR_SUCCESS; in readMulawWave()
295 return ESR_SUCCESS; in readAlawWave()
376 return ESR_SUCCESS; in riffDescend()
395 return ESR_SUCCESS; in riffDescend()
433 return ESR_SUCCESS; in riffDescend()
453 return ESR_SUCCESS; in riffAscend()
459 ESR_ReturnCode rc = ESR_SUCCESS; in readSwiChunk()
466 if (riffDescend(f, &chunk, parent, FIND_LIST, doSwap) == ESR_SUCCESS) in readSwiChunk()
470 if (riffDescend(f, &list_chunk, &chunk, FIND_CHUNK, doSwap) == ESR_SUCCESS) in readSwiChunk()
[all …]
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c98 return ESR_SUCCESS; in SR_RecognizerToSessionImpl()
353 return ESR_SUCCESS; in SR_RecognizerFrontendToSessionImpl()
502 return ESR_SUCCESS; in SR_RecognizerGetFrontendLegacyParametersImpl()
548 return ESR_SUCCESS; in SR_RecognizerCreateFrontendImpl()
607 return ESR_SUCCESS; in SR_AcousticModels_LoadLegacyRecognizerParameters()
730 else if (rc != ESR_SUCCESS) in SR_RecognizerCreate()
781 return ESR_SUCCESS; in SR_RecognizerCreate()
924 return ESR_SUCCESS; in SR_RecognizerDestroyImpl()
971 return ESR_SUCCESS; in beginRecognizing()
1034 if (rc != ESR_SUCCESS && rc != ESR_NO_MATCH_ERROR) in SR_RecognizerStartImpl()
[all …]

123