Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/frameworks/compile/mclinker/lib/MC/
DAttribute.cpp118 Attribute *copy = new Attribute(*m_pBase); in setWholeArchive() local
119 copy->setWholeArchive(); in setWholeArchive()
120 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setWholeArchive()
125 Attribute *copy = new Attribute(*m_pBase); in unsetWholeArchive() local
126 copy->unsetWholeArchive(); in unsetWholeArchive()
127 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in unsetWholeArchive()
132 Attribute *copy = new Attribute(*m_pBase); in setAsNeeded() local
133 copy->setAsNeeded(); in setAsNeeded()
134 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setAsNeeded()
139 Attribute *copy = new Attribute(*m_pBase); in unsetAsNeeded() local
[all …]
/frameworks/base/graphics/java/android/graphics/
DComposeShader.java80 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()
DSweepGradient.java89 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()
DLinearGradient.java97 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()
DRadialGradient.java102 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()
DBitmapShader.java53 protected Shader copy() { in copy() method in BitmapShader
54 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY); in copy() local
55 copyLocalMatrix(copy); in copy()
56 return copy; in copy()
DShader.java99 protected Shader copy() { in copy() method in Shader
100 final Shader copy = new Shader(); in copy() local
101 copyLocalMatrix(copy); in copy()
102 return copy; in copy()
/frameworks/av/include/private/media/
DVideoFrame.h36 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/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java660 public VectorDrawableState(VectorDrawableState copy) { in VectorDrawableState() argument
661 if (copy != null) { in VectorDrawableState()
662 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState()
663 mChangingConfigurations = copy.mChangingConfigurations; in VectorDrawableState()
664 mVPathRenderer = new VPathRenderer(copy.mVPathRenderer); in VectorDrawableState()
665 if (copy.mVPathRenderer.mFillPaint != null) { in VectorDrawableState()
666 mVPathRenderer.mFillPaint = new Paint(copy.mVPathRenderer.mFillPaint); in VectorDrawableState()
668 if (copy.mVPathRenderer.mStrokePaint != null) { in VectorDrawableState()
669 mVPathRenderer.mStrokePaint = new Paint(copy.mVPathRenderer.mStrokePaint); in VectorDrawableState()
671 mTint = copy.mTint; in VectorDrawableState()
[all …]
DAnimatedVectorDrawable.java340 public AnimatedVectorDrawableState(AnimatedVectorDrawableState copy, in AnimatedVectorDrawableState() argument
342 if (copy != null) { in AnimatedVectorDrawableState()
343 mChangingConfigurations = copy.mChangingConfigurations; in AnimatedVectorDrawableState()
344 if (copy.mVectorDrawable != null) { in AnimatedVectorDrawableState()
345 final ConstantState cs = copy.mVectorDrawable.getConstantState(); in AnimatedVectorDrawableState()
353 mVectorDrawable.setLayoutDirection(copy.mVectorDrawable.getLayoutDirection()); in AnimatedVectorDrawableState()
354 mVectorDrawable.setBounds(copy.mVectorDrawable.getBounds()); in AnimatedVectorDrawableState()
357 if (copy.mAnimators != null) { in AnimatedVectorDrawableState()
358 final int numAnimators = copy.mAnimators.size(); in AnimatedVectorDrawableState()
362 Animator anim = copy.mAnimators.get(i); in AnimatedVectorDrawableState()
[all …]
/frameworks/av/include/media/
DMediaProfiles.h235 VideoCodec(const VideoCodec& copy) { in VideoCodec()
236 mCodec = copy.mCodec; in VideoCodec()
237 mBitRate = copy.mBitRate; in VideoCodec()
238 mFrameWidth = copy.mFrameWidth; in VideoCodec()
239 mFrameHeight = copy.mFrameHeight; in VideoCodec()
240 mFrameRate = copy.mFrameRate; in VideoCodec()
259 AudioCodec(const AudioCodec& copy) { in AudioCodec()
260 mCodec = copy.mCodec; in AudioCodec()
261 mBitRate = copy.mBitRate; in AudioCodec()
262 mSampleRate = copy.mSampleRate; in AudioCodec()
[all …]
/frameworks/native/opengl/tools/glgen/src/
DGenerateGL.java26 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 …]
DGenerateGLES.java26 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()
DGenerateEGL.java26 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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.cpp142 size_t copy = entry->mSize; in read() local
143 if (copy > size) { in read()
144 copy = size; in read()
150 copy); in read()
152 entry->mOffset += copy; in read()
153 entry->mSize -= copy; in read()
161 return copy; in read()
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.cpp114 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/av/media/libstagefright/
DDataURISource.cpp92 size_t copy = mBuffer->size() - offset; in readAt() local
93 if (copy > size) { in readAt()
94 copy = size; in readAt()
97 memcpy(data, mBuffer->data() + offset, copy); in readAt()
99 return copy; in readAt()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java173 SyncOperation copy = new SyncOperation(op, fiveSecondsFromNow * 60); in testCopyConstructor() local
176 copy.isExpedited()); in testCopyConstructor()
179 copy.extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)); in testCopyConstructor()
181 copy.latestRunTime == (now + fiveSecondsFromNow * 60)); in testCopyConstructor()
183 copy.flexTime == 0L); in testCopyConstructor()
185 copy.backoff == eightSeconds); in testCopyConstructor()
187 copy.delayUntil == fourSeconds); in testCopyConstructor()
/frameworks/av/media/libnbaio/
DNBLog.cpp306 uint8_t *copy = new uint8_t[avail]; in dump() local
308 memcpy(copy, &mShared->mBuffer[front], read); in dump()
312 memcpy(&copy[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, &copy[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 = &copy[i + 2]; in dump()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DCharSequencesTest.java31 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/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp888 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 …]
DConverter.cpp519 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/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp301 size_t copy = numBytesPerInputFrame - mInputSize; in onQueueFilled() local
302 if (copy > inHeader->nFilledLen) { in onQueueFilled()
303 copy = inHeader->nFilledLen; in onQueueFilled()
310 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy); in onQueueFilled()
311 mInputSize += copy; in onQueueFilled()
313 inHeader->nOffset += copy; in onQueueFilled()
314 inHeader->nFilledLen -= copy; in onQueueFilled()
319 (copy * 1000000ll / kSampleRate) / sizeof(int16_t); in onQueueFilled()
/frameworks/av/cmds/stagefright/
Dstream.cpp227 size_t copy = size; in writeData() local
228 if (copy + mCurrentBufferOffset > mem->size()) { in writeData()
229 copy = mem->size() - mCurrentBufferOffset; in writeData()
232 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy); in writeData()
233 mCurrentBufferOffset += copy; in writeData()
240 data = (const uint8_t *)data + copy; in writeData()
241 size -= copy; in writeData()
243 totalWritten += copy; in writeData()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java100 ImageView copy = new ImageView(view.getContext()); in copyViewImage() local
101 copy.setScaleType(ImageView.ScaleType.CENTER_CROP); in copyViewImage()
104 copy.setImageBitmap(bitmap); in copyViewImage()
108 copy.measure(widthSpec, heightSpec); in copyViewImage()
109 copy.layout(left, top, right, bottom); in copyViewImage()
110 return copy; in copyViewImage()

12345678910>>...21