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

12345678910

/frameworks/compile/mclinker/lib/MC/
H A DMCLDAttribute.cpp114 Attribute *copy = new Attribute(*m_pBase); local
115 copy->setWholeArchive();
116 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
121 Attribute *copy = new Attribute(*m_pBase); local
122 copy->unsetWholeArchive();
123 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
128 Attribute *copy = new Attribute(*m_pBase); local
129 copy->setAsNeeded();
130 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
135 Attribute *copy local
142 Attribute *copy = new Attribute(*m_pBase); local
149 Attribute *copy = new Attribute(*m_pBase); local
156 Attribute *copy = new Attribute(*m_pBase); local
163 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);
93 VideoFrame(const VideoFrame& copy) { argument
94 mWidth = copy.mWidth;
95 mHeight = copy.mHeight;
96 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
42 copy(colors, positions, count);
46 copy(entry.colors, entry.positions, entry.count);
59 copy(entry.colors, entry.positions, entry.count);
85 void copy(uint32_t* colors, float* positions, int count) { function in struct:android::uirenderer::GradientCacheEntry
H A DPatch.h6 * You may obtain a copy of the License at
55 void copy(const int32_t* xDivs, const int32_t* yDivs);
75 void copy(const int32_t* yDivs);
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/base/tests/RenderScriptTests/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/native/opengl/tools/glgen/src/
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);
98 copy("stubs/egl/EGL14Header.java-if", egljStream);
99 copy("stubs/egl/EGL14cHeader.cpp", eglcStream);
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
52 copy(javaPath, glStream);
53 copy(stubRoot + ".cpp", cStream);
101 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream);
102 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream);
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/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;
H A DNuPlayerRenderer.cpp6 * You may obtain a copy of the License at
280 size_t copy = entry->mBuffer->size() - entry->mOffset; local
281 if (copy > numBytesAvailableToWrite) {
282 copy = numBytesAvailableToWrite;
286 entry->mBuffer->data() + entry->mOffset, copy),
287 (ssize_t)copy);
289 entry->mOffset += copy;
297 numBytesAvailableToWrite -= copy;
298 size_t copiedFrames = copy / mAudioSink->frameSize();
/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/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp6 * You may obtain a copy of the License at
403 size_t copy = buffer->size(); local
404 if(copy > bytesMissingForFullAU) {
405 copy = bytesMissingForFullAU;
410 copy);
412 mPartialAudioAU->setRange(0, mPartialAudioAU->size() + copy);
414 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
419 int64_t copyUs = (int64_t)((copy / kFrameSize) * 1E6 / 48000.0);
423 if (bytesMissingForFullAU == copy) {
452 size_t copy = buffer->size(); local
[all...]
H A DTSPacketizer.cpp6 * You may obtain a copy of the License at
755 size_t copy = accessUnit->size(); local
756 if (copy > sizeLeft) {
757 copy = sizeLeft;
760 memcpy(ptr, accessUnit->data(), copy);
761 ptr += copy;
762 CHECK_EQ(sizeLeft, copy);
763 memset(ptr, 0xff, sizeLeft - copy);
767 size_t offset = copy;
802 size_t copy local
[all...]
/frameworks/base/tools/aapt/
H A DFileFinder.cpp63 DirectoryWalker* copy = dw->clone(); local
64 findFiles(fullPath, extensions, fileStore,copy);
65 delete copy;
/frameworks/base/tests/RenderScriptTests/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/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c5 * to any person obtaining a copy of this software and associated documentation
7 * including without limitation the rights to use, copy, modify, merge, publish,
285 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */
313 // Its a stack block. Make a copy.
323 //printf("calling block copy helper %p(%p, %p)...\n", aBlock->descriptor->copy, result, aBlock);
324 (*aBlock->descriptor->copy)(result, aBlock); // do fixup
330 // This allows the copy helper routines to make non-refcounted block copies under GC
337 // if we copy a malloc block to a GC block then we need to clear NEEDS_FREE.
345 //printf("calling block copy helpe
383 struct Block_byref *copy = (struct Block_byref *)_Block_allocator(src->size, false, isWeak); local
[all...]
/frameworks/av/cmds/stagefright/
H A Dstream.cpp6 * You may obtain a copy of the License at
223 size_t copy = size; local
224 if (copy + mCurrentBufferOffset > mem->size()) {
225 copy = mem->size() - mCurrentBufferOffset;
228 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy);
229 mCurrentBufferOffset += copy;
236 data = (const uint8_t *)data + copy;
237 size -= copy;
239 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);
/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 399 milliseconds

12345678910