Lines Matching refs:markupParams
221 MarkupParams markupParams; member
694 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId,(picoos_uchar*)"")) { in tok_interpretMarkup()
697 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
703 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWLevel)) { in tok_interpretMarkup()
704 if (tok_isRelative(tok->markupParams[0].paramVal, & uval)) { in tok_interpretMarkup()
708 uval = picoos_atoi((picoos_char*)tok->markupParams[0].paramVal); in tok_interpretMarkup()
713 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
719 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWLevel)) { in tok_interpretMarkup()
720 if (tok_isRelative(tok->markupParams[0].paramVal, & uval)) { in tok_interpretMarkup()
724 uval = picoos_atoi((picoos_char*)tok->markupParams[0].paramVal); in tok_interpretMarkup()
729 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
735 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWLevel)) { in tok_interpretMarkup()
736 if (tok_isRelative(tok->markupParams[0].paramVal, & uval)) { in tok_interpretMarkup()
740 uval = picoos_atoi((picoos_char*)tok->markupParams[0].paramVal); in tok_interpretMarkup()
745 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
751 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWLevel)) { in tok_interpretMarkup()
752 if (tok_isRelative(tok->markupParams[0].paramVal, & uval)) { in tok_interpretMarkup()
756 uval = picoos_atoi((picoos_char*)tok->markupParams[0].paramVal); in tok_interpretMarkup()
761 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
768 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWName)) { in tok_interpretMarkup()
769 …A_ITEM_CMD, PICODATA_ITEMINFO1_CMD_VOICE, PICODATA_ITEMINFO2_NA, 0, tok->markupParams[0].paramVal); in tok_interpretMarkup()
773 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId,(picoos_uchar*)"")) { in tok_interpretMarkup()
781 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWName)) { in tok_interpretMarkup()
782 …ITEM_CMD, PICODATA_ITEMINFO1_CMD_CONTEXT, PICODATA_ITEMINFO2_NA, 0, tok->markupParams[0].paramVal); in tok_interpretMarkup()
784 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId,(picoos_uchar*)"")) { in tok_interpretMarkup()
790 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWName)) { in tok_interpretMarkup()
791 …_ITEM_CMD, PICODATA_ITEMINFO1_CMD_MARKER, PICODATA_ITEMINFO2_NA, 0, tok->markupParams[0].paramVal); in tok_interpretMarkup()
793 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId,(picoos_uchar*)"")) { in tok_interpretMarkup()
799 … tok_getParamStrVal(tok->markupParams, KWProsDomain, (picoos_uchar*)valStr, & paramFound); in tok_interpretMarkup()
803 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
811 … tok_getParamStrVal(tok->markupParams, KWProsDomain, (picoos_uchar*)valStr, & paramFound); in tok_interpretMarkup()
815 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
823 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWTime)) { in tok_interpretMarkup()
824 tok_getDur(tok->markupParams[0].paramVal, & dur, & done1); in tok_interpretMarkup()
830 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
836 if (tok_strEqual(tok->markupParams[0].paramId, KWMode)) { in tok_interpretMarkup()
837 if (tok_strEqual(tok->markupParams[0].paramVal, KWPB)) { in tok_interpretMarkup()
839 } else if (tok_strEqual(tok->markupParams[0].paramVal, KWSB)) { in tok_interpretMarkup()
842 tok_getDur(tok->markupParams[0].paramVal, & uval, & done1); in tok_interpretMarkup()
853 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
859 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWFile)) { in tok_interpretMarkup()
866 …picodata_getPuTypeFromExtension(tok->markupParams[0].paramVal, /*input*/FALSE), 0, tok->markupPar… in tok_interpretMarkup()
867 … picoos_strcpy((picoos_char*)tok->saveFile, (picoos_char*)tok->markupParams[0].paramVal); in tok_interpretMarkup()
869 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
879 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWFile)) { in tok_interpretMarkup()
880 if (picoos_FileExists(this->common, (picoos_char*)tok->markupParams[0].paramVal)) { in tok_interpretMarkup()
881 tok_getParamIntVal(tok->markupParams,KWF0Beg,& ival,& paramFound); in tok_interpretMarkup()
882 tok_getParamIntVal(tok->markupParams,KWF0End,& ival2,& paramFound); in tok_interpretMarkup()
883 tok_getParamStrVal(tok->markupParams,KWAlphabet,valStr3,& paramFound); in tok_interpretMarkup()
884 … tok_getParamPhonesStr(tok->markupParams,KWXFadeBeg,valStr3,valStr,VAL_STR_LEN,& paramFound); in tok_interpretMarkup()
885 … tok_getParamPhonesStr(tok->markupParams,KWXFadeEnd,valStr3,valStr2,VAL_STR_LEN,& paramFound); in tok_interpretMarkup()
887 …picodata_getPuTypeFromExtension(tok->markupParams[0].paramVal, /*input*/TRUE), 0, tok->markupParam… in tok_interpretMarkup()
893 …_char*)"file '%s' not found; synthesizing enclosed text instead\n", tok->markupParams[0].paramVal); in tok_interpretMarkup()
897 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
903 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWFile)) { in tok_interpretMarkup()
904 if (picoos_FileExists(this->common, (picoos_char*)tok->markupParams[0].paramVal)) { in tok_interpretMarkup()
905 tok_getParamIntVal(tok->markupParams,KWF0Beg,& ival,& paramFound); in tok_interpretMarkup()
906 tok_getParamIntVal(tok->markupParams,KWF0End,& ival2,& paramFound); in tok_interpretMarkup()
907 tok_getParamStrVal(tok->markupParams,KWAlphabet,valStr3, & paramFound); in tok_interpretMarkup()
908 … tok_getParamPhonesStr(tok->markupParams,KWXFadeBeg,valStr3,valStr,VAL_STR_LEN,& paramFound); in tok_interpretMarkup()
909 … tok_getParamPhonesStr(tok->markupParams,KWXFadeEnd,valStr3,valStr2,VAL_STR_LEN,& paramFound); in tok_interpretMarkup()
911 …picodata_getPuTypeFromExtension(tok->markupParams[0].paramVal, /*input*/TRUE), 0, tok->markupParam… in tok_interpretMarkup()
915 …os_char*)"file '%s' not found; synthesizing enclosed text instead", tok->markupParams[0].paramVal); in tok_interpretMarkup()
919 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
927 …if (tok_strEqual(tok->markupParams[0].paramId, KWAlphabet) && tok_strEqual(tok->markupParams[1].pa… in tok_interpretMarkup()
928 if (tok_strEqual(tok->markupParams[2].paramId, KWOrthMode) in tok_interpretMarkup()
929 && tok_strEqual(tok->markupParams[2].paramVal, KWIgnorePunct)) { in tok_interpretMarkup()
932 …r, tok->svoxpa_parser, tok->xsampa2svoxpa_mapper, tok->markupParams[1].paramVal, tok->markupParams… in tok_interpretMarkup()
937 …RN(("cannot map phonetic string '%s'; synthesizeing text instead", tok->markupParams[1].paramVal)); in tok_interpretMarkup()
938 …har*)"cannot map phonetic string '%s'; synthesizeing text instead", tok->markupParams[1].paramVal); in tok_interpretMarkup()
941 } else if (tok_strEqual(tok->markupParams[0].paramId, KWPH)) { in tok_interpretMarkup()
942 if (tok_strEqual(tok->markupParams[1].paramId, KWOrthMode) in tok_interpretMarkup()
943 && tok_strEqual(tok->markupParams[1].paramVal, KWIgnorePunct)) { in tok_interpretMarkup()
946 …k->xsampa_parser, tok->svoxpa_parser, tok->xsampa2svoxpa_mapper, tok->markupParams[0].paramVal, PI… in tok_interpretMarkup()
952 …RN(("cannot map phonetic string '%s'; synthesizeing text instead", tok->markupParams[1].paramVal)); in tok_interpretMarkup()
953 …char*)"cannot map phonetic string '%s'; synthesizing text instead", tok->markupParams[0].paramVal); in tok_interpretMarkup()
957 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId, (picoos_uchar*)"")) { in tok_interpretMarkup()
964 if (isStartTag && tok_strEqual(tok->markupParams[0].paramId, KWType) && in tok_interpretMarkup()
965 tok_strEqual(tok->markupParams[1].paramId, KWInfo1)&& in tok_interpretMarkup()
966 tok_strEqual(tok->markupParams[2].paramId, KWInfo2)&& in tok_interpretMarkup()
967 tok_strEqual(tok->markupParams[3].paramId, KWDATA)) { in tok_interpretMarkup()
969 type = picoos_atoi(tok->markupParams[0].paramVal); in tok_interpretMarkup()
970 info1 = picoos_atoi(tok->markupParams[1].paramVal); in tok_interpretMarkup()
971 info2 = picoos_atoi(tok->markupParams[2].paramVal); in tok_interpretMarkup()
973 len2 = (picoos_int32)picoos_strlen(tok->markupParams[3].paramVal); in tok_interpretMarkup()
975 … while ((tok->markupParams[3].paramVal[n] != 0) && (tok->markupParams[3].paramVal[n] <= 32)) { in tok_interpretMarkup()
978 tok->markupParams[3].paramVal[n2] = tok->markupParams[3].paramVal[n]; in tok_interpretMarkup()
986 …picoos_get_sep_part_str(tok->markupParams[3].paramVal, picoos_strlen(tok->markupParams[3].paramVal… in tok_interpretMarkup()
996 …picoos_get_sep_part_str(tok->markupParams[3].paramVal, picoos_strlen(tok->markupParams[3].paramVal… in tok_interpretMarkup()
1006 … } else if (!isStartTag && tok_strEqual(tok->markupParams[0].paramId,(picoos_uchar*)"")) { in tok_interpretMarkup()
1094 tok_clearMarkupParams(tok->markupParams); in tok_putToMarkup()
1143 … tok->markupParams[tok->nrMarkupParams].paramId[tok->strPos] = str[i]; in tok_putToMarkup()
1145 tok->markupParams[tok->nrMarkupParams].paramId[tok->strPos] = 0; in tok_putToMarkup()
1159 tok->markupParams[tok->nrMarkupParams].paramId[tok->strPos] = str[i]; in tok_putToMarkup()
1161 tok->markupParams[tok->nrMarkupParams].paramId[tok->strPos] = 0; in tok_putToMarkup()
1165 …picobase_lowercase_utf8_str(tok->markupParams[tok->nrMarkupParams].paramId, (picoos_char*)tok->mar… in tok_putToMarkup()
1166 … tok_setIsFileAttr(tok->markupParams[tok->nrMarkupParams].paramId, & tok->isFileAttr); in tok_putToMarkup()
1169 …picobase_lowercase_utf8_str(tok->markupParams[tok->nrMarkupParams].paramId, (picoos_char*)tok->mar… in tok_putToMarkup()
1170 … tok_setIsFileAttr(tok->markupParams[tok->nrMarkupParams].paramId, & tok->isFileAttr); in tok_putToMarkup()
1206 tok->markupParams[tok->nrMarkupParams].paramVal[tok->strPos] = str[i]; in tok_putToMarkup()
1208 tok->markupParams[tok->nrMarkupParams].paramVal[tok->strPos] = 0; in tok_putToMarkup()
1215 tok->markupParams[tok->nrMarkupParams].paramVal[tok->strPos] = str[i]; in tok_putToMarkup()
1217 tok->markupParams[tok->nrMarkupParams].paramVal[tok->strPos] = 0; in tok_putToMarkup()
1279 tok_clearMarkupParams(tok->markupParams); in tok_treatMarkup()
1417 tok_clearMarkupParams(tok->markupParams); in tokReset()