/external/pdfium/core/src/fpdfdoc/ |
D | doc_ocg.cpp | 14 if (const CPDF_Array* pArray = pObject->AsArray()) { in FPDFDOC_OCG_FindGroup() local 15 FX_DWORD dwCount = pArray->GetCount(); in FPDFDOC_OCG_FindGroup() 17 if (pArray->GetDict(i) == pGroupDict) in FPDFDOC_OCG_FindGroup() 32 if (CPDF_Array* pArray = pIntent->AsArray()) { in FPDFDOC_OCG_HasIntent() local 33 FX_DWORD dwCount = pArray->GetCount(); in FPDFDOC_OCG_HasIntent() 35 bsIntent = pArray->GetString(i); in FPDFDOC_OCG_HasIntent() 108 CPDF_Array* pArray = pConfig->GetArray("ON"); in LoadOCGStateFromConfig() local 109 if (pArray) { in LoadOCGStateFromConfig() 110 if (FPDFDOC_OCG_FindGroup(pArray, pOCGDict) >= 0) { in LoadOCGStateFromConfig() 114 pArray = pConfig->GetArray("OFF"); in LoadOCGStateFromConfig() [all …]
|
D | doc_tagged.cpp | 63 CPDF_Array* pArray = pKids->AsArray(); in LoadDocTree() local 64 if (!pArray) in LoadDocTree() 67 for (FX_DWORD i = 0; i < pArray->GetCount(); i++) { in LoadDocTree() 68 CPDF_Dictionary* pKid = pArray->GetDict(i); in LoadDocTree() 86 else if (CPDF_Array* pArray = pKids->AsArray()) in LoadPageTree() local 87 dwKids = pArray->GetCount(); in LoadPageTree() 235 if (CPDF_Array* pArray = pKids->AsArray()) { in LoadKids() local 236 m_Kids.SetSize(pArray->GetCount()); in LoadKids() 237 for (FX_DWORD i = 0; i < pArray->GetCount(); i++) { in LoadKids() 238 CPDF_Object* pKid = pArray->GetElementValue(i); in LoadKids() [all …]
|
D | doc_formfield.cpp | 423 if (CPDF_Array* pArray = pValue->AsArray()) in CountSelectedItems() local 424 return pArray->GetCount(); in CountSelectedItems() 443 CPDF_Array* pArray = pValue->AsArray(); in GetSelectedIndex() local 444 if (!pArray || index < 0) in GetSelectedIndex() 447 CPDF_Object* elementValue = pArray->GetElementValue(index); in GetSelectedIndex() 526 CPDF_Array* pArray = pValue->AsArray(); in IsItemSelected() local 527 if (!pArray) in IsItemSelected() 537 for (FX_DWORD i = 0; i < pArray->GetCount(); i++) in IsItemSelected() 538 if (pArray->GetElementValue(i)->GetUnicodeText() == opt_value && in IsItemSelected() 574 CPDF_Array* pArray = new CPDF_Array; in SetItemSelection() local [all …]
|
D | doc_action.cpp | 26 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest() local 27 return CPDF_Dest(pArray); in GetDest() 111 if (CPDF_Array* pArray = pFields->AsArray()) in GetFieldsCount() local 112 return pArray->GetCount(); in GetFieldsCount() 136 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetAllFields() local 137 FX_DWORD iCount = pArray->GetCount(); in GetAllFields() 139 CPDF_Object* pObj = pArray->GetElementValue(i); in GetAllFields() 170 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetField() local 171 pFindObj = pArray->GetElementValue(iIndex); in GetField() 231 if (CPDF_Array* pArray = pNext->AsArray()) in GetSubActionsCount() local [all …]
|
D | doc_basic.cpp | 11 CPDF_Array* pArray = ToArray(m_pObj); in GetPageIndex() local 12 if (!pArray) in GetPageIndex() 15 CPDF_Object* pPage = pArray->GetElementValue(0); in GetPageIndex() 25 CPDF_Array* pArray = ToArray(m_pObj); in GetPageObjNum() local 26 if (!pArray) in GetPageObjNum() 29 CPDF_Object* pPage = pArray->GetElementValue(0); in GetPageObjNum() 41 CPDF_Array* pArray = ToArray(m_pObj); in GetZoomMode() local 42 if (!pArray) in GetZoomMode() 46 CPDF_Object* pObj = pArray->GetElementValue(1); in GetZoomMode() 58 CPDF_Array* pArray = ToArray(m_pObj); in GetParam() local [all …]
|
D | doc_bookmark.cpp | 82 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest() local 83 return CPDF_Dest(pArray); in GetDest()
|
D | doc_link.cpp | 84 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest() local 85 return CPDF_Dest(pArray); in GetDest()
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 722 public byte[] decode(String pArray) { in decode() argument 723 return decode(StringUtils.getBytesUtf8(pArray)); in decode() 733 public byte[] decode(byte[] pArray) { in decode() argument 735 if (pArray == null || pArray.length == 0) { in decode() 736 return pArray; in decode() 738 long len = (pArray.length * 3) / 4; in decode() 741 decode(pArray, 0, pArray.length); in decode() 742 decode(pArray, 0, -1); // Notify decoder of EOF. in decode() 917 public String encodeToString(byte[] pArray) { in encodeToString() argument 918 return StringUtils.newStringUtf8(encode(pArray)); in encodeToString() [all …]
|
/external/pdfium/fpdfsdk/src/ |
D | fpdfdoc.cpp | 304 CPDF_Array* pArray = pAnnotDict->GetArray("QuadPoints"); in FPDFLink_CountQuadPoints() local 305 if (!pArray) in FPDFLink_CountQuadPoints() 307 return pArray->GetCount() / 8; in FPDFLink_CountQuadPoints() 317 CPDF_Array* pArray = pAnnotDict->GetArray("QuadPoints"); in FPDFLink_GetQuadPoints() local 318 if (pArray) { in FPDFLink_GetQuadPoints() 319 if (quadIndex < 0 || quadIndex >= (int)pArray->GetCount() / 8 || in FPDFLink_GetQuadPoints() 320 ((quadIndex * 8 + 7) >= (int)pArray->GetCount())) in FPDFLink_GetQuadPoints() 322 quadPoints->x1 = pArray->GetNumber(quadIndex * 8); in FPDFLink_GetQuadPoints() 323 quadPoints->y1 = pArray->GetNumber(quadIndex * 8 + 1); in FPDFLink_GetQuadPoints() 324 quadPoints->x2 = pArray->GetNumber(quadIndex * 8 + 2); in FPDFLink_GetQuadPoints() [all …]
|
D | fpdf_transformpage.cpp | 35 CPDF_Array* pArray = pPageDict->GetArray(key); in GetBoundingBox() local 36 if (!pArray) in GetBoundingBox() 39 *left = pArray->GetFloat(0); in GetBoundingBox() 40 *bottom = pArray->GetFloat(1); in GetBoundingBox() 41 *right = pArray->GetFloat(2); in GetBoundingBox() 42 *top = pArray->GetFloat(3); in GetBoundingBox() 134 if (CPDF_Array* pArray = ToArray(pContentObj)) { in FPDFPage_TransFormWithClip() local 135 pContentArray = pArray; in FPDFPage_TransFormWithClip() 142 if (CPDF_Array* pArray = pDirectObj->AsArray()) { in FPDFPage_TransFormWithClip() local 143 pContentArray = pArray; in FPDFPage_TransFormWithClip() [all …]
|
D | fpdfsave.cpp | 98 CPDF_Array* pArray = pXFA->GetArray(); in _SaveXFADocumentData() local 99 if (NULL == pArray) in _SaveXFADocumentData() 101 int size = pArray->GetCount(); in _SaveXFADocumentData() 107 CPDF_Object* pPDFObj = pArray->GetElement(i); in _SaveXFADocumentData() 125 CPDF_Stream* pTemplateStream = pArray->GetStream(iTemplate); in _SaveXFADocumentData() 138 CPDF_Object* pFormPDFObj = pArray->GetElement(iFormIndex); in _SaveXFADocumentData() 152 CPDF_Object* pDataSetsPDFObj = pArray->GetElement(iDataSetsIndex); in _SaveXFADocumentData() 188 iLast = pArray->GetCount() - 2; in _SaveXFADocumentData() 189 pArray->InsertAt(iLast, new CPDF_String("datasets", FALSE)); in _SaveXFADocumentData() 190 pArray->InsertAt(iLast + 1, pData, pPDFDocument); in _SaveXFADocumentData() [all …]
|
D | fpdfppo.cpp | 127 CPDF_Array* pArray = new CPDF_Array; in ExportPage() local 128 pArray->AddNumber(0); in ExportPage() 129 pArray->AddNumber(0); in ExportPage() 130 pArray->AddNumber(612); in ExportPage() 131 pArray->AddNumber(792); in ExportPage() 132 pCurPageDict->SetAt("MediaBox", pArray); in ExportPage() 235 CPDF_Array* pArray = pObj->AsArray(); in UpdateReference() local 236 FX_DWORD count = pArray->GetCount(); in UpdateReference() 238 CPDF_Object* pNextObj = pArray->GetElement(i); in UpdateReference()
|
D | fpdf_flatten.cpp | 134 FX_FLOAT* pArray = new FX_FLOAT[nRects]; in GetMinMaxValue() local 138 pArray[i] = CPDF_Rect(array.GetAt(i)).left; in GetMinMaxValue() 144 pArray[i] = CPDF_Rect(array.GetAt(i)).top; in GetMinMaxValue() 150 pArray[i] = CPDF_Rect(array.GetAt(i)).right; in GetMinMaxValue() 156 pArray[i] = CPDF_Rect(array.GetAt(i)).bottom; in GetMinMaxValue() 163 fRet = pArray[0]; in GetMinMaxValue() 166 if (fRet <= pArray[i]) in GetMinMaxValue() 167 fRet = pArray[i]; in GetMinMaxValue() 170 if (fRet >= pArray[i]) in GetMinMaxValue() 171 fRet = pArray[i]; in GetMinMaxValue() [all …]
|
D | fpdf_ext.cpp | 160 CPDF_Array* pArray = pJSDict ? pJSDict->GetArray("Names") : NULL; in CheckUnSupportError() local 161 if (pArray) { in CheckUnSupportError() 162 int nCount = pArray->GetCount(); in CheckUnSupportError() 164 CFX_ByteString cbStr = pArray->GetString(i); in CheckUnSupportError()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_colors.cpp | 313 FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 335 FX_BOOL CPDF_CalGray::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) { in v_Load() argument 336 CPDF_Dictionary* pDict = pArray->GetDict(1); in v_Load() 388 FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 411 FX_BOOL CPDF_CalRGB::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) { in v_Load() argument 412 CPDF_Dictionary* pDict = pArray->GetDict(1); in v_Load() 511 FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 531 FX_BOOL CPDF_LabCS::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) { in v_Load() argument 532 CPDF_Dictionary* pDict = pArray->GetDict(1); in v_Load() 654 FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; [all …]
|
D | fpdf_page_graph_state.cpp | 448 void CPDF_AllStates::SetLineDash(CPDF_Array* pArray, in SetLineDash() argument 453 pData->SetDashCount(pArray->GetCount()); in SetLineDash() 454 for (FX_DWORD i = 0; i < pArray->GetCount(); i++) { in SetLineDash() 455 pData->m_DashArray[i] = FXSYS_Mul(pArray->GetNumber(i), scale); in SetLineDash() 489 CPDF_Array* pArray = pDash->GetArray(0); in ProcessExtGS() local 490 if (!pArray) in ProcessExtGS() 493 SetLineDash(pArray, pDash->GetNumber(1), 1.0f); in ProcessExtGS() 517 CPDF_Array* pArray = pObject->AsArray(); in ProcessExtGS() local 519 pArray ? pArray->GetString(0) : pObject->GetString(); in ProcessExtGS()
|
D | fpdf_page_func.cpp | 757 CPDF_Array* pArray = pDict->GetArray("Functions"); in v_Init() local 758 if (!pArray) { in v_Init() 761 FX_DWORD nSubs = pArray->GetCount(); in v_Init() 767 CPDF_Object* pSub = pArray->GetElementValue(i); in v_Init() 791 pArray = pDict->GetArray("Bounds"); in v_Init() 792 if (!pArray) { in v_Init() 796 m_pBounds[i + 1] = pArray->GetFloat(i); in v_Init() 800 pArray = pDict->GetArray("Encode"); in v_Init() 801 if (!pArray) { in v_Init() 805 m_pEncode[i] = pArray->GetFloat(i); in v_Init()
|
D | fpdf_page_doc.cpp | 348 CPDF_Array* pArray = pCSObj->AsArray(); in GetColorSpace() local 349 if (!pArray || pArray->GetCount() == 0) in GetColorSpace() 351 if (pArray->GetCount() == 1) in GetColorSpace() 352 return GetColorSpace(pArray->GetElementValue(0), pResources); in GetColorSpace() 363 CPDF_ColorSpace* pCS = CPDF_ColorSpace::Load(m_pPDFDoc, pArray); in GetColorSpace()
|
/external/pdfium/core/include/fxcrt/ |
D | fx_ext.h | 104 void ShellSort(baseType* pArray, int32_t iCount) { in ShellSort() argument 105 FXSYS_assert(pArray && iCount > 0); in ShellSort() 112 v1 = pArray[i]; in ShellSort() 113 while (j > -1 && (v2 = pArray[j]) > v1) { in ShellSort() 114 pArray[j + gap] = v2; in ShellSort() 117 pArray[j + gap] = v1; in ShellSort()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_doc.cpp | 311 CPDF_Array* pArray = new CPDF_Array; in AddWindowsFont() local 312 pArray->AddInteger(128); in AddWindowsFont() 317 pArray->AddName(".notdef"); in AddWindowsFont() 319 pArray->AddName(name); in AddWindowsFont() 322 pEncoding->SetAt("Differences", pArray); in AddWindowsFont() 401 CPDF_Array* pArray = new CPDF_Array; in AddWindowsFont() local 402 pBaseDict->SetAt("DescendantFonts", pArray); in AddWindowsFont() 404 pArray->AddReference(this, pFontDict); in AddWindowsFont() 651 CPDF_Array* pArray = new CPDF_Array; in AddMacFont() local 652 pArray->AddInteger(128); in AddMacFont() [all …]
|
/external/pdfium/xfa/src/fgas/include/ |
D | fx_alg.h | 27 int32_t Lookup(const baseType& find, const baseType* pArray, int32_t iCount) { in Lookup() argument 28 FXSYS_assert(pArray != NULL); in Lookup() 35 const baseType& v = pArray[iMid]; in Lookup()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_objects.cpp | 681 CPDF_Array* pArray = GetArray(key); in GetRect() local 682 if (pArray) in GetRect() 683 rect = pArray->GetRect(); in GetRect() 688 CPDF_Array* pArray = GetArray(key); in GetMatrix() local 689 if (pArray) in GetMatrix() 690 matrix = pArray->GetMatrix(); in GetMatrix() 793 CPDF_Array* pArray = new CPDF_Array; in SetAtRect() local 794 pArray->AddNumber(rect.left); in SetAtRect() 795 pArray->AddNumber(rect.bottom); in SetAtRect() 796 pArray->AddNumber(rect.right); in SetAtRect() [all …]
|
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
D | xfa_fmparse.cpp | 579 CFX_PtrArray* pArray = 0; in ParsePostExpression() local 581 pArray = new CFX_PtrArray(); in ParsePostExpression() 585 pArray->Add(e); in ParsePostExpression() 600 e = new CXFA_FMCallExpression(line, e, pArray, FALSE); in ParsePostExpression() 614 int32_t iSize = pArray->GetSize(); in ParsePostExpression() 617 (CXFA_FMSimpleExpression*)pArray->GetAt(i); in ParsePostExpression() 620 delete pArray; in ParsePostExpression() 636 CFX_PtrArray* pArray = 0; in ParsePostExpression() local 638 pArray = new CFX_PtrArray(); in ParsePostExpression() 641 pArray->Add(exp); in ParsePostExpression() [all …]
|
/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/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()
|