Lines Matching refs:picoos_char
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"
63 #define PICOOS_MSG_EXC_CANT_OPEN_FILE (picoos_char *) "cannot open file"
64 #define PICOOS_MSG_EXC_UNEXPECTED_FILE_TYPE (picoos_char *) "unexpected file type"
65 #define PICOOS_MSG_EXC_FILE_CORRUPT (picoos_char *) "corrupt file"
66 #define PICOOS_MSG_EXC_FILE_NOT_FOUND (picoos_char *) "file not found"
69 #define PICOOS_MSG_EXC_RESOURCE_BUSY (picoos_char *) "resource is busy"
70 #define PICOOS_MSG_EXC_RESOURCE_MISSING (picoos_char *) "cannot find resource"
73 #define PICOOS_MSG_EXC_KB_MISSING (picoos_char *) "knowledge base missing"
76 #define PICOOS_MSG_ERR_NULLPTR_ACCESS (picoos_char *) "access violation"
77 #define PICOOS_MSG_ERR_INVALID_HANDLE (picoos_char *) "invalid handle value"
78 #define PICOOS_MSG_ERR_INVALID_ARGUMENT (picoos_char *) "invalid argument supplied"
79 #define PICOOS_MSG_ERR_INDEX_OUT_OF_RANGE (picoos_char *) "index out of range"
83 #define PICOOS_MSG_ERR_OTHER (picoos_char *) "other error"
85 #define PICOOS_MSG_ERR_PU (picoos_char *) "error in processing unit"
90 #define PICOOS_MSG_WARN_INCOMPLETE (picoos_char *) "incomplete output"
91 #define PICOOS_MSG_WARN_FALLBACK (picoos_char *) "using fall-back"
92 #define PICOOS_MSG_WARN_OTHER (picoos_char *) "other warning"
95 #define PICOOS_MSG_WARN_KB_OVERWRITE (picoos_char *) "overwriting knowledge base"
96 #define PICOOS_MSG_WARN_RESOURCE_DOUBLE_LOAD (picoos_char *) "resource already loaded"
99 #define PICOOS_MSG_WARN_INVECTOR (picoos_char *) "input vector not constructed"
100 #define PICOOS_MSG_WARN_CLASSIFICATION (picoos_char *) "output not classified"
101 #define PICOOS_MSG_WARN_OUTVECTOR (picoos_char *) "output vector not decomposed"
104 #define PICOOS_MSG_WARN_PU_IRREG_ITEM (picoos_char *) "irregular item in processing unit"
105 #define PICOOS_MSG_WARN_PU_DISCARD_BUF (picoos_char *) "discarding processing unit buffer"
112 picoos_int32 picoos_atoi(const picoos_char *s) in picoos_atoi()
114 return (picoos_int32)picopal_atoi((const picoos_char *)s); in picoos_atoi()
118 picoos_int8 picoos_strcmp(const picoos_char *a, const picoos_char *b) in picoos_strcmp()
124 picoos_int8 picoos_strncmp(const picoos_char *a, const picoos_char *b, picoos_objsize_t siz) in picoos_strncmp()
131 picoos_uint32 picoos_strlen(const picoos_char *s) in picoos_strlen()
136 picoos_char *picoos_strchr(const picoos_char *s, picoos_char c) in picoos_strchr()
138 return (picoos_char *)picopal_strchr((const picopal_char *)s, in picoos_strchr()
142 picoos_char *picoos_strstr(const picoos_char *s, const picoos_char * substr) in picoos_strstr()
144 return (picoos_char *)picopal_strstr((const picopal_char *)s, in picoos_strstr()
148 picoos_int16 picoos_slprintf(picoos_char * b, picoos_uint32 bsize, const picoos_char *f, ...) in picoos_slprintf()
154 i = (picoos_int16)picopal_vslprintf((picoos_char *) b, bsize, (const picoos_char *)f, args); in picoos_slprintf()
159 picoos_char *picoos_strcpy(picoos_char *d, const picoos_char *s) in picoos_strcpy()
161 return (picoos_char *)picopal_strcpy((picopal_char *)d, in picoos_strcpy()
165 picoos_char *picoos_strcat(picoos_char *d, const picoos_char *s) in picoos_strcat()
167 return (picoos_char *)picopal_strcat((picopal_char *)d, in picoos_strcat()
171 picoos_objsize_t picoos_strlcpy(picoos_char *dst, const picoos_char *src, picoos_objsize_t siz) in picoos_strlcpy()
617 typedef picoos_char picoos_exc_msg[PICOOS_MAX_EXC_MSG_LEN];
618 typedef picoos_char picoos_warn_msg[PICOOS_MAX_WARN_MSG_LEN];
658 static void picoos_vSetErrorMsg(picoos_char * dst, picoos_objsize_t siz, in picoos_vSetErrorMsg()
659 picoos_int16 code, picoos_char * base, const picoos_char *fmt, va_list args) in picoos_vSetErrorMsg()
791 base = (picoos_char *) "unknown error"; in picoos_vSetErrorMsg()
800 bsize = picoos_strlcpy(dst,(picoos_char *)": ",siz); in picoos_vSetErrorMsg()
808 void picoos_setErrorMsg(picoos_char * dst, picoos_objsize_t siz, in picoos_setErrorMsg()
809 picoos_int16 code, picoos_char * base, const picoos_char *fmt, ...) in picoos_setErrorMsg()
820 pico_status_t exceptionCode, picoos_char * baseMessage, picoos_char * fmt, ...) in picoos_emRaiseException()
844 void picoos_emGetExceptionMessage(picoos_ExceptionManager this, picoos_char * msg, picoos_uint16 ma… in picoos_emGetExceptionMessage()
850 pico_status_t warningCode, picoos_char * baseMessage, picoos_char * fmt, ...) in picoos_emRaiseWarning()
856 …picoos_strlcpy(this->curWarningMessage[this->curNumWarnings],(picoos_char *) "too many warnings",P… in picoos_emRaiseWarning()
886 void picoos_emGetWarningMessage(picoos_ExceptionManager this, picoos_uint8 index, picoos_char * msg… in picoos_emGetWarningMessage()
915 picoos_char * data;
985 picoos_char fileName[], picopal_access_mode mode) in LOpen()
1073 static picoos_bool LWriteBytes(picoos_File f, const picoos_char bytes[], int * len) { in LWriteBytes()
1154 static picoos_bool picoos_StrRead (picoos_File f, picoos_char str[]) in picoos_StrRead()
1158 picoos_char b; in picoos_StrRead()
1161 done = done && picoos_ReadByte(f,(picoos_char *)&b); in picoos_StrRead()
1169 static picoos_bool picoos_WriteStr (picoos_File f, picoos_char str[]) in picoos_WriteStr()
1195 picoos_char fileName[]) in picoos_OpenBinary()
1234 picoos_char fileName[]) in picoos_CreateBinary()
1241 picoos_uint8 picoos_WriteByte(picoos_File f, picoos_char by) in picoos_WriteByte()
1245 return picoos_WriteBytes(f, (picoos_char *) &by, &n); in picoos_WriteByte()
1251 picoos_bool picoos_WriteBytes(picoos_File f, const picoos_char bytes[], picoos_int32 * len) { in picoos_WriteBytes()
1331 picoos_bool picoos_Name(picoos_File f, picoos_char name[], picoos_uint32 maxsize) in picoos_Name()
1338 name[0] = (picoos_char)NULLC; in picoos_Name()
1346 picoos_bool picoos_FileExists(picoos_Common g, picoos_char name[]) in picoos_FileExists()
1453 done = picoos_StrRead(f, (picoos_char *) "RIFF"); in picoos_readWavHeader()
1455 done = done && picoos_StrRead(f, (picoos_char *) "WAVE"); in picoos_readWavHeader()
1456 done = done && picoos_StrRead(f, (picoos_char *) "fmt "); in picoos_readWavHeader()
1466 done = done && picoos_StrRead(f, (picoos_char *) "data"); in picoos_readWavHeader()
1512 picoos_char fileName[], picoos_uint32 * sf, picoos_encoding_t * enc, in picoos_sdfOpenIn()
1532 if (picoos_has_extension(fileName,(picoos_char *) ".wav")) { in picoos_sdfOpenIn()
1543 …picoos_emRaiseWarning(g->em,PICO_EXC_UNEXPECTED_FILE_TYPE,(picoos_char *)"unsupported filename suf… in picoos_sdfOpenIn()
1545 …picoos_emRaiseWarning(g->em,PICO_EXC_UNEXPECTED_FILE_TYPE,(picoos_char *)"non-conforming header",N… in picoos_sdfOpenIn()
1553 …picoos_emRaiseWarning(g->em,PICO_EXC_UNEXPECTED_FILE_TYPE,NULL,(picoos_char *)"encoding not suppor… in picoos_sdfOpenIn()
1557 …picoos_emRaiseWarning(g->em,PICO_EXC_UNEXPECTED_FILE_TYPE,NULL,(picoos_char *)"sample frequency no… in picoos_sdfOpenIn()
1702 done = done && picoos_WriteStr(f,(picoos_char *)"RIFF"); in picoos_writeWavHeader()
1704 done = done && picoos_WriteStr(f,(picoos_char *)"WAVE"); in picoos_writeWavHeader()
1705 done = done && picoos_WriteStr(f,(picoos_char *)"fmt "); in picoos_writeWavHeader()
1713 done = done && picoos_WriteStr(f,(picoos_char *)"data"); in picoos_writeWavHeader()
1723 picoos_char fileName[], int sf, picoos_encoding_t enc) in picoos_sdfOpenOut()
1740 (picoos_char *) "encoding not supported"); in picoos_sdfOpenOut()
1745 (picoos_char *) "sample frequency not supported"); in picoos_sdfOpenOut()
1752 if (picoos_has_extension(fileName, (picoos_char *) ".wav")) { in picoos_sdfOpenOut()
1765 (picoos_char *) "unsupported filename suffix", NULL); in picoos_sdfOpenOut()
1768 (picoos_char *) "non-conforming header", NULL); in picoos_sdfOpenOut()
1891 picoos_uint8 index, picoos_char * key, picoos_char * value, in picoos_setHeaderField()
1930 static picoos_uint8 os_matched( picoos_char * str, picoos_uint32 strlen, picoos_char * buf, picoo… in os_matched()
1942 pico_status_t picoos_getSVOXHeaderString(picoos_char * str, picoos_uint8 * len, picoos_uint32 maxle… in picoos_getSVOXHeaderString()
1944 picoos_char * ch; in picoos_getSVOXHeaderString()
1961 picoos_char str[32]; in picoos_readPicoHeader()
1962 picoos_char buf[32]; in picoos_readPicoHeader()
1993 picoos_uint8 picoos_get_str (picoos_char * fromStr, picoos_uint32 * pos, picoos_char * toStr, picoo… in picoos_get_str()
2156 picoos_uint8 picoos_has_extension(const picoos_char *str, const picoos_char *suf) in picoos_has_extension()
2172 pico_status_t picoos_string_to_int32(picoos_char str[], in picoos_string_to_int32()
2217 pico_status_t picoos_string_to_uint32(picoos_char str[], in picoos_string_to_uint32()
2258 void picoos_get_sep_part_str(picoos_char string[], in picoos_get_sep_part_str()
2259 picoos_int32 stringlen, picoos_int32 * ind, picoos_char sepCh, in picoos_get_sep_part_str()
2260 picoos_char part[], picoos_int32 maxsize, picoos_uint8 * done) in picoos_get_sep_part_str()
2268 part[0] = (picoos_char) NULLC; in picoos_get_sep_part_str()
2272 …((((*ind) < stringlen) && (string[(*ind)] != sepCh)) && (string[((*ind))] != (picoos_char)NULLC)) { in picoos_get_sep_part_str()
2281 part[j] = (picoos_char)NULLC; in picoos_get_sep_part_str()
2285 } else if (string[(*ind)] == (picoos_char)NULLC) { in picoos_get_sep_part_str()