/external/pdfium/fpdfsdk/src/jsapi/ |
D | fxjs_v8.cpp | 79 CFX_PtrArray* pArray = (CFX_PtrArray*)isolate->GetData(0); in JS_DefineObj() local 80 if(!pArray) in JS_DefineObj() 82 pArray = FX_NEW CFX_PtrArray(); in JS_DefineObj() 83 isolate->SetData(0, pArray); in JS_DefineObj() 86 pArray->Add(pObjDef); in JS_DefineObj() 87 return pArray->GetSize()-1; in JS_DefineObj() 99 CFX_PtrArray* pArray = (CFX_PtrArray*)isolate->GetData(0); in JS_DefineObjMethod() local 100 if(!pArray) return 0; in JS_DefineObjMethod() 102 if(nObjDefnID<0 || nObjDefnID>= pArray->GetSize()) return 0; in JS_DefineObjMethod() 103 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjMethod() [all …]
|
/external/pdfium/fpdfsdk/src/ |
D | fpdfdoc.cpp | 207 CPDF_Array* pArray = pAnnotDict->GetArray(FX_BSTRC("QuadPoints")); in FPDFLink_CountQuadPoints() local 208 if (pArray == NULL) in FPDFLink_CountQuadPoints() 211 return pArray->GetCount() / 8; in FPDFLink_CountQuadPoints() 219 CPDF_Array* pArray = pAnnotDict->GetArray(FX_BSTRC("QuadPoints")); in FPDFLink_GetQuadPoints() local 220 if (pArray) { in FPDFLink_GetQuadPoints() 221 if (0 > quadIndex || quadIndex >= (int)pArray->GetCount()/8 || in FPDFLink_GetQuadPoints() 222 ((quadIndex*8+7) >= (int)pArray->GetCount())) return FALSE; in FPDFLink_GetQuadPoints() 223 quadPoints->x1 = pArray->GetNumber(quadIndex*8); in FPDFLink_GetQuadPoints() 224 quadPoints->y1 = pArray->GetNumber(quadIndex*8+1); in FPDFLink_GetQuadPoints() 225 quadPoints->x2 = pArray->GetNumber(quadIndex*8+2); in FPDFLink_GetQuadPoints() [all …]
|
D | fpdf_transformpage.cpp | 49 CPDF_Array* pArray = pPageDict->GetArray("MediaBox"); in FPDFPage_GetMediaBox() local 50 if(pArray) in FPDFPage_GetMediaBox() 52 *left = pArray->GetFloat(0); in FPDFPage_GetMediaBox() 53 *bottom = pArray->GetFloat(1); in FPDFPage_GetMediaBox() 54 *right = pArray->GetFloat(2); in FPDFPage_GetMediaBox() 55 *top = pArray->GetFloat(3); in FPDFPage_GetMediaBox() 67 CPDF_Array* pArray = pPageDict->GetArray("CropBox"); in FPDFPage_GetCropBox() local 68 if(pArray) in FPDFPage_GetCropBox() 70 *left = pArray->GetFloat(0); in FPDFPage_GetCropBox() 71 *bottom = pArray->GetFloat(1); in FPDFPage_GetCropBox() [all …]
|
D | fpdfppo.cpp | 144 CPDF_Array* pArray = new CPDF_Array; in ExportPage() local 145 pArray->AddNumber(0); in ExportPage() 146 pArray->AddNumber(0); in ExportPage() 147 pArray->AddNumber(612); in ExportPage() 148 pArray->AddNumber(792); in ExportPage() 149 pCurPageDict->SetAt("MediaBox", pArray); in ExportPage() 262 CPDF_Array* pArray = (CPDF_Array*)pObj; in UpdateReference() local 263 FX_DWORD count = pArray->GetCount(); in UpdateReference() 266 CPDF_Object* pNextObj = pArray->GetElement(i); in UpdateReference()
|
D | fpdf_flatten.cpp | 140 FX_FLOAT* pArray = new FX_FLOAT[nRects]; in GetMinMaxValue() local 146 pArray[i] = CPDF_Rect(array.GetAt(i)).left; in GetMinMaxValue() 153 pArray[i] = CPDF_Rect(array.GetAt(i)).top; in GetMinMaxValue() 160 pArray[i] = CPDF_Rect(array.GetAt(i)).right; in GetMinMaxValue() 167 pArray[i] = CPDF_Rect(array.GetAt(i)).bottom; in GetMinMaxValue() 174 fRet = pArray[0]; in GetMinMaxValue() 178 if (fRet <= pArray[i]) in GetMinMaxValue() 179 fRet = pArray[i]; in GetMinMaxValue() 184 if (fRet >= pArray[i]) in GetMinMaxValue() 185 fRet = pArray[i]; in GetMinMaxValue() [all …]
|
D | fpdf_ext.cpp | 183 CPDF_Array * pArray = pJSDict->GetArray("Names"); in CheckUnSupportError() local 184 if (pArray) { in CheckUnSupportError() 185 int nCount = pArray->GetCount(); in CheckUnSupportError() 188 CFX_ByteString cbStr = pArray->GetString(i); in CheckUnSupportError()
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_formfield.cpp | 575 CPDF_Array* pArray = (CPDF_Array*)pValue; in IsItemSelected() local 583 for (FX_DWORD i = 0; i < pArray->GetCount(); i ++) in IsItemSelected() 584 if (pArray->GetElementValue(i)->GetUnicodeText() == opt_value && (int)i == iPos) { in IsItemSelected() 618 CPDF_Array* pArray = CPDF_Array::Create(); in SetItemSelection() local 619 if (pArray == NULL) { in SetItemSelection() 627 pArray->AddString(PDF_EncodeText(opt_value)); in SetItemSelection() 631 if (pArray->GetCount() < 1) { in SetItemSelection() 632 pArray->Release(); in SetItemSelection() 634 m_pDict->SetAt("V", pArray); in SetItemSelection() 648 CPDF_Array* pArray = CPDF_Array::Create(); in SetItemSelection() local [all …]
|
D | doc_tagged.cpp | 79 CPDF_Array* pArray = (CPDF_Array*)pKids; in LoadDocTree() local 80 for (FX_DWORD i = 0; i < pArray->GetCount(); i ++) { in LoadDocTree() 81 CPDF_Dictionary* pKid = pArray->GetDict(i); in LoadDocTree() 255 CPDF_Array* pArray = (CPDF_Array*)pKids; in LoadKids() local 256 m_Kids.SetSize(pArray->GetCount()); in LoadKids() 257 for (FX_DWORD i = 0; i < pArray->GetCount(); i ++) { in LoadKids() 258 CPDF_Object* pKid = pArray->GetElementValue(i); in LoadKids() 339 CPDF_Array* pArray = (CPDF_Array*)pAttrs; in FindAttrDict() local 340 for (FX_DWORD i = 0; i < pArray->GetCount(); i ++) { in FindAttrDict() 341 CPDF_Object* pElement = pArray->GetElementValue(i); in FindAttrDict() [all …]
|
D | doc_ocg.cpp | 112 CPDF_Array *pArray = pConfig->GetArray(FX_BSTRC("ON")); in LoadOCGStateFromConfig() local 113 if (pArray) { in LoadOCGStateFromConfig() 114 if (FPDFDOC_OCG_FindGroup(pArray, pOCGDict) >= 0) { in LoadOCGStateFromConfig() 118 pArray = pConfig->GetArray(FX_BSTRC("OFF")); in LoadOCGStateFromConfig() 119 if (pArray) { in LoadOCGStateFromConfig() 120 if (FPDFDOC_OCG_FindGroup(pArray, pOCGDict) >= 0) { in LoadOCGStateFromConfig() 124 pArray = pConfig->GetArray(FX_BSTRC("AS")); in LoadOCGStateFromConfig() 125 if (pArray) { in LoadOCGStateFromConfig() 127 FX_INT32 iCount = pArray->GetCount(); in LoadOCGStateFromConfig() 129 CPDF_Dictionary *pUsage = pArray->GetDict(i); in LoadOCGStateFromConfig()
|
D | doc_form.cpp | 926 CPDF_Array* pArray = m_pFormDict->GetArray("Fields"); in CountInternalFields() local 927 if (pArray == NULL) { in CountInternalFields() 931 return pArray->GetCount(); in CountInternalFields() 936 while (pArray != NULL) { in CountInternalFields() 944 int iCount = pArray->GetCount(); in CountInternalFields() 947 pDict = pArray->GetDict(i); in CountInternalFields() 963 pArray = pDict->GetArray("Kids"); in CountInternalFields() 968 pArray = pDict->GetArray("Kids"); in CountInternalFields() 969 if (pArray == NULL) { in CountInternalFields() 972 return pArray->GetCount(); in CountInternalFields() [all …]
|
/external/pdfium/core/include/fxcrt/ |
D | fx_ext.h | 83 void ShellSort(baseType *pArray, FX_INT32 iCount) in ShellSort() argument 85 FXSYS_assert(pArray != NULL && iCount > 0); in ShellSort() 92 v1 = pArray[i]; in ShellSort() 93 while (j > -1 && (v2 = pArray[j]) > v1) { in ShellSort() 94 pArray[j + gap] = v2; in ShellSort() 97 pArray[j + gap] = v1; in ShellSort()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_colors.cpp | 265 virtual FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray); 278 FX_BOOL CPDF_CalGray::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) in v_Load() argument 280 CPDF_Dictionary* pDict = pArray->GetDict(1); in v_Load() 322 virtual FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray); 337 FX_BOOL CPDF_CalRGB::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) in v_Load() argument 339 CPDF_Dictionary* pDict = pArray->GetDict(1); in v_Load() 426 virtual FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray); 435 FX_BOOL CPDF_LabCS::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) in v_Load() argument 437 CPDF_Dictionary* pDict = pArray->GetDict(1); in v_Load() 536 virtual FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray); [all …]
|
D | fpdf_page_func.cpp | 715 CPDF_Array* pArray = pDict->GetArray(FX_BSTRC("Functions")); in v_Init() local 716 if (pArray == NULL) { in v_Init() 719 m_nSubs = pArray->GetCount(); in v_Init() 728 CPDF_Object* pSub = pArray->GetElementValue(i); in v_Init() 742 pArray = pDict->GetArray(FX_BSTRC("Bounds")); in v_Init() 743 if (pArray == NULL) { in v_Init() 747 m_pBounds[i + 1] = pArray->GetFloat(i); in v_Init() 751 pArray = pDict->GetArray(FX_BSTRC("Encode")); in v_Init() 752 if (pArray == NULL) { in v_Init() 756 m_pEncode[i] = pArray->GetFloat(i); in v_Init()
|
D | fpdf_page_parser.cpp | 518 CPDF_Array* pArray = (CPDF_Array*)pObj; in _PDF_ReplaceAbbr() local 519 for (FX_DWORD i = 0; i < pArray->GetCount(); i ++) { in _PDF_ReplaceAbbr() 520 CPDF_Object* pElement = pArray->GetElement(i); in _PDF_ReplaceAbbr() 526 pArray->SetAt(i, CPDF_Name::Create(fullname)); in _PDF_ReplaceAbbr() 576 CPDF_Array* pArray = (CPDF_Array*)pObj; in _PDF_ReplaceFull() local 577 for (FX_DWORD i = 0; i < pArray->GetCount(); i ++) { in _PDF_ReplaceFull() 578 CPDF_Object* pElement = pArray->GetElement(i); in _PDF_ReplaceFull() 584 pArray->SetAt(i, CPDF_Name::Create(abbrName)); in _PDF_ReplaceFull() 656 CPDF_Array* pArray = GetObject(1)->GetArray(); in Handle_SetDash() local 657 if (pArray == NULL) { in Handle_SetDash() [all …]
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | test_intarray.c | 297 sqlite3_intarray *pArray; in test_intarray_create() local 308 rc = sqlite3_intarray_create(db, zName, &pArray); in test_intarray_create() 311 assert( pArray==0 ); in test_intarray_create() 315 sqlite3TestMakePointerStr(interp, zPtr, pArray); in test_intarray_create() 331 sqlite3_intarray *pArray; in test_intarray_bind() local 340 pArray = (sqlite3_intarray*)sqlite3TestTextToPtr(Tcl_GetString(objv[1])); in test_intarray_bind() 352 rc = sqlite3_intarray_bind(pArray, n, a, sqlite3_free); in test_intarray_bind()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_doc.cpp | 313 CPDF_Array* pArray = FX_NEW CPDF_Array; in AddWindowsFont() local 314 pArray->AddInteger(128); in AddWindowsFont() 319 pArray->AddName(FX_BSTRC(".notdef")); in AddWindowsFont() 321 pArray->AddName(name); in AddWindowsFont() 324 pEncoding->SetAt(FX_BSTRC("Differences"), pArray); in AddWindowsFont() 403 CPDF_Array* pArray = FX_NEW CPDF_Array; in AddWindowsFont() local 404 pBaseDict->SetAt("DescendantFonts", pArray); in AddWindowsFont() 406 pArray->AddReference(this, pFontDict); in AddWindowsFont() 700 CPDF_Array* pArray = FX_NEW CPDF_Array; in AddMacFont() local 701 pArray->AddInteger(128); in AddMacFont() [all …]
|
D | fpdf_edit_content.cpp | 129 CPDF_Array* pArray = (CPDF_Array*)pContent; in TransformContent() local 130 int iCount = pArray->GetCount(); in TransformContent() 135 pContent = pArray->GetElement(i); in TransformContent()
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_Utils.cpp | 72 CPDF_Array* pArray = (CPDF_Array*)pObj; in TraceObject() local 73 for (FX_DWORD i = 0; i < pArray->GetCount(); i ++) in TraceObject() 75 CPDF_Object* pElement = pArray->GetElementValue(i); in TraceObject()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_objects.cpp | 773 CPDF_Array* pArray = GetArray(key); in GetRect() local 774 if (pArray) { in GetRect() 775 rect = pArray->GetRect(); in GetRect() 782 CPDF_Array* pArray = GetArray(key); in GetMatrix() local 783 if (pArray) { in GetMatrix() 784 matrix = pArray->GetMatrix(); in GetMatrix() 901 CPDF_Array* pArray = FX_NEW CPDF_Array; in SetAtRect() local 902 pArray->AddNumber(rect.left); in SetAtRect() 903 pArray->AddNumber(rect.bottom); in SetAtRect() 904 pArray->AddNumber(rect.right); in SetAtRect() [all …]
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 224 public byte[] decode(byte[] pArray) { in decode() argument 225 return decodeBase64(pArray); in decode() 525 public byte[] encode(byte[] pArray) { in encode() argument 526 return encodeBase64(pArray, false); in encode()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/ |
D | dxgi_native.cpp | 552 const DXGI_GAMMA_CONTROL *pArray) in SetGammaControl() 556 *gamma = *pArray; in SetGammaControl() 561 DXGI_GAMMA_CONTROL *pArray) in GetGammaControl() 564 *pArray = *gamma; in GetGammaControl() 567 pArray->Scale.Red = 1; in GetGammaControl() 568 pArray->Scale.Green = 1; in GetGammaControl() 569 pArray->Scale.Blue = 1; in GetGammaControl() 570 pArray->Offset.Red = 0; in GetGammaControl() 571 pArray->Offset.Green = 0; in GetGammaControl() 572 pArray->Offset.Blue = 0; in GetGammaControl() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgi/src/ |
D | dxgi_native.cpp | 552 const DXGI_GAMMA_CONTROL *pArray) in SetGammaControl() 556 *gamma = *pArray; in SetGammaControl() 561 DXGI_GAMMA_CONTROL *pArray) in GetGammaControl() 564 *pArray = *gamma; in GetGammaControl() 567 pArray->Scale.Red = 1; in GetGammaControl() 568 pArray->Scale.Green = 1; in GetGammaControl() 569 pArray->Scale.Blue = 1; in GetGammaControl() 570 pArray->Offset.Red = 0; in GetGammaControl() 571 pArray->Offset.Green = 0; in GetGammaControl() 572 pArray->Offset.Blue = 0; in GetGammaControl() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_loadimage.cpp | 484 CPDF_Array* pArray = (CPDF_Array*)pFilter; in LoadColorInfo() local 485 if (pArray->GetString(pArray->GetCount() - 1) == FX_BSTRC("JPXDecode")) { in LoadColorInfo() 560 CPDF_Array* pArray = (CPDF_Array*)pMask; in LoadColorInfo() local 561 if (pArray->GetCount() >= m_nComponents * 2) in LoadColorInfo() 564 m_pCompData[i / 2].m_ColorKeyMax = pArray->GetInteger(i); in LoadColorInfo() 566 m_pCompData[i / 2].m_ColorKeyMin = pArray->GetInteger(i); in LoadColorInfo() 931 CPDF_Array *pArray = (CPDF_Array *) pFilter; in GetValidBpp() local 932 if( pArray->GetString(pArray->GetCount() -1) == FX_BSTRC("CCITTFacDecode") || in GetValidBpp() 933 pArray->GetString(pArray->GetCount() -1) == FX_BSTRC("JBIG2Decode") ) in GetValidBpp() 936 if( pArray->GetString(pArray->GetCount() -1) == FX_BSTRC("RunLengthDecode") || in GetValidBpp() [all …]
|
D | fpdf_render_pattern.cpp | 27 CPDF_Array* pArray = pDict->GetArray(FX_BSTRC("Domain")); in _DrawAxialShading() local 28 if (pArray) { in _DrawAxialShading() 29 t_min = pArray->GetNumber(0); in _DrawAxialShading() 30 t_max = pArray->GetNumber(1); in _DrawAxialShading() 33 pArray = pDict->GetArray(FX_BSTRC("Extend")); in _DrawAxialShading() 34 if (pArray) { in _DrawAxialShading() 35 bStartExtend = pArray->GetInteger(0); in _DrawAxialShading() 36 bEndExtend = pArray->GetInteger(1); in _DrawAxialShading() 115 CPDF_Array* pArray = pDict->GetArray(FX_BSTRC("Domain")); in _DrawRadialShading() local 116 if (pArray) { in _DrawRadialShading() [all …]
|
/external/apache-http/src/org/apache/commons/codec/ |
D | BinaryEncoder.java | 44 byte[] encode(byte[] pArray) throws EncoderException; in encode() argument
|