Home
last modified time | relevance | path

Searched refs:ESR_ReturnCode (Results 1 – 25 of 156) sorted by relevance

1234567

/external/srec/shared/include/
DESR_Session.h50 ESR_ReturnCode(*getProperty)(const LCHAR* name, void** value, VariableTypes type);
57 ESR_ReturnCode(*getPropertyType)(const LCHAR* name, VariableTypes* type);
64 ESR_ReturnCode(*getInt)(const LCHAR* name, int* value);
71 ESR_ReturnCode(*getUint16_t)(const LCHAR* name, asr_uint16_t* value);
78 ESR_ReturnCode(*getSize_t)(const LCHAR* name, size_t* value);
85 ESR_ReturnCode(*getFloat)(const LCHAR* name, float* value);
92 ESR_ReturnCode(*getBool)(const LCHAR* name, ESR_BOOL* value);
101 ESR_ReturnCode(*getLCHAR)(const LCHAR* name, LCHAR* value, size_t* len);
108 ESR_ReturnCode(*contains)(const LCHAR* name, ESR_BOOL* exists);
116 ESR_ReturnCode(*setProperty)(const LCHAR* name, void* value, VariableTypes type);
[all …]
DESR_SessionType.h53ESR_ReturnCode(*getProperty)(struct ESR_SessionType_t* self, const LCHAR* name, void** value, Vari…
62ESR_ReturnCode(*getPropertyType)(struct ESR_SessionType_t* self, const LCHAR* name, VariableTypes*…
71 ESR_ReturnCode(*getInt)(struct ESR_SessionType_t* self, const LCHAR* name, int* value);
79ESR_ReturnCode(*getUint16_t)(struct ESR_SessionType_t* self, const LCHAR* name, asr_uint16_t* valu…
89 ESR_ReturnCode(*getSize_t)(struct ESR_SessionType_t* self, const LCHAR* name, size_t* value);
98 ESR_ReturnCode(*getFloat)(struct ESR_SessionType_t* self, const LCHAR* name, float* value);
107 ESR_ReturnCode(*getBool)(struct ESR_SessionType_t* self, const LCHAR* name, ESR_BOOL* value);
118ESR_ReturnCode(*getLCHAR)(struct ESR_SessionType_t* self, const LCHAR* name, LCHAR* value, size_t*…
127 ESR_ReturnCode(*contains)(struct ESR_SessionType_t* self, const LCHAR* name, ESR_BOOL* exists);
137ESR_ReturnCode(*setProperty)(struct ESR_SessionType_t* self, const LCHAR* name, void* value, Varia…
[all …]
DESR_SessionTypeImpl.h66 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeGetPropertyImpl(ESR_SessionType* self,
73 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeGetIntImpl(ESR_SessionType* self,
79 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeGetUint16_tImpl(ESR_SessionType* self,
85 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeGetSize_tImpl(ESR_SessionType* self,
91 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeGetFloatImpl(ESR_SessionType* self,
97 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeGetBoolImpl(ESR_SessionType* self,
103 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeGetLCHARImpl(ESR_SessionType* self,
109 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeContainsImpl(ESR_SessionType* self,
115 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeSetPropertyImpl(ESR_SessionType* self,
121 ESR_SHARED_API ESR_ReturnCode ESR_SessionTypeSetIntImpl(ESR_SessionType* self,
[all …]
DHashMap.h52 ESR_ReturnCode(*put)(struct HashMap_t* self, const LCHAR* key, void* value);
61 ESR_ReturnCode(*remove)(struct HashMap_t* self, const LCHAR* key);
70 ESR_ReturnCode(*removeAndFree)(struct HashMap_t* self, const LCHAR* key);
79 ESR_ReturnCode(*removeAtIndex)(struct HashMap_t* self, const size_t index);
87 ESR_ReturnCode(*removeAll)(struct HashMap_t* self);
95 ESR_ReturnCode(*removeAndFreeAll)(struct HashMap_t* self);
105 ESR_ReturnCode(*containsKey)(struct HashMap_t* self, const LCHAR* key, ESR_BOOL* exists);
114 ESR_ReturnCode(*getSize)(struct HashMap_t* self, size_t* size);
126 ESR_ReturnCode(*get)(struct HashMap_t* self, const LCHAR* key, void** value);
135 ESR_ReturnCode(*getKeyAtIndex)(struct HashMap_t* self, const size_t index, LCHAR** key);
[all …]
DESR_SessionImpl.h34 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetPropertyImpl(ESR_SessionType* self,
41 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetIntImpl(ESR_SessionType* self,
47 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetSize_tImpl(ESR_SessionType* self,
53 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetFloatImpl(ESR_SessionType* self,
59 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetBoolImpl(ESR_SessionType* self,
65 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetLCHARImpl(ESR_SessionType* self,
71 ESR_SHARED_API ESR_ReturnCode ESR_SessionContainsImpl(ESR_SessionType* self,
77 ESR_SHARED_API ESR_ReturnCode ESR_SessionSetPropertyImpl(ESR_SessionType* self,
84 ESR_SHARED_API ESR_ReturnCode ESR_SessionSetIntImpl(ESR_SessionType* self,
90 ESR_SHARED_API ESR_ReturnCode ESR_SessionSetSize_tImpl(ESR_SessionType* self,
[all …]
DInt8ArrayList.h48 ESR_ReturnCode(*add)(struct Int8ArrayList_t* self, asr_int8_t element);
56 ESR_ReturnCode(*remove)(struct Int8ArrayList_t* self, asr_int8_t element);
63 ESR_ReturnCode(*removeAll)(struct Int8ArrayList_t* self);
72 ESR_ReturnCode(*contains)(struct Int8ArrayList_t* self, asr_int8_t element, ESR_BOOL* exists);
80 ESR_ReturnCode(*getSize)(struct Int8ArrayList_t* self, size_t* size);
89 ESR_ReturnCode(*get)(struct Int8ArrayList_t* self, size_t index, asr_int8_t* element);
99 ESR_ReturnCode(*set)(struct Int8ArrayList_t* self, size_t index, asr_int8_t element);
107 ESR_ReturnCode(*clone)(struct Int8ArrayList_t* self, struct Int8ArrayList_t* clone);
116 ESR_ReturnCode(*toStaticArray)(struct Int8ArrayList_t* self, asr_int8_t** newArray);
122 ESR_ReturnCode(*destroy)(struct Int8ArrayList_t* self);
[all …]
DIntArrayList.h48 ESR_ReturnCode(*add)(struct IntArrayList_t* self, int element);
56 ESR_ReturnCode(*remove)(struct IntArrayList_t* self, int element);
63 ESR_ReturnCode(*removeAll)(struct IntArrayList_t* self);
72 ESR_ReturnCode(*contains)(struct IntArrayList_t* self, int element, ESR_BOOL* exists);
80 ESR_ReturnCode(*getSize)(struct IntArrayList_t* self, size_t* size);
89 ESR_ReturnCode(*get)(struct IntArrayList_t* self, size_t index, int* element);
99 ESR_ReturnCode(*set)(struct IntArrayList_t* self, size_t index, int element);
108 ESR_ReturnCode(*toStaticArray)(struct IntArrayList_t* self, int** newArray);
114 ESR_ReturnCode(*destroy)(struct IntArrayList_t* self);
123 ESR_SHARED_API ESR_ReturnCode IntArrayListCreate(IntArrayList** self);
[all …]
/external/srec/srec/Recognizer/include/
DSR_Recognizer.h129 typedef ESR_ReturnCode(*SR_RecognizerLockFunction)(ESR_LOCKMODE mode, void* data);
150 ESR_ReturnCode(*start)(struct SR_Recognizer_t* self);
159 ESR_ReturnCode(*stop)(struct SR_Recognizer_t* self);
166 ESR_ReturnCode(*destroy)(struct SR_Recognizer_t* self);
173 ESR_ReturnCode(*setup)(struct SR_Recognizer_t* self);
180 ESR_ReturnCode(*unsetup)(struct SR_Recognizer_t* self);
188 ESR_ReturnCode(*isSetup)(struct SR_Recognizer_t* self, ESR_BOOL* isSetup);
201ESR_ReturnCode(*getParameter)(struct SR_Recognizer_t* self, const LCHAR* key, LCHAR* value, size_t…
211ESR_ReturnCode(*getSize_tParameter)(struct SR_Recognizer_t* self, const LCHAR* key, size_t* value);
221ESR_ReturnCode(*getBoolParameter)(struct SR_Recognizer_t* self, const LCHAR* key, ESR_BOOL* value);
[all …]
DSR_RecognizerImpl.h128 ESR_ReturnCode WaveformBuffer_Create(WaveformBuffer** waveformBuffer, size_t frame_size);
131 ESR_ReturnCode WaveformBuffer_Reset(WaveformBuffer* waveformBuffer);
134 ESR_ReturnCode WaveformBuffer_GetSize(WaveformBuffer* waveformBuffer, size_t* size);
137 ESR_ReturnCode WaveformBuffer_Write(WaveformBuffer* waveformBuffer, void *data, size_t num_bytes);
140 ESR_ReturnCode WaveformBuffer_Read(WaveformBuffer* waveformBuffer, void *data, size_t* num_bytes);
143 ESR_ReturnCode WaveformBuffer_WindBack(WaveformBuffer* waveformBuffer, const size_t num_bytes);
146 ESR_ReturnCode WaveformBuffer_ParseEndPointedResultAndTrim(WaveformBuffer* waveformBuffer, const LC…
149 ESR_ReturnCode WaveformBuffer_Destroy(WaveformBuffer* waveformBuffer);
152 ESR_ReturnCode WaveformBuffer_SetBufferingState(WaveformBuffer* waveformBuffer, waveform_buffering_…
155 ESR_ReturnCode WaveformBuffer_GetBufferingState(WaveformBuffer* waveformBuffer, waveform_buffering_…
[all …]
/external/srec/srec/Grammar/include/
DSR_Grammar.h68 typedef ESR_ReturnCode(*SR_GrammarDispatchFunction)(LCHAR* functionName, LCHAR** argv, size_t argc,…
95 ESR_ReturnCode(*compile)(struct SR_Grammar_t* self);
104 ESR_ReturnCode(*save)(struct SR_Grammar_t* self, const LCHAR* filename);
115ESR_ReturnCode(*checkParse)(struct SR_Grammar_t* self, const LCHAR* transcription, SR_SemanticResu…
130 ESR_ReturnCode(*addWordToSlot)(struct SR_Grammar_t* self, const LCHAR* slot, const LCHAR* word,
139 ESR_ReturnCode(*resetAllSlots)(struct SR_Grammar_t* self);
153 ESR_ReturnCode(*addNametagToSlot)(struct SR_Grammar_t* self, const LCHAR* slot,
165ESR_ReturnCode(*setDispatchFunction)(struct SR_Grammar_t* self, const LCHAR* name, void* userData,…
175 ESR_ReturnCode(*setParameter)(struct SR_Grammar_t* self, const LCHAR* key, void* value);
186 ESR_ReturnCode(*setSize_tParameter)(struct SR_Grammar_t* self, const LCHAR* key, size_t value);
[all …]
DSR_GrammarImpl.h59 ESR_ReturnCode(*setupRecognizer)(SR_Grammar* self, SR_Recognizer* recognizer);
65 ESR_ReturnCode(*unsetupRecognizer)(SR_Grammar* self);
118 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_CompileRule(SR_Grammar* self, const LCHAR* name);
122 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddRuleFromList(SR_Grammar* self, SR_Vocabulary* vocabul…
126 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_Compile(SR_Grammar* self);
130 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddRule(SR_Grammar* self, const LCHAR* name, const LCHAR…
134 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_DeleteRule(SR_Grammar* self, const LCHAR* name);
138 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_ContainsRule(SR_Grammar* self, const LCHAR* name, ESR_BO…
142 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddWordToSlot(SR_Grammar* self, const LCHAR* slot,
148 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_ResetAllSlots(SR_Grammar* self);
[all …]
/external/srec/portable/include/
DPFile.h84 ESR_ReturnCode(*destroy)(struct PFile_t* self);
87 ESR_ReturnCode(*open)(struct PFile_t* self, const LCHAR* mode);
95 ESR_ReturnCode(*close)(struct PFile_t* self);
109 ESR_ReturnCode(*read)(struct PFile_t* self, void* buffer, size_t size, size_t* count);
122 ESR_ReturnCode(*write)(struct PFile_t* self, const void* buffer, size_t size, size_t* count);
130 ESR_ReturnCode(*flush)(struct PFile_t* self);
140 ESR_ReturnCode(*seek)(struct PFile_t* self, long offset, int origin);
149 ESR_ReturnCode(*getPosition)(struct PFile_t* self, size_t* position);
158 ESR_ReturnCode(*isOpen)(struct PFile_t* self, ESR_BOOL* isOpen);
167 ESR_ReturnCode(*isEOF)(struct PFile_t* self, ESR_BOOL* isEof);
[all …]
DArrayList.h49 ESR_ReturnCode(*add)(struct ArrayList_t* self, void* element);
63 ESR_ReturnCode(*insertAt)(struct ArrayList_t* self, size_t index,
73 ESR_ReturnCode(*remove)(struct ArrayList_t* self, const void* element);
83 ESR_ReturnCode(*removeAtIndex)(struct ArrayList_t* self, size_t index);
91 ESR_ReturnCode(*removeAll)(struct ArrayList_t* self);
101 ESR_ReturnCode(*contains)(struct ArrayList_t* self, const void* element, ESR_BOOL* exists);
110 ESR_ReturnCode(*getSize)(struct ArrayList_t* self, size_t* size);
120 ESR_ReturnCode(*get)(struct ArrayList_t* self, size_t index, void** element);
131 ESR_ReturnCode(*set)(struct ArrayList_t* self, size_t index, void* element);
141 ESR_ReturnCode(*toStaticArray)(struct ArrayList_t* self, void** newArray);
[all …]
Dptrd.h89 PORTABLE_API ESR_ReturnCode PtrdSleep(asr_uint32_t sleepTimeMs);
103 PORTABLE_API ESR_ReturnCode PtrdMonitorCreate(PtrdMonitor **monitor);
113 PORTABLE_API ESR_ReturnCode PtrdMonitorDestroy(PtrdMonitor *monitor);
124 PORTABLE_API ESR_ReturnCode PtrdMonitorLockWithLine(PtrdMonitor *monitor, const LCHAR *fname, int l…
144 PORTABLE_API ESR_ReturnCode PtrdMonitorUnlock(PtrdMonitor *monitor);
166 PORTABLE_API ESR_ReturnCode PtrdMonitorWait(PtrdMonitor *monitor);
185 PORTABLE_API ESR_ReturnCode PtrdMonitorWaitTimeout(PtrdMonitor *monitor,
213 PORTABLE_API ESR_ReturnCode PtrdMonitorNotify(PtrdMonitor *monitor);
240 PORTABLE_API ESR_ReturnCode PtrdMonitorNotifyAll(PtrdMonitor *monitor);
256 PORTABLE_API ESR_ReturnCode PtrdMutexCreate(PtrdMutex **mutex);
[all …]
DPFileSystem.h67 ESR_ReturnCode(*destroy)(struct PFileSystem_t* self);
77ESR_ReturnCode(*createPFile)(struct PFileSystem_t* self, const LCHAR* path, ESR_BOOL littleEndian,…
87 ESR_ReturnCode(*mkdir)(struct PFileSystem_t* self, const LCHAR* path);
96 ESR_ReturnCode(*chdir)(struct PFileSystem_t* self, const LCHAR* path);
106 PORTABLE_API ESR_ReturnCode PFileSystemCreate(void);
114 PORTABLE_API ESR_ReturnCode PFileSystemIsCreated(ESR_BOOL* isCreated);
121 PORTABLE_API ESR_ReturnCode PFileSystemDestroy(void);
131 PORTABLE_API ESR_ReturnCode PFileSystemCreatePFile(const LCHAR* path, ESR_BOOL littleEndian, PFile*…
140 PORTABLE_API ESR_ReturnCode PFileSystemIsAbsolutePath(const LCHAR* path, ESR_BOOL* isAbsolute);
158 PORTABLE_API ESR_ReturnCode PFileSystemGetAbsolutePath(LCHAR* path, size_t* len);
[all …]
DPANSIFileImpl.h52 PORTABLE_API ESR_ReturnCode PANSIFileCreateImpl(const LCHAR* filename, ESR_BOOL isLittleEndian, PFi…
57 PORTABLE_API ESR_ReturnCode PANSIFileDestroyImpl(PFile* self);
62 PORTABLE_API ESR_ReturnCode PANSIFileOpenImpl(PFile* self, const LCHAR* mode);
67 PORTABLE_API ESR_ReturnCode PANSIFileCloseImpl(PFile* self);
72 PORTABLE_API ESR_ReturnCode PANSIFileReadImpl(PFile* self, void* buffer, size_t size, size_t* count…
77 PORTABLE_API ESR_ReturnCode PANSIFileWriteImpl(PFile* self, void* buffer, size_t size, size_t* coun…
82 PORTABLE_API ESR_ReturnCode PANSIFileFlushImpl(PFile* self);
87 PORTABLE_API ESR_ReturnCode PANSIFileSeekImpl(PFile* self, long offset, int origin);
92 PORTABLE_API ESR_ReturnCode PANSIFileGetPositionImpl(PFile* self, size_t* position);
97 PORTABLE_API ESR_ReturnCode PANSIFileIsOpenImpl(PFile* self, ESR_BOOL* isOpen);
[all …]
DLCHAR.h42 PORTABLE_API ESR_ReturnCode lstrtrim(LCHAR* text);
54 PORTABLE_API ESR_ReturnCode lstrinsert(const LCHAR* source, LCHAR* target, size_t offset, size_t* l…
64 PORTABLE_API ESR_ReturnCode lstrreplace(LCHAR* text, const LCHAR source, const LCHAR target);
74 PORTABLE_API ESR_ReturnCode lstrtoi(const LCHAR* text, int* result, int base);
84 PORTABLE_API ESR_ReturnCode lstrtoui(const LCHAR* text, unsigned int* result, int base);
94 PORTABLE_API ESR_ReturnCode lstrtosize_t(const LCHAR* text, size_t* result, int base);
103 PORTABLE_API ESR_ReturnCode lstrtof(const LCHAR* text, float* result);
112 PORTABLE_API ESR_ReturnCode lstrtob(const LCHAR* text, ESR_BOOL* result);
123 PORTABLE_API ESR_ReturnCode LCHARGetInt( LCHAR* text, int* value, LCHAR** finalPosition);
131 PORTABLE_API ESR_ReturnCode lstrupr(LCHAR* string);
[all …]
/external/srec/shared/src/
DESR_Session.c37 ESR_ReturnCode ESR_SessionCreate(const LCHAR* filename) in ESR_SessionCreate()
39 ESR_ReturnCode rc; in ESR_SessionCreate()
57 ESR_ReturnCode ESR_SessionGetProperty(const LCHAR* name, void** value, VariableTypes type) in ESR_SessionGetProperty()
63 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetInt(const LCHAR* name, int* value) in ESR_SessionGetInt()
69 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetUint16_t(const LCHAR* name, asr_uint16_t* value) in ESR_SessionGetUint16_t()
75 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetSize_t(const LCHAR* name, in ESR_SessionGetSize_t()
82 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetFloat(const LCHAR* name, float* value) in ESR_SessionGetFloat()
88 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetBool(const LCHAR* name, ESR_BOOL* value) in ESR_SessionGetBool()
94 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetLCHAR(const LCHAR* name, LCHAR* value, size_t* len) in ESR_SessionGetLCHAR()
100 ESR_ReturnCode ESR_SessionContains(const LCHAR* name, ESR_BOOL* exists) in ESR_SessionContains()
[all …]
/external/srec/srec/Nametag/include/
DSR_Nametags.h51 ESR_ReturnCode(*load)(struct SR_Nametags_t* self, const LCHAR* filename);
59 ESR_ReturnCode(*save)(struct SR_Nametags_t* self, const LCHAR* filename);
67 ESR_ReturnCode(*add)(struct SR_Nametags_t* self, SR_Nametag* nametag);
75 ESR_ReturnCode(*remove)(struct SR_Nametags_t* self, const LCHAR* id);
83 ESR_ReturnCode(*getSize)(struct SR_Nametags_t* self, size_t* result);
93 ESR_ReturnCode(*get)(struct SR_Nametags_t* self, const LCHAR* id, SR_Nametag** nametag);
103 ESR_ReturnCode(*getAtIndex)(struct SR_Nametags_t* self, size_t index, SR_Nametag** nametag);
112 ESR_ReturnCode(*contains)(struct SR_Nametags_t* self, const LCHAR* id, ESR_BOOL* result);
119 ESR_ReturnCode(*destroy)(struct SR_Nametags_t* self);
134 SREC_NAMETAG_API ESR_ReturnCode SR_NametagsCreate(SR_Nametags** self);
[all …]
/external/srec/srec/EventLog/include/
DSR_EventLog.h141 ESR_ReturnCode(*destroy)(struct SR_EventLog_t* self);
150 ESR_ReturnCode(*token)(struct SR_EventLog_t* self, const LCHAR* token, const LCHAR *value);
159 ESR_ReturnCode(*tokenInt)(struct SR_EventLog_t* self, const LCHAR* token, int value);
168 ESR_ReturnCode(*tokenPointer)(struct SR_EventLog_t* self, const LCHAR* token, void* value);
177 ESR_ReturnCode(*tokenUint16_t)(struct SR_EventLog_t* self, const LCHAR* token, asr_uint16_t value);
186 ESR_ReturnCode(*tokenSize_t)(struct SR_EventLog_t* self, const LCHAR* token, size_t value);
195 ESR_ReturnCode(*tokenBool)(struct SR_EventLog_t* self, const LCHAR* token, ESR_BOOL value);
204 ESR_ReturnCode(*tokenFloat)(struct SR_EventLog_t* self, const LCHAR* token, float value);
212 ESR_ReturnCode(*event)(struct SR_EventLog_t* self, const LCHAR* eventName);
220 ESR_ReturnCode(*eventSession)(struct SR_EventLog_t* self);
[all …]
/external/srec/srec/Recognizer/src/
DRecognizer.c28 ESR_ReturnCode SR_RecognizerStart(SR_Recognizer* self) in SR_RecognizerStart()
41 ESR_ReturnCode SR_RecognizerStop(SR_Recognizer* self) in SR_RecognizerStop()
54 ESR_ReturnCode SR_RecognizerDestroy(SR_Recognizer* self) in SR_RecognizerDestroy()
64 ESR_ReturnCode SR_RecognizerSetup(SR_Recognizer* self) in SR_RecognizerSetup()
74 ESR_ReturnCode SR_RecognizerUnsetup(SR_Recognizer* self) in SR_RecognizerUnsetup()
84 ESR_ReturnCode SR_RecognizerIsSetup(SR_Recognizer* self, ESR_BOOL* isSetup) in SR_RecognizerIsSetup()
94 ESR_ReturnCode SR_RecognizerGetParameter(SR_Recognizer* self, const LCHAR* name, LCHAR* value, size… in SR_RecognizerGetParameter()
104 ESR_ReturnCode SR_RecognizerGetSize_tParameter(SR_Recognizer* self, const LCHAR* name, size_t* valu… in SR_RecognizerGetSize_tParameter()
114 ESR_ReturnCode SR_RecognizerGetBoolParameter(SR_Recognizer* self, const LCHAR* name, ESR_BOOL* valu… in SR_RecognizerGetBoolParameter()
124 ESR_ReturnCode SR_RecognizerSetParameter(SR_Recognizer* self, const LCHAR* name, LCHAR* value) in SR_RecognizerSetParameter()
[all …]
/external/srec/srec/AcousticModels/include/
DSR_AcousticModels.h55 ESR_ReturnCode(*destroy)(struct SR_AcousticModels_t* self);
63 ESR_ReturnCode(*save)(struct SR_AcousticModels_t* self, const LCHAR* filename);
71 ESR_ReturnCode(*setParameter)(struct SR_AcousticModels_t* self, const LCHAR* key, LCHAR* value);
81ESR_ReturnCode(*getParameter)(struct SR_AcousticModels_t* self, const LCHAR* key, LCHAR* value, si…
88 ESR_ReturnCode(*getCount)(struct SR_AcousticModels_t* self, size_t* size);
98ESR_ReturnCode(*getID)(struct SR_AcousticModels_t* self, size_t index, SR_AcousticModelID* id, siz…
106 ESR_ReturnCode(*setID)(struct SR_AcousticModels_t* self, size_t index, SR_AcousticModelID* id);
128 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModelsDestroy(SR_AcousticModels* self);
135 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModelsLoad(const LCHAR* filename,
143 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModelsSave(SR_AcousticModels* self, const LCHAR* …
[all …]
DSR_AcousticModelsImpl.h52 ESR_ReturnCode(*setupPattern)(SR_AcousticModels* self, SR_Recognizer* recognizer);
59 ESR_ReturnCode(*unsetupPattern)(SR_AcousticModels* self);
65 ESR_ReturnCode(*getLegacyParameters)(CA_AcoustInputParams* params);
98 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModels_Destroy(SR_AcousticModels* self);
102 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModels_Save(SR_AcousticModels* self,
107 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModels_SetParameter(SR_AcousticModels* self,
113 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModels_GetParameter(SR_AcousticModels* self,
119 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModels_GetCount(SR_AcousticModels* self,
124 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModels_GetID(SR_AcousticModels* self,
131 SREC_ACOUSTICMODELS_API ESR_ReturnCode SR_AcousticModels_SetID(SR_AcousticModels* self,
[all …]
/external/srec/srec/Vocabulary/include/
DSR_Vocabulary.h49 ESR_ReturnCode(*save)(struct SR_Vocabulary_t* self, const LCHAR* filename);
60ESR_ReturnCode(*getPronunciation)(struct SR_Vocabulary_t* self, const LCHAR* word, LCHAR* pronunci…
68 ESR_ReturnCode(*getLanguage)(struct SR_Vocabulary_t* self, ESR_Locale* locale);
75 ESR_ReturnCode(*destroy)(struct SR_Vocabulary_t* self);
97 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyCreate(ESR_Locale locale, SR_Vocabulary** self);
106 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyLoad(const LCHAR* filename, SR_Vocabulary** self);
118 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularySave(SR_Vocabulary* self, const LCHAR* filename);
127 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyAddWord(SR_Vocabulary* self, const LCHAR* word);
136 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyGetLanguage(SR_Vocabulary* self, ESR_Locale* locale…
143 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyDestroy(SR_Vocabulary* self);
[all …]
/external/srec/portable/src/
DPFileWrap.c32 ESR_ReturnCode PFileClose( PFile *self ) in PFileClose()
41 ESR_ReturnCode PFileRead ( PFile *self, void *buffer, size_t size, size_t *count ) in PFileRead()
43 ESR_ReturnCode read_status; in PFileRead()
73 ESR_ReturnCode PFileWrite ( PFile *self, const void *buffer, size_t size, size_t *count ) in PFileWrite()
75 ESR_ReturnCode write_status; in PFileWrite()
94 ESR_ReturnCode PFileFlush ( PFile *self ) in PFileFlush()
96 ESR_ReturnCode flush_status; in PFileFlush()
114 ESR_ReturnCode PFileSeek ( PFile *self, long offset, int origin ) in PFileSeek()
116 ESR_ReturnCode seek_status; in PFileSeek()
134 ESR_ReturnCode PFileGetPosition ( PFile *self, size_t *position ) in PFileGetPosition()
[all …]

1234567