OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nNewLength
(Results
1 - 2
of
2
) sorted by null
/external/pdfium/core/src/fxcrt/
fx_basic_bstring.cpp
309
void CFX_ByteString::ReleaseBuffer(FX_STRSIZE
nNewLength
) {
314
if (
nNewLength
== -1) {
315
nNewLength
= FXSYS_strlen((const FX_CHAR*)m_pData->m_String);
317
if (
nNewLength
== 0) {
321
FXSYS_assert(
nNewLength
<= m_pData->m_nAllocLength);
322
m_pData->m_nDataLength =
nNewLength
;
323
m_pData->m_String[
nNewLength
] = 0;
689
FX_STRSIZE
nNewLength
= m_pData ? m_pData->m_nDataLength : 0;
690
if (nIndex >
nNewLength
) {
691
nIndex =
nNewLength
;
[
all
...]
fx_basic_wstring.cpp
105
void CFX_WideString::ReleaseBuffer(FX_STRSIZE
nNewLength
) {
110
if (
nNewLength
== -1) {
111
nNewLength
= m_pData ? FXSYS_wcslen(m_pData->m_String) : 0;
113
if (
nNewLength
== 0) {
117
FXSYS_assert(
nNewLength
<= m_pData->m_nAllocLength);
118
m_pData->m_nDataLength =
nNewLength
;
119
m_pData->m_String[
nNewLength
] = 0;
630
FX_STRSIZE
nNewLength
=
632
if (m_pData->m_nAllocLength <
nNewLength
|| m_pData->m_nRefs > 1) {
635
m_pData = StringData::Create(
nNewLength
);
[
all
...]
Completed in 59 milliseconds