/external/svox/pico/lib/ |
D | picoos.h | 65 typedef picopal_char picoos_char; typedef 78 picoos_int32 picoos_atoi(const picoos_char *); 79 picoos_int8 picoos_strcmp(const picoos_char *, const picoos_char *); 80 picoos_int8 picoos_strncmp(const picoos_char *a, const picoos_char *b, picoos_objsize_t siz); 81 picoos_uint32 picoos_strlen(const picoos_char *); 82 picoos_char * picoos_strchr(const picoos_char *, picoos_char); 83 picoos_char *picoos_strstr(const picoos_char *s, const picoos_char *substr); 84 picoos_int16 picoos_slprintf(picoos_char * b, picoos_uint32 bsize, const picoos_char *f, ...); 85 picoos_char * picoos_strcpy(picoos_char *, const picoos_char *); 86 picoos_char * picoos_strcat(picoos_char *, const picoos_char *); [all …]
|
D | picoos.c | 41 #define picoos_SVOXFileHeader (picoos_char *)" (C) SVOX AG " 48 #define PICOOS_MSG_EXC_NUMBER_FORMAT (picoos_char *) "wrong number format" 49 #define PICOOS_MSG_EXC_MAX_NUM_EXCEED (picoos_char *) "number exceeded" 50 #define PICOOS_MSG_EXC_NAME_CONFLICT (picoos_char *) "name conflict" 51 #define PICOOS_MSG_EXC_NAME_UNDEFINED (picoos_char *) "name undefined" 52 #define PICOOS_MSG_EXC_NAME_ILLEGAL (picoos_char *) "illegal name" 55 #define PICOOS_MSG_EXC_BUF_OVERFLOW (picoos_char *) "buffer overflow" 56 #define PICOOS_MSG_EXC_BUF_UNDERFLOW (picoos_char *) "buffer underflow" 57 #define PICOOS_MSG_EXC_BUF_IGNORE (picoos_char *) "buffer error" 60 #define PICOOS_MSG_EXC_OUT_OF_MEM (picoos_char *) "out of memory" [all …]
|
D | picorsrc.h | 55 typedef picoos_char picorsrc_resource_name_t[PICORSRC_MAX_RSRC_NAME_SIZ]; 67 #define PICORSRC_FIELD_VALUE_TEXTANA (picoos_char *) "TEXTANA" 68 #define PICORSRC_FIELD_VALUE_SIGGEN (picoos_char *) "SIGGEN" 69 #define PICORSRC_FIELD_VALUE_USERLEX (picoos_char *) "USERLEX" 70 #define PICORSRC_FIELD_VALUE_USERTPP (picoos_char *) "USERTPP" 117 picoos_char * fileName, picorsrc_Resource * resource); 128 picoos_char * name, picoos_uint32 maxlen); 138 picoos_char * voiceName); 142 picoos_char * voiceName); 145 picoos_char * voiceName, picoos_char * resourceName); [all …]
|
D | picoapi.c | 212 …picoos_strlcpy((picoos_char *) outMessage, (picoos_char *) "'system' not initialized", PICO_RETSTR… in pico_getSystemStatusMessage() 219 … picoos_strlcpy((picoos_char *) outMessage, (picoos_char *) "system ok", PICO_RETSTRINGSIZE); in pico_getSystemStatusMessage() 222 … picoos_setErrorMsg((picoos_char *) outMessage, PICO_RETSTRINGSIZE, errCode, NULL, NULL, NULL); in pico_getSystemStatusMessage() 225 … picoos_emGetExceptionMessage(system->common->em, (picoos_char *) outMessage, PICO_RETSTRINGSIZE); in pico_getSystemStatusMessage() 285 …picoos_strlcpy((picoos_char *) outMessage, (picoos_char *) "'system' not initialized", PICO_RETSTR… in pico_getSystemWarning() 293 …picoos_emGetWarningMessage(system->common->em, warningIndex, (picoos_char *) outMessage, (picoos_u… in pico_getSystemWarning() 329 …status = picorsrc_loadResource(system->rm, (picoos_char *) lingwareFileName, (picorsrc_Resource *)… in pico_loadResource() 392 …return picorsrc_rsrcGetName((picorsrc_Resource)resource, (picoos_char *) outName, PICO_RETSTRINGSI… in pico_getResourceName() 418 } else if (picoos_strlen((picoos_char *) voiceName) == 0) { in pico_createVoiceDefinition() 422 status = picorsrc_createVoiceDefinition(system->rm, (picoos_char *) voiceName); in pico_createVoiceDefinition() [all …]
|
D | picorsrc.c | 170 picoos_char voiceName[PICO_MAX_VOICE_NAME_SIZE]; 259 static pico_status_t findResource(picorsrc_ResourceManager this, picoos_char * resourceName, picors… in findResource() 272 static picoos_uint8 isResourceLoaded(picorsrc_ResourceManager this, picoos_char * resourceName) { in isResourceLoaded() 282 static pico_status_t parse_resource_name(picoos_char * fileName) in parse_resource_name() 286 (picoos_char *)PICO_BIN_EXTENSION)) { in parse_resource_name() 309 …return picoos_emRaiseException(this->common->em,status,NULL,(picoos_char *)"problem reading file h… in readHeader() 480 picoos_char str[PICOKNOW_MAX_KB_NAME_SIZ]; in picorsrc_getKbList() 493 …status = (picoos_get_str((picoos_char *)data,&curpos,str,PICOOS_MAX_FIELD_STRING_LEN)) ? PICO_OK :… in picorsrc_getKbList() 537 picoos_char * fileName, picorsrc_Resource * resource) in picorsrc_loadResource() 559 …return picoos_emRaiseException(this->common->em,PICO_EXC_MAX_NUM_EXCEED,NULL,(picoos_char *)"no mo… in picorsrc_loadResource() [all …]
|
D | picodata.c | 64 picoos_char *buf; 146 picoos_char ch) in picodata_cbPutCh() 161 picoos_char ch; in picodata_cbGetCh() 302 this->buf[this->rear++] = (picoos_char)buf[i]; in data_cbPutItem() 593 result = picodata_cbPutCh(this->cbOut,(picoos_char) ch); in puSimpleStep() 919 (picoos_char *) "phoneme sequence too long (%s)", in picodata_mapPAStrToPAIds() 925 (picoos_char *) "not recognized as xsampa (%s)", in picodata_mapPAStrToPAIds() 931 (picoos_char *) "illeagal phoneme sequence (%s)", in picodata_mapPAStrToPAIds() 956 picoos_strlcpy(outputPhoneIds, (picoos_char *) "", maxOutputPhoneIds); in picodata_mapPAStrToPAIds() 958 (picoos_char *) "alphabet not supported (%s)", alphabet); in picodata_mapPAStrToPAIds() [all …]
|
D | picotok.c | 196 #define TOK_PUNC_FLUSH (picoos_char) '\0' 281 return (picoos_strcmp((picoos_char*)str1, (picoos_char*)str2) == 0); in tok_strEqual() 340 (*paramVal) = picoos_atoi((picoos_char*)params[i].paramVal); in tok_getParamIntVal() 358 picoos_strcpy((picoos_char*)paramStrVal, (picoos_char*)params[i].paramVal); in tok_getParamStrVal() 379 picoos_strlcpy((picoos_char*)phones, (picoos_char*)params[i].paramVal, phoneslen); in tok_getParamPhonesStr() 413 picoos_strlcpy((picoos_char*)tmpWord, (picoos_char*)durStr, sizeof(tmpWord)); in tok_getDur() 466 len = picoos_strlen((picoos_char*)strval); in tok_isRelative() 471 (*val) = 1000 + (picoos_atoi((picoos_char*)strval) * 10); in tok_isRelative() 473 (*val) = picoos_atoi((picoos_char*)strval) * 10; in tok_isRelative() 507 len = picoos_strlen((picoos_char*)str); in tok_putItem() [all …]
|
D | picokdbg.c | 126 const picoos_char *phsym) { in picokdbg_getPhoneId() 137 (picoos_char *)&(kdbg->phonesyms[i * KDBG_PHONESYMLEN_MAX]))) in picokdbg_getPhoneId() 144 picoos_char *picokdbg_getPhoneSym(const picokdbg_Dbg this, in picokdbg_getPhoneSym() 152 return (picoos_char *)&(kdbg->phonesyms[phid * KDBG_PHONESYMLEN_MAX]); in picokdbg_getPhoneSym()
|
D | picoctrl.h | 56 const picoos_char * voiceName 67 picoos_char * text, 79 picoos_char * buffer,
|
D | picokpr.c | 288 return picoos_strcmp((picoos_char*)lstrp,(picoos_char*)str) == 0; in picokpr_isEqual() 298 return (picoos_strstr((picoos_char*)str, (picoos_char*)lstrp) == (picoos_char*)str); in picokpr_isEqualHead() 308 return (picoos_strstr((picoos_char*)str, (picoos_char*)lstrp) != NULL); in picokpr_isEqualMid() 319 lstart = picoos_strlen((picoos_char*)str) - picoos_strlen((picoos_char*)lstrp); in picokpr_isEqualTail() 321 return (picoos_strstr((picoos_char*)&(str[lstart]), (picoos_char*)lstrp) != NULL); in picokpr_isEqualTail()
|
D | picosig.c | 78 picoos_char sInSDFileName[255]; 86 picoos_char sOutSDFileName[255]; /* output file name */ 737 picoos_char s_temp_file_name[255]; in sigStep() 849 (picoos_char*) s_temp_file_name, in sigStep() 850 (picoos_char*) &(sig_subObj->inBuf[sig_subObj->inReadPos in sigStep() 857 (picoos_char*) s_temp_file_name, in sigStep() 858 (picoos_char*) sig_subObj->sOutSDFileName, in sigStep() 860 (picoos_char*) s_temp_file_name)) in sigStep() 879 (picoos_char*) sig_subObj->sInSDFileName, in sigStep() 880 (picoos_char*) s_temp_file_name, in sigStep() [all …]
|
D | picokdbg.h | 69 const picoos_char *phsym); 74 picoos_char *picokdbg_getPhoneSym(const picokdbg_Dbg dbg,
|
D | picodata.h | 86 pico_status_t picodata_cbPutCh(register picodata_CharBuffer this, picoos_char ch); 614 picoos_char * picodata_head_to_string(const picodata_itemhead_t *head, 615 picoos_char * str, picoos_uint16 strsize); 624 const picoos_char *filterfn); 629 picodata_info_item(kb, pref, item, itemlenmax, (picoos_char *)__FILE__)
|
D | picobase.h | 88 picoos_int32 picobase_lowercase_utf8_str (picoos_uchar utf8str[], picoos_char lowercase[], picoos_i… 98 picoos_int32 picobase_uppercase_utf8_str (picoos_uchar utf8str[], picoos_char uppercase[], int uppe…
|
D | picoktab.c | 403 picoos_strcpy((picoos_char *)to, (picoos_char *)from); in picoktab_graphOffset() 408 utfGEfrom = picoos_strcmp((picoos_char *)utf8graph, (picoos_char *)from) >= 0; in picoktab_graphOffset() 409 utfLEto = picoos_strcmp((picoos_char *)utf8graph, (picoos_char *)to) <= 0; in picoktab_graphOffset() 600 picoos_strcpy((picoos_char *)to, (picoos_char *)from); in picoktab_graphsGetGraphInfo()
|
D | picoextapi.c | 45 #define PICO_VERSION_INFO (picoos_char *)"invalid" 80 picoos_strlcpy((picoos_char *) outInfo, PICO_VERSION_INFO, outInfoMaxLen); in picoext_getVersionInfo()
|
D | picoctrl.c | 116 …picoos_emRaiseException(this->common->em,status,NULL,(picoos_char*)"problem (re-)initializing the … in ctrlInitialize() 544 … picoos_emRaiseException(this->common->em,status,NULL,(picoos_char*) "problem resetting engine"); in picoctrl_engReset() 575 picorsrc_ResourceManager rm, const picoos_char * voiceName) { in picoctrl_newEngine() 724 picoos_char * text, in picoctrl_engFeedText() 751 picoos_char *buffer, in picoctrl_engFetchOutputItemBytes()
|
D | picopr.c | 382 …xception(this->common->em, PICO_EXC_OUT_OF_MEM, (picoos_char *)"pr out of dynamic memory", (picoos… in pr_ALLOCATE() 403 …xception(this->common->em, PICO_EXC_OUT_OF_MEM, (picoos_char *)"pr out of dynamic memory", (picoos… in pr_ALLOCATE() 551 return (picoos_strcmp((picoos_char *)str1, (picoos_char *)str2) == 0); in pr_strEqual() 609 picobase_lowercase_utf8_str(dest, (picoos_char*)dest, PR_MAX_DATA_LEN, &done); in pr_firstLetterToLowerCase() 978 …his->common->em, PICO_ERR_CONTEXT_NOT_FOUND, (picoos_char*)"context '%s' not found; no change",(pi… in pr_setContext() 1135 pr->tmpItem.head.len = picoos_strlen((picoos_char*)str); in pr_putItem() 1171 pr->tmpItem.head.len = picoos_strlen((picoos_char*)str); in pr_putItem() 1369 …t),PICODATA_ITEM_CMD,lcmd,PICODATA_ITEMINFO2_CMD_ABSOLUTE,picoos_atoi((picoos_char*)lvar->first->d… in pr_genCommands() 1377 …t),PICODATA_ITEM_CMD,lcmd,PICODATA_ITEMINFO2_CMD_ABSOLUTE,picoos_atoi((picoos_char*)lf->data),(pic… in pr_genCommands() 1407 …picoos_emRaiseWarning(this->common->em, PICO_ERR_OTHER,(picoos_char*)"", (picoos_char*)"cannot map… in pr_genCommands() [all …]
|
D | picoknow.h | 116 #define PICOKNOW_DEFAULT_RESOURCE_NAME (picoos_char *) "__PICO_DEF_RSRC"
|
D | picotrns.h | 174 pico_status_t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_u…
|
D | picobase.c | 1137 extern picoos_int32 picobase_lowercase_utf8_str (picoos_uchar utf8str[], picoos_char lowercase[], i… in picobase_lowercase_utf8_str() 1168 extern picoos_int32 picobase_uppercase_utf8_str (picoos_uchar utf8str[], picoos_char uppercase[], i… in picobase_uppercase_utf8_str()
|
D | picospho.c | 537 picoos_char msgstr[SPHO_MSGSTR_SIZE]; in sphoExtractPhonemes() 933 picoos_char msgstr[SPHO_MSGSTR_SIZE]; in sphoStep() 1250 …picoos_emRaiseWarning(this->common->em, PICO_WARN_FALLBACK,NULL,(picoos_char *)"phon buffer full"); in sphoStep()
|
D | picowa.c | 311 (picoos_char *)"using %d lexicon lookup results", in waProcessWordgraph()
|
D | picotrns.c | 703 pico_status_t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_u… in picotrns_stAddWithPlane()
|
D | picosa.c | 1086 picoos_char msgstr[SA_MSGSTR_SIZE]; in saExtractPhonemes() 1321 (picoos_char *)"forced phrase end"); in saStep()
|