Home | History | Annotate | Download | only in lib

Lines Matching refs:sResult

931     pico_status_t sResult;
936 sResult = TRUE; /*default : resource limits reached*/
946 return sResult; /*no room for more syllables*/
949 return sResult; /*no room for more phoneme*/
963 return sResult; /*no room for more syllables*/
966 return sResult; /*no room for more phoneme*/
975 return sResult; /*no room for more items*/
1075 pico_status_t sResult;
1080 sResult = TRUE; /*default : item queued*/
1135 pico_status_t sResult;
1136 sResult = FALSE;
1144 sResult = TRUE;
1149 return sResult;
2190 pico_status_t sResult;
2199 sResult = pam_expand_vector(this);
2200 sResult = pamCompressVector(this);
2201 sResult = pamReorgVector(this);
2210 sResult = pam_get_duration(this, pam->durIndex, &(pam->phonDur),
2225 sResult = pam_get_f0(this, &(pam->lf0Index[0]), nI, &(pam->phonF0[0]));
2229 sResult = pam_update_vector(this);
2241 sResult = pam_put_item(this, pam->outBuf, pam->outWritePos, &bWr);
2242 if (sResult == PICO_OK)
2245 return sResult;
2262 pico_status_t sResult;
2296 sResult = pam_put_qItem(qItem, pam->outBuf, pam->outWritePos, &bWr);
2321 pico_status_t sResult;
2349 sResult = picodata_cbGetItem(this->cbIn,
2352 if (sResult != PICO_OK) {
2353 if (sResult == PICO_EOF) {
2358 PICODBG_DEBUG(("pam_step(PICOPAM_COLLECT) -- Errors on item buffer input, status: %d",sResult));
2363 PICODBG_DEBUG(("pam_step -- got item, status: %d",sResult));
2364 sResult = picodata_is_valid_item(
2366 if (sResult != TRUE) {
2446 sResult = pam_adapter_forward_step(this,
2455 switch (sResult) {
2466 sResult = pam_adapter_backward_step(this);
2467 if (sResult == PICO_OK) {
2471 PICODBG_DEBUG(("pam_step (PICOPAM_FORWARD) -- wrong return from BackwardStep: %d -- Buffered sentence will be discarded",sResult));
2510 } /*end switch sResult*/
2520 sResult = pam_adapter_forward_step(this, &(bForcedItem[0]));
2521 switch (sResult) {
2525 sResult = pam_adapter_backward_step(this);
2526 if (sResult == PICO_OK) {
2530 PICODBG_DEBUG(("pam_step (PICOPAM_FORWARD_FORCE_TERM) -- wrong return from BackwardStep: %d -- Buffered sentence will be discarded",sResult));
2542 PICODBG_DEBUG(("pam_step (PICOPAM_FORWARD_FORCE_TERM) -- Forced a TERM but processing do not appear to end -- Buffered sentence will be discarded",sResult));
2551 } /*end switch sResult*/
2563 sResult = pamDoPreSyll(this);
2564 if (sResult == PICOPAM_GOTO_FEED) {
2574 if (sResult == PICOPAM_CONTINUE) {
2585 if ((sResult == PICOPAM_FLUSH_RECEIVED) || (sResult
2596 if (sResult == PICOPAM_PRE_SYLL_ENDED) {
2601 sResult = sResult;
2607 sResult = pamUpdateProcess(this);
2624 sResult = pam_put_qItem(qItem, pam->outBuf,
2626 if (sResult != PICO_OK) {
2637 sResult = pamDoCommand(this, qItem); /*popped item is a PAM command : do it NOW!!*/
2638 if ((sResult == PICOPAM_FLUSH_RECEIVED) || (sResult
2648 sResult = pamUpdateProcess(this); /*both "doCommand" or "put" : update PAM status*/
2662 sResult = picodata_copy_item(&(pam->inBuf[pam->inReadPos]),
2666 if (sResult == PICO_OK) {
2682 PICODBG_DEBUG(("pam_step(PICOPAM_IMMEDIATE) --- wrong return from picodata_copy_item:%d",sResult));
2691 sResult = picodata_cbPutItem(this->cbOut,
2694 PICODBG_DEBUG(("pam_step -- put item, status: %d",sResult));
2695 if (PICO_OK == sResult) {
2741 } else if (PICO_EXC_BUF_OVERFLOW == sResult) {
2746 } else if ((PICO_EXC_BUF_UNDERFLOW == sResult)
2747 || (PICO_ERR_OTHER == sResult)) {
2760 sResult = PICO_EXC_BUF_IGNORE;
4403 pico_status_t sResult;
4441 sResult = pam_create_syllable(this, PICOPAM_SYLL_PAUSE, NULL,
4444 if (sResult != PICO_OK)
4445 return sResult;
4446 sResult = pam_process_event(this, PICOPAM_EVENT_P_BOUND,
4448 if (sResult != PICO_OK)
4449 return sResult;
4462 sResult = pam_create_syllable(this, PICOPAM_SYLL_PAUSE, NULL,
4465 if (sResult != PICO_OK)
4466 return sResult;
4467 sResult = pam_process_event(this, PICOPAM_EVENT_P_BOUND,
4469 if (sResult != PICO_OK)
4470 return sResult;
4480 sResult = pam_process_event(this, PICOPAM_EVENT_S_BOUND,
4486 if (sResult != PICO_OK)
4487 return sResult;
4494 sResult = pam_process_event(this, PICOPAM_EVENT_W_BOUND,
4496 if (sResult != PICO_OK)
4497 return sResult;
4505 sResult = pam_create_syllable(this, PICOPAM_SYLL_PAUSE, NULL,
4508 if (sResult != PICO_OK)
4509 return sResult;
4510 sResult = pam_process_event(this, PICOPAM_EVENT_P_BOUND,
4512 if (sResult != PICO_OK)
4513 return sResult;
4524 sResult = pam_create_syllable(this, PICOPAM_SYLL_PAUSE, NULL,
4527 if (sResult != PICO_OK)
4528 return sResult;
4529 sResult = pam_process_event(this, PICOPAM_EVENT_P_BOUND,
4531 if (sResult != PICO_OK)
4532 return sResult;
4553 sResult = pam_create_syllable(this, PICOPAM_SYLL_PAUSE, NULL,
4556 if (sResult != PICO_OK)
4557 return sResult;
4558 sResult = pam_process_event(this, PICOPAM_EVENT_P_BOUND,
4560 if (sResult != PICO_OK)
4561 return sResult;
4564 sResult = pam_create_syllable(this, PICOPAM_SYLL_SYLL, itemBase,
4566 if (sResult != PICO_OK)
4567 return sResult;
4568 sResult = pam_process_event(this, PICOPAM_EVENT_SYLL,
4570 if (sResult != PICO_OK)
4571 return sResult;