/external/python/cpython2/Modules/ |
D | _lsprof.c | 130 static PY_LONG_LONG CallExternalTimer(ProfilerObject *pObj) in CallExternalTimer() argument 133 PyObject *o = PyObject_Call(pObj->externalTimer, empty_tuple, NULL); in CallExternalTimer() 135 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer() 138 if (pObj->externalTimerUnit > 0.0) { in CallExternalTimer() 153 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer() 159 #define CALL_TIMER(pObj) ((pObj)->externalTimer ? \ argument 160 CallExternalTimer(pObj) : \ 227 newProfilerEntry(ProfilerObject *pObj, void *key, PyObject *userObj) in newProfilerEntry() argument 232 pObj->flags |= POF_NOMEMORY; in newProfilerEntry() 239 pObj->flags |= POF_NOMEMORY; in newProfilerEntry() [all …]
|
/external/python/cpython3/Modules/ |
D | _lsprof.c | 120 static long long CallExternalTimer(ProfilerObject *pObj) in CallExternalTimer() argument 123 PyObject *o = PyObject_Call(pObj->externalTimer, empty_tuple, NULL); in CallExternalTimer() 125 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer() 128 if (pObj->externalTimerUnit > 0.0) { in CallExternalTimer() 143 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer() 149 #define CALL_TIMER(pObj) ((pObj)->externalTimer ? \ argument 150 CallExternalTimer(pObj) : \ 226 newProfilerEntry(ProfilerObject *pObj, void *key, PyObject *userObj) in newProfilerEntry() argument 231 pObj->flags |= POF_NOMEMORY; in newProfilerEntry() 238 pObj->flags |= POF_NOMEMORY; in newProfilerEntry() [all …]
|
/external/pdfium/core/fxcrt/xml/ |
D | cxml_object.h | 27 inline CXML_Content* ToContent(CXML_Object* pObj) { in ToContent() argument 28 return pObj ? pObj->AsContent() : nullptr; in ToContent() 31 inline const CXML_Content* ToContent(const CXML_Object* pObj) { in ToContent() argument 32 return pObj ? pObj->AsContent() : nullptr; in ToContent() 35 inline CXML_Element* ToElement(CXML_Object* pObj) { in ToElement() argument 36 return pObj ? pObj->AsElement() : nullptr; in ToElement() 39 inline const CXML_Element* ToElement(const CXML_Object* pObj) { in ToElement() argument 40 return pObj ? pObj->AsElement() : nullptr; in ToElement()
|
/external/pdfium/fpdfsdk/ |
D | fpdfeditimg.cpp | 145 CPDF_PageObject* pObj = CPDFPageObjectFromFPDFPageObject(image_object); in FPDFImageObj_GetBitmap() local 146 if (!pObj || !pObj->IsImage()) in FPDFImageObj_GetBitmap() 149 RetainPtr<CPDF_Image> pImg = pObj->AsImage()->GetImage(); in FPDFImageObj_GetBitmap() 174 CPDF_PageObject* pObj = CPDFPageObjectFromFPDFPageObject(image_object); in FPDFImageObj_GetImageDataDecoded() local 175 if (!pObj || !pObj->IsImage()) in FPDFImageObj_GetImageDataDecoded() 178 RetainPtr<CPDF_Image> pImg = pObj->AsImage()->GetImage(); in FPDFImageObj_GetImageDataDecoded() 193 CPDF_PageObject* pObj = CPDFPageObjectFromFPDFPageObject(image_object); in FPDFImageObj_GetImageDataRaw() local 194 if (!pObj || !pObj->IsImage()) in FPDFImageObj_GetImageDataRaw() 197 RetainPtr<CPDF_Image> pImg = pObj->AsImage()->GetImage(); in FPDFImageObj_GetImageDataRaw() 214 CPDF_PageObject* pObj = CPDFPageObjectFromFPDFPageObject(image_object); in FPDFImageObj_GetImageFilterCount() local [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | fpdf_parser_utility.cpp | 88 CPDF_Number* pObj = ToNumber(pDict->GetObjectFor(key)); in GetDirectInteger() local 89 return pObj ? pObj->GetInteger() : 0; in GetDirectInteger() 153 std::ostream& operator<<(std::ostream& buf, const CPDF_Object* pObj) { in operator <<() argument 154 if (!pObj) { in operator <<() 158 switch (pObj->GetType()) { in operator <<() 164 buf << " " << pObj->GetString(); in operator <<() 167 buf << PDF_EncodeString(pObj->GetString(), pObj->AsString()->IsHex()); in operator <<() 170 ByteString str = pObj->GetString(); in operator <<() 175 buf << " " << pObj->AsReference()->GetRefObjNum() << " 0 R "; in operator <<() 179 const CPDF_Array* p = pObj->AsArray(); in operator <<() [all …]
|
D | cpdf_array.cpp | 166 CPDF_Object* CPDF_Array::SetAt(size_t i, std::unique_ptr<CPDF_Object> pObj) { in SetAt() argument 168 ASSERT(!pObj || pObj->IsInline()); in SetAt() 173 CPDF_Object* pRet = pObj.get(); in SetAt() 174 m_Objects[i] = std::move(pObj); in SetAt() 179 std::unique_ptr<CPDF_Object> pObj) { in InsertAt() argument 181 CHECK(!pObj || pObj->IsInline()); in InsertAt() 182 CPDF_Object* pRet = pObj.get(); in InsertAt() 186 m_Objects[index] = std::move(pObj); in InsertAt() 189 m_Objects.insert(m_Objects.begin() + index, std::move(pObj)); in InsertAt() 194 CPDF_Object* CPDF_Array::Add(std::unique_ptr<CPDF_Object> pObj) { in Add() argument [all …]
|
D | cpdf_indirect_object_holder.cpp | 67 std::unique_ptr<CPDF_Object> pObj) { in AddIndirectObject() argument 68 CHECK(!pObj->GetObjNum()); in AddIndirectObject() 69 pObj->SetObjNum(++m_LastObjNum); in AddIndirectObject() 75 obj_holder = std::move(pObj); in AddIndirectObject() 81 std::unique_ptr<CPDF_Object> pObj) { in ReplaceIndirectObjectIfHigherGeneration() argument 83 if (!pObj || objnum == CPDF_Object::kInvalidObjNum) in ReplaceIndirectObjectIfHigherGeneration() 88 if (old_object && pObj->GetGenNum() <= old_object->GetGenNum()) in ReplaceIndirectObjectIfHigherGeneration() 91 pObj->SetObjNum(objnum); in ReplaceIndirectObjectIfHigherGeneration() 95 obj_holder = std::move(pObj); in ReplaceIndirectObjectIfHigherGeneration()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_pageobjectholder.cpp | 54 for (auto& pObj : m_PageObjectList) in Transform() local 55 pObj->Transform(matrix); in Transform() 66 for (const auto& pObj : m_PageObjectList) { in CalcBoundingBox() local 67 left = std::min(left, pObj->m_Left); in CalcBoundingBox() 68 right = std::max(right, pObj->m_Right); in CalcBoundingBox() 69 bottom = std::min(bottom, pObj->m_Bottom); in CalcBoundingBox() 70 top = std::max(top, pObj->m_Top); in CalcBoundingBox()
|
D | cpdf_contentparser.cpp | 180 for (auto& pObj : *m_pObjectHolder->GetPageObjectList()) { in Continue() 181 if (!pObj->m_ClipPath.HasRef()) in Continue() 183 if (pObj->m_ClipPath.GetPathCount() != 1) in Continue() 185 if (pObj->m_ClipPath.GetTextCount() > 0) in Continue() 188 CPDF_Path ClipPath = pObj->m_ClipPath.GetPath(0); in Continue() 189 if (!ClipPath.IsRect() || pObj->IsShading()) in Continue() 195 CFX_FloatRect obj_rect(pObj->m_Left, pObj->m_Bottom, pObj->m_Right, in Continue() 196 pObj->m_Top); in Continue() 198 pObj->m_ClipPath.SetNull(); in Continue()
|
D | cpdf_streamcontentparser.cpp | 172 void ReplaceAbbr(CPDF_Object* pObj) { in ReplaceAbbr() argument 173 switch (pObj->GetType()) { in ReplaceAbbr() 175 CPDF_Dictionary* pDict = pObj->AsDictionary(); in ReplaceAbbr() 216 CPDF_Array* pArray = pObj->AsArray(); in ReplaceAbbr() 335 std::unique_ptr<CPDF_Object> pObj) { in AddObjectParam() argument 338 param.m_pObject = std::move(pObj); in AddObjectParam() 422 void CPDF_StreamContentParser::SetGraphicStates(CPDF_PageObject* pObj, in SetGraphicStates() argument 426 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates() 427 pObj->m_ClipPath = m_pCurStates->m_ClipPath; in SetGraphicStates() 428 pObj->m_ContentMark = m_CurContentMark; in SetGraphicStates() [all …]
|
/external/pdfium/fxjs/ |
D | fxjs_v8.cpp | 31 v8::Local<v8::Object> pObj) { in SetInObject() argument 32 if (pObj->InternalFieldCount() == 2) { in SetInObject() 33 pObj->SetAlignedPointerInInternalField(0, pData); in SetInObject() 34 pObj->SetAlignedPointerInInternalField( in SetInObject() 39 static CFXJS_PerObjectData* GetFromObject(v8::Local<v8::Object> pObj) { in GetFromObject() argument 40 if (pObj.IsEmpty() || pObj->InternalFieldCount() != 2 || in GetFromObject() 41 pObj->GetAlignedPointerFromInternalField(1) != in GetFromObject() 46 pObj->GetAlignedPointerFromInternalField(0)); in GetFromObject() 271 int CFXJS_Engine::GetObjDefnID(v8::Local<v8::Object> pObj) { in GetObjDefnID() argument 272 CFXJS_PerObjectData* pData = CFXJS_PerObjectData::GetFromObject(pObj); in GetObjDefnID() [all …]
|
D | JS_Define.h | 51 CJS_Object* pObj = new T(obj); in JSConstructor() local 52 pObj->SetEmbedObject(new A(pObj)); in JSConstructor() 53 pEngine->SetObjectPrivate(obj, pObj); in JSConstructor() 54 pObj->InitInstance(static_cast<CJS_Runtime*>(pEngine)); in JSConstructor() 77 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSPropGetter() local 78 CJS_Return result = (pObj->*M)(pRuntime); in JSPropGetter() 105 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSPropSetter() local 106 CJS_Return result = (pObj->*M)(pRuntime, value); in JSPropSetter() 133 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSMethod() local 134 CJS_Return result = (pObj->*M)(pRuntime, parameters); in JSMethod()
|
D | cjs_global.cpp | 45 Alt* pObj = reinterpret_cast<Alt*>(pJSObj->GetEmbedObject()); in JSSpecialPropQuery() local 47 pObj->QueryProperty(PropFromV8Prop(info.GetIsolate(), property).c_str()); in JSSpecialPropQuery() 65 Alt* pObj = reinterpret_cast<Alt*>(pJSObj->GetEmbedObject()); in JSSpecialPropGet() local 66 CJS_Return result = pObj->GetProperty( in JSSpecialPropGet() 93 Alt* pObj = reinterpret_cast<Alt*>(pJSObj->GetEmbedObject()); in JSSpecialPropPut() local 94 CJS_Return result = pObj->SetProperty( in JSSpecialPropPut() 116 Alt* pObj = reinterpret_cast<Alt*>(pJSObj->GetEmbedObject()); in JSSpecialPropDel() local 117 CJS_Return result = pObj->DelProperty( in JSSpecialPropDel() 166 v8::Local<v8::Object> pObj, 394 v8::Local<v8::Object> pObj = pRuntime->NewFxDynamicObj(-1); in UpdateGlobalPersistentVariables() local [all …]
|
D | cjs_document.cpp | 361 v8::Local<v8::Object> pObj = pRuntime->ToObject(params[8]); in print() local 362 if (CFXJS_Engine::GetObjDefnID(pObj) == in print() 364 v8::Local<v8::Object> pObj = pRuntime->ToObject(params[8]); in print() local 366 static_cast<CJS_Object*>(pRuntime->GetObjectPrivate(pObj)); in print() 544 v8::Local<v8::Object> pObj = pRuntime->ToObject(params[0]); in submitForm() local 545 v8::Local<v8::Value> pValue = pRuntime->GetObjectProperty(pObj, L"cURL"); in submitForm() 549 bFDF = pRuntime->ToBoolean(pRuntime->GetObjectProperty(pObj, L"bFDF")); in submitForm() 550 bEmpty = pRuntime->ToBoolean(pRuntime->GetObjectProperty(pObj, L"bEmpty")); in submitForm() 551 aFields = pRuntime->ToArray(pRuntime->GetObjectProperty(pObj, L"aFields")); in submitForm() 625 v8::Local<v8::Object> pObj = pRuntime->ToObject(params[0]); in mailDoc() local [all …]
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_object.cpp | 63 CXFA_Node* ToNode(CXFA_Object* pObj) { in ToNode() argument 64 return pObj ? pObj->AsNode() : nullptr; in ToNode() 67 const CXFA_Node* ToNode(const CXFA_Object* pObj) { in ToNode() argument 68 return pObj ? pObj->AsNode() : nullptr; in ToNode()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_formcontrol.cpp | 251 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->GetDict(), "A"); in GetAction() local 252 return CPDF_Action(pObj ? pObj->GetDict() : nullptr); in GetAction() 271 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->GetDict(), "DA"); in GetDefaultAppearance() local 272 if (pObj) in GetDefaultAppearance() 273 return CPDF_DefaultAppearance(pObj->GetString()); in GetDefaultAppearance() 284 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pWidgetDict.Get(), "DR"); in GetDefaultControlFont() local 285 if (CPDF_Dictionary* pDict = ToDictionary(pObj)) { in GetDefaultControlFont() 301 pObj = FPDF_GetFieldAttr(pPageDict, "Resources"); in GetDefaultControlFont() 302 if (CPDF_Dictionary* pDict = ToDictionary(pObj)) { in GetDefaultControlFont() 323 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->GetDict(), "Q"); in GetControlAlignment() local [all …]
|
D | cpdf_formfield.cpp | 273 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict.Get(), "AA"); in GetAdditionalAction() local 274 return CPDF_AAction(pObj ? pObj->GetDict() : nullptr); in GetAdditionalAction() 278 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict.Get(), "TU"); in GetAlternateName() local 279 return pObj ? pObj->GetUnicodeText() : L""; in GetAlternateName() 283 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict.Get(), "TM"); in GetMappingName() local 284 return pObj ? pObj->GetUnicodeText() : L""; in GetMappingName() 288 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict.Get(), "Ff"); in GetFieldFlags() local 289 return pObj ? pObj->GetInteger() : 0; in GetFieldFlags() 293 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict.Get(), "DS"); in GetDefaultStyle() local 294 return pObj ? pObj->GetString() : ""; in GetDefaultStyle() [all …]
|
D | cpdf_dest.cpp | 35 CPDF_Dest::CPDF_Dest(const CPDF_Dest& pObj) = default; 37 CPDF_Dest::CPDF_Dest(CPDF_Object* pObj) : m_pObj(pObj) {} in CPDF_Dest() argument 76 CPDF_Object* pObj = pArray->GetDirectObjectAt(1); in GetZoomMode() local 77 if (!pObj) in GetZoomMode() 80 ByteString mode = pObj->GetString(); in GetZoomMode()
|
D | cpdf_structelement.cpp | 58 CPDF_Object* pObj = pDict->GetObjectFor("Pg"); in LoadKids() local 60 if (CPDF_Reference* pRef = ToReference(pObj)) in LoadKids() 121 CPDF_Reference* pObj = ToReference(pKidDict->GetObjectFor("Obj")); in LoadKid() local 122 pKid->m_RefObjNum = pObj ? pObj->GetRefObjNum() : 0; in LoadKid()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_docrenderdata.cpp | 65 CPDF_Object* pObj) { in GetTransferFunc() argument 66 if (!pObj) in GetTransferFunc() 69 auto it = m_TransferFuncMap.find(pObj); in GetTransferFunc() 76 if (CPDF_Array* pArray = pObj->AsArray()) { in GetTransferFunc() 87 pFuncs[0] = CPDF_Function::Load(pObj); in GetTransferFunc() 92 m_TransferFuncMap[pObj] = pTransfer; in GetTransferFunc() 127 void CPDF_DocRenderData::MaybePurgeTransferFunc(CPDF_Object* pObj) { in MaybePurgeTransferFunc() argument 128 auto it = m_TransferFuncMap.find(pObj); in MaybePurgeTransferFunc()
|
D | cpdf_renderstatus.h | 61 void RenderSingleObject(CPDF_PageObject* pObj, const CFX_Matrix* pObj2Device); 62 bool ContinueSingleObject(CPDF_PageObject* pObj, 84 FX_ARGB GetFillArgb(CPDF_PageObject* pObj, bool bType3 = false) const; 106 void DrawObjWithBackground(CPDF_PageObject* pObj, 108 bool DrawObjWithBlend(CPDF_PageObject* pObj, const CFX_Matrix* pObj2Device); 143 RetainPtr<CFX_DIBitmap> GetBackdrop(const CPDF_PageObject* pObj, 155 FX_ARGB GetStrokeArgb(CPDF_PageObject* pObj) const; 156 bool GetObjectClippedRect(const CPDF_PageObject* pObj,
|
D | cpdf_renderstatus.cpp | 1099 void CPDF_RenderStatus::RenderSingleObject(CPDF_PageObject* pObj, in RenderSingleObject() argument 1108 m_pCurObj = pObj; in RenderSingleObject() 1109 if (m_Options.GetOCContext() && pObj->m_ContentMark.HasRef()) { in RenderSingleObject() 1110 if (!m_Options.GetOCContext()->CheckObjectVisible(pObj)) { in RenderSingleObject() 1114 ProcessClipPath(pObj->m_ClipPath, pObj2Device); in RenderSingleObject() 1115 if (ProcessTransparency(pObj, pObj2Device)) { in RenderSingleObject() 1118 ProcessObjectNoClip(pObj, pObj2Device); in RenderSingleObject() 1124 bool CPDF_RenderStatus::ContinueSingleObject(CPDF_PageObject* pObj, in ContinueSingleObject() argument 1132 DrawObjWithBackground(pObj, pObj2Device); in ContinueSingleObject() 1137 m_pCurObj = pObj; in ContinueSingleObject() [all …]
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_creator.cpp | 190 bool CPDF_Creator::WriteIndirectObj(uint32_t objnum, const CPDF_Object* pObj) { in WriteIndirectObj() argument 194 if (pObj->IsStream()) { in WriteIndirectObj() 196 pObj != m_pMetadata ? GetCryptoHandler() : nullptr; in WriteIndirectObj() 197 if (!WriteStream(pObj, objnum, pHandler)) in WriteIndirectObj() 199 } else if (!WriteDirectObj(objnum, pObj, true)) { in WriteIndirectObj() 207 const CPDF_Object* pObj, in WriteDirectObj() argument 209 switch (pObj->GetType()) { in WriteDirectObj() 215 if (!pObj->WriteTo(m_Archive.get())) in WriteDirectObj() 220 ByteString str = pObj->GetString(); in WriteDirectObj() 221 bool bHex = pObj->AsString()->IsHex(); in WriteDirectObj() [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/mesa3d/src/amd/addrlib/core/ |
D | addrobject.h | 66 VOID operator delete(VOID* pObj); 70 VOID operator delete(VOID* pObj, VOID* pMem) { ADDR_ASSERT_ALWAYS(); } in delete() argument 73 VOID Free(VOID* pObj) const; 83 static VOID ClientFree(VOID* pObj, const Client* pClient);
|