Home
last modified time | relevance | path

Searched refs:tmbstrlen (Results 1 – 25 of 55) sorted by relevance

123

/dports/www/mod_tidy/mod_tidy-0.5.5/tidy/src/
H A Dtmbstr.c23 uint len = tmbstrlen( str ); in tmbstrdup()
98 uint tmbstrlen( ctmbstr str ) in tmbstrlen() function
197 uint len2 = tmbstrlen(s2); in tmbsubstrn()
210 uint len2 = tmbstrlen(s2); in tmbsubstrncase()
223 uint len1 = tmbstrlen(s1), len2 = tmbstrlen(s2); in tmbsubstr()
H A Daccess.c167 int i = tmbstrlen(path) - 1; in GetFileExtension()
356 uint len = tmbstrlen( txt ); in EndsWithBytes()
626 if ( tmbstrlen(color) == 7 && color[0] == '#' ) in GetRgb()
702 if ((tmbstrlen(av->value) < 150) && in CheckImage()
1223 if ( tmbstrlen(ext) < 6 && tmbstrlen(ext) > 0 ) in CheckAnchorAccess()
1292 if (tmbstrlen (word) < 6) in CheckAnchorAccess()
1298 if (tmbstrlen (word) > 60) in CheckAnchorAccess()
1528 (tmbstrlen (av->value) == 0)) in CheckTH()
1535 (tmbstrlen (av->value) > 0)) in CheckTH()
1550 if ((tmbstrlen (word) > 15)&& in CheckTH()
[all …]
H A Dattrs.c875 uint len = tmbstrlen(classattr->value) + in AppendToClassAttr()
876 tmbstrlen(classname) + 2; in AppendToClassAttr()
898 uint end = tmbstrlen(styleattr->value); in AppendToStyleAttr()
905 end + tmbstrlen(styleprop) + 2); in AppendToStyleAttr()
915 end + tmbstrlen(styleprop) + 6); in AppendToStyleAttr()
926 end + tmbstrlen(styleprop) + 3); in AppendToStyleAttr()
1149 len = tmbstrlen(p) + escape_count * 2 + 1; in CheckUrl()
1547 if (tmbstrlen(color) != 6) in IsValidColorCode()
1577 cp = s = (tmbstr) MemAlloc(2 + tmbstrlen (given)); in CheckColor()
H A Dtmbstr.h41 uint tmbstrlen( ctmbstr str );
H A Dconfig.c637 uint len = tmbstrlen(filename) + tmbstrlen(home_dir) + 1; in ExpandTilde()
813 tidyBufAttach( &inbuf, (byte*)optval, tmbstrlen(optval)+1 ); in ParseConfigValue()
1110 uint len = tmbstrlen(name) + tmbstrlen(prvval) + 3; in DeclareUserTag()
1539 if (( t = (tmbstr)MemAlloc( tmbstrlen( val->p ) + 2 ) )) in SaveConfigToStream()
/dports/www/tidy-lib/tidy/src/
H A Dtmbstr.c24 uint len = TY_(tmbstrlen)( str ); in TY_()
99 uint TY_(tmbstrlen)( ctmbstr str ) in TY_() argument
200 uint len2 = TY_(tmbstrlen)(s2); in TY_()
214 uint len2 = TY_(tmbstrlen)(s2);
228 uint len1 = TY_(tmbstrlen)(s1), len2 = TY_(tmbstrlen)(s2); in TY_()
H A Daccess.c169 int i = TY_(tmbstrlen)(path) - 1; in GetFileExtension()
358 uint len = TY_(tmbstrlen)( txt ); in EndsWithBytes()
628 if ( TY_(tmbstrlen)(color) == 7 && color[0] == '#' ) in GetRgb()
704 if ((TY_(tmbstrlen)(av->value) < 150) && in CheckImage()
1225 if ( TY_(tmbstrlen)(ext) < 6 && TY_(tmbstrlen)(ext) > 0 ) in CheckAnchorAccess()
1294 if (TY_(tmbstrlen)(word) < 6) in CheckAnchorAccess()
1300 if (TY_(tmbstrlen)(word) > 60) in CheckAnchorAccess() local
1514 (TY_(tmbstrlen)(av->value) == 0)) in CheckTH()
1521 (TY_(tmbstrlen)(av->value) > 0)) in CheckTH()
1536 if ((TY_(tmbstrlen)(word) > 15)&& in CheckTH()
[all …]
H A Dattrs.c915 uint len = TY_(tmbstrlen)(classattr->value) + in TY_()
916 TY_(tmbstrlen)(classname) + 2; in TY_()
938 uint end = TY_(tmbstrlen)(styleattr->value); in AppendToStyleAttr()
945 end + TY_(tmbstrlen)(styleprop) + 2); in AppendToStyleAttr()
955 end + TY_(tmbstrlen)(styleprop) + 6); in AppendToStyleAttr()
966 end + TY_(tmbstrlen)(styleprop) + 3); in AppendToStyleAttr()
1214 len = TY_(tmbstrlen)(p) + escape_count * 2 + 1; in TY_()
1612 if (TY_(tmbstrlen)(color) != 6) in IsValidColorCode() local
1642 cp = s = (tmbstr) TidyDocAlloc(doc, 2 + TY_(tmbstrlen)(given)); in CheckColor()
H A Dtmbstr.h41 uint TY_(tmbstrlen)( ctmbstr str );
H A Dconfig.c744 uint len = TY_(tmbstrlen)(filename) + TY_(tmbstrlen)(home_dir) + 1; in ExpandTilde()
921 tidyBufAttach( &inbuf, (byte*)optval, TY_(tmbstrlen)(optval)+1 ); in TY_()
1218 uint len = TY_(tmbstrlen)(name) + TY_(tmbstrlen)(prvval) + 3; in DeclareUserTag()
1675 if (( t = (tmbstr)TidyDocAlloc( doc, TY_(tmbstrlen)( val->p ) + 2 ) )) in SaveConfigToStream()
/dports/www/tidy-devel/tidy/src/
H A Dtmbstr.c24 uint len = TY_(tmbstrlen)( str ); in TY_()
99 uint TY_(tmbstrlen)( ctmbstr str ) in TY_() argument
200 uint len2 = TY_(tmbstrlen)(s2); in TY_()
214 uint len2 = TY_(tmbstrlen)(s2);
228 uint len1 = TY_(tmbstrlen)(s1), len2 = TY_(tmbstrlen)(s2); in TY_()
H A Daccess.c169 int i = TY_(tmbstrlen)(path) - 1; in GetFileExtension()
358 uint len = TY_(tmbstrlen)( txt ); in EndsWithBytes()
628 if ( TY_(tmbstrlen)(color) == 7 && color[0] == '#' ) in GetRgb()
704 if ((TY_(tmbstrlen)(av->value) < 150) && in CheckImage()
1225 if ( TY_(tmbstrlen)(ext) < 6 && TY_(tmbstrlen)(ext) > 0 ) in CheckAnchorAccess()
1294 if (TY_(tmbstrlen)(word) < 6) in CheckAnchorAccess()
1300 if (TY_(tmbstrlen)(word) > 60) in CheckAnchorAccess() local
1514 (TY_(tmbstrlen)(av->value) == 0)) in CheckTH()
1521 (TY_(tmbstrlen)(av->value) > 0)) in CheckTH()
1536 if ((TY_(tmbstrlen)(word) > 15)&& in CheckTH()
[all …]
H A Dattrs.c915 uint len = TY_(tmbstrlen)(classattr->value) + in TY_()
916 TY_(tmbstrlen)(classname) + 2; in TY_()
938 uint end = TY_(tmbstrlen)(styleattr->value); in AppendToStyleAttr()
945 end + TY_(tmbstrlen)(styleprop) + 2); in AppendToStyleAttr()
955 end + TY_(tmbstrlen)(styleprop) + 6); in AppendToStyleAttr()
966 end + TY_(tmbstrlen)(styleprop) + 3); in AppendToStyleAttr()
1214 len = TY_(tmbstrlen)(p) + escape_count * 2 + 1; in TY_()
1612 if (TY_(tmbstrlen)(color) != 6) in IsValidColorCode() local
1642 cp = s = (tmbstr) TidyDocAlloc(doc, 2 + TY_(tmbstrlen)(given)); in CheckColor()
H A Dtmbstr.h41 uint TY_(tmbstrlen)( ctmbstr str );
/dports/textproc/tidyp/tidyp-1.04/src/
H A Dtmbstr.c18 uint len = TY_(tmbstrlen)( str ); in TY_()
93 uint TY_(tmbstrlen)( ctmbstr str ) in TY_() argument
175 uint len2 = TY_(tmbstrlen)(s2); in TY_()
188 uint len1 = TY_(tmbstrlen)(s1), len2 = TY_(tmbstrlen)(s2); in TY_()
H A Daccess.c163 int i = TY_(tmbstrlen)(path) - 1; in GetFileExtension()
352 uint len = TY_(tmbstrlen)( txt ); in EndsWithBytes()
622 if ( TY_(tmbstrlen)(color) == 7 && color[0] == '#' ) in GetRgb()
698 if ((TY_(tmbstrlen)(av->value) < 150) && in CheckImage()
707 else if (TY_(tmbstrlen)(av->value) > 150) { in CheckImage()
1193 if ( TY_(tmbstrlen)(ext) < 6 && TY_(tmbstrlen)(ext) > 0 ) in CheckAnchorAccess()
1258 if (TY_(tmbstrlen)(word) < 6) { in CheckAnchorAccess()
1263 if (TY_(tmbstrlen)(word) > 60) in CheckAnchorAccess() local
1475 (TY_(tmbstrlen)(av->value) == 0)) in CheckTH()
1493 if ((TY_(tmbstrlen)(word) > 15)&& !HasAbbr ) { in CheckTH()
[all …]
H A Dattrs.c762 const size_t len = TY_(tmbstrlen)(classattr->value) + TY_(tmbstrlen)(classname) + 2; in TY_()
785 uint end = TY_(tmbstrlen)(styleattr->value); in AppendToStyleAttr()
792 end + TY_(tmbstrlen)(styleprop) + 2); in AppendToStyleAttr()
802 end + TY_(tmbstrlen)(styleprop) + 6); in AppendToStyleAttr()
813 end + TY_(tmbstrlen)(styleprop) + 3); in AppendToStyleAttr()
1057 len = TY_(tmbstrlen)(p) + escape_count * 2 + 1; in TY_()
1455 if (TY_(tmbstrlen)(color) != 6) in IsValidColorCode() local
1485 cp = s = (tmbstr) TidyDocAlloc(doc, 2 + TY_(tmbstrlen)(given)); in CheckColor()
H A Dtmbstr.h35 uint TY_(tmbstrlen)( ctmbstr str );
H A Dconfig.c729 uint len = TY_(tmbstrlen)(filename) + TY_(tmbstrlen)(home_dir) + 1; in ExpandTilde()
906 tidyBufAttach( &inbuf, (byte*)optval, TY_(tmbstrlen)(optval)+1 ); in TY_()
1204 uint len = TY_(tmbstrlen)(name) + TY_(tmbstrlen)(prvval) + 3; in DeclareUserTag()
1661 if (( t = (tmbstr)TidyDocAlloc( doc, TY_(tmbstrlen)( val->p ) + 2 ) )) in SaveConfigToStream()
/dports/www/tidy-html5/tidy-html5-5.8.0/src/
H A Dtmbstr.c18 uint len = TY_(tmbstrlen)( str ); in TY_()
93 uint TY_(tmbstrlen)( ctmbstr str ) in TY_() argument
182 uint len2 = TY_(tmbstrlen)(s2); in TY_()
195 uint len1 = TY_(tmbstrlen)(s1), len2 = TY_(tmbstrlen)(s2); in TY_()
H A Daccess.c445 int i = TY_(tmbstrlen)(path) - 1; in GetFileExtension()
644 uint len = TY_(tmbstrlen)( txt ); in EndsWithBytes()
914 if ( TY_(tmbstrlen)(color) == 7 && color[0] == '#' ) in GetRgb()
990 if ((TY_(tmbstrlen)(av->value) < 150) && in CheckImage()
1511 if ( TY_(tmbstrlen)(ext) < 6 && TY_(tmbstrlen)(ext) > 0 ) in CheckAnchorAccess()
1580 if (TY_(tmbstrlen)(word) < 6) in CheckAnchorAccess()
1586 if (TY_(tmbstrlen)(word) > 60) in CheckAnchorAccess() local
1800 (TY_(tmbstrlen)(av->value) == 0)) in CheckTH()
1807 (TY_(tmbstrlen)(av->value) > 0)) in CheckTH()
1822 if ((TY_(tmbstrlen)(word) > 15)&& in CheckTH()
[all …]
H A Dtmbstr.h35 TY_PRIVATE uint TY_(tmbstrlen)( ctmbstr str );
H A Dattrs.c1309 uint len = TY_(tmbstrlen)(classattr->value) + in TY_()
1310 TY_(tmbstrlen)(classname) + 2; in TY_()
1332 uint end = TY_(tmbstrlen)(styleattr->value); in AppendToStyleAttr()
1339 end + TY_(tmbstrlen)(styleprop) + 2); in AppendToStyleAttr()
1349 end + TY_(tmbstrlen)(styleprop) + 6); in AppendToStyleAttr()
1360 end + TY_(tmbstrlen)(styleprop) + 3); in AppendToStyleAttr()
1663 len = TY_(tmbstrlen)(p) + escape_count * 2 + 1; in TY_()
2126 if (TY_(tmbstrlen)(color) != 6) in IsValidColorCode() local
2156 cp = s = (tmbstr) TidyDocAlloc(doc, 2 + TY_(tmbstrlen)(given)); in CheckColor()
2709 uint len = TY_(tmbstrlen)(attval->value); in CheckRDFaPrefix()
[all …]
H A Dclean.c215 len += TY_(tmbstrlen)(prop->name) + 2; in CreatePropString()
217 len += TY_(tmbstrlen)(prop->value) + 2; in CreatePropString()
714 l1 = TY_(tmbstrlen)(s1); in MergeClasses()
715 l2 = TY_(tmbstrlen)(s2); in MergeClasses()
2199 if (!head || !enc || !TY_(tmbstrlen)(enc)) in TY_()
2214 tidyBufAppend(&charsetString, (char*)enc, TY_(tmbstrlen)(enc)); in TY_()
2246 … newValue = (tmbstr)TidyDocAlloc(doc, TY_(tmbstrlen)(enc) + 1); /* allocate + 1 for 0 */ in TY_()
2317 newValue = (tmbstr)TidyDocAlloc(doc, 19 + TY_(tmbstrlen)(enc) + 1); in TY_()
2357 tidyBufAppend(&buf, charsetString.bp, TY_(tmbstrlen)((ctmbstr)charsetString.bp)); in TY_()
H A Dconfig.c434 if ( TY_(tmbstrlen)(val)) /* Issue #218 - ONLY if it has LENGTH! */ in SetOptionValue() local
939 uint len = TY_(tmbstrlen)(filename) + TY_(tmbstrlen)(home_dir) + 1; in ExpandTilde()
1151 tidyBufAttach( &inbuf, (byte*)optval, TY_(tmbstrlen)(optval)+1 ); in TY_()
1309 uint len = TY_(tmbstrlen)(name) + TY_(tmbstrlen)(prvval) + 3; in TY_()
1934 if (( t = (tmbstr)TidyDocAlloc( doc, TY_(tmbstrlen)( val->p ) + 2 ) )) in SaveConfigToStream()

123