/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpscramble.h | 62 __INLINE void cpScramblePut(Ipp8u* pArray, cpSize colummSize, in cpScramblePut() argument 70 pArray[i*CACHE_LINE_SIZE] = ((Ipp8u*)pData)[i]; in cpScramblePut() 75 ((Ipp16u*)pArray)[i*CACHE_LINE_SIZE/sizeof(Ipp16u)] = ((Ipp16u*)pData)[i]; in cpScramblePut() 79 ((Ipp32u*)pArray)[i*CACHE_LINE_SIZE/sizeof(Ipp32u)] = pData[i]; in cpScramblePut() 82 for(; dataSize>=2; dataSize-=2, pArray+=CACHE_LINE_SIZE, pData+=2) { in cpScramblePut() 83 ((Ipp32u*)pArray)[0] = pData[0]; in cpScramblePut() 84 ((Ipp32u*)pArray)[1] = pData[1]; in cpScramblePut() 87 ((Ipp32u*)pArray)[0] = pData[0]; in cpScramblePut() 90 for(; dataSize>=4; dataSize-=4, pArray+=CACHE_LINE_SIZE, pData+=4) { in cpScramblePut() 91 ((Ipp32u*)pArray)[0] = pData[0]; in cpScramblePut() [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_dest.cpp | 42 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetPageIndex() local 43 if (!pArray) in GetPageIndex() 46 CPDF_Object* pPage = pArray->GetDirectObjectAt(0); in GetPageIndex() 57 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetPageObjNum() local 58 if (!pArray) in GetPageObjNum() 61 CPDF_Object* pPage = pArray->GetDirectObjectAt(0); in GetPageObjNum() 72 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetZoomMode() local 73 if (!pArray) in GetZoomMode() 76 CPDF_Object* pObj = pArray->GetDirectObjectAt(1); in GetZoomMode() 99 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetXYZ() local [all …]
|
D | cpdf_occontext.cpp | 15 int32_t FindGroup(const CPDF_Array* pArray, const CPDF_Dictionary* pGroupDict) { in FindGroup() argument 16 if (!pArray || !pGroupDict) in FindGroup() 19 for (size_t i = 0; i < pArray->GetCount(); i++) { in FindGroup() 20 if (pArray->GetDictAt(i) == pGroupDict) in FindGroup() 34 if (CPDF_Array* pArray = pIntent->AsArray()) { in HasIntent() local 35 for (size_t i = 0; i < pArray->GetCount(); i++) { in HasIntent() 36 bsIntent = pArray->GetStringAt(i); in HasIntent() 109 CPDF_Array* pArray = pConfig->GetArrayFor("ON"); in LoadOCGStateFromConfig() local 110 if (pArray) { in LoadOCGStateFromConfig() 111 if (FindGroup(pArray, pOCGDict) >= 0) in LoadOCGStateFromConfig() [all …]
|
D | cpdf_formfield.cpp | 430 if (CPDF_Array* pArray = pValue->AsArray()) in CountSelectedItems() local 431 return pArray->GetCount(); in CountSelectedItems() 451 CPDF_Array* pArray = pValue->AsArray(); in GetSelectedIndex() local 452 if (!pArray || index < 0) in GetSelectedIndex() 455 CPDF_Object* elementValue = pArray->GetDirectObjectAt(index); in GetSelectedIndex() 512 CPDF_Array* pArray = pValue->AsArray(); in IsItemSelected() local 513 if (!pArray) in IsItemSelected() 523 for (int i = 0; i < static_cast<int>(pArray->GetCount()); i++) in IsItemSelected() 524 if (pArray->GetDirectObjectAt(i)->GetUnicodeText() == opt_value && in IsItemSelected() 546 CPDF_Array* pArray = m_pDict->SetNewFor<CPDF_Array>("V"); in SetItemSelection() local [all …]
|
D | cpdf_actionfields.cpp | 39 if (CPDF_Array* pArray = pFields->AsArray()) in GetFieldsCount() local 40 return pArray->GetCount(); in GetFieldsCount() 65 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetAllFields() local 66 for (size_t i = 0; i < pArray->GetCount(); ++i) { in GetAllFields() 67 CPDF_Object* pObj = pArray->GetDirectObjectAt(i); in GetAllFields() 97 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetField() local 98 pFindObj = pArray->GetDirectObjectAt(iIndex); in GetField()
|
D | cpdf_action.cpp | 45 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest() local 46 return CPDF_Dest(pArray); in GetDest() 122 if (CPDF_Array* pArray = pNext->AsArray()) in GetSubActionsCount() local 123 return pArray->GetCount(); in GetSubActionsCount() 132 if (CPDF_Array* pArray = ToArray(pNext)) in GetSubAction() local 133 return CPDF_Action(pArray->GetDictAt(iIndex)); in GetSubAction()
|
D | cpdf_structelement.cpp | 68 if (CPDF_Array* pArray = pKids->AsArray()) { in LoadKids() local 69 m_Kids.resize(pArray->GetCount()); in LoadKids() 70 for (uint32_t i = 0; i < pArray->GetCount(); i++) { in LoadKids() 71 CPDF_Object* pKid = pArray->GetDirectObjectAt(i); in LoadKids()
|
D | cpdf_link.cpp | 33 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest() local 34 return CPDF_Dest(pArray); in GetDest()
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 721 public byte[] decode(String pArray) { in decode() argument 722 return decode(StringUtils.getBytesUtf8(pArray)); in decode() 732 public byte[] decode(byte[] pArray) { in decode() argument 734 if (pArray == null || pArray.length == 0) { in decode() 735 return pArray; in decode() 737 long len = (pArray.length * 3) / 4; in decode() 740 decode(pArray, 0, pArray.length); in decode() 741 decode(pArray, 0, -1); // Notify decoder of EOF. in decode() 916 public String encodeToString(byte[] pArray) { in encodeToString() argument 917 return StringUtils.newStringUtf8(encode(pArray)); in encodeToString() [all …]
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_stitchfunc.cpp | 33 CPDF_Array* pArray = pDict->GetArrayFor("Functions"); in v_Init() local 34 if (!pArray) { in v_Init() 37 uint32_t nSubs = pArray->GetCount(); in v_Init() 42 CPDF_Object* pSub = pArray->GetDirectObjectAt(i); in v_Init() 63 pArray = pDict->GetArrayFor("Bounds"); in v_Init() 64 if (!pArray) in v_Init() 67 m_pBounds[i + 1] = pArray->GetFloatAt(i); in v_Init() 70 pArray = pDict->GetArrayFor("Encode"); in v_Init() 71 if (!pArray) in v_Init() 75 m_pEncode[i] = pArray->GetFloatAt(i); in v_Init()
|
D | cpdf_allstates.cpp | 35 void CPDF_AllStates::SetLineDash(CPDF_Array* pArray, float phase, float scale) { in SetLineDash() argument 36 m_GraphState.SetLineDash(pArray, phase, scale); in SetLineDash() 69 CPDF_Array* pArray = pDash->GetArrayAt(0); in ProcessExtGS() local 70 if (!pArray) in ProcessExtGS() 73 SetLineDash(pArray, pDash->GetNumberAt(1), 1.0f); in ProcessExtGS() 96 CPDF_Array* pArray = pObject->AsArray(); in ProcessExtGS() local 97 m_GeneralState.SetBlendMode(pArray ? pArray->GetStringAt(0) in ProcessExtGS()
|
D | cpdf_colorspace.cpp | 81 CPDF_Array* pArray, 103 CPDF_Array* pArray, 129 CPDF_Array* pArray, 157 CPDF_Array* pArray, 193 CPDF_Array* pArray, 219 CPDF_Array* pArray, 240 CPDF_Array* pArray, 423 CPDF_Array* pArray = pObj->AsArray(); in Load() local 424 if (!pArray || pArray->IsEmpty()) in Load() 427 CPDF_Object* pFamilyObj = pArray->GetDirectObjectAt(0); in Load() [all …]
|
D | cpdf_shadingpattern.cpp | 78 if (CPDF_Array* pArray = pFunc->AsArray()) { in Load() local 79 m_pFunctions.resize(std::min<size_t>(pArray->GetCount(), 4)); in Load() 81 m_pFunctions[i] = CPDF_Function::Load(pArray->GetDirectObjectAt(i)); in Load()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_dictionary.cpp | 152 CPDF_Array* pArray = GetArrayFor(key); in GetRectFor() local 153 if (pArray) in GetRectFor() 154 rect = pArray->GetRect(); in GetRectFor() 160 CPDF_Array* pArray = GetArrayFor(key); in GetMatrixFor() local 161 if (pArray) in GetMatrixFor() 162 matrix = pArray->GetMatrix(); in GetMatrixFor() 223 CPDF_Array* pArray = SetNewFor<CPDF_Array>(key); in SetRectFor() local 224 pArray->AddNew<CPDF_Number>(rect.left); in SetRectFor() 225 pArray->AddNew<CPDF_Number>(rect.bottom); in SetRectFor() 226 pArray->AddNew<CPDF_Number>(rect.right); in SetRectFor() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdfsave.cpp | 75 CPDF_Array* pArray = pXFA->AsArray(); in SaveXFADocumentData() local 76 if (!pArray) in SaveXFADocumentData() 79 int size = pArray->GetCount(); in SaveXFADocumentData() 85 CPDF_Object* pPDFObj = pArray->GetObjectAt(i); in SaveXFADocumentData() 100 CPDF_Stream* pTemplateStream = pArray->GetStreamAt(iTemplate); in SaveXFADocumentData() 112 CPDF_Object* pFormPDFObj = pArray->GetObjectAt(iFormIndex); in SaveXFADocumentData() 125 CPDF_Object* pDataSetsPDFObj = pArray->GetObjectAt(iDataSetsIndex); in SaveXFADocumentData() 158 iLast = pArray->GetCount() - 2; in SaveXFADocumentData() 159 pArray->InsertNewAt<CPDF_String>(iLast, "datasets", false); in SaveXFADocumentData() 160 pArray->InsertNewAt<CPDF_Reference>(iLast + 1, pPDFDocument, in SaveXFADocumentData() [all …]
|
D | fpdfdoc.cpp | 359 CPDF_Array* pArray = pAnnotDict->GetArrayFor("QuadPoints"); in FPDFLink_CountQuadPoints() local 360 if (!pArray) in FPDFLink_CountQuadPoints() 362 return static_cast<int>(pArray->GetCount() / 8); in FPDFLink_CountQuadPoints() 373 CPDF_Array* pArray = pAnnotDict->GetArrayFor("QuadPoints"); in FPDFLink_GetQuadPoints() local 374 if (!pArray) in FPDFLink_GetQuadPoints() 378 static_cast<size_t>(quadIndex) >= pArray->GetCount() / 8 || in FPDFLink_GetQuadPoints() 379 (static_cast<size_t>(quadIndex * 8 + 7) >= pArray->GetCount())) { in FPDFLink_GetQuadPoints() 383 quadPoints->x1 = pArray->GetNumberAt(quadIndex * 8); in FPDFLink_GetQuadPoints() 384 quadPoints->y1 = pArray->GetNumberAt(quadIndex * 8 + 1); in FPDFLink_GetQuadPoints() 385 quadPoints->x2 = pArray->GetNumberAt(quadIndex * 8 + 2); in FPDFLink_GetQuadPoints() [all …]
|
D | fpdf_transformpage.cpp | 46 CPDF_Array* pArray = page->m_pFormDict->GetArrayFor(key); in GetBoundingBox() local 47 if (!pArray) in GetBoundingBox() 50 *left = pArray->GetFloatAt(0); in GetBoundingBox() 51 *bottom = pArray->GetFloatAt(1); in GetBoundingBox() 52 *right = pArray->GetFloatAt(2); in GetBoundingBox() 53 *top = pArray->GetFloatAt(3); in GetBoundingBox() 300 if (CPDF_Array* pArray = ToArray(pContentObj)) { in FPDFPage_InsertClipPath() local 301 pArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath()
|
D | fpdfppo.cpp | 227 CPDF_Array* pArray = pCurPageDict->SetNewFor<CPDF_Array>("MediaBox"); in ExportPage() local 228 pArray->AddNew<CPDF_Number>(0); in ExportPage() 229 pArray->AddNew<CPDF_Number>(0); in ExportPage() 230 pArray->AddNew<CPDF_Number>(612); in ExportPage() 231 pArray->AddNew<CPDF_Number>(792); in ExportPage() 285 CPDF_Array* pArray = pObj->AsArray(); in UpdateReference() local 286 for (size_t i = 0; i < pArray->GetCount(); ++i) { in UpdateReference() 287 CPDF_Object* pNextObj = pArray->GetObjectAt(i); in UpdateReference()
|
D | fpdf_flatten.cpp | 126 std::vector<float> pArray(nRects); in GetMinMaxValue() local 130 pArray[i] = array[i].left; in GetMinMaxValue() 134 pArray[i] = array[i].top; in GetMinMaxValue() 138 pArray[i] = array[i].right; in GetMinMaxValue() 142 pArray[i] = array[i].bottom; in GetMinMaxValue() 149 float fRet = pArray[0]; in GetMinMaxValue() 152 fRet = std::max(fRet, pArray[i]); in GetMinMaxValue() 155 fRet = std::min(fRet, pArray[i]); in GetMinMaxValue()
|
D | fpdf_ext.cpp | 142 CPDF_Array* pArray = pJSDict ? pJSDict->GetArrayFor("Names") : nullptr; in CheckUnSupportError() local 143 if (pArray) { in CheckUnSupportError() 144 for (size_t i = 0; i < pArray->GetCount(); i++) { in CheckUnSupportError() 145 ByteString cbStr = pArray->GetStringAt(i); in CheckUnSupportError()
|
D | fpdfannot.cpp | 634 CPDF_Array* pArray = pAnnotDict->GetArrayFor("QuadPoints"); in FPDFAnnot_GetAttachmentPoints() local 635 if (!pArray) in FPDFAnnot_GetAttachmentPoints() 638 quadPoints->x1 = pArray->GetNumberAt(0); in FPDFAnnot_GetAttachmentPoints() 639 quadPoints->y1 = pArray->GetNumberAt(1); in FPDFAnnot_GetAttachmentPoints() 640 quadPoints->x2 = pArray->GetNumberAt(2); in FPDFAnnot_GetAttachmentPoints() 641 quadPoints->y2 = pArray->GetNumberAt(3); in FPDFAnnot_GetAttachmentPoints() 642 quadPoints->x3 = pArray->GetNumberAt(4); in FPDFAnnot_GetAttachmentPoints() 643 quadPoints->y3 = pArray->GetNumberAt(5); in FPDFAnnot_GetAttachmentPoints() 644 quadPoints->x4 = pArray->GetNumberAt(6); in FPDFAnnot_GetAttachmentPoints() 645 quadPoints->y4 = pArray->GetNumberAt(7); in FPDFAnnot_GetAttachmentPoints()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTArray.h | 64 CPVRTArray(const T* const pArray, const unsigned int uiSize) : m_uiSize(uiSize), in CPVRTArray() argument 71 m_pArray[i]=pArray[i]; in CPVRTArray() 116 T* pArray = m_pArray; in Insert() local 122 pArray = new T[uiNewCapacity]; // New Array in Insert() 124 if(!pArray) in Insert() 130 pArray[i] = m_pArray[i]; in Insert() 137 pArray[i] = m_pArray[i - 1]; in Insert() 141 pArray[pos] = addT; in Insert() 148 if(pArray != m_pArray) in Insert() 152 m_pArray = pArray; in Insert()
|
/external/pdfium/core/fxge/ |
D | cfx_graphstate.cpp | 22 void CFX_GraphState::SetLineDash(CPDF_Array* pArray, float phase, float scale) { in SetLineDash() argument 25 pData->SetDashCount(static_cast<int>(pArray->GetCount())); in SetLineDash() 26 for (size_t i = 0; i < pArray->GetCount(); i++) in SetLineDash() 27 pData->m_DashArray[i] = pArray->GetNumberAt(i) * scale; in SetLineDash()
|
/external/pdfium/fxjs/ |
D | cjs_v8.cpp | 65 unsigned CJS_V8::PutArrayElement(v8::Local<v8::Array> pArray, in PutArrayElement() argument 68 if (pArray.IsEmpty()) in PutArrayElement() 70 if (pArray->Set(m_isolate->GetCurrentContext(), index, pValue).IsNothing()) in PutArrayElement() 75 v8::Local<v8::Value> CJS_V8::GetArrayElement(v8::Local<v8::Array> pArray, in GetArrayElement() argument 77 if (pArray.IsEmpty()) in GetArrayElement() 80 if (!pArray->Get(m_isolate->GetCurrentContext(), index).ToLocal(&val)) in GetArrayElement() 85 unsigned CJS_V8::GetArrayLength(v8::Local<v8::Array> pArray) { in GetArrayLength() argument 86 if (pArray.IsEmpty()) in GetArrayLength() 88 return pArray->Length(); in GetArrayLength()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_docrenderdata.cpp | 76 if (CPDF_Array* pArray = pObj->AsArray()) { in GetTransferFunc() local 78 if (pArray->GetCount() < 3) in GetTransferFunc() 82 pFuncs[2 - i] = CPDF_Function::Load(pArray->GetDirectObjectAt(i)); in GetTransferFunc()
|