/external/srec/shared/include/ |
ESR_CommandLine.h | 48 ESR_SHARED_API ESR_ReturnCode ESR_CommandLineGetValue(int argc, const LCHAR* argv[], 49 LCHAR* key, LCHAR* value,
|
ESR_Session.h | 50 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) [all...] |
ESR_SessionType.h | 53 ESR_ReturnCode(*getProperty)(struct ESR_SessionType_t* self, const LCHAR* name, void** value, VariableTypes type); 62 ESR_ReturnCode(*getPropertyType)(struct ESR_SessionType_t* self, const LCHAR* name, VariableTypes* type); 71 ESR_ReturnCode(*getInt)(struct ESR_SessionType_t* self, const LCHAR* name, int* value); 79 ESR_ReturnCode(*getUint16_t)(struct ESR_SessionType_t* self, const LCHAR* name, asr_uint16_t* value); 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); 116 * @return ESR_INVALID_RESULT_TYPE if the property is not a LCHAR* 118 ESR_ReturnCode(*getLCHAR)(struct ESR_SessionType_t* self, const LCHAR* name, LCHAR* value, size_t* len) [all...] |
ESR_SessionTypeImpl.h | 67 const LCHAR* name, 74 const LCHAR* name, 80 const LCHAR* name, 86 const LCHAR* name, 92 const LCHAR* name, 98 const LCHAR* name, 104 const LCHAR* name, 105 LCHAR* value, size_t* len); 110 const LCHAR* name, 116 const LCHAR* name [all...] |
ESR_SessionImpl.h | 35 const LCHAR* name, 42 const LCHAR* name, 48 const LCHAR* name, 54 const LCHAR* name, 60 const LCHAR* name, 66 const LCHAR* name, 67 LCHAR* value, size_t* len); 72 const LCHAR* name, 78 const LCHAR* name, 85 const LCHAR* name [all...] |
LStringImpl.h | 41 LCHAR* value; 53 ESR_SHARED_API ESR_ReturnCode LString_Append(LString* self, const LCHAR* value); 61 ESR_SHARED_API ESR_ReturnCode LString_ToLCHAR(LString* self, LCHAR** result);
|
/external/srec/srec/Semproc/include/ |
SR_ExpressionEvaluator.h | 66 SREC_SEMPROC_API ESR_ReturnCode EE_concat(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen); 76 SREC_SEMPROC_API ESR_ReturnCode EE_conditional(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen); 86 SREC_SEMPROC_API ESR_ReturnCode EE_add(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen); 96 SREC_SEMPROC_API ESR_ReturnCode EE_subtract(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen) [all...] |
SR_LexicalAnalyzer.h | 41 LCHAR* script; 46 LCHAR* nextToken; 62 SREC_SEMPROC_API ESR_ReturnCode LA_Analyze(LexicalAnalyzer *self, LCHAR *script); 76 SREC_SEMPROC_API ESR_ReturnCode LA_nextToken(LexicalAnalyzer *self, LCHAR* token, size_t* tokenLen);
|
SR_SemanticGraph.h | 62 ESR_ReturnCode(*load)(struct SR_SemanticGraph_t* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add); 78 ESR_ReturnCode(*save)(struct SR_SemanticGraph_t* self, const LCHAR* filename, int version_number); 89 ESR_ReturnCode(*addWordToSlot)(struct SR_SemanticGraph_t* self, const LCHAR* slot, const LCHAR* word, const LCHAR* tag, const ESR_BOOL maybeMultiMeaning);
|
SR_SemanticResult.h | 41 * Given an array of pointers to <code>LCHAR*</code>, populates that array with pointers 49 ESR_ReturnCode(*getKeyList)(struct SR_SemanticResult_t* self, LCHAR** list, size_t* size); 59 ESR_ReturnCode(*getValue)(struct SR_SemanticResult_t* self, const LCHAR* key, LCHAR* value, size_t* len); 84 * Given an array of pointers to <code>LCHAR*</code>, populates that array with pointers 92 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticResultGetKeyList(SR_SemanticResult* self, LCHAR** list, 103 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticResultGetValue(SR_SemanticResult* self, const LCHAR* key, LCHAR* value, size_t* len);
|
SR_SemanticResultImpl.h | 53 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticResult_GetKeyList(SR_SemanticResult* self, LCHAR** list, size_t* size); 57 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticResult_GetValue(SR_SemanticResult* self, const LCHAR* key, LCHAR* value, size_t* len);
|
/external/srec/portable/include/ |
LCHAR.h | 2 * LCHAR.h * 30 * @addtogroup LCHARModule LCHAR API functions 31 * LCHAR manipulation functions. 42 PORTABLE_API ESR_ReturnCode lstrtrim(LCHAR* text); 54 PORTABLE_API ESR_ReturnCode lstrinsert(const LCHAR* source, LCHAR* target, size_t offset, size_t* len); 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) [all...] |
PFileSystemImpl.h | 52 PORTABLE_API LCHAR PFileSystemCurrentDirectory[P_PATH_MAX]; 81 PORTABLE_API ESR_ReturnCode PFileSystemAddPathImpl(PFileSystem* self, const LCHAR* basePath); 90 PORTABLE_API ESR_ReturnCode PFileSystemRemovePathImpl(PFileSystem* self, const LCHAR* basePath); 102 PORTABLE_API ESR_ReturnCode PFileSystemGetFS(const LCHAR* path, PFileSystem** fileSystem, LCHAR* relativePath); 113 PORTABLE_API ESR_ReturnCode PFileSystemIsDirectoryPath(const LCHAR* path, ESR_BOOL* isDirectory);
|
PFileSystem.h | 77 ESR_ReturnCode(*createPFile)(struct PFileSystem_t* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file); 87 ESR_ReturnCode(*mkdir)(struct PFileSystem_t* self, const LCHAR* path); 96 ESR_ReturnCode(*chdir)(struct PFileSystem_t* self, const LCHAR* path); 131 PORTABLE_API ESR_ReturnCode PFileSystemCreatePFile(const LCHAR* path, ESR_BOOL littleEndian, PFile** file); 140 PORTABLE_API ESR_ReturnCode PFileSystemIsAbsolutePath(const LCHAR* path, ESR_BOOL* isAbsolute); 158 PORTABLE_API ESR_ReturnCode PFileSystemGetAbsolutePath(LCHAR* path, size_t* len); 166 PORTABLE_API ESR_ReturnCode PFileSystemCanonicalSlashes(LCHAR* path); 180 PORTABLE_API ESR_ReturnCode PFileSystemGetParentDirectory(LCHAR* path, size_t* len); 189 PORTABLE_API ESR_ReturnCode PFileSystemMkdir(const LCHAR* path); 199 PORTABLE_API ESR_ReturnCode PFileSystemGetcwd(LCHAR* path, size_t* len) [all...] |
PANSIFileSystem.h | 66 ESR_ReturnCode(*addPath)(PFileSystem* self, const LCHAR* virtualPath, const LCHAR* realPath); 75 ESR_ReturnCode(*removePath)(PFileSystem* self, const LCHAR* virtualPath); 88 ESR_ReturnCode(*getcwd)(PFileSystem* self, LCHAR* cwd, size_t* len); 118 PORTABLE_API ESR_ReturnCode PANSIFileSystemAddPath(const LCHAR* virtualPath, const LCHAR* realPath); 126 PORTABLE_API ESR_ReturnCode PANSIFileSystemRemovePath(const LCHAR* virtualPath); 142 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetcwd(LCHAR* cwd, size_t* len);
|
PStackTrace.h | 80 PORTABLE_API ESR_ReturnCode PStackTraceGetValue(LCHAR* text, size_t* len); 90 PORTABLE_API ESR_ReturnCode PStackTraceGetFunctionName(LCHAR* text, size_t* len); 98 PORTABLE_API ESR_ReturnCode PStackTracePopLevel(LCHAR* text);
|
PANSIFileSystemImpl.h | 61 PORTABLE_API ESR_ReturnCode PANSIFileSystemCreatePFileImpl(PFileSystem* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file); 66 PORTABLE_API ESR_ReturnCode PANSIFileSystemAddPathImpl(PFileSystem* self, const LCHAR* virtualPath, const LCHAR* realPath); 71 PORTABLE_API ESR_ReturnCode PANSIFileSystemRemovePathImpl(PFileSystem* self, const LCHAR* virtualPath); 76 PORTABLE_API ESR_ReturnCode PANSIFileSystemMkdirImpl(PFileSystem* self, const LCHAR* path); 81 PORTABLE_API ESR_ReturnCode PANSIFileSystemChdirImpl(PFileSystem* self, const LCHAR* path); 86 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetcwdImpl(PFileSystem* self, LCHAR* cwd, size_t* len); 96 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetRealPathImpl(PFileSystem* self, LCHAR* path, size_t* len); 106 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetVirtualPathImpl(PFileSystem* self, LCHAR* path, size_t* len);
|
PFileImpl.h | 41 LCHAR* filename; 65 PORTABLE_API ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL littleEndian); 75 PORTABLE_API ESR_ReturnCode PFileGetFilenameImpl(PFile* self, LCHAR* filename, size_t* len); 80 PORTABLE_API ESR_ReturnCode PFileVfprintfImpl(PFile* self, int* result, const LCHAR* format, va_list args);
|
/external/srec/srec/AcousticState/include/ |
SR_AcousticState.h | 64 ESR_ReturnCode(*load)(SR_Recognizer* recognizer, const LCHAR* filename); 72 ESR_ReturnCode(*save)(SR_Recognizer* recognizer, const LCHAR* filename); 80 ESR_ReturnCode(*get)(SR_Recognizer* recognizer, LCHAR *param_string, size_t* len ); 88 ESR_ReturnCode(*set)(SR_Recognizer* recognizer, const LCHAR *param_string ); 121 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* filename); 129 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* filename); 149 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSet ( SR_Recognizer* recognizer, const LCHAR *param_string ); 150 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateGet ( SR_Recognizer* recognizer, LCHAR *param_string, size_t* len );
|
/external/srec/srec/Session/include/ |
SR_Session.h | 45 SREC_SESSION_API ESR_ReturnCode SR_SessionCreate(const LCHAR* filename);
|
/external/srec/srec/Vocabulary/include/ |
SR_Vocabulary.h | 49 ESR_ReturnCode(*save)(struct SR_Vocabulary_t* self, const LCHAR* filename); 60 ESR_ReturnCode(*getPronunciation)(struct SR_Vocabulary_t* self, const LCHAR* word, LCHAR* pronunciation, size_t* len); 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); 154 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyGetPronunciation(SR_Vocabulary* self, const LCHAR* word, LCHAR* pronunciation, size_t* len); 161 SREC_VOCABULARY_API ESR_ReturnCode SR_Vocabulary_etiinf_conv_multichar(ESR_Locale locale, const LCHAR* input, LCHAR* output, size_t max_len) [all...] |
/external/srec/srec/Grammar/include/ |
SR_Grammar.h | 68 typedef ESR_ReturnCode(*SR_GrammarDispatchFunction)(LCHAR* functionName, LCHAR** argv, size_t argc, void* value, LCHAR* result, size_t* resultSize); 104 ESR_ReturnCode(*save)(struct SR_Grammar_t* self, const LCHAR* filename); 115 ESR_ReturnCode(*checkParse)(struct SR_Grammar_t* self, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount); 130 ESR_ReturnCode(*addWordToSlot)(struct SR_Grammar_t* self, const LCHAR* slot, const LCHAR* word, 131 const LCHAR* pronunciation, int weight, const LCHAR* tag); 153 ESR_ReturnCode(*addNametagToSlot)(struct SR_Grammar_t* self, const LCHAR* slot, [all...] |
SR_GrammarImpl.h | 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* vocabulary, const LCHAR* name); 130 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddRule(SR_Grammar* self, const LCHAR* name, const LCHAR* value); 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_BOOL* result); 142 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddWordToSlot(SR_Grammar* self, const LCHAR* slot, 143 const LCHAR* word, const LCHAR* pronunciation, 144 int weight, const LCHAR* tag) [all...] |
/external/srec/srec/EventLog/include/ |
SR_EventLogImpl.h | 53 LCHAR tokenBuf[MAX_LOG_RECORD]; 64 LCHAR logFilename[P_PATH_MAX]; 65 LCHAR waveformFilename[P_PATH_MAX]; 76 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_Token(SR_EventLog* self, const LCHAR* token, const LCHAR *value); 78 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenInt(SR_EventLog* self, const LCHAR* token, int value); 80 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenUint16_t(SR_EventLog* self, const LCHAR* token, asr_uint16_t value); 82 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenSize_t(SR_EventLog* self, const LCHAR* token, size_t value); 84 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenBool(SR_EventLog* self, const LCHAR* token, ESR_BOOL value); 86 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenFloat(SR_EventLog* self, const LCHAR* token, float value) [all...] |
/external/srec/shared/src/ |
ESR_Session.c | 27 #include "LCHAR.h" 37 ESR_ReturnCode ESR_SessionCreate(const LCHAR* filename) 57 ESR_ReturnCode ESR_SessionGetProperty(const LCHAR* name, void** value, VariableTypes type) 63 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetInt(const LCHAR* name, int* value) 69 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetUint16_t(const LCHAR* name, asr_uint16_t* value) 75 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetSize_t(const LCHAR* name, 82 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetFloat(const LCHAR* name, float* value) 88 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetBool(const LCHAR* name, ESR_BOOL* value) 94 ESR_SHARED_API ESR_ReturnCode ESR_SessionGetLCHAR(const LCHAR* name, LCHAR* value, size_t* len [all...] |