/frameworks/compile/mclinker/lib/MC/ |
D | Attribute.cpp | 118 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/libs/hwui/ |
D | SkiaShader.cpp | 113 SkiaShader* SkiaBitmapShader::copy() { in copy() function in android::uirenderer::SkiaBitmapShader 114 SkiaBitmapShader* copy = new SkiaBitmapShader(); in copy() local 115 copy->copyFrom(*this); in copy() 116 copy->mBitmap = mBitmap; in copy() 117 return copy; in copy() 209 SkiaShader* SkiaLinearGradientShader::copy() { in copy() function in android::uirenderer::SkiaLinearGradientShader 210 SkiaLinearGradientShader* copy = new SkiaLinearGradientShader(); in copy() local 211 copy->copyFrom(*this); in copy() 212 copy->mBounds = new float[4]; in copy() 213 memcpy(copy->mBounds, mBounds, sizeof(float) * 4); in copy() [all …]
|
D | SkiaShader.h | 63 virtual SkiaShader* copy() = 0; 141 SkiaShader* copy(); 164 SkiaShader* copy(); 188 SkiaShader* copy(); 213 SkiaShader* copy(); 229 SkiaShader* copy();
|
/frameworks/av/include/private/media/ |
D | VideoFrame.h | 60 MediaAlbumArt(const MediaAlbumArt& copy) { in MediaAlbumArt() argument 61 mSize = copy.mSize; in MediaAlbumArt() 63 if (mSize > 0 && copy.mData != NULL) { in MediaAlbumArt() 64 mData = new uint8_t[copy.mSize]; in MediaAlbumArt() 66 memcpy(mData, copy.mData, mSize); in MediaAlbumArt() 94 VideoFrame(const VideoFrame& copy) { in VideoFrame() argument 95 mWidth = copy.mWidth; in VideoFrame() 96 mHeight = copy.mHeight; in VideoFrame() 97 mDisplayWidth = copy.mDisplayWidth; in VideoFrame() 98 mDisplayHeight = copy.mDisplayHeight; in VideoFrame() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | ComposeShader.java | 90 protected Shader copy() { in copy() method in ComposeShader 91 final ComposeShader copy; in copy() local 94 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mXferMode); in copy() 97 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mPorterDuffMode); in copy() 103 copyLocalMatrix(copy); in copy() 104 return copy; in copy()
|
D | SweepGradient.java | 91 protected Shader copy() { in copy() method in SweepGradient 92 final SweepGradient copy; in copy() local 95 copy = new SweepGradient(mCx, mCy, mColors.clone(), in copy() 99 copy = new SweepGradient(mCx, mCy, mColor0, mColor1); in copy() 105 copyLocalMatrix(copy); in copy() 106 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, mColor0, mColor1, mTileMode); in copy() 116 copyLocalMatrix(copy); in copy() 117 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 | LinearGradient.java | 101 protected Shader copy() { in copy() method in LinearGradient 102 final LinearGradient copy; in copy() local 105 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(), in copy() 109 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode); in copy() 115 copyLocalMatrix(copy); in copy() 116 return copy; in copy()
|
D | Shader.java | 96 protected Shader copy() { in copy() method in Shader 97 final Shader copy = new Shader(); in copy() local 98 copyLocalMatrix(copy); in copy() 99 return copy; in copy()
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 224 VideoCodec(const VideoCodec& copy) { in VideoCodec() 225 mCodec = copy.mCodec; in VideoCodec() 226 mBitRate = copy.mBitRate; in VideoCodec() 227 mFrameWidth = copy.mFrameWidth; in VideoCodec() 228 mFrameHeight = copy.mFrameHeight; in VideoCodec() 229 mFrameRate = copy.mFrameRate; in VideoCodec() 248 AudioCodec(const AudioCodec& copy) { in AudioCodec() 249 mCodec = copy.mCodec; in AudioCodec() 250 mBitRate = copy.mBitRate; in AudioCodec() 251 mSampleRate = copy.mSampleRate; in AudioCodec() [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() 98 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream); in main() 99 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream); in main() 100 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/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() 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/ |
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/core/tests/coretests/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/av/media/libnbaio/ |
D | NBLog.cpp | 305 uint8_t *copy = new uint8_t[avail]; in dump() local 307 memcpy(copy, &mShared->mBuffer[front], read); in dump() 311 memcpy(©[read], mShared->mBuffer, remaining); in dump() 323 length = copy[i - 1]; in dump() 324 if (length + 3 > i || copy[i - length - 2] != length) { in dump() 327 event = (Event) copy[i - length - 3]; in dump() 333 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec)); in dump() 360 event = (Event) copy[i]; in dump() 361 length = copy[i + 1]; in dump() 362 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 | 542 size_t copy = buffer->size(); in feedRawAudioInputBuffers() local 543 if(copy > bytesMissingForFullAU) { in feedRawAudioInputBuffers() 544 copy = bytesMissingForFullAU; in feedRawAudioInputBuffers() 549 copy); in feedRawAudioInputBuffers() 551 mPartialAudioAU->setRange(0, mPartialAudioAU->size() + copy); in feedRawAudioInputBuffers() 553 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); in feedRawAudioInputBuffers() 558 int64_t copyUs = (int64_t)((copy / kFrameSize) * 1E6 / 48000.0); in feedRawAudioInputBuffers() 562 if (bytesMissingForFullAU == copy) { in feedRawAudioInputBuffers() 591 size_t copy = buffer->size(); in feedRawAudioInputBuffers() local 592 if (copy > partialAudioAU->size() - 4) { in feedRawAudioInputBuffers() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
D | SoftAMRNBEncoder.cpp | 301 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/ |
D | stream.cpp | 224 size_t copy = size; in writeData() local 225 if (copy + mCurrentBufferOffset > mem->size()) { in writeData() 226 copy = mem->size() - mCurrentBufferOffset; in writeData() 229 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy); in writeData() 230 mCurrentBufferOffset += copy; in writeData() 237 data = (const uint8_t *)data + copy; in writeData() 238 size -= copy; in writeData() 240 totalWritten += copy; in writeData()
|
/frameworks/base/tools/aapt/ |
D | FileFinder.cpp | 63 DirectoryWalker* copy = dw->clone(); in findFiles() local 64 findFiles(fullPath, extensions, fileStore,copy); in findFiles() 65 delete copy; in findFiles()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 271 size_t copy = (nSamples - mNumInputSamples) * sizeof(int16_t); in read() local 273 if (copy > mInputBuffer->range_length()) { in read() 274 copy = mInputBuffer->range_length(); in read() 280 copy); in read() 283 mInputBuffer->range_offset() + copy, in read() 284 mInputBuffer->range_length() - copy); in read() 290 mNumInputSamples += copy / sizeof(int16_t); in read()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
D | SoftAMRWBEncoder.cpp | 348 size_t copy = numBytesPerInputFrame - mInputSize; in onQueueFilled() local 349 if (copy > inHeader->nFilledLen) { in onQueueFilled() 350 copy = inHeader->nFilledLen; in onQueueFilled() 357 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy); in onQueueFilled() 358 mInputSize += copy; in onQueueFilled() 360 inHeader->nOffset += copy; in onQueueFilled() 361 inHeader->nFilledLen -= copy; in onQueueFilled() 366 (copy * 1000000ll / kSampleRate) / sizeof(int16_t); in onQueueFilled()
|