Searched refs:copy (Results 1 - 25 of 262) sorted by relevance

1234567891011

/frameworks/compile/mclinker/lib/MC/
H A DAttribute.cpp118 Attribute *copy = new Attribute(*m_pBase); local
119 copy->setWholeArchive();
120 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
125 Attribute *copy = new Attribute(*m_pBase); local
126 copy->unsetWholeArchive();
127 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
132 Attribute *copy = new Attribute(*m_pBase); local
133 copy->setAsNeeded();
134 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
139 Attribute *copy local
146 Attribute *copy = new Attribute(*m_pBase); local
153 Attribute *copy = new Attribute(*m_pBase); local
160 Attribute *copy = new Attribute(*m_pBase); local
167 Attribute *copy = new Attribute(*m_pBase); local
[all...]
/frameworks/av/include/private/media/
H A DVideoFrame.h7 ** You may obtain a copy of the License at
60 MediaAlbumArt(const MediaAlbumArt& copy) { argument
61 mSize = copy.mSize;
63 if (mSize > 0 && copy.mData != NULL) {
64 mData = new uint8_t[copy.mSize];
66 memcpy(mData, copy.mData, mSize);
94 VideoFrame(const VideoFrame& copy) { argument
95 mWidth = copy.mWidth;
96 mHeight = copy.mHeight;
97 mDisplayWidth = copy
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DComposeShader.java6 * You may obtain a copy of the License at
90 protected Shader copy() { method in class:ComposeShader
91 final ComposeShader copy;
94 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mXferMode);
97 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mPorterDuffMode);
103 copyLocalMatrix(copy);
[all...]
H A DBitmapShader.java6 * You may obtain a copy of the License at
54 protected Shader copy() { method in class:BitmapShader
55 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY);
56 copyLocalMatrix(copy);
57 return copy;
H A DShader.java6 * You may obtain a copy of the License at
96 protected Shader copy() { method in class:Shader
97 final Shader copy = new Shader();
98 copyLocalMatrix(copy);
99 return copy;
H A DSweepGradient.java6 * You may obtain a copy of the License at
91 protected Shader copy() { method in class:SweepGradient
92 final SweepGradient copy;
95 copy = new SweepGradient(mCx, mCy, mColors.clone(),
99 copy = new SweepGradient(mCx, mCy, mColor0, mColor1);
105 copyLocalMatrix(copy);
106 return copy;
H A DLinearGradient.java6 * You may obtain a copy of the License at
101 protected Shader copy() { method in class:LinearGradient
102 final LinearGradient copy;
105 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
109 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode);
115 copyLocalMatrix(copy);
116 return copy;
H A DRadialGradient.java6 * You may obtain a copy of the License at
102 protected Shader copy() { method in class:RadialGradient
103 final RadialGradient copy;
106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
110 copy = new RadialGradient(mX, mY, mRadius, mColor0, mColor1, mTileMode);
116 copyLocalMatrix(copy);
117 return copy;
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp6 * You may obtain a copy of the License at
113 SkiaShader* SkiaBitmapShader::copy() { function in class:android::uirenderer::SkiaBitmapShader
114 SkiaBitmapShader* copy = new SkiaBitmapShader(); local
115 copy->copyFrom(*this);
116 copy->mBitmap = mBitmap;
117 return copy;
209 SkiaShader* SkiaLinearGradientShader::copy() { function in class:android::uirenderer::SkiaLinearGradientShader
210 SkiaLinearGradientShader* copy = new SkiaLinearGradientShader(); local
211 copy->copyFrom(*this);
212 copy
276 SkiaShader* SkiaCircularGradientShader::copy() { function in class:android::uirenderer::SkiaCircularGradientShader
277 SkiaCircularGradientShader* copy = new SkiaCircularGradientShader(); local
331 SkiaShader* SkiaSweepGradientShader::copy() { function in class:android::uirenderer::SkiaSweepGradientShader
332 SkiaSweepGradientShader* copy = new SkiaSweepGradientShader(); local
391 SkiaShader* SkiaComposeShader::copy() { function in class:android::uirenderer::SkiaComposeShader
392 SkiaComposeShader* copy = new SkiaComposeShader(); local
[all...]
H A DGradientCache.h6 * You may obtain a copy of the License at
41 copy(colors, positions, count);
45 copy(entry.colors, entry.positions, entry.count);
58 copy(entry.colors, entry.positions, entry.count);
81 void copy(uint32_t* colors, float* positions, uint32_t count) { function in struct:android::uirenderer::GradientCacheEntry
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DCharSequencesTest.java6 * You may obtain a copy of the License at
31 String copy = toString(forAsciiBytes(bytes));
32 assertTrue(s.equals(copy));
34 copy = toString(forAsciiBytes(bytes, 0, s.length()));
35 assertTrue(s.equals(copy));
/frameworks/base/telephony/java/android/telephony/
H A DCellSignalStrength.java6 * You may obtain a copy of the License at
69 * @return A deep copy of this class.
72 public abstract CellSignalStrength copy(); method in class:CellSignalStrength
/frameworks/av/include/media/
H A DMediaProfiles.h7 ** You may obtain a copy of the License at
224 VideoCodec(const VideoCodec& copy) { argument
225 mCodec = copy.mCodec;
226 mBitRate = copy.mBitRate;
227 mFrameWidth = copy.mFrameWidth;
228 mFrameHeight = copy.mFrameHeight;
229 mFrameRate = copy.mFrameRate;
248 AudioCodec(const AudioCodec& copy) { argument
249 mCodec = copy.mCodec;
250 mBitRate = copy
272 CamcorderProfile(const CamcorderProfile& copy) argument
[all...]
/frameworks/native/opengl/tools/glgen/src/
H A DGenerateGLES.java6 * You may obtain a copy of the License at
26 static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateGLES
51 copy(javaPath, glStream);
52 copy(stubRoot + ".cpp", cStream);
98 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream);
99 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream);
100 copy("stubs/gles11/common.cpp", gl11cStream);
H A DGenerateEGL.java6 * You may obtain a copy of the License at
26 private static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateEGL
52 copy(javaPath, glStream);
53 copy(stubRoot + ".cpp", cStream);
96 copy("stubs/egl/" + suffix + "Header.java-if", egljStream);
97 copy("stubs/egl/" + suffix + "cHeader.cpp", eglcStream);
H A DGenerateGL.java6 * You may obtain a copy of the License at
26 static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateGL
53 copy("stubs/jsr239/" + fname +
55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream);
56 copy("stubs/jsr239/" + fname + ".cpp", cStream);
153 copy("stubs/jsr239/GL10Header.java-if", gl10Stream);
154 copy("stubs/jsr239/GL10ExtHeader.java-if", gl10ExtStream);
155 copy("stubs/jsr239/GL11Header.java-if", gl11Stream);
156 copy("stubs/jsr239/GL11ExtHeader.java-if", gl11ExtStream);
157 copy("stub
[all...]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DCopy.java6 * You may obtain a copy of the License at
28 mScript = new ScriptC_copy(mRS, res, R.raw.copy);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp6 * You may obtain a copy of the License at
142 size_t copy = entry->mSize; local
143 if (copy > size) {
144 copy = size;
150 copy);
152 entry->mOffset += copy;
153 entry->mSize -= copy;
161 return copy;
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.cpp6 * You may obtain a copy of the License at
114 size_t copy = size - sizeDone; local
116 if (copy > buffer->size()) {
117 copy = buffer->size();
120 memcpy((uint8_t *)data + sizeDone, buffer->data(), copy);
122 sizeDone += copy;
124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
/frameworks/base/tools/aapt/
H A DFileFinder.cpp63 DirectoryWalker* copy = dw->clone(); local
64 findFiles(fullPath, extensions, fileStore,copy);
65 delete copy;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DCopy.java6 * You may obtain a copy of the License at
33 mScript = new ScriptC_copy(mRS, res, R.raw.copy);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DCopy.java6 * You may obtain a copy of the License at
33 mScript = new ScriptC_copy(mRS, res, R.raw.copy);
/frameworks/av/media/libnbaio/
H A DNBLog.cpp6 * You may obtain a copy of the License at
187 // The Entry could have a method copyTo(ptr, offset, size) to optimize the copy.
304 // make a copy to avoid race condition with writer
305 uint8_t *copy = new uint8_t[avail]; local
306 // copy first part of circular buffer up until the wraparound point
307 memcpy(copy, &mShared->mBuffer[front], read);
310 // copy second part of circular buffer starting at beginning
311 memcpy(&copy[read], mShared->mBuffer, remaining);
323 length = copy[i - 1];
324 if (length + 3 > i || copy[
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp6 * You may obtain a copy of the License at
542 size_t copy = buffer->size(); local
543 if(copy > bytesMissingForFullAU) {
544 copy = bytesMissingForFullAU;
549 copy);
551 mPartialAudioAU->setRange(0, mPartialAudioAU->size() + copy);
553 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
558 int64_t copyUs = (int64_t)((copy / kFrameSize) * 1E6 / 48000.0);
562 if (bytesMissingForFullAU == copy) {
591 size_t copy = buffer->size(); local
[all...]
/frameworks/av/cmds/stagefright/
H A Dstream.cpp6 * You may obtain a copy of the License at
224 size_t copy = size; local
225 if (copy + mCurrentBufferOffset > mem->size()) {
226 copy = mem->size() - mCurrentBufferOffset;
229 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy);
230 mCurrentBufferOffset += copy;
237 data = (const uint8_t *)data + copy;
238 size -= copy;
240 totalWritten += copy;

Completed in 540 milliseconds

1234567891011