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

12345678910

/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/libs/hwui/
H A DSkiaShader.cpp6 * You may obtain a copy of the License at
109 SkiaShader* SkiaBitmapShader::copy() { function in class:android::uirenderer::SkiaBitmapShader
110 SkiaBitmapShader* copy = new SkiaBitmapShader(); local
111 copy->copyFrom(*this);
112 copy->mBitmap = mBitmap;
113 return copy;
205 SkiaShader* SkiaLinearGradientShader::copy() { function in class:android::uirenderer::SkiaLinearGradientShader
206 SkiaLinearGradientShader* copy = new SkiaLinearGradientShader(); local
207 copy->copyFrom(*this);
208 copy
272 SkiaShader* SkiaCircularGradientShader::copy() { function in class:android::uirenderer::SkiaCircularGradientShader
273 SkiaCircularGradientShader* copy = new SkiaCircularGradientShader(); local
327 SkiaShader* SkiaSweepGradientShader::copy() { function in class:android::uirenderer::SkiaSweepGradientShader
328 SkiaSweepGradientShader* copy = new SkiaSweepGradientShader(); local
387 SkiaShader* SkiaComposeShader::copy() { function in class:android::uirenderer::SkiaComposeShader
388 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
H A DSkiaShader.h6 * You may obtain a copy of the License at
61 virtual SkiaShader* copy() = 0;
142 SkiaShader* copy();
165 SkiaShader* copy();
189 SkiaShader* copy();
214 SkiaShader* copy();
230 SkiaShader* copy();
/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
494 size_t copy = buffer->size(); local
495 if(copy > bytesMissingForFullAU) {
496 copy = bytesMissingForFullAU;
501 copy);
503 mPartialAudioAU->setRange(0, mPartialAudioAU->size() + copy);
505 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
510 int64_t copyUs = (int64_t)((copy / kFrameSize) * 1E6 / 48000.0);
514 if (bytesMissingForFullAU == copy) {
543 size_t copy = buffer->size(); local
[all...]
H A DTSPacketizer.cpp6 * You may obtain a copy of the License at
876 size_t copy = accessUnit->size(); local
878 if (copy > sizeAvailableForPayload) {
879 copy = sizeAvailableForPayload;
881 if (alignPayload && copy > 16) {
882 copy -= (copy % 16);
886 size_t numPaddingBytes = sizeAvailableForPayload - copy;
937 memcpy(ptr, accessUnit->data(), copy);
938 ptr += copy;
958 size_t copy = accessUnit->size() - offset; 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;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.cpp6 * You may obtain a copy of the License at
301 size_t copy = numBytesPerInputFrame - mInputSize; local
302 if (copy > inHeader->nFilledLen) {
303 copy = inHeader->nFilledLen;
310 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy);
311 mInputSize += copy;
313 inHeader->nOffset += copy;
314 inHeader->nFilledLen -= copy;
319 (copy * 1000000ll / kSampleRate) / sizeof(int16_t);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp6 * You may obtain a copy of the License at
271 size_t copy = (nSamples - mNumInputSamples) * sizeof(int16_t); local
273 if (copy > mInputBuffer->range_length()) {
274 copy = mInputBuffer->range_length();
280 copy);
283 mInputBuffer->range_offset() + copy,
284 mInputBuffer->range_length() - copy);
290 mNumInputSamples += copy / sizeof(int16_t);
H A DSoftAACEncoder.cpp6 * You may obtain a copy of the License at
437 size_t copy = numBytesPerInputFrame - mInputSize; local
438 if (copy > inHeader->nFilledLen) {
439 copy = inHeader->nFilledLen;
450 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy);
451 mInputSize += copy;
453 inHeader->nOffset += copy;
454 inHeader->nFilledLen -= copy;
459 (copy * 1000000ll / mSampleRate)
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp6 * You may obtain a copy of the License at
477 size_t copy = size_remaining; local
478 if (copy > mInputBuffer->range_length()) {
479 copy = mInputBuffer->range_length();
484 copy);
486 mInputBuffer->set_range(mInputBuffer->range_offset() + copy,
487 mInputBuffer->range_length() - copy);
489 size_done += copy;
490 size_remaining -= copy;

Completed in 1793 milliseconds

12345678910