/external/srec/portable/include/ |
PFile.h | 87 ESR_ReturnCode(*open)(struct PFile_t* self, const LCHAR* mode); 179 ESR_ReturnCode(*getFilename)(struct PFile_t* self, LCHAR* filename, size_t* len); 209 ESR_ReturnCode(*vfprintf)(struct PFile_t* self, int* result, const LCHAR* format, va_list args); 229 ESR_ReturnCode(*fgets)(struct PFile_t* self, LCHAR* string, int n, LCHAR** result); 261 PORTABLE_API ESR_ReturnCode PFileOpen(PFile* self, const LCHAR* mode); 372 PORTABLE_API ESR_ReturnCode PFileFprintf(PFile* self, int* result, const LCHAR* format, va_list args); 383 PORTABLE_API ESR_ReturnCode PFileVfprintf(PFile* self, int* result, const LCHAR* format, va_list args); 401 PORTABLE_API ESR_ReturnCode PFileFgets(PFile* self, LCHAR* string, int n, LCHAR** result) [all...] |
/external/srec/shared/include/ |
HashMapImpl.h | 50 ESR_SHARED_API ESR_ReturnCode HashMap_Put(HashMap* self, const LCHAR* key, void* value); 54 ESR_SHARED_API ESR_ReturnCode HashMap_Remove(HashMap* self, const LCHAR* key); 58 ESR_SHARED_API ESR_ReturnCode HashMap_RemoveAndFree(HashMap* self, const LCHAR* key); 74 ESR_SHARED_API ESR_ReturnCode HashMap_ContainsKey(HashMap* self, const LCHAR* key, ESR_BOOL* exists); 78 ESR_SHARED_API ESR_ReturnCode HashMap_Get(HashMap* self, const LCHAR* key, void** value); 82 ESR_SHARED_API ESR_ReturnCode HashMap_GetKeyAtIndex(HashMap* self, const size_t index, LCHAR** key);
|
/external/srec/srec/Recognizer/include/ |
SR_RecognizerResult.h | 73 * Given an array of pointers to <code>LCHAR*</code>, populates that array with pointers 85 LCHAR** list, size_t* listSize); 99 const LCHAR* key, LCHAR* value, size_t* len); 145 * Given an array of pointers to <code>LCHAR*</code>, populates that array with pointers 158 LCHAR** list, 174 const LCHAR* key, 175 LCHAR* value, size_t* len);
|
SR_RecognizerImpl.h | 146 ESR_ReturnCode WaveformBuffer_ParseEndPointedResultAndTrim(WaveformBuffer* waveformBuffer, const LCHAR* end_pointed_result, const size_t bytes_per_frame); 294 LCHAR* eos_reason; 362 LCHAR* grammarID; 395 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerGetParameterImpl(SR_Recognizer* self, const LCHAR* key, LCHAR* value, size_t* len); 399 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerGetSize_tParameterImpl(SR_Recognizer* self, const LCHAR* key, size_t* value); 403 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerGetBoolParameterImpl(SR_Recognizer* self, const LCHAR* key, ESR_BOOL* value); 407 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerSetParameterImpl(SR_Recognizer* self, const LCHAR* key, LCHAR* value); 411 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerSetSize_tParameterImpl(SR_Recognizer* self, const LCHAR* key, size_t value) [all...] |
/external/srec/srec/Semproc/src/ |
SemanticProcessorImpl.c | 63 const LCHAR* expression; 64 const LCHAR* ruleName; 78 static const LCHAR* WORD_NOT_FOUND = L("word_not_found"); 91 static const LCHAR* lookUpWord(SR_SemanticGraphImpl* semgraph, wordID wdid); 96 static const LCHAR* lookUpScript(SR_SemanticGraphImpl* semgraph, const LCHAR* script_label); 103 static ESR_ReturnCode interpretScripts(SR_SemanticProcessorImpl* semproc, LCHAR* scripts, SR_SemanticResult** result); 130 impl->acc_scripts = MALLOC(sizeof(LCHAR) * MAX_SCRIPT_LEN, NULL); 177 ESR_ReturnCode append_with_check(LCHAR** dst, const LCHAR src, const LCHAR* end [all...] |
SemanticResult.c | 38 ESR_ReturnCode SR_SemanticResultGetKeyList(SR_SemanticResult* self, LCHAR** list, size_t* size) 48 ESR_ReturnCode SR_SemanticResultGetValue(SR_SemanticResult* self, const LCHAR* key, LCHAR* value, size_t* len)
|
LexicalAnalyzer.c | 27 ESR_BOOL isIdentifierChar(LCHAR p); 49 ESR_ReturnCode LA_Analyze(LexicalAnalyzer *lex, LCHAR *script) 74 ESR_ReturnCode LA_nextToken(LexicalAnalyzer *lex, LCHAR *tokenBuf, size_t* tokenLen) 76 LCHAR *p; 77 LCHAR *q; 129 ESR_BOOL isIdentifierChar(LCHAR p)
|
/external/srec/srec/EventLog/src/ |
EventLog.c | 36 ESR_ReturnCode SR_EventLogToken(SR_EventLog* self, const LCHAR* token, const LCHAR *value) 46 ESR_ReturnCode SR_EventLogTokenInt(SR_EventLog* self, const LCHAR* token, int value) 56 ESR_ReturnCode SR_EventLogTokenUint16_t(SR_EventLog* self, const LCHAR* token, asr_uint16_t value) 66 ESR_ReturnCode SR_EventLogTokenSize_t(SR_EventLog* self, const LCHAR* token, size_t value) 76 ESR_ReturnCode SR_EventLogTokenBool(SR_EventLog* self, const LCHAR* token, ESR_BOOL value) 86 ESR_ReturnCode SR_EventLogTokenFloat(SR_EventLog* self, const LCHAR* token, float value) 106 ESR_ReturnCode SR_EventLogEvent(SR_EventLog* self, const LCHAR *eventName) 116 ESR_ReturnCode SR_EventLogAudioOpen(SR_EventLog* self, const LCHAR* audio_type, size_t sample_rate, size_t sample_size) 146 ESR_ReturnCode SR_EventLogAudioGetFilename(SR_EventLog* self, LCHAR* waveformFilename, size_t* len [all...] |
/external/srec/tools/dictTest/ |
dictTest.c | 21 #include "LCHAR.h" 34 static ESR_ReturnCode InitSession ( LCHAR *parfilename ); 42 void doGetProns(SR_Vocabulary *vocab, LCHAR* phrase, size_t len, FILE* fout) 45 LCHAR prons[MAX_PRONS_LENGTH]; 54 LCHAR *pron = 0; 69 LCHAR line[2 * MAX_PRONS_LENGTH]; 70 LCHAR phoneme[MAX_PRONS_LENGTH]; 71 LCHAR* phrase; 72 LCHAR* expectedPhoneme; 73 LCHAR** tokenArray [all...] |
/external/srec/srec/Grammar/src/ |
SR_Grammar.c | 38 ESR_ReturnCode SR_GrammarAddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word, 39 const LCHAR* pronunciation, int weight, const LCHAR* tag) 61 ESR_ReturnCode SR_GrammarAddNametagToSlot(SR_Grammar* self, const LCHAR* slot, 62 const SR_Nametag* nametag, int weight, const LCHAR* tag) 72 ESR_ReturnCode SR_GrammarSetDispatchFunction(SR_Grammar* self, const LCHAR* name, void* userData, SR_GrammarDispatchFunction function) 82 ESR_ReturnCode SR_GrammarSave(SR_Grammar* self, const LCHAR* filename) 92 ESR_ReturnCode SR_GrammarSetParameter(SR_Grammar* self, const LCHAR* key, void* value) 102 ESR_ReturnCode SR_GrammarSetSize_tParameter(SR_Grammar* self, const LCHAR* key, size_t value [all...] |
/external/srec/srec/AcousticModels/include/ |
SR_AcousticModelsImpl.h | 103 const LCHAR* filename); 108 const LCHAR* key, 109 LCHAR* value); 114 const LCHAR* key, 115 LCHAR* value, size_t* len);
|
/external/srec/srec/AcousticModels/src/ |
AcousticModels.c | 36 ESR_ReturnCode SR_AcousticModelsSave(SR_AcousticModels* self, const LCHAR* filename) 46 ESR_ReturnCode SR_AcousticModelsSetParameter(SR_AcousticModels* self, const LCHAR* key, LCHAR* value) 56 ESR_ReturnCode SR_AcousticModelsGetParameter(SR_AcousticModels* self, const LCHAR* key, LCHAR* value, size_t* len)
|
/external/srec/srec/EventLog/include/ |
SR_EventLog.h | 143 ESR_ReturnCode(*token)(struct SR_EventLog_t* self, const LCHAR* token, const LCHAR *value); 152 ESR_ReturnCode(*tokenInt)(struct SR_EventLog_t* self, const LCHAR* token, int value); 161 ESR_ReturnCode(*tokenUint16_t)(struct SR_EventLog_t* self, const LCHAR* token, asr_uint16_t value); 170 ESR_ReturnCode(*tokenSize_t)(struct SR_EventLog_t* self, const LCHAR* token, size_t value); 179 ESR_ReturnCode(*tokenBool)(struct SR_EventLog_t* self, const LCHAR* token, ESR_BOOL value); 188 ESR_ReturnCode(*tokenFloat)(struct SR_EventLog_t* self, const LCHAR* token, float value); 196 ESR_ReturnCode(*event)(struct SR_EventLog_t* self, const LCHAR* eventName); 215 ESR_ReturnCode(*audioOpen)(struct SR_EventLog_t* self, const LCHAR* audio_type, size_t sample_rate, size_t sample_size); 241 ESR_ReturnCode(*audioGetFilename)(struct SR_EventLog_t* self, LCHAR* waveformFilename, size_t* len) [all...] |
/external/srec/srec/Semproc/include/ |
SR_SemanticGraphImpl.h | 126 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticGraph_Load(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add); 134 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticGraph_Save(SR_SemanticGraph* self, const LCHAR* filename, int version_number); 138 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticGraph_AddWordToSlot(SR_SemanticGraph* self, const LCHAR* slot, const LCHAR* word, const LCHAR* tag, const ESR_BOOL maybeMultiMeaning);
|
/external/srec/shared/src/ |
HashMap.c | 25 ESR_ReturnCode HashMapPut(HashMap* self, const LCHAR* key, void* value) 32 ESR_ReturnCode HashMapRemove(HashMap* self, const LCHAR* key) 39 ESR_ReturnCode HashMapRemoveAndFree(HashMap* self, const LCHAR* key) 67 ESR_ReturnCode HashMapContainsKey(HashMap* self, const LCHAR* key, ESR_BOOL* exists) 81 ESR_ReturnCode HashMapGet(HashMap* self, const LCHAR* key, void** value) 88 ESR_ReturnCode HashMapGetKeyAtIndex(HashMap* self, const size_t index, LCHAR** key)
|
LStringImpl.c | 40 impl->value = MALLOC(sizeof(LCHAR) * INITIAL_SIZE, MTAG); 53 ESR_ReturnCode LString_Append(LString* self, const LCHAR* value) 62 LCHAR* temp = REALLOC(impl->value, sizeof(LCHAR) * (needed + (impl->size / 2))); 65 impl->size = sizeof(LCHAR) * (needed + (impl->size / 2)); 80 ESR_ReturnCode LString_ToLCHAR(LString* self, LCHAR** result)
|
lstring.c | 25 ESR_ReturnCode LStringAppend(LString* self, const LCHAR* value) 35 ESR_ReturnCode LStringToLCHAR(LString* self, LCHAR** result)
|
/external/srec/portable/src/ |
PFileSystem.c | 21 #include "LCHAR.h" 44 extern LCHAR PFileSystemCurrentDirectory[P_PATH_MAX]; 46 PORTABLE_API ESR_ReturnCode PFileSystemCanonicalSlashes(LCHAR* path) 64 ESR_ReturnCode PFileSystemLinearToPathTokens(const LCHAR* path, LCHAR*** tokenArray, size_t* count) 67 const LCHAR* beginning; 68 const LCHAR* ending; 69 LCHAR linear[P_PATH_MAX]; 71 LCHAR* value = NULL; 89 value = MALLOC(sizeof(LCHAR) * (ending - beginning + 1 + 1), MTAG) [all...] |
PANSIFileSystemImpl.c | 21 #include "LCHAR.h" 75 LCHAR* key; 76 LCHAR* value; 101 ESR_ReturnCode PANSIFileSystemAddPathImpl(PFileSystem* self, const LCHAR* virtualPath, const LCHAR* realPath) 105 LCHAR* key = NULL; 106 LCHAR* value = NULL; 120 key = MALLOC(sizeof(LCHAR) * len, MTAG); 132 value = MALLOC(sizeof(LCHAR) * (LSTRLEN(realPath) + 1), MTAG); 160 LCHAR* oldValue [all...] |
/external/srec/portable/src/UNIX/ |
PANSIFileSystemUNIXImpl.c | 28 #include "LCHAR.h" 31 ESR_ReturnCode PANSIFileSystemGetVirtualPathImpl(PFileSystem* self, LCHAR* path, size_t* len) 35 LCHAR driveLetter = 0; 36 LCHAR* key; 37 LCHAR* value; 38 LCHAR* bestKey = NULL; 39 LCHAR* bestValue = NULL; 91 ESR_ReturnCode PANSIFileSystemMkdirImpl(PFileSystem* self, const LCHAR* path) 93 LCHAR realPath[P_PATH_MAX]; 120 ESR_ReturnCode PANSIFileSystemGetcwdImpl(PFileSystem* self, LCHAR* path, size_t* len [all...] |
/external/srec/srec/Recognizer/src/ |
Recognizer.c | 94 ESR_ReturnCode SR_RecognizerGetParameter(SR_Recognizer* self, const LCHAR* name, LCHAR* value, size_t* len) 104 ESR_ReturnCode SR_RecognizerGetSize_tParameter(SR_Recognizer* self, const LCHAR* name, size_t* value) 114 ESR_ReturnCode SR_RecognizerGetBoolParameter(SR_Recognizer* self, const LCHAR* name, ESR_BOOL* value) 124 ESR_ReturnCode SR_RecognizerSetParameter(SR_Recognizer* self, const LCHAR* name, LCHAR* value) 134 ESR_ReturnCode SR_RecognizerSetSize_tParameter(SR_Recognizer* self, const LCHAR* name, size_t value) 147 ESR_ReturnCode SR_RecognizerSetBoolParameter(SR_Recognizer* self, const LCHAR* name, ESR_BOOL value) 158 const LCHAR* ruleName) 180 const LCHAR* ruleName, unsigned int weight [all...] |
/external/srec/srec/AcousticState/src/ |
AcousticState.c | 39 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* filename) 53 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* filename) 68 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSet ( SR_Recognizer* recognizer, const LCHAR *param_string ) 83 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateGet ( SR_Recognizer* recognizer, LCHAR *param_string, size_t* len )
|
/external/srec/srec/Session/src/ |
SR_Session.c | 27 ESR_ReturnCode SR_SessionCreate(const LCHAR* filename) 30 LCHAR baseDirectory[P_PATH_MAX]; 31 LCHAR* fwdSlash; 32 LCHAR* backSlash;
|
/external/srec/srec/include/ |
hmmlib.h | 32 int read_word_transcription(const LCHAR* basename, vocab_info* voc, ESR_Locale* locale);
|
/external/srec/tools/make_g2g/ |
make_g2g.c | 32 #include "LCHAR.h" 40 static void usage(LCHAR* exename) 49 LCHAR base[P_PATH_MAX]; 50 LCHAR* p; 51 LCHAR outFilename[P_PATH_MAX];
|