/external/pdfium/fpdfsdk/src/jsapi/ |
D | fxjs_v8.cpp | 350 v8::Local<v8::Object> pObj; in FXJS_ReleaseRuntime() local 352 pObj = in FXJS_ReleaseRuntime() 355 pObj = v8::Local<v8::Object>::New(pIsolate, *pStaticObjects->at(i)); in FXJS_ReleaseRuntime() 360 if (!pObj.IsEmpty()) { in FXJS_ReleaseRuntime() 362 pObjDef->m_pDestructor(pObj); in FXJS_ReleaseRuntime() 363 FXJS_FreePrivate(pObj); in FXJS_ReleaseRuntime() 461 int FXJS_GetObjDefnID(v8::Local<v8::Object> pObj) { in FXJS_GetObjDefnID() argument 462 if (pObj.IsEmpty() || !pObj->InternalFieldCount()) in FXJS_GetObjDefnID() 465 pObj->GetAlignedPointerFromInternalField(0)); in FXJS_GetObjDefnID() 481 const wchar_t* FXJS_GetTypeof(v8::Local<v8::Value> pObj) { in FXJS_GetTypeof() argument [all …]
|
/external/pdfium/core/src/fpdftext/ |
D | fpdf_text_search.cpp | 17 FX_BOOL ProcessObject(const CPDF_TextObject* pObj, FX_BOOL bFirstLine); 89 const CPDF_TextObject* pObj) { in FPDFText_ProcessInterObj() argument 90 if (FPDFText_IsSameTextObject(pPrevObj, pObj)) { in FPDFText_ProcessInterObj() 106 pObj->GetItemInfo(0, &item); in FPDFText_ProcessInterObj() 107 wstr = pObj->GetFont()->UnicodeFromCharCode(item.m_CharCode); in FPDFText_ProcessInterObj() 111 int nThisWidth = GetCharWidth(item.m_CharCode, pObj->GetFont()); in FPDFText_ProcessInterObj() 112 FX_FLOAT this_width = nThisWidth * pObj->GetFontSize() / 1000; in FPDFText_ProcessInterObj() 119 FX_FLOAT x = pObj->GetPosX(), y = pObj->GetPosY(); in FPDFText_ProcessInterObj() 129 : FXSYS_fabs(pObj->GetFontSize()); in FPDFText_ProcessInterObj() 151 FX_BOOL CPDF_TextStream::ProcessObject(const CPDF_TextObject* pObj, in ProcessObject() argument [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render.cpp | 273 void CPDF_RenderStatus::RenderSingleObject(const CPDF_PageObject* pObj, in RenderSingleObject() argument 279 m_pCurObj = pObj; in RenderSingleObject() 280 if (m_Options.m_pOCContext && pObj->m_ContentMark.NotNull()) { in RenderSingleObject() 281 if (!m_Options.m_pOCContext->CheckObjectVisible(pObj)) { in RenderSingleObject() 285 ProcessClipPath(pObj->m_ClipPath, pObj2Device); in RenderSingleObject() 286 if (ProcessTransparency(pObj, pObj2Device)) { in RenderSingleObject() 289 ProcessObjectNoClip(pObj, pObj2Device); in RenderSingleObject() 292 FX_BOOL CPDF_RenderStatus::ContinueSingleObject(const CPDF_PageObject* pObj, in ContinueSingleObject() argument 300 DrawObjWithBackground(pObj, pObj2Device); in ContinueSingleObject() 305 m_pCurObj = pObj; in ContinueSingleObject() [all …]
|
D | render_int.h | 77 CPDF_TransferFunc* GetTransferFunc(CPDF_Object* pObj); 81 void ReleaseTransferFunc(CPDF_Object* pObj); 107 const CPDF_PageObject* pObj, 136 void RenderSingleObject(const CPDF_PageObject* pObj, 138 FX_BOOL ContinueSingleObject(const CPDF_PageObject* pObj, 157 void DrawObjWithBackground(const CPDF_PageObject* pObj, 159 FX_BOOL DrawObjWithBlend(const CPDF_PageObject* pObj, 220 CFX_DIBitmap* GetBackdrop(const CPDF_PageObject* pObj, 233 FX_ARGB GetFillArgb(const CPDF_PageObject* pObj, 235 FX_ARGB GetStrokeArgb(const CPDF_PageObject* pObj) const; [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_objects.cpp | 66 CPDF_Object* pObj = in GetString() local 68 return pObj ? pObj->GetString() : CFX_ByteString(); in GetString() 88 CPDF_Object* pObj = in GetConstString() local 90 return pObj ? pObj->GetConstString() : CFX_ByteStringC(); in GetConstString() 105 CPDF_Object* pObj = in GetNumber() local 107 return pObj ? pObj->GetNumber() : 0; in GetNumber() 134 CPDF_Object* pObj = in GetInteger() local 136 return pObj ? pObj->GetInteger() : 0; in GetInteger() 155 CPDF_Object* pObj = in GetDict() local 157 if (!pObj || (pObj == this)) in GetDict() [all …]
|
D | fpdf_parser_utility.cpp | 344 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj) { in operator <<() argument 345 if (!pObj) { in operator <<() 349 switch (pObj->GetType()) { in operator <<() 355 buf << " " << pObj->GetString(); in operator <<() 358 buf << PDF_EncodeString(pObj->GetString(), pObj->AsString()->IsHex()); in operator <<() 361 CFX_ByteString str = pObj->GetString(); in operator <<() 366 buf << " " << pObj->AsReference()->GetRefObjNum() << " 0 R "; in operator <<() 370 const CPDF_Array* p = pObj->AsArray(); in operator <<() 384 const CPDF_Dictionary* p = pObj->AsDictionary(); in operator <<() 400 const CPDF_Stream* p = pObj->AsStream(); in operator <<()
|
D | fpdf_parser_parser.cpp | 75 CPDF_Number* pObj = ToNumber(pDict->GetElement(key)); in GetDirectInteger() local 76 return pObj ? pObj->GetInteger() : 0; in GetDirectInteger() 873 CPDF_Object* pObj = in RebuildCrossRef() local 875 if (pObj) { in RebuildCrossRef() 876 if (!pObj->IsDictionary() && !pObj->AsStream()) { in RebuildCrossRef() 877 pObj->Release(); in RebuildCrossRef() 879 CPDF_Stream* pStream = pObj->AsStream(); in RebuildCrossRef() 881 pStream ? pStream->GetDict() : pObj->AsDictionary()) { in RebuildCrossRef() 902 pObj->Release(); in RebuildCrossRef() 904 pObj->Release(); in RebuildCrossRef() [all …]
|
/external/pdfium/fpdfsdk/include/jsapi/ |
D | fxjs_v8.h | 165 int FXJS_GetObjDefnID(v8::Local<v8::Object> pObj); 166 const wchar_t* FXJS_GetTypeof(v8::Local<v8::Value> pObj); 169 v8::Local<v8::Object> pObj, 171 void* FXJS_GetPrivate(v8::Isolate* pIsolate, v8::Local<v8::Object> pObj); 173 void FXJS_FreePrivate(v8::Local<v8::Object> pObj); 181 v8::Local<v8::Object> pObj, 184 v8::Local<v8::Object> pObj); 192 v8::Local<v8::Object> pObj, 196 v8::Local<v8::Object> pObj, 200 v8::Local<v8::Object> pObj, [all …]
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_formfield.cpp | 243 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "AA"); in GetAdditionalAction() local 244 if (!pObj) { in GetAdditionalAction() 247 return pObj->GetDict(); in GetAdditionalAction() 250 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "TU"); in GetAlternateName() local 251 if (!pObj) { in GetAlternateName() 254 return pObj->GetUnicodeText(); in GetAlternateName() 257 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "TM"); in GetMappingName() local 258 if (!pObj) { in GetMappingName() 261 return pObj->GetUnicodeText(); in GetMappingName() 264 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "Ff"); in GetFieldFlags() local [all …]
|
D | doc_utils.cpp | 285 CPDF_Object* pObj = it.second; in CountInterFormFonts() local 286 if (!pObj) { in CountInterFormFonts() 289 if (CPDF_Dictionary* pDirect = ToDictionary(pObj->GetDirect())) { in CountInterFormFonts() 315 CPDF_Object* pObj = it.second; in GetInterFormFont() local 316 if (!pObj) { in GetInterFormFont() 319 CPDF_Dictionary* pElement = ToDictionary(pObj->GetDirect()); in GetInterFormFont() 373 CPDF_Object* pObj = it.second; in GetInterFormFont() local 374 if (!pObj) { in GetInterFormFont() 377 CPDF_Dictionary* pElement = ToDictionary(pObj->GetDirect()); in GetInterFormFont() 414 CPDF_Object* pObj = it.second; in GetNativeInterFormFont() local [all …]
|
D | doc_formcontrol.cpp | 239 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->m_pDict, "A"); in GetAction() local 240 if (!pObj) { in GetAction() 243 return CPDF_Action(pObj->GetDict()); in GetAction() 261 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->m_pDict, "DA"); in GetDefaultAppearance() local 262 if (!pObj) { in GetDefaultAppearance() 265 return pObj->GetString(); in GetDefaultAppearance() 276 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pWidgetDict, "DR"); in GetDefaultControlFont() local 277 if (CPDF_Dictionary* pDict = ToDictionary(pObj)) { in GetDefaultControlFont() 293 pObj = FPDF_GetFieldAttr(pPageDict, "Resources"); in GetDefaultControlFont() 294 if (CPDF_Dictionary* pDict = ToDictionary(pObj)) { in GetDefaultControlFont() [all …]
|
D | doc_tagged.cpp | 158 CPDF_Object* pObj = m_pTreeRoot->GetElementValue("K"); in AddTopLevelNode() local 159 if (!pObj) { in AddTopLevelNode() 162 if (pObj->IsDictionary()) { in AddTopLevelNode() 163 if (pObj->GetObjNum() == pDict->GetObjNum()) { in AddTopLevelNode() 172 if (CPDF_Array* pTopKids = pObj->AsArray()) { in AddTopLevelNode() 226 CPDF_Object* pObj = pDict->GetElement("Pg"); in LoadKids() local 228 if (CPDF_Reference* pRef = ToReference(pObj)) in LoadKids() 288 if (CPDF_Reference* pObj = ToReference(pKidDict->GetElement("Obj"))) { in LoadKid() local 289 pKid->m_Object.m_RefObjNum = pObj->GetRefObjNum(); in LoadKid()
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | JS_Define.h | 87 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSPropGetter() local 91 if (!(pObj->*M)(pContext, value, sError)) { in JSPropGetter() 113 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSPropSetter() local 117 if (!(pObj->*M)(pContext, propValue, sError)) { in JSPropSetter() 157 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSMethod() local 159 if (!(pObj->*M)(pContext, parameters, valueRes, sError)) { in JSMethod() 260 CJS_Object* pObj = new js_class_name(obj); \ 261 pObj->SetEmbedObject(new class_alternate(pObj)); \ 262 FXJS_SetPrivate(nullptr, obj, (void*)pObj); \ 263 pObj->InitInstance(pIRuntime); \ [all …]
|
D | app.cpp | 124 v8::Local<v8::Object> pObj = FXJS_GetThisObj(pRuntime->GetIsolate()); in activeDocs() local 125 if (FXJS_GetObjDefnID(pObj) == CJS_Document::g_nObjDefnID) in activeDocs() 127 (CJS_Document*)FXJS_GetPrivate(pRuntime->GetIsolate(), pObj); in activeDocs() 129 v8::Local<v8::Object> pObj = FXJS_NewFxDynamicObj( in activeDocs() local 132 (CJS_Document*)FXJS_GetPrivate(pRuntime->GetIsolate(), pObj); in activeDocs() 297 v8::Local<v8::Object> pObj = params[0].ToV8Object(); in alert() local 300 FXJS_GetObjectElement(isolate, pObj, L"cMsg"); in alert() 304 pValue = FXJS_GetObjectElement(isolate, pObj, L"cTitle"); in alert() 308 pValue = FXJS_GetObjectElement(isolate, pObj, L"nIcon"); in alert() 311 pValue = FXJS_GetObjectElement(isolate, pObj, L"nType"); in alert() [all …]
|
D | global.cpp | 259 v8::Local<v8::Object> pObj = FXJS_NewFxDynamicObj(pRuntime, NULL, -1); in UpdateGlobalPersistentVariables() local 261 PutObjectProperty(pObj, &pData->data); in UpdateGlobalPersistentVariables() 264 false, "", pObj, pData->bPersistent == 1); in UpdateGlobalPersistentVariables() 266 pData->data.sKey.UTF8Decode().c_str(), pObj); in UpdateGlobalPersistentVariables() 321 v8::Local<v8::Object> pObj, in ObjectToArray() argument 323 v8::Isolate* isolate = pObj->GetIsolate(); in ObjectToArray() 326 v8::Local<v8::Array> pKeyList = FXJS_GetObjectElementNames(isolate, pObj); in ObjectToArray() 333 v8::Local<v8::Value> v = FXJS_GetObjectElement(isolate, pObj, ws.c_str()); in ObjectToArray() 377 void JSGlobalAlternate::PutObjectProperty(v8::Local<v8::Object> pObj, in PutObjectProperty() argument 383 FXJS_PutObjectNumber(NULL, pObj, pObjData->sKey.UTF8Decode().c_str(), in PutObjectProperty() [all …]
|
D | Document.cpp | 422 v8::Local<v8::Object> pObj = params[8].ToV8Object(); in print() local 424 if (FXJS_GetObjDefnID(pObj) == CJS_PrintParamsObj::g_nObjDefnID) { in print() 605 v8::Local<v8::Object> pObj = params[0].ToV8Object(); in submitForm() local 606 v8::Local<v8::Value> pValue = FXJS_GetObjectElement(isolate, pObj, L"cURL"); in submitForm() 611 pValue = FXJS_GetObjectElement(isolate, pObj, L"bFDF"); in submitForm() 614 pValue = FXJS_GetObjectElement(isolate, pObj, L"bEmpty"); in submitForm() 617 pValue = FXJS_GetObjectElement(isolate, pObj, L"aFields"); in submitForm() 703 v8::Local<v8::Object> pObj = params[0].ToV8Object(); in mailDoc() local 705 v8::Local<v8::Value> pValue = FXJS_GetObjectElement(isolate, pObj, L"bUI"); in mailDoc() 708 pValue = FXJS_GetObjectElement(isolate, pObj, L"cTo"); in mailDoc() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | ndis_events.c | 241 IWbemClassObject *pObj) in ndis_events_media_specific() argument 253 hr = IWbemClassObject_Get(pObj, L"NdisStatusMediaSpecificIndication", in ndis_events_media_specific() 318 IWbemClassObject *pObj = ppObjArray[i]; in ndis_events_indicate() local 322 hr = IWbemClassObject_Get(pObj, L"__CLASS", 0, &vtClass, NULL, in ndis_events_indicate() 331 hr = IWbemClassObject_Get(pObj, L"InstanceName", 0, &vt, NULL, in ndis_events_indicate() 361 ndis_events_media_specific(events, pObj); in ndis_events_indicate() 491 IWbemClassObject *pObj; in ndis_events_get_adapter() local 533 &pObj, &uReturned); in ndis_events_get_adapter() 545 hr = IWbemClassObject_Get(pObj, L"Index", 0, &vt, NULL, NULL); in ndis_events_get_adapter() 560 IWbemClassObject_Release(pObj); in ndis_events_get_adapter() [all …]
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_CBA_Fontmap.cpp | 123 CPDF_Object* pObj = it.second; in FindResFontSameCharset() local 124 if (!pObj) in FindResFontSameCharset() 127 CPDF_Dictionary* pElement = ToDictionary(pObj->GetDirect()); in FindResFontSameCharset() 221 CPDF_Object* pObj; in GetAnnotDefaultFont() local 222 if ((pObj = FPDF_GetFieldAttr(m_pAnnotDict, "DA"))) in GetAnnotDefaultFont() 223 sDA = pObj->GetString(); in GetAnnotDefaultFont() 227 pObj = FPDF_GetFieldAttr(pAcroFormDict, "DA"); in GetAnnotDefaultFont() 228 sDA = pObj ? pObj->GetString() : CFX_ByteString(); in GetAnnotDefaultFont()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_create.cpp | 23 int32_t PDF_CreatorAppendObject(const CPDF_Object* pObj, in PDF_CreatorAppendObject() argument 27 if (!pObj) { in PDF_CreatorAppendObject() 34 switch (pObj->GetType()) { in PDF_CreatorAppendObject() 46 if ((len = pFile->AppendString(pObj->GetString())) < 0) { in PDF_CreatorAppendObject() 52 CFX_ByteString str = pObj->GetString(); in PDF_CreatorAppendObject() 53 FX_BOOL bHex = pObj->AsString()->IsHex(); in PDF_CreatorAppendObject() 64 CFX_ByteString str = pObj->GetString(); in PDF_CreatorAppendObject() 74 if ((len = pFile->AppendDWord(pObj->AsReference()->GetRefObjNum())) < 0) in PDF_CreatorAppendObject() 86 const CPDF_Array* p = pObj->AsArray(); in PDF_CreatorAppendObject() 117 const CPDF_Dictionary* p = pObj->AsDictionary(); in PDF_CreatorAppendObject() [all …]
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_serial.h | 15 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); 75 int32_t WriteIndirectObj(const CPDF_Object* pObj); 77 const CPDF_Object* pObj, 79 int32_t WriteIndirectObjectToStream(const CPDF_Object* pObj); 80 int32_t WriteIndirectObj(FX_DWORD objnum, const CPDF_Object* pObj);
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_parser_old.cpp | 96 std::unique_ptr<CPDF_Object, ReleaseDeleter<CPDF_Object>> pObj( in Handle_BeginImage() local 99 FX_DWORD dwObjNum = pObj ? pObj->GetObjNum() : 0; in Handle_BeginImage() 103 pDict->SetAt(key, pObj.release()); in Handle_BeginImage() 637 CPDF_Object* pObj = ReadNextObject(TRUE); in ReadNextObject() local 638 if (!pObj) { in ReadNextObject() 643 pDict->SetAt(key, pObj); in ReadNextObject() 645 pObj->Release(); in ReadNextObject() 656 CPDF_Object* pObj = ReadNextObject(bAllowNestedArray, TRUE); in ReadNextObject() local 657 if (pObj) { in ReadNextObject() 658 pArray->Add(pObj); in ReadNextObject() [all …]
|
D | fpdf_page_parser.cpp | 190 void CPDF_StreamContentParser::AddObjectParam(CPDF_Object* pObj) { in AddObjectParam() argument 193 m_ParamBuf1[index].m_pObject = pObj; in AddObjectParam() 279 void CPDF_StreamContentParser::SetGraphicStates(CPDF_PageObject* pObj, in SetGraphicStates() argument 283 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates() 284 pObj->m_ClipPath = m_pCurStates->m_ClipPath; in SetGraphicStates() 285 pObj->m_ContentMark = m_CurContentMark; in SetGraphicStates() 287 pObj->m_ColorState = m_pCurStates->m_ColorState; in SetGraphicStates() 290 pObj->m_GraphState = m_pCurStates->m_GraphState; in SetGraphicStates() 293 pObj->m_TextState = m_pCurStates->m_TextState; in SetGraphicStates() 488 void PDF_ReplaceAbbr(CPDF_Object* pObj) { in PDF_ReplaceAbbr() argument [all …]
|
D | fpdf_page.cpp | 29 CPDF_PageObject* pObj = Create(m_Type); in Clone() local 30 pObj->Copy(this); in Clone() 31 return pObj; in Clone() 49 void CPDF_PageObject::CopyClipPath(CPDF_PageObject* pObj) { in CopyClipPath() argument 50 m_ClipPath = pObj->m_ClipPath; in CopyClipPath() 710 int CPDF_PageObjects::GetObjectIndex(CPDF_PageObject* pObj) const { in GetObjectIndex() 715 if (pThisObj == pObj) { in GetObjectIndex() 729 CPDF_PageObject* pObj = (CPDF_PageObject*)m_ObjectList.GetNext(pos); in Transform() local 730 pObj->Transform(matrix); in Transform() 742 CPDF_PageObject* pObj = (CPDF_PageObject*)m_ObjectList.GetNext(pos); in CalcBoundingBox() local [all …]
|
D | fpdf_page_func.cpp | 477 FX_BOOL v_Init(CPDF_Object* pObj) override; 497 FX_BOOL CPDF_SampledFunc::v_Init(CPDF_Object* pObj) { in v_Init() argument 498 CPDF_Stream* pStream = pObj->AsStream(); in v_Init() 632 FX_BOOL v_Init(CPDF_Object* pObj) override; 638 FX_BOOL CPDF_PSFunc::v_Init(CPDF_Object* pObj) { in v_Init() argument 639 CPDF_Stream* pStream = pObj->AsStream(); in v_Init() 667 FX_BOOL v_Init(CPDF_Object* pObj) override; 684 FX_BOOL CPDF_ExpIntFunc::v_Init(CPDF_Object* pObj) { in v_Init() argument 685 CPDF_Dictionary* pDict = pObj->GetDict(); in v_Init() 728 FX_BOOL v_Init(CPDF_Object* pObj) override; [all …]
|
/external/pdfium/fpdfsdk/src/ |
D | fpdfppo.cpp | 26 FX_BOOL UpdateReference(CPDF_Object* pObj, 106 CPDF_Object* pObj = it.second; in ExportPage() local 110 pCurPageDict->SetAt(cbSrcKeyStr, pObj->Clone()); in ExportPage() 202 FX_BOOL CPDF_PageOrganizer::UpdateReference(CPDF_Object* pObj, in UpdateReference() argument 205 switch (pObj->GetType()) { in UpdateReference() 207 CPDF_Reference* pReference = pObj->AsReference(); in UpdateReference() 215 CPDF_Dictionary* pDict = pObj->AsDictionary(); in UpdateReference() 235 CPDF_Array* pArray = pObj->AsArray(); in UpdateReference() 247 CPDF_Stream* pStream = pObj->AsStream(); in UpdateReference()
|