Lines Matching defs:cchBoth
74 size_t cchBoth = pThis->m_cch + cbChars;
75 if (cchBoth >= pThis->m_cbAllocated)
81 if (cbAlloc <= cchBoth)
82 cbAlloc = RT_ALIGN_Z(cchBoth + 1, IPRT_MINISTRING_APPEND_ALIGNMENT);
85 AssertReleaseReturn(pThis->capacity() > cchBoth, 0);
90 pThis->m_cch = cchBoth;
91 pThis->m_psz[cchBoth] = '\0';
109 size_t cchBoth = cchThis + cchThat;
111 if (cchBoth >= m_cbAllocated)
113 reserve(RT_ALIGN_Z(cchBoth + 1, IPRT_MINISTRING_APPEND_ALIGNMENT));
114 // calls realloc(cchBoth + 1) and sets m_cbAllocated; may throw bad_alloc.
116 AssertRelease(capacity() > cchBoth);
121 m_psz[cchBoth] = '\0';
122 m_cch = cchBoth;
133 size_t cchBoth = cchThis + cchThat;
135 if (cchBoth >= m_cbAllocated)
137 reserve(RT_ALIGN_Z(cchBoth + 1, IPRT_MINISTRING_APPEND_ALIGNMENT));
138 // calls realloc(cchBoth + 1) and sets m_cbAllocated; may throw bad_alloc.
140 AssertRelease(capacity() > cchBoth);
145 m_psz[cchBoth] = '\0';
146 m_cch = cchBoth;