Lines Matching refs:other
1526 @param other Dynamic string to copy from.
1531 TRIO_ARGS2((self, other),
1533 trio_string_t *other)
1538 assert(other);
1540 length = self->length + other->length;
1543 trio_copy(&self->content[self->length], other->content);
1559 TRIO_ARGS2((self, other),
1561 TRIO_CONST char *other)
1566 assert(other);
1568 length = self->length + trio_length(other);
1571 trio_copy(&self->content[self->length], other);
1611 @param other Dynamic string to copy from.
1616 TRIO_ARGS2((self, other),
1618 trio_string_t *other)
1621 assert(other);
1623 return trio_contains(self->content, other->content);
1634 TRIO_ARGS2((self, other),
1636 TRIO_CONST char *other)
1639 assert(other);
1641 return trio_contains(self->content, other);
1652 TRIO_ARGS2((self, other),
1654 trio_string_t *other)
1657 assert(other);
1660 return trio_string_append(self, other);
1671 TRIO_ARGS2((self, other),
1673 TRIO_CONST char *other)
1676 assert(other);
1679 return trio_xstring_append(self, other);
1690 TRIO_ARGS1((other),
1691 trio_string_t *other)
1695 assert(other);
1700 self->content = TrioDuplicateMax(other->content, other->length);
1703 self->length = other->length;
1721 TRIO_ARGS1((other),
1722 TRIO_CONST char *other)
1726 assert(other);
1731 self->content = TrioDuplicateMax(other, trio_length(other));
1752 TRIO_ARGS2((self, other),
1754 trio_string_t *other)
1757 assert(other);
1759 return trio_equal(self->content, other->content);
1770 TRIO_ARGS2((self, other),
1772 TRIO_CONST char *other)
1775 assert(other);
1777 return trio_equal(self->content, other);
1788 TRIO_ARGS3((self, max, other),
1791 trio_string_t *other)
1794 assert(other);
1796 return trio_equal_max(self->content, max, other->content);
1807 TRIO_ARGS3((self, max, other),
1810 TRIO_CONST char *other)
1813 assert(other);
1815 return trio_equal_max(self->content, max, other);
1826 TRIO_ARGS2((self, other),
1828 trio_string_t *other)
1831 assert(other);
1833 return trio_equal_case(self->content, other->content);
1844 TRIO_ARGS2((self, other),
1846 TRIO_CONST char *other)
1849 assert(other);
1851 return trio_equal_case(self->content, other);
1862 TRIO_ARGS3((self, max, other),
1865 trio_string_t *other)
1868 assert(other);
1870 return trio_equal_case_max(self->content, max, other->content);
1881 TRIO_ARGS3((self, max, other),
1884 TRIO_CONST char *other)
1887 assert(other);
1889 return trio_equal_case_max(self->content, max, other);
1989 TRIO_ARGS2((self, other),
1991 trio_string_t *other)
1994 assert(other);
1996 return trio_match(self->content, other->content);
2007 TRIO_ARGS2((self, other),
2009 TRIO_CONST char *other)
2012 assert(other);
2014 return trio_match(self->content, other);
2025 TRIO_ARGS2((self, other),
2027 trio_string_t *other)
2030 assert(other);
2032 return trio_match_case(self->content, other->content);
2043 TRIO_ARGS2((self, other),
2045 TRIO_CONST char *other)
2048 assert(other);
2050 return trio_match_case(self->content, other);
2061 TRIO_ARGS2((self, other),
2063 trio_string_t *other)
2066 assert(other);
2068 return trio_substring(self->content, other->content);
2079 TRIO_ARGS2((self, other),
2081 TRIO_CONST char *other)
2084 assert(other);
2086 return trio_substring(self->content, other);