Lines Matching refs:assert

181 	assert(SML_TAG__ISVALID(a_subTag));  in smlAddTag()
182 assert(SML_TAG__R_ISVALID(r_tag)); in smlAddTag()
246 assert(SML_TAG__ISVALID(sub_tag)); in smlDelTag()
325 assert(SML_TAG__ISVALID(tag)); in smlFreeTag()
383 assert(name != (char *)NULL); in smlGetParam_r()
384 assert(*name != '\0'); in smlGetParam_r()
385 assert(buf != (char *)NULL); in smlGetParam_r()
386 assert(bufLen > 0); in smlGetParam_r()
415 assert(tag->params[k].name != (char *)NULL); in smlGetParam_r()
416 assert(tag->params[k].value != (char *)NULL); in smlGetParam_r()
451 assert(name != (char *)NULL); in smlGetParam()
452 assert(*name != '\0'); in smlGetParam()
478 assert(tag->params[k].name != (char *)NULL); in smlGetParam()
479 assert(tag->params[k].value != (char *)NULL); in smlGetParam()
536 assert(tag->params[index].name != (char *)NULL); in smlGetParamName()
537 assert(tag->params[index].value != (char *)NULL); in smlGetParamName()
571 assert(SML_TAG__ISVALID(tag)); in smlGetParamByTag()
572 assert(tagName != (char *)NULL); in smlGetParamByTag()
573 assert(*tagName != '\0'); in smlGetParamByTag()
574 assert(paramName != (char *)NULL); in smlGetParamByTag()
575 assert(*paramName != '\0'); in smlGetParamByTag()
621 assert(SML_TAG__ISVALID(tag)); in smlGetTagByTagParam()
622 assert(tagName != (char *)NULL); in smlGetTagByTagParam()
623 assert(*tagName != '\0'); in smlGetTagByTagParam()
624 assert(paramName != (char *)NULL); in smlGetTagByTagParam()
625 assert(*paramName != '\0'); in smlGetTagByTagParam()
626 assert(paramValue != (char *)NULL); in smlGetTagByTagParam()
627 assert(*paramValue != '\0'); in smlGetTagByTagParam()
657 assert(tag->tags[ti].params[pi].name != (char *)NULL); in smlGetTagByTagParam()
658 assert(tag->tags[ti].params[pi].value != (char *)NULL); in smlGetTagByTagParam()
730 assert(SML_TAG__ISVALID(tag)); in smlGetParamByTagParam()
731 assert(tagName != (char *)NULL); in smlGetParamByTagParam()
732 assert(*tagName != '\0'); in smlGetParamByTagParam()
733 assert(paramName != (char *)NULL); in smlGetParamByTagParam()
734 assert(*paramName != '\0'); in smlGetParamByTagParam()
735 assert(paramValue != (char *)NULL); in smlGetParamByTagParam()
736 assert(*paramValue != '\0'); in smlGetParamByTagParam()
737 assert(paramReturn != (char *)NULL); in smlGetParamByTagParam()
738 assert(*paramReturn != '\0'); in smlGetParamByTagParam()
768 assert(tag->tags[ti].params[pi].name != (char *)NULL); in smlGetParamByTagParam()
769 assert(tag->tags[ti].params[pi].value != (char *)NULL); in smlGetParamByTagParam()
825 assert(SML_TAG__ISVALID(a_tag)); in smlGetElementName()
826 assert(a_tag->name != (char *)NULL); in smlGetElementName()
827 assert(*a_tag->name != '\0'); in smlGetElementName()
869 assert(SML_TAG__ISVALID(&tag->tags[index])); in smlGetTag()
924 assert(SML_TAG__ISVALID(&tag->tags[k])); in smlGetTagByName()
964 assert(SML_TAG__R_ISVALID(r_tag)); in smlConvertStringToTag()
965 assert(str != (char *)NULL); in smlConvertStringToTag()
966 assert(*str != '\0'); in smlConvertStringToTag()
1022 assert(SML_TAG__R_ISVALID(r_tag)); in smlReadOneTag()
1023 assert(a_str != (char *)NULL); in smlReadOneTag()
1074 assert((name == (char *)NULL) || (*name != '\0')); in smlNewTag()
1084 assert(tag != SML_TAG__NULL); in smlNewTag()
1094 assert(SML_TAG__ISVALID(tag)); in smlNewTag()
1124 assert(SML_TAG__ISVALID(tag)); in smlConvertTagToString()
1130 assert(str != (char *)NULL); in smlConvertTagToString()
1131 assert(*str != '\0'); in smlConvertTagToString()
1163 assert(a_format != (char *)NULL); in smlDbgPrintTag()
1164 assert(*a_format != '\0'); in smlDbgPrintTag()
1165 assert(SML_TAG__ISVALID(a_tag)); in smlDbgPrintTag()
1177 assert(vres > 0); in smlDbgPrintTag()
1182 assert(rstr != (char *)NULL); in smlDbgPrintTag()
1190 assert(vres > 0); in smlDbgPrintTag()
1191 assert(*rstr != '\0'); in smlDbgPrintTag()
1224 assert(SML_TAG__ISVALID(tag)); in smlDelParam()
1225 assert(tag->name != (char *)NULL); in smlDelParam()
1226 assert(name != NULL); in smlDelParam()
1227 assert(*name != '\0'); in smlDelParam()
1242 assert(tag->params_num > 0); in smlDelParam()
1263 assert(tag->params[k].name != (char *)NULL); in smlDelParam()
1264 assert(tag->params[k].value != (char *)NULL); in smlDelParam()
1330 assert(SML_TAG__ISVALID(tag)); in smlSetParamF()
1331 assert(name != (char *)NULL); in smlSetParamF()
1332 assert(*name != '\0'); in smlSetParamF()
1333 assert(format != NULL); in smlSetParamF()
1334 assert(*format != '\0'); in smlSetParamF()
1342 assert(vres > 0); in smlSetParamF()
1347 assert(bfr != (char *)NULL); in smlSetParamF()
1355 assert(vres > 0); in smlSetParamF()
1356 assert(*bfr != '\0'); in smlSetParamF()
1397 assert(SML_TAG__ISVALID(tag)); in smlGetParamF()
1398 assert(format != NULL); in smlGetParamF()
1399 assert(*format != '\0'); in smlGetParamF()
1407 assert(vres > 0); in smlGetParamF()
1412 assert(bfr != (char *)NULL); in smlGetParamF()
1420 assert(vres > 0); in smlGetParamF()
1421 assert(*bfr != '\0'); in smlGetParamF()
1454 assert(SML_TAG__ISVALID(tag)); in smlSetParam()
1455 assert(name != (char *)NULL); in smlSetParam()
1456 assert(*name != '\0'); in smlSetParam()
1457 assert(value != (char *)NULL); in smlSetParam()
1469 assert(tag->params[k].name != (char *)NULL); in smlSetParam()
1470 assert(tag->params[k].value != (char *)NULL); in smlSetParam()
1548 assert(SML_TAG__ISVALID(tag)); in smlParamEqF()
1549 assert(format != NULL); in smlParamEqF()
1550 assert(*format != '\0'); in smlParamEqF()
1558 assert(vres > 0); in smlParamEqF()
1563 assert(bfr != (char *)NULL); in smlParamEqF()
1571 assert(vres > 0); in smlParamEqF()
1572 assert(*bfr != '\0'); in smlParamEqF()
1610 assert(str != (char *)NULL); in smlParamEq()
1611 assert(findParam != (char *)NULL); in smlParamEq()
1612 assert(findTag != (char *)NULL); in smlParamEq()
1613 assert(SML_TAG__ISVALID(tag)); in smlParamEq()
1661 assert(SML_TAG__ISVALID(tag)); in smlFindAndDelTag()
1662 assert(findTag != (char *)NULL); in smlFindAndDelTag()
1663 assert(*findTag != '\0'); in smlFindAndDelTag()
1700 assert(SML_TAG__ISVALID(tag)); in smlDup()
1705 assert(rtag != SML_TAG__NULL); in smlDup()
1744 assert(SML_TAG__ISVALID(rtag)); in smlDup()
1773 assert(SML_TAG__R_ISVALID(tag)); in smlSetFileStatInfo()
1774 assert(SML_TAG__ISVALID(*tag)); in smlSetFileStatInfo()
1775 assert(statbuf != (struct stat *)NULL); in smlSetFileStatInfo()
1783 assert(smlGetTagByName(*tag, 0, _sml_fileStatInfoTag) in smlSetFileStatInfo()
1786 assert(SML_TAG__ISVALID(rtag)); in smlSetFileStatInfo()
1793 assert(SML_TAG__ISVALID(rtag)); in smlSetFileStatInfo()
1837 assert(SML_TAG__ISVALID(tag)); in smlFstatCompareEq()
1932 assert(a_format != (char *)NULL); in sml_strPrintf()
1933 assert(*a_format != '\0'); in sml_strPrintf()
1941 assert(vres > 0); in sml_strPrintf()
1946 assert(rstr != (char *)NULL); in sml_strPrintf()
1954 assert(vres > 0); in sml_strPrintf()
1955 assert(*rstr != '\0'); in sml_strPrintf()
1990 assert(a_format != (char *)NULL); in sml_strPrintf_r()
1991 assert(*a_format != '\0'); in sml_strPrintf_r()
1992 assert(a_buf != (char *)NULL); in sml_strPrintf_r()
1993 assert(a_bufLen > 1); in sml_strPrintf_r()
2001 assert(vres > 0); in sml_strPrintf_r()
2002 assert(vres < a_bufLen); in sml_strPrintf_r()
2031 assert(a_plainTextString != (char *)NULL); in sml_XmlEncodeString()
2040 assert(stringHead != (char *)NULL); in sml_XmlEncodeString()
2059 assert(stringHead != (char *)NULL); in sml_XmlEncodeString()
2185 assert(stringHead != (char *)NULL); in sml_XmlEncodeString()
2229 assert(a_xmlEncodedString != (char *)NULL); in sml_XmlDecodeString()
2241 assert(stringHead != (char *)NULL); in sml_XmlDecodeString()
2290 assert(rs != (char *)NULL); in sml_XmlDecodeString()
2359 assert(stringHead != (char *)NULL); in sml_XmlDecodeString()
2403 assert(SML_TAG__R_ISVALID(r_tag)); in _smlReadTag()
2404 assert(a_str != (char **)NULL); in _smlReadTag()
2418 assert(tag != SML_TAG__NULL); in _smlReadTag()
2489 assert(c == '<'); in _smlReadTag()
2558 assert(pos < sizeof (name)); in _smlReadTag()
2563 assert(c == '>'); in _smlReadTag()
2608 assert(c != '/'); in _smlReadTag()
2609 assert(c != '<'); in _smlReadTag()
2698 assert(pos < sizeof (name)); in _smlReadTag()
2713 assert(*name != '\0'); in _smlReadTag()
2815 assert(pos < sizeof (name)); in _smlReadTag()
2867 assert(pos < sizeof (name)); in _smlReadTag()
2955 assert(pos < sizeof (name)); in _smlReadTag()
3031 assert(a_str != (char **)NULL); in _smlWriteParamValue()
3032 assert(value != (char *)NULL); in _smlWriteParamValue()
3037 assert(p != (char *)NULL); in _smlWriteParamValue()
3196 assert(tag != SML_TAG__NULL); in _smlFreeTag()
3233 assert(tag->params_num > 0); in _smlFreeTag()
3243 assert(tag->tags_num > 0); in _smlFreeTag()