/external/skia/include/core/ |
SkTArray.h | 20 inline void copy(SkTArray<T, true>* self, const T* array) { function in namespace:SkTArrayExt 29 inline void copy(SkTArray<T, false>* self, const T* array) { function in namespace:SkTArrayExt 47 When MEM_COPY is false, T will be copy constructed / destructed. 89 * assign copy of array to this 98 SkTArrayExt::copy(this, static_cast<const T*>(array.fMemArray)); 124 // set fCount to 0 before calling checkRealloc so that no copy cons. are called. 134 * Resets to a copy of a C array. 144 SkTArrayExt::copy(this, array); 170 * Version of above that uses a copy constructor to initialize the new item 193 * Version of above that uses a copy constructor to initialize all n item [all...] |
SkTDArray.h | 270 void copy(T* dst) const { function
|
/external/skia/src/animator/ |
SkDrawGroup.cpp | 73 SkGroup* SkGroup::copy() { function in class:SkGroup 85 SkDisplayable* copy = INHERITED::deepCopy(maker); local 89 ((SkGroup*)copy)->addChild(*maker, deeperCopy); 91 return copy;
|
/external/skia/src/views/ |
SkEventSink.cpp | 214 SkEvent* copy = SkNEW_ARGS(SkEvent, (evt)); local 215 copy->setTargetID(*iter++)->postDelay(delay);
|
/external/skia/tests/ |
BitmapCopyTest.cpp | 300 SkBitmap copy; local 302 subset.copyTo(©, subset.config())); 303 REPORTER_ASSERT(reporter, copy.width() == 1); 304 REPORTER_ASSERT(reporter, copy.height() == 1); 305 REPORTER_ASSERT(reporter, copy.rowBytes() <= 4); 308 SkAutoLockPixels alp1(copy); 312 (copy.getColorTable() != NULL) == hasCT); 407 // Either copy src or extract into 'subset', which is used 411 // The extractedSubset() test case allows us to test copy- 459 // Then attempt to copy with a stride that is too larg [all...] |
/external/skia/tools/skpdiff/ |
SkDiffContext.cpp | 45 // Copy over the new differs 48 differs.copy(fDiffers); 105 // Copy the results into data for this record 124 SkBitmap copy; local 125 diffData.fResult.poiAlphaMask.copyTo(©, SkBitmap::kARGB_8888_Config); 126 SkImageEncoder::EncodeFile(newRecord->fDifferencePath.c_str(), copy,
|
/external/stlport/stlport/stl/ |
_algobase.h | 18 * Permission to use or copy this software for any purpose is hereby granted 173 // copy 176 // calls to copy with memmove whenever possible. (Memmove, not memcpy, 291 inline _OutputIter copy(_InputIter __first, _InputIter __last, _OutputIter __result) { function 335 inline _Tp* copy(const _Tp* __first, const _Tp* __last, _Tp* __result) \ 392 return _STLP_STD::pair<_RAIter, _OutputIter>(__last, _STLP_STD::copy(__first, __last, __result));
|
/external/stlport/stlport/stl/debug/ |
_string.h | 11 * Permission to use or copy this software for any purpose is hereby granted 689 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const function in class:basic_string 690 { return _M_non_dbg_impl.copy(__s, __n, __pos); }
|
/external/valgrind/main/coregrind/ |
launcher-darwin.c | 23 You should have received a copy of the GNU General Public License 261 char *copy = strdup(clientname); local 262 char *appname = basename(copy); 272 free(copy);
|
/external/zlib/src/contrib/blast/ |
blast.c | 264 * an instruction to copy previously uncompressed bytes to the output. The 265 * copy is from distance bytes back in the output stream, copying for length 274 * twelve copies the last four bytes three times. A simple forward copy 283 int len; /* length for copy */ 284 unsigned dist; /* distance for copy */ 285 int copy; /* copy counter */ local 286 unsigned char *from, *to; /* copy pointers */ 341 /* copy length bytes from distance bytes back */ 345 copy = MAXWIN [all...] |
/external/zlib/src/contrib/infback9/ |
infback9.c | 236 unsigned long length; /* literal or length of data to copy */ 237 unsigned long offset; /* distance back to copy string from */ 238 unsigned long copy; /* number of stored or match bytes to copy */ local 239 unsigned char FAR *from; /* where to copy match bytes from */ 246 unsigned len; /* length to copy for repeats, bits to drop */ 326 /* copy stored block from input to output */ 328 copy = length; 331 if (copy > have) copy = have [all...] |
/external/zlib/src/ |
inflate.c | 20 * - Unroll direct copy to three copies per loop in inffast.c 37 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used 46 * - Unroll last copy for window match in inflate_fast() 97 unsigned copy)); 379 local int updatewindow(strm, end, copy) 382 unsigned copy; 404 /* copy state->wsize or less output bytes into the circular window */ 405 if (copy >= state->wsize) { 412 if (dist > copy) dist = copy; 616 unsigned copy; \/* number of stored or match bytes to copy *\/ local [all...] |
/external/zlib/src/test/ |
infcover.c | 290 z_stream strm, copy; local 335 ret = inflateCopy(©, &strm); assert(ret == Z_OK); 336 ret = inflateEnd(©); assert(ret == Z_OK); 391 z_stream strm, copy; local 438 ret = inflateCopy(©, &strm); assert(ret == Z_MEM_ERROR); 657 inf("63 0 3 0 0 0 0 0", "copy direct from output", 0, -8, 259,
|
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 6 * You may obtain a copy of the License at 618 size_t copy = info->mSize; local 619 if (copy > numBytesAvailableToWrite) { 620 copy = numBytesAvailableToWrite; 623 if (copy == 0) { 630 buffer->base() + info->mOffset, copy); 632 CHECK_EQ(nbytes, (ssize_t)copy);
|
stream.cpp | 6 * 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/libvideoeditor/lvpp/ |
VideoEditorAudioPlayer.cpp | 6 * You may obtain a copy of the License at 836 size_t copy = size_remaining; local 837 if (copy > mInputBuffer->range_length()) { 838 copy = mInputBuffer->range_length(); 843 copy); 845 mInputBuffer->set_range(mInputBuffer->range_offset() + copy, 846 mInputBuffer->range_length() - copy); 848 size_done += copy; 849 size_remaining -= copy;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerRenderer.cpp | 6 * You may obtain a copy of the License at 301 size_t copy = entry->mBuffer->size() - entry->mOffset; local 302 if (copy > numBytesAvailableToWrite) { 303 copy = numBytesAvailableToWrite; 307 entry->mBuffer->data() + entry->mOffset, copy), 308 (ssize_t)copy); 310 entry->mOffset += copy; 318 numBytesAvailableToWrite -= copy; 319 size_t copiedFrames = copy / mAudioSink->frameSize();
|
/frameworks/av/media/libnbaio/ |
NBLog.cpp | 6 * 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(©[read], mShared->mBuffer, remaining); 323 length = copy[i - 1]; 324 if (length + 3 > i || copy[i - length - 2] != length) [all...] |
/frameworks/av/media/libstagefright/ |
AudioPlayer.cpp | 6 * You may obtain a copy of the License at 645 size_t copy = size_remaining; local 646 if (copy > mInputBuffer->range_length()) { 647 copy = mInputBuffer->range_length(); 652 copy); 654 mInputBuffer->set_range(mInputBuffer->range_offset() + copy, 655 mInputBuffer->range_length() - copy); 657 size_done += copy; 658 size_remaining -= copy;
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 6 * You may obtain a copy of the License at 131 mMemOperator->Copy = cmnMemCopy; 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 [all...] |
SoftAACEncoder2.cpp | 6 * You may obtain a copy of the License at 419 size_t copy = numBytesPerInputFrame - mInputSize; local 420 if (copy > inHeader->nFilledLen) { 421 copy = inHeader->nFilledLen; 432 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy); 433 mInputSize += copy; 435 inHeader->nOffset += copy; 436 inHeader->nFilledLen -= copy; 441 (copy * 1000000ll / mSampleRate)
|
/frameworks/base/core/java/android/text/ |
AutoText.java | 6 * You may obtain a copy of the License at 199 // Don't let Resources cache a copy of all these strings. 269 char[] copy = new char[mTrie.length + INCREMENT]; local 270 System.arraycopy(mTrie, 0, copy, 0, mTrie.length); 271 mTrie = copy;
|
/frameworks/base/libs/hwui/ |
DisplayListRenderer.h | 6 * You may obtain a copy of the License at 275 SkMatrix* copy = new SkMatrix(*matrix); local 276 mMatrices.add(copy); 277 return copy; 291 // contents, and drawing again. The only fix would be to always copy it the first time, 310 shaderCopy = shader->copy();
|
SkiaShader.cpp | 6 * 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->mBounds = new float[4] 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...] |
/frameworks/base/telephony/java/android/telephony/ |
CellSignalStrengthCdma.java | 6 * You may obtain a copy of the License at 57 * Copy constructors 101 public CellSignalStrengthCdma copy() { method in class:CellSignalStrengthCdma
|