/aosp_15_r20/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 …]
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | _lsprof.c | 83 static _PyTime_t CallExternalTimer(ProfilerObject *pObj) in CallExternalTimer() argument 85 PyObject *o = _PyObject_CallNoArgs(pObj->externalTimer); in CallExternalTimer() 87 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer() 93 if (pObj->externalTimerUnit > 0.0) { in CallExternalTimer() 106 PyErr_WriteUnraisable(pObj->externalTimer); in CallExternalTimer() 113 call_timer(ProfilerObject *pObj) in call_timer() argument 115 if (pObj->externalTimer != NULL) { in call_timer() 116 return CallExternalTimer(pObj); in call_timer() 197 newProfilerEntry(ProfilerObject *pObj, void *key, PyObject *userObj) in newProfilerEntry() argument 202 pObj->flags |= POF_NOMEMORY; in newProfilerEntry() [all …]
|
/aosp_15_r20/external/pdfium/core/fpdfapi/parser/ |
H A D | cpdf_array.cpp | 117 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 …]
|
H A D | cpdf_indirect_object_holder.cpp | 88 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()
|
H A D | fpdf_parser_utility.cpp | 190 std::ostream& operator<<(std::ostream& buf, const CPDF_Object* pObj) { in operator <<() argument 191 if (!pObj) { in operator <<() 195 switch (pObj->GetType()) { in operator <<() 201 buf << " " << pObj->GetString(); in operator <<() 204 buf << pObj->AsString()->EncodeString(); in operator <<() 207 ByteString str = pObj->GetString(); in operator <<() 212 buf << " " << pObj->AsReference()->GetRefObjNum() << " 0 R "; in operator <<() 216 const CPDF_Array* p = pObj->AsArray(); in operator <<() 230 CPDF_DictionaryLocker locker(pObj->AsDictionary()); in operator <<() 246 RetainPtr<const CPDF_Stream> p(pObj->AsStream()); in operator <<()
|
/aosp_15_r20/external/pdfium/fxjs/ |
H A D | cjs_global.cpp | 55 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 …]
|
H A D | cfxjs_engine.cpp | 63 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 …]
|
H A D | js_define.h | 72 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 …]
|
H A D | fxv8.cpp | 209 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 …]
|
H A D | cjs_document.cpp | 594 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 …]
|
H A D | cfx_v8.cpp | 17 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()
|
H A D | fxv8.h | 76 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,
|
/aosp_15_r20/external/pdfium/core/fpdfapi/render/ |
H A D | cpdf_renderstatus.cpp | 217 void CPDF_RenderStatus::RenderSingleObject(CPDF_PageObject* pObj, in RenderSingleObject() argument 223 m_pCurObj = pObj; in RenderSingleObject() 224 if (!m_Options.CheckPageObjectVisible(pObj)) { in RenderSingleObject() 227 ProcessClipPath(pObj->m_ClipPath, mtObj2Device); in RenderSingleObject() 228 if (ProcessTransparency(pObj, mtObj2Device)) { in RenderSingleObject() 231 ProcessObjectNoClip(pObj, mtObj2Device); in RenderSingleObject() 234 bool CPDF_RenderStatus::ContinueSingleObject(CPDF_PageObject* pObj, in ContinueSingleObject() argument 242 DrawObjWithBackground(pObj, mtObj2Device); in ContinueSingleObject() 247 m_pCurObj = pObj; in ContinueSingleObject() 248 if (!m_Options.CheckPageObjectVisible(pObj)) in ContinueSingleObject() [all …]
|
H A D | cpdf_renderstatus.h | 74 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,
|
H A D | cpdf_docrenderdata.cpp | 57 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()
|
/aosp_15_r20/external/pdfium/xfa/fxfa/parser/ |
H A D | cxfa_object.cpp | 59 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()
|
/aosp_15_r20/external/pdfium/core/fpdfdoc/ |
H A D | cpdf_formfield.cpp | 282 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 …]
|
H A D | cpdf_formcontrol.cpp | 187 RetainPtr<const CPDF_Object> pObj = in GetDefaultAppearance() local 189 if (pObj) in GetDefaultAppearance() 190 return CPDF_DefaultAppearance(pObj->GetString()); in GetDefaultAppearance() 251 RetainPtr<const CPDF_Object> pObj = in GetControlAlignment() local 253 if (pObj) in GetControlAlignment() 254 return pObj->GetInteger(); in GetControlAlignment()
|
H A D | cpdf_structtree.cpp | 138 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()
|
/aosp_15_r20/external/wpa_supplicant_8/src/drivers/ |
H A 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() 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 …]
|
/aosp_15_r20/external/pdfium/core/fpdfapi/page/ |
H A D | cpdf_streamcontentparser.cpp | 176 void ReplaceAbbr(RetainPtr<CPDF_Object> pObj); 233 void ReplaceAbbr(RetainPtr<CPDF_Object> pObj) { in ReplaceAbbr() argument 234 CPDF_Dictionary* pDict = pObj->AsMutableDictionary(); in ReplaceAbbr() 240 CPDF_Array* pArray = pObj->AsMutableArray(); in ReplaceAbbr() 317 void CPDF_StreamContentParser::AddObjectParam(RetainPtr<CPDF_Object> pObj) { in AddObjectParam() argument 320 param.m_pObject = std::move(pObj); in AddObjectParam() 416 void CPDF_StreamContentParser::SetGraphicStates(CPDF_PageObject* pObj, in SetGraphicStates() argument 420 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates() 421 pObj->m_ClipPath = m_pCurStates->m_ClipPath; in SetGraphicStates() 422 pObj->SetContentMarks(*m_ContentMarksStack.top()); in SetGraphicStates() [all …]
|
H A D | cpdf_contentparser.cpp | 228 for (auto& pObj : *m_pPageObjectHolder) { in CheckClip() 229 if (!pObj->m_ClipPath.HasRef()) in CheckClip() 231 if (pObj->m_ClipPath.GetPathCount() != 1) in CheckClip() 233 if (pObj->m_ClipPath.GetTextCount() > 0) in CheckClip() 236 CPDF_Path ClipPath = pObj->m_ClipPath.GetPath(0); in CheckClip() 237 if (!ClipPath.IsRect() || pObj->IsShading()) in CheckClip() 243 if (old_rect.Contains(pObj->GetRect())) in CheckClip() 244 pObj->m_ClipPath.SetNull(); in CheckClip()
|
/aosp_15_r20/external/pdfium/core/fpdfapi/edit/ |
H A D | cpdf_creator.cpp | 134 bool CPDF_Creator::WriteIndirectObj(uint32_t objnum, const CPDF_Object* pObj) { in WriteIndirectObj() argument 139 if (GetCryptoHandler() && pObj != m_pEncryptDict) in WriteIndirectObj() 142 if (!pObj->WriteTo(m_Archive.get(), encryptor.get())) in WriteIndirectObj() 155 RetainPtr<CPDF_Object> pObj = m_pDocument->GetOrParseIndirectObject(objnum); in WriteOldIndirectObject() local 156 if (!pObj) { in WriteOldIndirectObject() 160 if (!WriteIndirectObj(pObj->GetObjNum(), pObj.Get())) in WriteOldIndirectObject() 199 RetainPtr<const CPDF_Object> pObj = m_pDocument->GetIndirectObject(objnum); in WriteNewObjs() local 200 if (!pObj) in WriteNewObjs() 204 if (!WriteIndirectObj(pObj->GetObjNum(), pObj.Get())) in WriteNewObjs()
|
/aosp_15_r20/external/pdfium/core/fpdftext/ |
H A D | cpdf_textpage.cpp | 624 CPDF_PageObject* pObj = it->get(); in ProcessObject() local 625 if (!pObj) in ProcessObject() 629 if (pObj->IsText()) in ProcessObject() 630 ProcessTextObject(pObj->AsText(), matrix, m_pPage, it); in ProcessObject() 631 else if (pObj->IsForm()) in ProcessObject() 632 ProcessFormObject(pObj->AsForm(), matrix); in ProcessObject() 1219 const CPDF_TextObject* pObj, in ProcessInsertObject() argument 1222 TextOrientation WritingMode = GetTextObjectWritingMode(pObj); in ProcessInsertObject() 1231 CPDF_TextObject::Item item = pObj->GetItemInfo(0); in ProcessInsertObject() 1232 const CFX_FloatRect& this_rect = pObj->GetRect(); in ProcessInsertObject() [all …]
|
/aosp_15_r20/external/mesa3d/src/amd/addrlib/src/core/ |
H A D | addrobject.h | 49 VOID operator delete(VOID* pObj); 53 VOID operator delete(VOID* pObj, VOID* pMem) { ADDR_ASSERT_ALWAYS(); } in delete() argument 56 VOID Free(VOID* pObj) const; 69 static VOID ClientFree(VOID* pObj, const Client* pClient);
|