OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nNewLength
(Results
1 - 2
of
2
) sorted by null
/external/pdfium/core/fxcrt/
fx_basic_bstring.cpp
266
void CFX_ByteString::ReallocBeforeWrite(FX_STRSIZE
nNewLength
) {
267
if (m_pData && m_pData->CanOperateInPlace(
nNewLength
))
270
if (
nNewLength
<= 0) {
275
CFX_RetainPtr<StringData> pNewData(StringData::Create(
nNewLength
));
277
FX_STRSIZE nCopyLength = std::min(m_pData->m_nDataLength,
nNewLength
);
287
void CFX_ByteString::AllocBeforeWrite(FX_STRSIZE
nNewLength
) {
288
if (m_pData && m_pData->CanOperateInPlace(
nNewLength
))
291
if (
nNewLength
<= 0) {
296
m_pData.Reset(StringData::Create(
nNewLength
));
299
void CFX_ByteString::ReleaseBuffer(FX_STRSIZE
nNewLength
) {
[
all
...]
fx_basic_wstring.cpp
215
void CFX_WideString::ReallocBeforeWrite(FX_STRSIZE
nNewLength
) {
216
if (m_pData && m_pData->CanOperateInPlace(
nNewLength
))
219
if (
nNewLength
<= 0) {
224
CFX_RetainPtr<StringData> pNewData(StringData::Create(
nNewLength
));
226
FX_STRSIZE nCopyLength = std::min(m_pData->m_nDataLength,
nNewLength
);
236
void CFX_WideString::AllocBeforeWrite(FX_STRSIZE
nNewLength
) {
237
if (m_pData && m_pData->CanOperateInPlace(
nNewLength
))
240
if (
nNewLength
<= 0) {
245
m_pData.Reset(StringData::Create(
nNewLength
));
248
void CFX_WideString::ReleaseBuffer(FX_STRSIZE
nNewLength
) {
[
all
...]
Completed in 100 milliseconds