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/src/fxcrt/
fx_basic_wstring.cpp
103
void CFX_WideString::ReleaseBuffer(FX_STRSIZE
nNewLength
)
109
if (
nNewLength
== -1) {
110
nNewLength
= m_pData ? (FX_STRSIZE)FXSYS_wcslen(m_pData->m_String) : 0;
112
if (
nNewLength
== 0) {
116
FXSYS_assert(
nNewLength
<= m_pData->m_nAllocLength);
117
m_pData->m_nDataLength =
nNewLength
;
118
m_pData->m_String[
nNewLength
] = 0;
681
FX_STRSIZE
nNewLength
= nOldLength + (nReplacementLen - nSourceLen) * nCount;
682
if (m_pData->m_nAllocLength <
nNewLength
|| m_pData->m_nRefs > 1) {
685
m_pData = FX_AllocStringW(
nNewLength
);
[
all
...]
fx_basic_bstring.cpp
321
void CFX_ByteString::ReleaseBuffer(FX_STRSIZE
nNewLength
)
327
if (
nNewLength
== -1) {
328
nNewLength
= (FX_STRSIZE)FXSYS_strlen((FX_LPCSTR)m_pData->m_String);
330
if (
nNewLength
== 0) {
334
FXSYS_assert(
nNewLength
<= m_pData->m_nAllocLength);
335
m_pData->m_nDataLength =
nNewLength
;
336
m_pData->m_String[
nNewLength
] = 0;
714
FX_STRSIZE
nNewLength
= m_pData ? m_pData->m_nDataLength : 0;
715
if (nIndex >
nNewLength
) {
716
nIndex =
nNewLength
;
[
all
...]
Completed in 37 milliseconds