/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_Utils.cpp | 63 FX_BOOL CFFL_Utils::TraceObject(CPDF_Object* pObj)
65 if (!pObj) return FALSE;
67 FX_DWORD dwObjNum = pObj->GetObjNum();
68 switch (pObj->GetType())
72 CPDF_Array* pArray = (CPDF_Array*)pObj;
83 CPDF_Dictionary* pDict = (CPDF_Dictionary*)pObj;
99 CPDF_Stream* pStream = (CPDF_Stream*)pObj;
107 CPDF_Object* pDirectObj = pObj->GetDirect();
115 //TRACE("%d\n",(FX_INT32)pObj);
118 //TRACE(((CPDF_String*)pObj)->GetString() + "\n"); [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
mem.h | 109 * pObj: Pointer to the new object. 120 #define MEM_AllocObject(pObj, Obj, Signature) \ 122 pObj = MEM_Calloc(sizeof(Obj), MEM_NONPAGED); \ 123 if (pObj) { \ 124 pObj->dwSignature = Signature; \ 259 * pObj: Pointer to the object to free. 266 #define MEM_FreeObject(pObj) \ 268 pObj->dwSignature = 0x00; \ 269 MEM_Free(pObj); \
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
mem.h | 109 * pObj: Pointer to the new object. 120 #define MEM_AllocObject(pObj, Obj, Signature) \ 122 pObj = MEM_Calloc(sizeof(Obj), MEM_NONPAGED); \ 123 if (pObj) { \ 124 pObj->dwSignature = Signature; \ 259 * pObj: Pointer to the object to free. 266 #define MEM_FreeObject(pObj) \ 268 pObj->dwSignature = 0x00; \ 269 MEM_Free(pObj); \
|
/external/pdfium/core/src/fpdftext/ |
fpdf_text_search.cpp | 15 FX_BOOL ProcessObject(const CPDF_TextObject* pObj, FX_BOOL bFirstLine);
82 int FPDFText_ProcessInterObj(const CPDF_TextObject* pPrevObj, const CPDF_TextObject* pObj)
84 if(FPDFText_IsSameTextObject(pPrevObj, pObj)) {
99 pObj->GetItemInfo(0, &item);
100 wstr = pObj->GetFont()->UnicodeFromCharCode(item.m_CharCode);
104 int nThisWidth = GetCharWidth(item.m_CharCode, pObj->GetFont());
105 FX_FLOAT this_width = nThisWidth * pObj->GetFontSize() / 1000;
111 FX_FLOAT x = pObj->GetPosX(), y = pObj->GetPosY();
118 threshold *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) : FXSYS_fabs(pObj->GetFontSize()); [all...] |
/external/pdfium/fpdfsdk/src/jsapi/ |
fxjs_v8.cpp | 299 v8::Local<v8::Object> pObj = v8::Local<v8::Object>::New(isolate, pObjDef->m_StaticObj); 301 pObjDef->m_pDestructor(pObj); 302 JS_FreePrivate(pObj); 425 int JS_GetObjDefnID(v8::Handle<v8::Object> pObj) 427 if(pObj.IsEmpty() || !pObj->InternalFieldCount()) return -1; 428 v8::Handle<v8::External> field = v8::Handle<v8::External>::Cast(pObj->GetInternalField(0)); 435 IJS_Runtime* JS_GetRuntime(v8::Handle<v8::Object> pObj) 437 if(pObj.IsEmpty()) return NULL; 438 v8::Local<v8::Context> context = pObj->CreationContext() [all...] |
/external/pdfium/core/include/fpdfapi/ |
fpdf_serial.h | 17 CFX_ByteTextBuf& operator << (CFX_ByteTextBuf& buf, const CPDF_Object* pObj);
22 friend CPDF_ObjArchiveSaver& operator << (CPDF_ObjArchiveSaver& ar, const CPDF_Object* pObj);
34 friend CPDF_ObjArchiveLoader& operator >> (CPDF_ObjArchiveLoader& ar, CPDF_Object*& pObj);
45 friend CPDF_PageArchiveSaver& operator << (CPDF_PageArchiveSaver& ar, CPDF_PageObject* pObj);
79 friend CPDF_PageArchiveLoader& operator >> (CPDF_PageArchiveLoader& ar, CPDF_PageObject*& pObj);
178 FX_INT32 WriteIndirectObj(const CPDF_Object* pObj);
179 FX_INT32 WriteDirectObj(FX_DWORD objnum, const CPDF_Object* pObj, FX_BOOL bEncrypt = TRUE);
180 FX_INT32 WriteIndirectObjectToStream(const CPDF_Object* pObj);
181 FX_INT32 WriteIndirectObj(FX_DWORD objnum, const CPDF_Object* pObj);
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_parser_new.cpp | 433 CPDF_Number *pObj = FX_NEW CPDF_Number(CFX_ByteStringC(m_pWordBuf, m_WordSize));
434 if (!SetToCurObj(pObj)) {
435 pObj->Release();
441 CPDF_String *pObj = FX_NEW CPDF_String(_FPDF_ByteStringFromHex(m_StringBuf), TRUE);
442 if (!SetToCurObj(pObj)) {
443 pObj->Release();
448 CPDF_String *pObj = FX_NEW CPDF_String(m_StringBuf.GetByteString());
449 if (!SetToCurObj(pObj)) {
450 pObj->Release();
459 void _PDF_ReplaceAbbr(CPDF_Object* pObj);
[all...] |
/external/pdfium/core/src/reflow/ |
layoutprocessor_reflow.cpp | 332 CPDF_PageObject* pObj = pElement->GetObject(0); 333 if(!pObj) { 337 rect = pObj->GetBBox(&matrix); 339 rect.Union(pObj->GetBBox(&matrix)); 419 CPDF_PageObject* pObj = pPrevElement->GetObject(i); 421 pPrevObj = pObj; 422 rect = CFX_FloatRect(pObj->m_Left, pObj->m_Bottom, pObj->m_Right, pObj->m_Top) [all...] |
autoreflow.cpp | 9 int FPDF_ProcessInterObj(const CPDF_PageObject* pPrevObj, const CPDF_PageObject* pObj) 13 FX_RECT rect = pObj->GetBBox(&matrix); 23 } else if(pObj->m_Type != PDFPAGE_TEXT) { 37 CPDF_TextObject* pTextObj = (CPDF_TextObject* )pObj; 61 CPDF_PageObject* pObj = pStreamOrderObjs->GetNextObject(pos); 63 if(pObj->m_Type != PDFPAGE_TEXT) { 69 if(FPDF_ProcessInterObj(pObj, pTempObj) == 1) { 78 pAppraceOrderObjs->InsertObject(pos1, pObj); 82 CPDF_PageObject* pObj = pStreamOrderObjs->GetNextObject(pos); 83 if(pObj->m_Type != PDFPAGE_IMAGE) [all...] |
layoutprovider_taggedpdf.cpp | 460 CPDF_Object* pObj = m_pTaggedElement->GetAttr(GetAttrOwner(attr_type), ConvertLayoutAttr(attr_type), IsInheritable(attr_type)); 461 if(pObj) { 614 CFX_PtrArray* pObj = &m_ObjArray; 615 int size = pObj->GetSize(); 623 CFX_PtrArray *pObj = &m_ObjArray; 624 int size = pObj->GetSize(); 626 return (CPDF_PageObject*)pObj->GetAt(index); 630 FX_BOOL CPDF_LayoutElement::AddObject(CPDF_PageObject* pObj) 632 return m_ObjArray.Add(pObj); 702 CPDF_PageObject* pObj = m_pPage->GetNextObject(pos) [all...] |
reflowedpage.h | 46 void ProcessObject(CPDF_PageObject* pObj, FX_FLOAT reflowWidth, CFX_AffineMatrix objMatrix); 47 void ProcessTextObject(CPDF_TextObject *pObj, FX_FLOAT reflowWidth, CFX_AffineMatrix objMatrix); 48 void ProcessPathObject(CPDF_PathObject *pObj, FX_FLOAT reflowWidth); 50 FX_INT32 LogicPreObj(CPDF_TextObject* pObj); 51 int ProcessInsertObject(CPDF_TextObject* pObj, CFX_AffineMatrix formMatrix); 58 void CreateRFData(CPDF_PageObject* pObj, CFX_AffineMatrix* pMatrix = NULL); 59 CRF_CharState* GetCharState(CPDF_TextObject* pObj, CPDF_Font* pFont, FX_FLOAT fHeight, FX_ARGB color); 189 void MarkPageObjMemberShip(CPDF_PageObject* pObj, CRF_PageInfo* pParent); 191 CPDF_Dictionary* GetFormResDict(CPDF_PageObject* pObj);
|
autoreflow.h | 87 FX_FLOAT GetObjMinCell(CPDF_PageObject* pObj); 105 void ProcessObj(CFX_PtrArray& cellArray, CPDF_PageObject* pObj, CFX_AffineMatrix matrix); 106 FX_INT32 LogicPreObj(CPDF_PageObject* pObj);
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
fpdf_parser_objects.cpp | 59 CPDF_Object* pObj = pRef->m_pObjList->GetIndirectObject(pRef->m_RefObjNum);
60 if (pObj == NULL) {
63 return pObj->GetString();
83 CPDF_Object* pObj = pRef->m_pObjList->GetIndirectObject(pRef->m_RefObjNum);
84 if (pObj == NULL) {
87 return pObj->GetConstString();
105 CPDF_Object* pObj = pRef->m_pObjList->GetIndirectObject(pRef->m_RefObjNum);
106 if (pObj == NULL) {
109 return pObj->GetNumber();
135 CPDF_Object* pObj = pRef->m_pObjList->GetIndirectObject(pRef->m_RefObjNum, &context); [all...] |
fpdf_parser_document.cpp | 149 CPDF_Object* pObj = GetIndirectObject(m_dwFirstPageObjNum);
150 if (pObj && pObj->GetType() == PDFOBJ_DICTIONARY) {
151 return (CPDF_Dictionary*)pObj;
156 CPDF_Object* pObj = GetIndirectObject(objnum);
157 ASSERT(pObj->GetType() == PDFOBJ_DICTIONARY);
158 return (CPDF_Dictionary*)pObj;
374 CPDF_Object* pObj;
375 if (m_IndirectObjs.Lookup((FX_LPVOID)(FX_UINTPTR)objnum, (FX_LPVOID&)pObj)) {
376 bForm = pObj->GetType() == PDFOBJ_STREAM && [all...] |
fpdf_parser_utility.cpp | 328 CFX_ByteTextBuf& operator << (CFX_ByteTextBuf& buf, const CPDF_Object* pObj)
330 if (pObj == NULL) {
334 switch (pObj->GetType()) {
340 buf << " " << pObj->GetString();
343 CFX_ByteString str = pObj->GetString();
344 FX_BOOL bHex = ((CPDF_String*)pObj)->IsHex();
349 CFX_ByteString str = pObj->GetString();
354 CPDF_Reference* p = (CPDF_Reference*)pObj;
359 CPDF_Array* p = (CPDF_Array*)pObj;
373 CPDF_Dictionary* p = (CPDF_Dictionary*)pObj;
[all...] |
/external/pdfium/fpdfsdk/include/jsapi/ |
fxjs_v8.h | 82 int JS_GetObjDefnID(v8::Handle<v8::Object> pObj); 83 IJS_Runtime* JS_GetRuntime(v8::Handle<v8::Object> pObj); 88 const wchar_t* JS_GetTypeof(v8::Handle<v8::Value> pObj); 89 const wchar_t* JS_GetClassname(v8::Handle<v8::Object> pObj); 90 void JS_SetPrivate(IJS_Runtime* pJSRuntime, v8::Handle<v8::Object> pObj, void* p); 91 void* JS_GetPrivate(IJS_Runtime* pJSRuntime, v8::Handle<v8::Object> pObj); 92 void JS_SetPrivate(v8::Handle<v8::Object> pObj, void* p); 93 void* JS_GetPrivate(v8::Handle<v8::Object> pObj); 94 void JS_FreePrivate(v8::Handle<v8::Object> pObj); 95 v8::Handle<v8::Value> JS_GetObjectValue(v8::Handle<v8::Object> pObj); [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render.cpp | 305 void CPDF_RenderStatus::RenderSingleObject(const CPDF_PageObject* pObj, const CFX_AffineMatrix* pObj2Device)
310 m_pCurObj = pObj;
311 if (m_Options.m_pOCContext && pObj->m_ContentMark.NotNull())
312 if (!m_Options.m_pOCContext->CheckObjectVisible(pObj)) {
315 ProcessClipPath(pObj->m_ClipPath, pObj2Device);
316 if (ProcessTransparency(pObj, pObj2Device)) {
319 ProcessObjectNoClip(pObj, pObj2Device);
321 FX_BOOL CPDF_RenderStatus::ContinueSingleObject(const CPDF_PageObject* pObj, const CFX_AffineMatrix* pObj2Device, IFX_Pause* pPause)
328 DrawObjWithBackground(pObj, pObj2Device);
332 DitherObjectArea(pObj, pObj2Device); [all...] |
/external/pdfium/fpdfsdk/include/javascript/ |
JS_Define.h | 110 class_name* pObj = (class_name*)pJSObj->GetEmbedObject();\
111 ASSERT(pObj != NULL);\
117 bRet = pObj->prop_name(cc, value, sError);\
156 class_name* pObj = (class_name*)pJSObj->GetEmbedObject();\
157 ASSERT(pObj != NULL);\
163 bRet = pObj->prop_name(cc, propValue, sError);\
211 class_name* pObj = (class_name*)pJSObj->GetEmbedObject();\
212 ASSERT(pObj != NULL);\
218 bRet = pObj->method_name(cc, parameters, valueRes, sError);\
260 CJS_Object* pObj = FX_NEW js_class_name(obj);\ [all...] |
/external/pdfium/fpdfsdk/include/formfiller/ |
FFL_Utils.h | 18 static FX_BOOL TraceObject(CPDF_Object* pObj);
|
/external/pdfium/core/src/fpdfdoc/ |
doc_formfield.cpp | 256 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "AA");
257 if (pObj == NULL) {
260 return pObj->GetDict();
264 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "TU");
265 if (pObj == NULL) {
268 return pObj->GetUnicodeText();
272 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "TM");
273 if (pObj == NULL) {
276 return pObj->GetUnicodeText();
280 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pDict, "Ff"); [all...] |
doc_formcontrol.cpp | 257 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->m_pDict, "A");
258 if (pObj == NULL) {
261 return pObj->GetDict();
283 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->m_pDict, "DA");
284 if (pObj == NULL) {
287 return pObj->GetString();
299 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pWidgetDict, "DR");
300 if (pObj != NULL && pObj->GetType() == PDFOBJ_DICTIONARY) {
301 CPDF_Dictionary* pFonts = ((CPDF_Dictionary*)pObj)->GetDict("Font"); [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
editint.h | 16 FX_INT32 CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj);
38 FX_INT32 CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj, CPDF_Creator *pCreator);
|
/external/pdfium/fpdfsdk/src/javascript/ |
app.cpp | 165 JSFXObject pObj = JS_GetThisObj(*pRuntime);
167 if (JS_GetObjDefnID(pObj) == JS_GetObjDefnID(*pRuntime, L"Document"))
169 pJSDocument = (CJS_Document*)JS_GetPrivate(pRuntime->GetIsolate(),pObj);
174 JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime,L"Document"));
175 pJSDocument = (CJS_Document*)JS_GetPrivate(pRuntime->GetIsolate(),pObj);
346 JSObject pObj = params[0];
348 v8::Handle<v8::Value> pValue = JS_GetObjectElement(isolate, pObj, L"cMsg");
351 pValue = JS_GetObjectElement(isolate,pObj,L"cTitle");
354 pValue = JS_GetObjectElement(isolate,pObj,L"nIcon");
357 pValue = JS_GetObjectElement(isolate,pObj,L"nType"); [all...] |
JS_Value.cpp | 121 v8::Handle<v8::Object> pObj = JS_ToObject(m_pValue);
122 return (CJS_Object*)JS_GetPrivate(m_isolate, pObj);
182 void CJS_Value::operator =(v8::Handle<v8::Object> pObj)
185 m_pValue = JS_NewObject(m_isolate,pObj);
190 void CJS_Value::operator =(CJS_Object * pObj)
192 if (pObj)
193 operator = ((JSFXObject)*pObj);
357 void CJS_PropValue::operator <<(CJS_Object *pObj)
360 CJS_Value::operator = (pObj);
369 void CJS_PropValue::operator<<(JSFXObject pObj)
[all...] |
/external/wpa_supplicant_8/src/drivers/ |
ndis_events.c | 241 IWbemClassObject *pObj) 253 hr = IWbemClassObject_Get(pObj, L"NdisStatusMediaSpecificIndication", 318 IWbemClassObject *pObj = ppObjArray[i]; 322 hr = IWbemClassObject_Get(pObj, L"__CLASS", 0, &vtClass, NULL, 331 hr = IWbemClassObject_Get(pObj, L"InstanceName", 0, &vt, NULL, 361 ndis_events_media_specific(events, pObj); 491 IWbemClassObject *pObj; 533 &pObj, &uReturned); 545 hr = IWbemClassObject_Get(pObj, L"Index", 0, &vt, NULL, NULL); 560 IWbemClassObject_Release(pObj); [all...] |