Home
last modified time | relevance | path

Searched refs:pObj (Results 1 – 25 of 84) sorted by relevance

1234

/external/python/cpython2/Modules/
D_lsprof.c130 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/pdfium/core/fpdfapi/parser/
Dcpdf_indirect_object_holder.cpp35 CPDF_Object* pObj = GetIndirectObject(objnum); in GetOrParseIndirectObject() local
36 if (pObj) in GetOrParseIndirectObject()
37 return pObj->GetObjNum() != CPDF_Object::kInvalidObjNum ? pObj : nullptr; in GetOrParseIndirectObject()
55 std::unique_ptr<CPDF_Object> pObj) { in AddIndirectObject() argument
56 CHECK(!pObj->m_ObjNum); in AddIndirectObject()
57 CPDF_Object* pUnowned = pObj.get(); in AddIndirectObject()
58 pObj->m_ObjNum = ++m_LastObjNum; in AddIndirectObject()
62 m_IndirectObjs[m_LastObjNum] = std::move(pObj); in AddIndirectObject()
68 std::unique_ptr<CPDF_Object> pObj) { in ReplaceIndirectObjectIfHigherGeneration() argument
70 if (!pObj) in ReplaceIndirectObjectIfHigherGeneration()
[all …]
Dcpdf_array.cpp158 CPDF_Object* CPDF_Array::SetAt(size_t i, std::unique_ptr<CPDF_Object> pObj) { in SetAt() argument
160 ASSERT(!pObj || pObj->IsInline()); in SetAt()
165 CPDF_Object* pRet = pObj.get(); in SetAt()
166 m_Objects[i] = std::move(pObj); in SetAt()
171 std::unique_ptr<CPDF_Object> pObj) { in InsertAt() argument
173 CHECK(!pObj || pObj->IsInline()); in InsertAt()
174 CPDF_Object* pRet = pObj.get(); in InsertAt()
178 m_Objects[index] = std::move(pObj); in InsertAt()
181 m_Objects.insert(m_Objects.begin() + index, std::move(pObj)); in InsertAt()
186 CPDF_Object* CPDF_Array::Add(std::unique_ptr<CPDF_Object> pObj) { in Add() argument
[all …]
Dfpdf_parser_utility.cpp86 CPDF_Number* pObj = ToNumber(pDict->GetObjectFor(key)); in GetDirectInteger() local
87 return pObj ? pObj->GetInteger() : 0; in GetDirectInteger()
153 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& 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 CFX_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 …]
Dcpdf_dictionary.cpp176 std::unique_ptr<CPDF_Object> pObj) { in SetFor() argument
177 if (!pObj) { in SetFor()
181 ASSERT(pObj->IsInline()); in SetFor()
182 CPDF_Object* pRet = pObj.get(); in SetFor()
183 m_Map[MaybeIntern(key)] = std::move(pObj); in SetFor()
194 CPDF_Object* pObj = pHolder->AddIndirectObject(std::move(it->second)); in ConvertToIndirectObjectFor() local
195 it->second = pdfium::MakeUnique<CPDF_Reference>(pHolder, pObj->GetObjNum()); in ConvertToIndirectObjectFor()
/external/pdfium/core/fpdfapi/page/
Dcpdf_pageobjectholder.cpp41 for (auto& pObj : m_PageObjectList) in Transform() local
42 pObj->Transform(matrix); in Transform()
53 for (const auto& pObj : m_PageObjectList) { in CalcBoundingBox() local
54 left = std::min(left, pObj->m_Left); in CalcBoundingBox()
55 right = std::max(right, pObj->m_Right); in CalcBoundingBox()
56 bottom = std::min(bottom, pObj->m_Bottom); in CalcBoundingBox()
57 top = std::max(top, pObj->m_Top); in CalcBoundingBox()
Dcpdf_contentparser.cpp196 for (auto& pObj : *m_pObjectHolder->GetPageObjectList()) { in Continue()
197 if (!pObj->m_ClipPath) in Continue()
199 if (pObj->m_ClipPath.GetPathCount() != 1) in Continue()
201 if (pObj->m_ClipPath.GetTextCount()) in Continue()
203 CPDF_Path ClipPath = pObj->m_ClipPath.GetPath(0); in Continue()
204 if (!ClipPath.IsRect() || pObj->IsShading()) in Continue()
210 CFX_FloatRect obj_rect(pObj->m_Left, pObj->m_Bottom, pObj->m_Right, in Continue()
211 pObj->m_Top); in Continue()
213 pObj->m_ClipPath.SetNull(); in Continue()
Dcpdf_streamcontentparser.cpp173 void ReplaceAbbr(CPDF_Object* pObj) { in ReplaceAbbr() argument
174 switch (pObj->GetType()) { in ReplaceAbbr()
176 CPDF_Dictionary* pDict = pObj->AsDictionary(); in ReplaceAbbr()
216 CPDF_Array* pArray = pObj->AsArray(); in ReplaceAbbr()
350 std::unique_ptr<CPDF_Object> pObj) { in AddObjectParam() argument
353 param.m_pObject = std::move(pObj); in AddObjectParam()
437 void CPDF_StreamContentParser::SetGraphicStates(CPDF_PageObject* pObj, in SetGraphicStates() argument
441 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates()
442 pObj->m_ClipPath = m_pCurStates->m_ClipPath; in SetGraphicStates()
443 pObj->m_ContentMark = m_CurContentMark; in SetGraphicStates()
[all …]
/external/pdfium/fxjs/
Dfxjs_v8.cpp31 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()
263 int CFXJS_Engine::GetObjDefnID(v8::Local<v8::Object> pObj) { in GetObjDefnID() argument
264 CFXJS_PerObjectData* pData = CFXJS_PerObjectData::GetFromObject(pObj); in GetObjDefnID()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_formcontrol.cpp253 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->m_pDict, "A"); in GetAction() local
254 if (!pObj) in GetAction()
257 return CPDF_Action(pObj->GetDict()); in GetAction()
276 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->m_pDict, "DA"); in GetDefaultAppearance() local
277 if (pObj) in GetDefaultAppearance()
278 return CPDF_DefaultAppearance(pObj->GetString()); in GetDefaultAppearance()
290 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pWidgetDict, "DR"); in GetDefaultControlFont() local
291 if (CPDF_Dictionary* pDict = ToDictionary(pObj)) { in GetDefaultControlFont()
306 pObj = FPDF_GetFieldAttr(pPageDict, "Resources"); in GetDefaultControlFont()
307 if (CPDF_Dictionary* pDict = ToDictionary(pObj)) { in GetDefaultControlFont()
[all …]
Dcpdf_formfield.cpp273 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "AA"); in GetAdditionalAction() local
274 return CPDF_AAction(pObj ? pObj->GetDict() : nullptr); in GetAdditionalAction()
278 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "TU"); in GetAlternateName() local
279 return pObj ? pObj->GetUnicodeText() : L""; in GetAlternateName()
283 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "TM"); in GetMappingName() local
284 return pObj ? pObj->GetUnicodeText() : L""; in GetMappingName()
288 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "Ff"); in GetFieldFlags() local
289 return pObj ? pObj->GetInteger() : 0; in GetFieldFlags()
293 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "DS"); in GetDefaultStyle() local
294 return pObj ? pObj->GetString() : ""; in GetDefaultStyle()
[all …]
Ddoc_tagged.cpp149 CPDF_Object* pObj = m_pTreeRoot->GetDirectObjectFor("K"); in AddTopLevelNode() local
150 if (!pObj) in AddTopLevelNode()
153 if (pObj->IsDictionary()) { in AddTopLevelNode()
154 if (pObj->GetObjNum() != pDict->GetObjNum()) in AddTopLevelNode()
158 if (CPDF_Array* pTopKids = pObj->AsArray()) { in AddTopLevelNode()
218 CPDF_Object* pObj = pDict->GetObjectFor("Pg"); in LoadKids() local
220 if (CPDF_Reference* pRef = ToReference(pObj)) in LoadKids()
278 CPDF_Reference* pObj = ToReference(pKidDict->GetObjectFor("Obj")); in LoadKid() local
279 pKid->m_RefObjNum = pObj ? pObj->GetRefObjNum() : 0; in LoadKid()
/external/pdfium/core/fpdfapi/render/
Dcpdf_docrenderdata.cpp79 CPDF_TransferFunc* CPDF_DocRenderData::GetTransferFunc(CPDF_Object* pObj) { in GetTransferFunc() argument
80 if (!pObj) in GetTransferFunc()
83 auto it = m_TransferFuncMap.find(pObj); in GetTransferFunc()
92 if (CPDF_Array* pArray = pObj->AsArray()) { in GetTransferFunc()
103 pFuncs[0] = CPDF_Function::Load(pObj); in GetTransferFunc()
111 m_TransferFuncMap[pObj] = pTransferCounter; in GetTransferFunc()
145 void CPDF_DocRenderData::ReleaseTransferFunc(CPDF_Object* pObj) { in ReleaseTransferFunc() argument
146 auto it = m_TransferFuncMap.find(pObj); in ReleaseTransferFunc()
Dcpdf_renderstatus.h60 void RenderSingleObject(CPDF_PageObject* pObj, const CFX_Matrix* pObj2Device);
61 bool ContinueSingleObject(CPDF_PageObject* pObj,
84 void DrawObjWithBackground(CPDF_PageObject* pObj,
86 bool DrawObjWithBlend(CPDF_PageObject* pObj, const CFX_Matrix* pObj2Device);
136 std::unique_ptr<CFX_DIBitmap> GetBackdrop(const CPDF_PageObject* pObj,
148 FX_ARGB GetFillArgb(CPDF_PageObject* pObj, bool bType3 = false) const;
149 FX_ARGB GetStrokeArgb(CPDF_PageObject* pObj) const;
150 bool GetObjectClippedRect(const CPDF_PageObject* pObj,
Dcpdf_renderstatus.cpp1059 void CPDF_RenderStatus::RenderSingleObject(CPDF_PageObject* pObj, in RenderSingleObject() argument
1068 m_pCurObj = pObj; in RenderSingleObject()
1069 if (m_Options.m_pOCContext && pObj->m_ContentMark) { in RenderSingleObject()
1070 if (!m_Options.m_pOCContext->CheckObjectVisible(pObj)) { in RenderSingleObject()
1074 ProcessClipPath(pObj->m_ClipPath, pObj2Device); in RenderSingleObject()
1075 if (ProcessTransparency(pObj, pObj2Device)) { in RenderSingleObject()
1078 ProcessObjectNoClip(pObj, pObj2Device); in RenderSingleObject()
1084 bool CPDF_RenderStatus::ContinueSingleObject(CPDF_PageObject* pObj, in ContinueSingleObject() argument
1092 DrawObjWithBackground(pObj, pObj2Device); in ContinueSingleObject()
1097 m_pCurObj = pObj; in ContinueSingleObject()
[all …]
/external/pdfium/core/fpdfapi/edit/
Dfpdf_edit_create.cpp47 int32_t PDF_CreatorAppendObject(const CPDF_Object* pObj, in PDF_CreatorAppendObject() argument
51 if (!pObj) { in PDF_CreatorAppendObject()
58 switch (pObj->GetType()) { in PDF_CreatorAppendObject()
70 if ((len = pFile->AppendString(pObj->GetString().AsStringC())) < 0) { in PDF_CreatorAppendObject()
76 CFX_ByteString str = pObj->GetString(); in PDF_CreatorAppendObject()
77 bool bHex = pObj->AsString()->IsHex(); in PDF_CreatorAppendObject()
89 CFX_ByteString str = pObj->GetString(); in PDF_CreatorAppendObject()
99 if ((len = pFile->AppendDWord(pObj->AsReference()->GetRefObjNum())) < 0) in PDF_CreatorAppendObject()
111 const CPDF_Array* p = pObj->AsArray(); in PDF_CreatorAppendObject()
142 const CPDF_Dictionary* p = pObj->AsDictionary(); in PDF_CreatorAppendObject()
[all …]
Dcpdf_creator.h29 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj);
64 int32_t WriteIndirectObj(const CPDF_Object* pObj);
66 const CPDF_Object* pObj,
68 int32_t WriteIndirectObjectToStream(const CPDF_Object* pObj);
69 int32_t WriteIndirectObj(uint32_t objnum, const CPDF_Object* pObj);
/external/wpa_supplicant_8/src/drivers/
Dndis_events.c241 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/javascript/
DJS_Define.h50 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSPropGetter() local
54 if (!(pObj->*M)(pRuntime, value, sError)) { in JSPropGetter()
76 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSPropSetter() local
80 if (!(pObj->*M)(pRuntime, propValue, sError)) { in JSPropSetter()
120 C* pObj = reinterpret_cast<C*>(pJSObj->GetEmbedObject()); in JSMethod() local
123 if (!(pObj->*M)(pRuntime, parameters, valueRes, sError)) { in JSMethod()
223 CJS_Object* pObj = new js_class_name(obj); \
224 pObj->SetEmbedObject(new class_alternate(pObj)); \
225 pEngine->SetObjectPrivate(obj, (void*)pObj); \
226 pObj->InitInstance(static_cast<CJS_Runtime*>(pEngine)); \
[all …]
DDocument.cpp422 v8::Local<v8::Object> pObj = params[8].ToV8Object(pRuntime); in print() local
423 if (CFXJS_Engine::GetObjDefnID(pObj) == in print()
624 v8::Local<v8::Object> pObj = params[0].ToV8Object(pRuntime); in submitForm() local
625 v8::Local<v8::Value> pValue = pRuntime->GetObjectProperty(pObj, L"cURL"); in submitForm()
629 pValue = pRuntime->GetObjectProperty(pObj, L"bFDF"); in submitForm()
632 pValue = pRuntime->GetObjectProperty(pObj, L"bEmpty"); in submitForm()
635 pValue = pRuntime->GetObjectProperty(pObj, L"aFields"); in submitForm()
710 v8::Local<v8::Object> pObj = params[0].ToV8Object(pRuntime); in mailDoc() local
712 v8::Local<v8::Value> pValue = pRuntime->GetObjectProperty(pObj, L"bUI"); in mailDoc()
715 pValue = pRuntime->GetObjectProperty(pObj, L"cTo"); in mailDoc()
[all …]
Dglobal.cpp212 v8::Local<v8::Object> pObj = pRuntime->NewFxDynamicObj(-1); in UpdateGlobalPersistentVariables() local
213 PutObjectProperty(pObj, &pData->data); in UpdateGlobalPersistentVariables()
215 false, "", pObj, pData->bPersistent == 1); in UpdateGlobalPersistentVariables()
217 pData->data.sKey.UTF8Decode(), pObj); in UpdateGlobalPersistentVariables()
270 v8::Local<v8::Object> pObj, in ObjectToArray() argument
272 std::vector<CFX_WideString> pKeyList = pRuntime->GetObjectPropertyNames(pObj); in ObjectToArray()
275 v8::Local<v8::Value> v = pRuntime->GetObjectProperty(pObj, ws); in ObjectToArray()
319 void JSGlobalAlternate::PutObjectProperty(v8::Local<v8::Object> pObj, in PutObjectProperty() argument
328 pRuntime->PutObjectProperty(pObj, pObjData->sKey.UTF8Decode(), in PutObjectProperty()
332 pRuntime->PutObjectProperty(pObj, pObjData->sKey.UTF8Decode(), in PutObjectProperty()
[all …]
/external/mesa3d/src/amd/addrlib/core/
Daddrobject.h63 VOID operator delete(VOID* pObj, const AddrClient* pClient);
64 VOID operator delete(VOID* pObj);
66 VOID AddrFree(VOID* pObj) const;
79 static VOID ClientFree(VOID* pObj, const AddrClient* pClient);
/external/pdfium/fpdfsdk/
Dfpdfppo.cpp137 bool UpdateReference(CPDF_Object* pObj, ObjectNumberMap* pObjNumberMap);
208 CPDF_Object* pObj = it.second.get(); in ExportPage() local
209 pCurPageDict->SetFor(cbSrcKeyStr, pObj->Clone()); in ExportPage()
251 bool CPDF_PageOrganizer::UpdateReference(CPDF_Object* pObj, in UpdateReference() argument
253 switch (pObj->GetType()) { in UpdateReference()
255 CPDF_Reference* pReference = pObj->AsReference(); in UpdateReference()
263 CPDF_Dictionary* pDict = pObj->AsDictionary(); in UpdateReference()
279 CPDF_Array* pArray = pObj->AsArray(); in UpdateReference()
290 CPDF_Stream* pStream = pObj->AsStream(); in UpdateReference()
/external/pdfium/xfa/fde/
Dfde_iterator.cpp68 FDE_TEXTEDITPIECE* pObj = in GetNext() local
70 ASSERT(pObj); in GetNext()
75 canvas.hCanvas = pObj; in GetNext()
87 return pObj; in GetNext()
/external/pdfium/core/fxcrt/
Dcfx_weak_ptr.h23 explicit CFX_WeakPtr(std::unique_ptr<T, D> pObj) in CFX_WeakPtr() argument
24 : m_pHandle(new Handle(std::move(pObj))) {} in CFX_WeakPtr()
51 void Reset(std::unique_ptr<T, D> pObj) { in Reset() argument
52 m_pHandle.Reset(new Handle(std::move(pObj))); in Reset()

1234