Home
last modified time | relevance | path

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

/external/pdfium/fxjs/
Dcjs_globaldata.cpp107 auto pNewData = pdfium::MakeUnique<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 auto pNewData = pdfium::MakeUnique<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 …]
Dcjs_global.cpp584 auto pNewData = pdfium::MakeUnique<JSGlobalData>(); in SetGlobalVariables() local
587 pNewData->nType = JS_GlobalDataType::NUMBER; in SetGlobalVariables()
588 pNewData->dData = dData; in SetGlobalVariables()
589 pNewData->bPersistent = bDefaultPersistent; in SetGlobalVariables()
592 pNewData->nType = JS_GlobalDataType::BOOLEAN; in SetGlobalVariables()
593 pNewData->bData = bData; in SetGlobalVariables()
594 pNewData->bPersistent = bDefaultPersistent; in SetGlobalVariables()
597 pNewData->nType = JS_GlobalDataType::STRING; in SetGlobalVariables()
598 pNewData->sData = sData; in SetGlobalVariables()
599 pNewData->bPersistent = bDefaultPersistent; in SetGlobalVariables()
[all …]
Dcjs_field.cpp2595 CJS_DelayData* pNewData = in AddDelay_Int() local
2597 pNewData->num = n; in AddDelay_Int()
2598 m_pJSDoc->AddDelayData(pNewData); in AddDelay_Int()
2602 CJS_DelayData* pNewData = in AddDelay_Bool() local
2604 pNewData->b = b; in AddDelay_Bool()
2605 m_pJSDoc->AddDelayData(pNewData); in AddDelay_Bool()
2609 CJS_DelayData* pNewData = in AddDelay_String() local
2611 pNewData->string = string; in AddDelay_String()
2612 m_pJSDoc->AddDelayData(pNewData); in AddDelay_String()
2616 CJS_DelayData* pNewData = in AddDelay_Rect() local
[all …]
/external/pdfium/core/fxcrt/
Dbytestring.cpp373 RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in ReallocBeforeWrite() local
376 pNewData->CopyContents(m_pData->m_String, nCopyLength); in ReallocBeforeWrite()
377 pNewData->m_nDataLength = nCopyLength; in ReallocBeforeWrite()
379 pNewData->m_nDataLength = 0; in ReallocBeforeWrite()
381 pNewData->m_String[pNewData->m_nDataLength] = 0; in ReallocBeforeWrite()
382 m_pData.Swap(pNewData); in ReallocBeforeWrite()
440 RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer() local
441 pNewData->CopyContents(*m_pData); in GetBuffer()
442 pNewData->m_nDataLength = m_pData->m_nDataLength; in GetBuffer()
443 m_pData.Swap(pNewData); in GetBuffer()
[all …]
Dwidestring.cpp540 RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in ReallocBeforeWrite() local
543 pNewData->CopyContents(m_pData->m_String, nCopyLength); in ReallocBeforeWrite()
544 pNewData->m_nDataLength = nCopyLength; in ReallocBeforeWrite()
546 pNewData->m_nDataLength = 0; in ReallocBeforeWrite()
548 pNewData->m_String[pNewData->m_nDataLength] = 0; in ReallocBeforeWrite()
549 m_pData.Swap(pNewData); in ReallocBeforeWrite()
607 RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer() local
608 pNewData->CopyContents(*m_pData); in GetBuffer()
609 pNewData->m_nDataLength = m_pData->m_nDataLength; in GetBuffer()
610 m_pData.Swap(pNewData); in GetBuffer()
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_font_map.cpp135 auto pNewData = pdfium::MakeUnique<CPWL_FontMap_Native>(); in GetNativeFontName() local
136 pNewData->nCharset = nCharset; in GetNativeFontName()
137 pNewData->sFontName = sNew; in GetNativeFontName()
138 m_NativeFont.push_back(std::move(pNewData)); in GetNativeFontName()
199 auto pNewData = pdfium::MakeUnique<CPWL_FontMap_Data>(); in AddFontData() local
200 pNewData->pFont = pFont; in AddFontData()
201 pNewData->sFontName = sFontAlias; in AddFontData()
202 pNewData->nCharset = nCharset; in AddFontData()
203 m_Data.push_back(std::move(pNewData)); in AddFontData()