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