Home
last modified time | relevance | path

Searched refs:pNewData (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/fpdfsdk/javascript/
DJS_GlobalData.cpp107 std::unique_ptr<CJS_GlobalData_Element> pNewData(new CJS_GlobalData_Element); in SetGlobalVariableNumber() local
108 pNewData->data.sKey = sPropName; in SetGlobalVariableNumber()
109 pNewData->data.nType = JS_GlobalDataType::NUMBER; in SetGlobalVariableNumber()
110 pNewData->data.dData = dData; in SetGlobalVariableNumber()
111 m_arrayGlobalData.push_back(std::move(pNewData)); in SetGlobalVariableNumber()
125 std::unique_ptr<CJS_GlobalData_Element> pNewData(new CJS_GlobalData_Element); in SetGlobalVariableBoolean() local
126 pNewData->data.sKey = sPropName; in SetGlobalVariableBoolean()
127 pNewData->data.nType = JS_GlobalDataType::BOOLEAN; in SetGlobalVariableBoolean()
128 pNewData->data.bData = bData; in SetGlobalVariableBoolean()
129 m_arrayGlobalData.push_back(std::move(pNewData)); in SetGlobalVariableBoolean()
[all …]
Dglobal.cpp402 JSGlobalData* pNewData = nullptr; in SetGlobalVariables() local
406 pNewData = new JSGlobalData; in SetGlobalVariables()
407 pNewData->nType = JS_GlobalDataType::NUMBER; in SetGlobalVariables()
408 pNewData->dData = dData; in SetGlobalVariables()
409 pNewData->bPersistent = bDefaultPersistent; in SetGlobalVariables()
412 pNewData = new JSGlobalData; in SetGlobalVariables()
413 pNewData->nType = JS_GlobalDataType::BOOLEAN; in SetGlobalVariables()
414 pNewData->bData = bData; in SetGlobalVariables()
415 pNewData->bPersistent = bDefaultPersistent; in SetGlobalVariables()
418 pNewData = new JSGlobalData; in SetGlobalVariables()
[all …]
DField.cpp3202 CJS_DelayData* pNewData = in AddDelay_Int() local
3204 pNewData->num = n; in AddDelay_Int()
3205 m_pJSDoc->AddDelayData(pNewData); in AddDelay_Int()
3209 CJS_DelayData* pNewData = in AddDelay_Bool() local
3211 pNewData->b = b; in AddDelay_Bool()
3212 m_pJSDoc->AddDelayData(pNewData); in AddDelay_Bool()
3216 CJS_DelayData* pNewData = in AddDelay_String() local
3218 pNewData->string = string; in AddDelay_String()
3219 m_pJSDoc->AddDelayData(pNewData); in AddDelay_String()
3223 CJS_DelayData* pNewData = in AddDelay_WideString() local
[all …]
/external/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp224 CFX_RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in ReallocBeforeWrite() local
227 pNewData->CopyContents(m_pData->m_String, nCopyLength); in ReallocBeforeWrite()
228 pNewData->m_nDataLength = nCopyLength; in ReallocBeforeWrite()
230 pNewData->m_nDataLength = 0; in ReallocBeforeWrite()
232 pNewData->m_String[pNewData->m_nDataLength] = 0; in ReallocBeforeWrite()
233 m_pData.Swap(pNewData); in ReallocBeforeWrite()
294 CFX_RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer() local
295 pNewData->CopyContents(*m_pData); in GetBuffer()
296 pNewData->m_nDataLength = m_pData->m_nDataLength; in GetBuffer()
297 m_pData.Swap(pNewData); in GetBuffer()
[all …]
Dfx_basic_bstring.cpp275 CFX_RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in ReallocBeforeWrite() local
278 pNewData->CopyContents(m_pData->m_String, nCopyLength); in ReallocBeforeWrite()
279 pNewData->m_nDataLength = nCopyLength; in ReallocBeforeWrite()
281 pNewData->m_nDataLength = 0; in ReallocBeforeWrite()
283 pNewData->m_String[pNewData->m_nDataLength] = 0; in ReallocBeforeWrite()
284 m_pData.Swap(pNewData); in ReallocBeforeWrite()
345 CFX_RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer() local
346 pNewData->CopyContents(*m_pData); in GetBuffer()
347 pNewData->m_nDataLength = m_pData->m_nDataLength; in GetBuffer()
348 m_pData.Swap(pNewData); in GetBuffer()
[all …]
Dfx_basic_array.cpp52 uint8_t* pNewData = FX_Realloc( in SetSize() local
54 if (!pNewData) { in SetSize()
57 FXSYS_memset(pNewData + m_nSize * m_nUnitSize, 0, in SetSize()
59 m_pData = pNewData; in SetSize()
/external/pdfium/fpdfsdk/pdfwindow/
DPWL_FontMap.cpp142 auto pNewData = pdfium::MakeUnique<CPWL_FontMap_Native>(); in GetNativeFontName() local
143 pNewData->nCharset = nCharset; in GetNativeFontName()
144 pNewData->sFontName = sNew; in GetNativeFontName()
145 m_NativeFont.push_back(std::move(pNewData)); in GetNativeFontName()
210 auto pNewData = pdfium::MakeUnique<CPWL_FontMap_Data>(); in AddFontData() local
211 pNewData->pFont = pFont; in AddFontData()
212 pNewData->sFontName = sFontAlias; in AddFontData()
213 pNewData->nCharset = nCharset; in AddFontData()
214 m_Data.push_back(std::move(pNewData)); in AddFontData()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp38 CFX_WideString* pNewData = new CFX_WideString(*(CFX_WideString*)pData); in XFA_CopyWideString() local
39 pData = pNewData; in XFA_CopyWideString()