Home
last modified time | relevance | path

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

12345

/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/python/cpython3/Modules/
D_lsprof.c77 static _PyTime_t CallExternalTimer(ProfilerObject *pObj) in CallExternalTimer() argument
79 PyObject *o = _PyObject_CallNoArg(pObj->externalTimer); in CallExternalTimer()
81 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer()
87 if (pObj->externalTimerUnit > 0.0) { in CallExternalTimer()
100 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer()
107 call_timer(ProfilerObject *pObj) in call_timer() argument
109 if (pObj->externalTimer != NULL) { in call_timer()
110 return CallExternalTimer(pObj); in call_timer()
191 newProfilerEntry(ProfilerObject *pObj, void *key, PyObject *userObj) in newProfilerEntry() argument
196 pObj->flags |= POF_NOMEMORY; in newProfilerEntry()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_object.cpp59 CXFA_List* ToList(CXFA_Object* pObj) { in ToList() argument
60 return pObj ? pObj->AsList() : nullptr; in ToList()
63 CXFA_Node* ToNode(CXFA_Object* pObj) { in ToNode() argument
64 return pObj ? pObj->AsNode() : nullptr; in ToNode()
67 CXFA_TreeList* ToTreeList(CXFA_Object* pObj) { in ToTreeList() argument
68 return pObj ? pObj->AsTreeList() : nullptr; in ToTreeList()
71 CXFA_ThisProxy* ToThisProxy(CXFA_Object* pObj) { in ToThisProxy() argument
72 return pObj ? pObj->AsThisProxy() : nullptr; in ToThisProxy()
Dcxfa_object.h111 CXFA_List* ToList(CXFA_Object* pObj);
112 CXFA_Node* ToNode(CXFA_Object* pObj);
113 CXFA_TreeList* ToTreeList(CXFA_Object* pObj);
114 CXFA_ThisProxy* ToThisProxy(CXFA_Object* pObj);
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.cpp117 RetainPtr<CPDF_Object> pObj = GetMutableObjectAt(index); in GetMutableDirectObjectAt() local
118 return pObj ? pObj->GetMutableDirect() : nullptr; in GetMutableDirectObjectAt()
217 void CPDF_Array::SetAt(size_t index, RetainPtr<CPDF_Object> pObj) { in SetAt() argument
218 (void)SetAtInternal(index, std::move(pObj)); in SetAt()
221 void CPDF_Array::InsertAt(size_t index, RetainPtr<CPDF_Object> pObj) { in InsertAt() argument
222 (void)InsertAtInternal(index, std::move(pObj)); in InsertAt()
225 void CPDF_Array::Append(RetainPtr<CPDF_Object> pObj) { in Append() argument
226 (void)AppendInternal(std::move(pObj)); in Append()
230 RetainPtr<CPDF_Object> pObj) { in SetAtInternal() argument
232 CHECK(pObj); in SetAtInternal()
[all …]
Dcpdf_indirect_object_holder.cpp88 RetainPtr<CPDF_Object> pObj) { in AddIndirectObject() argument
89 CHECK(!pObj->GetObjNum()); in AddIndirectObject()
90 pObj->SetObjNum(++m_LastObjNum); in AddIndirectObject()
91 m_IndirectObjs[m_LastObjNum] = std::move(pObj); in AddIndirectObject()
97 RetainPtr<CPDF_Object> pObj) { in ReplaceIndirectObjectIfHigherGeneration() argument
99 if (!pObj || objnum == CPDF_Object::kInvalidObjNum) in ReplaceIndirectObjectIfHigherGeneration()
104 if (old_object && pObj->GetGenNum() <= old_object->GetGenNum()) in ReplaceIndirectObjectIfHigherGeneration()
107 pObj->SetObjNum(objnum); in ReplaceIndirectObjectIfHigherGeneration()
108 obj_holder = std::move(pObj); in ReplaceIndirectObjectIfHigherGeneration()
Dfpdf_parser_utility.cpp191 std::ostream& operator<<(std::ostream& buf, const CPDF_Object* pObj) { in operator <<() argument
192 if (!pObj) { in operator <<()
196 switch (pObj->GetType()) { in operator <<()
202 buf << " " << pObj->GetString(); in operator <<()
205 buf << pObj->AsString()->EncodeString(); in operator <<()
208 ByteString str = pObj->GetString(); in operator <<()
213 buf << " " << pObj->AsReference()->GetRefObjNum() << " 0 R "; in operator <<()
217 const CPDF_Array* p = pObj->AsArray(); in operator <<()
231 CPDF_DictionaryLocker locker(pObj->AsDictionary()); in operator <<()
247 RetainPtr<const CPDF_Stream> p(pObj->AsStream()); in operator <<()
/external/pdfium/fxjs/
Dcjs_global.cpp55 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in queryprop_static() local
56 if (!pObj) in queryprop_static()
60 if (pObj->HasProperty(bsProp)) in queryprop_static()
68 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in getprop_static() local
69 if (!pObj) in getprop_static()
72 CJS_Runtime* pRuntime = pObj->GetRuntime(); in getprop_static()
77 CJS_Result result = pObj->GetProperty(pRuntime, bsProp); in getprop_static()
92 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in putprop_static() local
93 if (!pObj) in putprop_static()
96 CJS_Runtime* pRuntime = pObj->GetRuntime(); in putprop_static()
[all …]
Djs_define.h72 auto pObj = JSGetObject<C>(info.GetIsolate(), info.Holder()); in JSPropGetter() local
73 if (!pObj) in JSPropGetter()
76 CJS_Runtime* pRuntime = pObj->GetRuntime(); in JSPropGetter()
80 CJS_Result result = (pObj.get()->*M)(pRuntime); in JSPropGetter()
97 auto pObj = JSGetObject<C>(info.GetIsolate(), info.Holder()); in JSPropSetter() local
98 if (!pObj) in JSPropSetter()
101 CJS_Runtime* pRuntime = pObj->GetRuntime(); in JSPropSetter()
105 CJS_Result result = (pObj.get()->*M)(pRuntime, value); in JSPropSetter()
118 auto pObj = JSGetObject<C>(info.GetIsolate(), info.Holder()); in JSMethod() local
119 if (!pObj) in JSMethod()
[all …]
Dcfxjs_engine.cpp63 v8::Local<v8::Object> pObj) { in SetNewDataInObject() argument
64 if (pObj->InternalFieldCount() == 2) { in SetNewDataInObject()
65 pObj->SetAlignedPointerInInternalField( in SetNewDataInObject()
67 pObj->SetAlignedPointerInInternalField( in SetNewDataInObject()
72 static CFXJS_PerObjectData* GetFromObject(v8::Local<v8::Object> pObj) { in GetFromObject() argument
73 if (pObj.IsEmpty() || pObj->InternalFieldCount() != 2 || in GetFromObject()
74 pObj->GetAlignedPointerFromInternalField(0) != in GetFromObject()
79 pObj->GetAlignedPointerFromInternalField(1)); in GetFromObject()
391 uint32_t CFXJS_Engine::GetObjDefnID(v8::Local<v8::Object> pObj) { in GetObjDefnID() argument
392 CFXJS_PerObjectData* pData = CFXJS_PerObjectData::GetFromObject(pObj); in GetObjDefnID()
[all …]
Dfxv8.cpp209 v8::Local<v8::Object> pObj, in ReentrantGetObjectPropertyHelper() argument
211 if (pObj.IsEmpty()) in ReentrantGetObjectPropertyHelper()
216 if (!pObj->Get(pIsolate->GetCurrentContext(), in ReentrantGetObjectPropertyHelper()
226 v8::Local<v8::Object> pObj) { in ReentrantGetObjectPropertyNamesHelper() argument
227 if (pObj.IsEmpty()) in ReentrantGetObjectPropertyNamesHelper()
233 if (!pObj->GetPropertyNames(context).ToLocal(&val)) in ReentrantGetObjectPropertyNamesHelper()
245 v8::Local<v8::Object> pObj, in ReentrantHasObjectOwnPropertyHelper() argument
247 if (pObj.IsEmpty()) in ReentrantHasObjectOwnPropertyHelper()
254 return pObj->HasRealNamedProperty(pContext, hKey).FromJust(); in ReentrantHasObjectOwnPropertyHelper()
258 v8::Local<v8::Object> pObj, in ReentrantSetObjectOwnPropertyHelper() argument
[all …]
Dcfx_v8.cpp17 v8::Local<v8::Object> pObj, in GetObjectProperty() argument
19 return fxv8::ReentrantGetObjectPropertyHelper(GetIsolate(), pObj, in GetObjectProperty()
24 v8::Local<v8::Object> pObj) { in GetObjectPropertyNames() argument
25 return fxv8::ReentrantGetObjectPropertyNamesHelper(GetIsolate(), pObj); in GetObjectPropertyNames()
28 void CFX_V8::PutObjectProperty(v8::Local<v8::Object> pObj, in PutObjectProperty() argument
31 fxv8::ReentrantPutObjectPropertyHelper(GetIsolate(), pObj, bsUTF8PropertyName, in PutObjectProperty()
Dcjs_document.cpp594 v8::Local<v8::Object> pObj = pRuntime->ToObject(params[0]); in submitForm() local
595 v8::Local<v8::Value> pValue = pRuntime->GetObjectProperty(pObj, "cURL"); in submitForm()
599 bFDF = pRuntime->ToBoolean(pRuntime->GetObjectProperty(pObj, "bFDF")); in submitForm()
600 bEmpty = pRuntime->ToBoolean(pRuntime->GetObjectProperty(pObj, "bEmpty")); in submitForm()
601 aFields = pRuntime->ToArray(pRuntime->GetObjectProperty(pObj, "aFields")); in submitForm()
678 v8::Local<v8::Object> pObj = pRuntime->NewObject(); in get_info() local
679 pRuntime->PutObjectProperty(pObj, "Author", in get_info()
681 pRuntime->PutObjectProperty(pObj, "Title", in get_info()
683 pRuntime->PutObjectProperty(pObj, "Subject", in get_info()
685 pRuntime->PutObjectProperty(pObj, "Keywords", in get_info()
[all …]
Dfxv8.h76 v8::Local<v8::Object> pObj,
80 v8::Local<v8::Object> pObj);
82 v8::Local<v8::Object> pObj,
85 v8::Local<v8::Object> pObj,
89 v8::Local<v8::Object> pObj,
93 v8::Local<v8::Object> pObj,
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp221 void CPDF_RenderStatus::RenderSingleObject(CPDF_PageObject* pObj, in RenderSingleObject() argument
227 m_pCurObj = pObj; in RenderSingleObject()
228 if (!m_Options.CheckPageObjectVisible(pObj)) { in RenderSingleObject()
231 ProcessClipPath(pObj->m_ClipPath, mtObj2Device); in RenderSingleObject()
232 if (ProcessTransparency(pObj, mtObj2Device)) { in RenderSingleObject()
235 ProcessObjectNoClip(pObj, mtObj2Device); in RenderSingleObject()
238 bool CPDF_RenderStatus::ContinueSingleObject(CPDF_PageObject* pObj, in ContinueSingleObject() argument
246 DrawObjWithBackground(pObj, mtObj2Device); in ContinueSingleObject()
251 m_pCurObj = pObj; in ContinueSingleObject()
252 if (!m_Options.CheckPageObjectVisible(pObj)) in ContinueSingleObject()
[all …]
Dcpdf_docrenderdata.cpp57 RetainPtr<const CPDF_Object> pObj) { in GetTransferFunc() argument
58 if (!pObj) in GetTransferFunc()
61 auto it = m_TransferFuncMap.find(pObj); in GetTransferFunc()
65 auto pFunc = CreateTransferFunc(pObj); in GetTransferFunc()
66 m_TransferFuncMap[pObj].Reset(pFunc.Get()); in GetTransferFunc()
79 RetainPtr<const CPDF_Object> pObj) const { in CreateTransferFunc()
81 const CPDF_Array* pArray = pObj->AsArray(); in CreateTransferFunc()
92 pFuncs[0] = CPDF_Function::Load(pObj); in CreateTransferFunc()
Dcpdf_renderstatus.h74 void RenderSingleObject(CPDF_PageObject* pObj,
76 bool ContinueSingleObject(CPDF_PageObject* pObj,
104 FX_ARGB GetFillArgb(CPDF_PageObject* pObj) const;
105 FX_ARGB GetFillArgbForType3(CPDF_PageObject* pObj) const;
130 void ProcessObjectNoClip(CPDF_PageObject* pObj,
132 void DrawObjWithBackground(CPDF_PageObject* pObj,
134 bool DrawObjWithBlend(CPDF_PageObject* pObj, const CFX_Matrix& mtObj2Device);
169 RetainPtr<CFX_DIBitmap> GetBackdrop(const CPDF_PageObject* pObj,
179 FX_ARGB GetStrokeArgb(CPDF_PageObject* pObj) const;
180 FX_RECT GetObjectClippedRect(const CPDF_PageObject* pObj,
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.cpp282 RetainPtr<const CPDF_Object> pObj = in GetAdditionalAction() local
284 return CPDF_AAction(pObj ? pObj->GetDict() : nullptr); in GetAdditionalAction()
288 RetainPtr<const CPDF_Object> pObj = in GetAlternateName() local
290 return pObj ? pObj->GetUnicodeText() : WideString(); in GetAlternateName()
294 RetainPtr<const CPDF_Object> pObj = in GetMappingName() local
296 return pObj ? pObj->GetUnicodeText() : WideString(); in GetMappingName()
300 RetainPtr<const CPDF_Object> pObj = in GetFieldFlags() local
302 return pObj ? pObj->GetInteger() : 0; in GetFieldFlags()
418 RetainPtr<const CPDF_Object> pObj = GetFieldAttrInternal("MaxLen"); in GetMaxLen() local
419 if (pObj) in GetMaxLen()
[all …]
Dcpdf_structtree.cpp138 RetainPtr<const CPDF_Object> pObj = m_pTreeRoot->GetDirectObjectFor("K"); in AddTopLevelNode() local
139 if (!pObj) in AddTopLevelNode()
142 if (pObj->IsDictionary()) { in AddTopLevelNode()
143 if (pObj->GetObjNum() != pDict->GetObjNum()) in AddTopLevelNode()
148 const CPDF_Array* pTopKids = pObj->AsArray(); in AddTopLevelNode()
Dcpdf_structelement.cpp103 RetainPtr<const CPDF_Object> pObj = pDict->GetObjectFor("Pg"); in LoadKids() local
104 const CPDF_Reference* pRef = ToReference(pObj.Get()); in LoadKids()
165 RetainPtr<const CPDF_Reference> pObj = in LoadKid() local
167 pKid->m_RefObjNum = pObj ? pObj->GetRefObjNum() : 0; in LoadKid()
/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()
492 IWbemClassObject *pObj; in ndis_events_get_adapter() local
534 &pObj, &uReturned); in ndis_events_get_adapter()
546 hr = IWbemClassObject_Get(pObj, L"Index", 0, &vt, NULL, NULL); in ndis_events_get_adapter()
561 IWbemClassObject_Release(pObj); in ndis_events_get_adapter()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp173 void ReplaceAbbr(RetainPtr<CPDF_Object> pObj);
230 void ReplaceAbbr(RetainPtr<CPDF_Object> pObj) { in ReplaceAbbr() argument
231 CPDF_Dictionary* pDict = pObj->AsMutableDictionary(); in ReplaceAbbr()
237 CPDF_Array* pArray = pObj->AsMutableArray(); in ReplaceAbbr()
314 void CPDF_StreamContentParser::AddObjectParam(RetainPtr<CPDF_Object> pObj) { in AddObjectParam() argument
317 param.m_pObject = std::move(pObj); in AddObjectParam()
413 void CPDF_StreamContentParser::SetGraphicStates(CPDF_PageObject* pObj, in SetGraphicStates() argument
417 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates()
418 pObj->m_ClipPath = m_pCurStates->m_ClipPath; in SetGraphicStates()
419 pObj->SetContentMarks(*m_ContentMarksStack.top()); in SetGraphicStates()
[all …]
Dcpdf_contentparser.cpp226 for (auto& pObj : *m_pPageObjectHolder) { in CheckClip()
227 if (!pObj->m_ClipPath.HasRef()) in CheckClip()
229 if (pObj->m_ClipPath.GetPathCount() != 1) in CheckClip()
231 if (pObj->m_ClipPath.GetTextCount() > 0) in CheckClip()
234 CPDF_Path ClipPath = pObj->m_ClipPath.GetPath(0); in CheckClip()
235 if (!ClipPath.IsRect() || pObj->IsShading()) in CheckClip()
241 if (old_rect.Contains(pObj->GetRect())) in CheckClip()
242 pObj->m_ClipPath.SetNull(); in CheckClip()
/external/mesa3d/src/amd/addrlib/src/core/
Daddrobject.h66 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);
/external/pdfium/core/fxcrt/
Dweak_ptr.h25 explicit WeakPtr(std::unique_ptr<T, D> pObj) in WeakPtr() argument
26 : m_pHandle(new Handle(std::move(pObj))) {} in WeakPtr()
53 void Reset(std::unique_ptr<T, D> pObj) { in Reset() argument
54 m_pHandle.Reset(new Handle(std::move(pObj))); in Reset()

12345