/frameworks/compile/mclinker/lib/MC/ |
D | Attribute.cpp | 109 Attribute* copy = new Attribute(*m_pBase); in setWholeArchive() local 110 copy->setWholeArchive(); in setWholeArchive() 111 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setWholeArchive() 115 Attribute* copy = new Attribute(*m_pBase); in unsetWholeArchive() local 116 copy->unsetWholeArchive(); in unsetWholeArchive() 117 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in unsetWholeArchive() 121 Attribute* copy = new Attribute(*m_pBase); in setAsNeeded() local 122 copy->setAsNeeded(); in setAsNeeded() 123 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setAsNeeded() 127 Attribute* copy = new Attribute(*m_pBase); in unsetAsNeeded() local [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | ComposeShader.java | 80 protected Shader copy() { in copy() method in ComposeShader 81 final ComposeShader copy; in copy() local 84 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mXferMode); in copy() 87 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mPorterDuffMode); in copy() 93 copyLocalMatrix(copy); in copy() 94 return copy; in copy()
|
D | SweepGradient.java | 89 protected Shader copy() { in copy() method in SweepGradient 90 final SweepGradient copy; in copy() local 93 copy = new SweepGradient(mCx, mCy, mColors.clone(), in copy() 97 copy = new SweepGradient(mCx, mCy, mColor0, mColor1); in copy() 103 copyLocalMatrix(copy); in copy() 104 return copy; in copy()
|
D | RadialGradient.java | 102 protected Shader copy() { in copy() method in RadialGradient 103 final RadialGradient copy; in copy() local 106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(), in copy() 110 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode); in copy() 116 copyLocalMatrix(copy); in copy() 117 return copy; in copy()
|
D | LinearGradient.java | 97 protected Shader copy() { in copy() method in LinearGradient 98 final LinearGradient copy; in copy() local 101 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(), in copy() 105 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode); in copy() 111 copyLocalMatrix(copy); in copy() 112 return copy; in copy()
|
D | BitmapShader.java | 54 protected Shader copy() { in copy() method in BitmapShader 55 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY); in copy() local 56 copyLocalMatrix(copy); in copy() 57 return copy; in copy()
|
D | Shader.java | 101 protected Shader copy() { in copy() method in Shader 102 final Shader copy = new Shader(); in copy() local 103 copyLocalMatrix(copy); in copy() 104 return copy; in copy()
|
/frameworks/av/include/private/media/ |
D | VideoFrame.h | 36 VideoFrame(const VideoFrame& copy) { in VideoFrame() argument 37 mWidth = copy.mWidth; in VideoFrame() 38 mHeight = copy.mHeight; in VideoFrame() 39 mDisplayWidth = copy.mDisplayWidth; in VideoFrame() 40 mDisplayHeight = copy.mDisplayHeight; in VideoFrame() 41 mSize = copy.mSize; in VideoFrame() 43 if (mSize > 0 && copy.mData != NULL) { in VideoFrame() 46 memcpy(mData, copy.mData, mSize); in VideoFrame() 51 mRotationAngle = copy.mRotationAngle; in VideoFrame()
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 191 VideoCodec(const VideoCodec& copy) { in VideoCodec() 192 mCodec = copy.mCodec; in VideoCodec() 193 mBitRate = copy.mBitRate; in VideoCodec() 194 mFrameWidth = copy.mFrameWidth; in VideoCodec() 195 mFrameHeight = copy.mFrameHeight; in VideoCodec() 196 mFrameRate = copy.mFrameRate; in VideoCodec() 215 AudioCodec(const AudioCodec& copy) { in AudioCodec() 216 mCodec = copy.mCodec; in AudioCodec() 217 mBitRate = copy.mBitRate; in AudioCodec() 218 mSampleRate = copy.mSampleRate; in AudioCodec() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | GradientColor.java | 127 private GradientColor(GradientColor copy) { in GradientColor() argument 128 if (copy != null) { in GradientColor() 129 mChangingConfigurations = copy.mChangingConfigurations; in GradientColor() 130 mDefaultColor = copy.mDefaultColor; in GradientColor() 131 mShader = copy.mShader; in GradientColor() 132 mGradientType = copy.mGradientType; in GradientColor() 133 mCenterX = copy.mCenterX; in GradientColor() 134 mCenterY = copy.mCenterY; in GradientColor() 135 mStartX = copy.mStartX; in GradientColor() 136 mStartY = copy.mStartY; in GradientColor() [all …]
|
/frameworks/native/opengl/tools/glgen/src/ |
D | GenerateGL.java | 26 static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateGL 53 copy("stubs/jsr239/" + fname + in emit() 55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream); in emit() 56 copy("stubs/jsr239/" + fname + ".cpp", cStream); in emit() 153 copy("stubs/jsr239/GL10Header.java-if", gl10Stream); in main() 154 copy("stubs/jsr239/GL10ExtHeader.java-if", gl10ExtStream); in main() 155 copy("stubs/jsr239/GL11Header.java-if", gl11Stream); in main() 156 copy("stubs/jsr239/GL11ExtHeader.java-if", gl11ExtStream); in main() 157 copy("stubs/jsr239/GL11ExtensionPackHeader.java-if", gl11ExtPackStream); in main() 158 copy("stubs/jsr239/GLImplHeader.java-impl", glImplStream); in main() [all …]
|
D | GenerateGLES.java | 26 static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateGLES 51 copy(javaPath, glStream); in emit() 52 copy(stubRoot + ".cpp", cStream); in emit() 99 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream); in main() 100 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream); in main() 101 copy("stubs/gles11/common.cpp", gl11cStream); in main()
|
D | GenerateEGL.java | 26 private static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateEGL 52 copy(javaPath, glStream); in emit() 53 copy(stubRoot + ".cpp", cStream); in emit() 96 copy("stubs/egl/" + suffix + "Header.java-if", egljStream); in main() 97 copy("stubs/egl/" + suffix + "cHeader.cpp", eglcStream); in main()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 940 public VectorDrawableCompatState(VectorDrawableCompatState copy) { in VectorDrawableCompatState() argument 941 if (copy != null) { in VectorDrawableCompatState() 942 mChangingConfigurations = copy.mChangingConfigurations; in VectorDrawableCompatState() 943 mVPathRenderer = new VPathRenderer(copy.mVPathRenderer); in VectorDrawableCompatState() 944 if (copy.mVPathRenderer.mFillPaint != null) { in VectorDrawableCompatState() 945 mVPathRenderer.mFillPaint = new Paint(copy.mVPathRenderer.mFillPaint); in VectorDrawableCompatState() 947 if (copy.mVPathRenderer.mStrokePaint != null) { in VectorDrawableCompatState() 948 mVPathRenderer.mStrokePaint = new Paint(copy.mVPathRenderer.mStrokePaint); in VectorDrawableCompatState() 950 mTint = copy.mTint; in VectorDrawableCompatState() 951 mTintMode = copy.mTintMode; in VectorDrawableCompatState() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerStreamListener.cpp | 142 size_t copy = entry->mSize; in read() local 143 if (copy > size) { in read() 144 copy = size; in read() 152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) { in read() 159 copy); in read() 161 entry->mOffset += copy; in read() 162 entry->mSize -= copy; in read() 170 return copy; in read()
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveDataSource.cpp | 114 size_t copy = size - sizeDone; in readAt_l() local 116 if (copy > buffer->size()) { in readAt_l() 117 copy = buffer->size(); in readAt_l() 120 memcpy((uint8_t *)data + sizeDone, buffer->data(), copy); in readAt_l() 122 sizeDone += copy; in readAt_l() 124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); in readAt_l()
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothPacketEncoder.java | 117 int copy = mAccumulationBuffer.length - mAccumulatedBytes; 118 if (copy > remaining) copy = remaining; 119 System.arraycopy(msg, offset, mAccumulationBuffer, mAccumulatedBytes, copy); 120 mAccumulatedBytes += copy; 121 offset += copy; 122 remaining -= copy;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 514 private VClipPath_Delegate(VClipPath_Delegate copy) { in VClipPath_Delegate() argument 515 super(copy); in VClipPath_Delegate() 604 private VFullPath_Delegate(VFullPath_Delegate copy) { in VFullPath_Delegate() argument 605 super(copy); in VFullPath_Delegate() 607 mStrokeColor = copy.mStrokeColor; in VFullPath_Delegate() 608 mStrokeWidth = copy.mStrokeWidth; in VFullPath_Delegate() 609 mStrokeAlpha = copy.mStrokeAlpha; in VFullPath_Delegate() 610 mFillColor = copy.mFillColor; in VFullPath_Delegate() 611 mFillAlpha = copy.mFillAlpha; in VFullPath_Delegate() 612 mTrimPathStart = copy.mTrimPathStart; in VFullPath_Delegate() [all …]
|
/frameworks/av/media/libstagefright/ |
D | DataURISource.cpp | 93 size_t copy = mBuffer->size() - offset; in readAt() local 94 if (copy > size) { in readAt() 95 copy = size; in readAt() 98 memcpy(data, mBuffer->data() + offset, copy); in readAt() 100 return copy; in readAt()
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | Location.java | 180 Location copy = new Location(this); in toAbsoluteLocation() local 181 boolean sameLine = copy.startLine == copy.endLine; in toAbsoluteLocation() 182 if (copy.startLine == 0) { in toAbsoluteLocation() 183 copy.startOffset += absoluteParent.startOffset; in toAbsoluteLocation() 186 copy.endOffset += absoluteParent.startOffset; in toAbsoluteLocation() 189 copy.startLine += absoluteParent.startLine; in toAbsoluteLocation() 190 copy.endLine += absoluteParent.startLine; in toAbsoluteLocation() 191 return copy; in toAbsoluteLocation()
|
/frameworks/av/media/libnbaio/ |
D | NBLog.cpp | 306 uint8_t *copy = new uint8_t[avail]; in dump() local 308 memcpy(copy, &mShared->mBuffer[front], read); in dump() 312 memcpy(©[read], mShared->mBuffer, remaining); in dump() 324 length = copy[i - 1]; in dump() 325 if (length + 3 > i || copy[i - length - 2] != length) { in dump() 328 event = (Event) copy[i - length - 3]; in dump() 334 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec)); in dump() 361 event = (Event) copy[i]; in dump() 362 length = copy[i + 1]; in dump() 363 const void *data = ©[i + 2]; in dump() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | TSPacketizer.cpp | 888 size_t copy = accessUnit->size(); in packetize() local 890 if (copy > sizeAvailableForPayload) { in packetize() 891 copy = sizeAvailableForPayload; in packetize() 893 if (alignPayload && copy > 16) { in packetize() 894 copy -= (copy % 16); in packetize() 898 size_t numPaddingBytes = sizeAvailableForPayload - copy; in packetize() 949 memcpy(ptr, accessUnit->data(), copy); in packetize() 950 ptr += copy; in packetize() 955 size_t offset = copy; in packetize() 970 size_t copy = accessUnit->size() - offset; in packetize() local [all …]
|
D | Converter.cpp | 519 size_t copy = buffer->size(); in feedRawAudioInputBuffers() local 520 if(copy > bytesMissingForFullAU) { in feedRawAudioInputBuffers() 521 copy = bytesMissingForFullAU; in feedRawAudioInputBuffers() 526 copy); in feedRawAudioInputBuffers() 528 mPartialAudioAU->setRange(0, mPartialAudioAU->size() + copy); in feedRawAudioInputBuffers() 530 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); in feedRawAudioInputBuffers() 535 int64_t copyUs = (int64_t)((copy / kFrameSize) * 1E6 / 48000.0); in feedRawAudioInputBuffers() 539 if (bytesMissingForFullAU == copy) { in feedRawAudioInputBuffers() 568 size_t copy = buffer->size(); in feedRawAudioInputBuffers() local 569 if (copy > partialAudioAU->size() - 4) { in feedRawAudioInputBuffers() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CharSequencesTest.java | 31 String copy = toString(forAsciiBytes(bytes)); in testCharSequences() local 32 assertTrue(s.equals(copy)); in testCharSequences() 34 copy = toString(forAsciiBytes(bytes, 0, s.length())); in testCharSequences() 35 assertTrue(s.equals(copy)); in testCharSequences()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 866 public VectorDrawableState(VectorDrawableState copy) { in VectorDrawableState() argument 867 if (copy != null) { in VectorDrawableState() 868 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState() 869 mChangingConfigurations = copy.mChangingConfigurations; in VectorDrawableState() 870 mTint = copy.mTint; in VectorDrawableState() 871 mTintMode = copy.mTintMode; in VectorDrawableState() 872 mAutoMirrored = copy.mAutoMirrored; in VectorDrawableState() 873 mRootGroup = new VGroup(copy.mRootGroup, mVGTargetsMap); in VectorDrawableState() 874 createNativeTreeFromCopy(copy, mRootGroup); in VectorDrawableState() 876 mBaseWidth = copy.mBaseWidth; in VectorDrawableState() [all …]
|