/external/webrtc/webrtc/base/ |
array_view.h | 21 // bool Contains17(const int* arr, size_t size) { 22 // for (size_t i = 0; i < size; ++i) { 34 // Contains17(&arr[0], arr.size()); // std::vector 35 // Contains17(arr, size); // pointer + size 58 // Contains17(rtc::ArrayView<int>(arr, size)); // pointer + size 77 // Construct an ArrayView for a (pointer,size) pair. 79 ArrayView(U* data, size_t size) 80 : data_(size == 0 ? nullptr : data), size_(size) 102 size_t size() const { return size_; } function in class:rtc::final [all...] |
checks.cc | 60 int size = backtrace(trace, sizeof(trace) / sizeof(*trace)); local 61 char** symbols = backtrace_symbols(trace, size); 63 if (size == 0) { 68 for (int i = 1; i < size; ++i) {
|
testclient.h | 32 size_t size; member in struct:rtc::TestClient::Packet 55 int Send(const char* buf, size_t size); 58 int SendTo(const char* buf, size_t size, const SocketAddress& dest);
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtp_format_h264.h | 53 size_t size, 59 size(size), 66 size_t size; member in struct:webrtc::RtpPacketizerH264::Packet
|
rtp_format_vp9.h | 14 // constructor is called with the payload data and size. 64 size_t size; member in struct:webrtc::RtpPacketizerVp9::__anon26669 91 size_t payload_size_; // The size in bytes of the payload data.
|
/external/zlib/src/examples/ |
fitblk.c | 1 /* fitblk.c: example of fitting compressed output to a specified size 8 Use fixed-size, stack-allocated raw buffers 14 /* Approach to just fitting a requested compressed size: 18 nearly the requested output block size. The first pass generates 20 output size plus a specfied excess amount (see the EXCESS define 26 The last deflate block of the result will be of a comparable size 31 requested size minus an amount to allow the compressed stream to 34 requested size. Assuming sufficient input and a requested size 39 before filling the requested output size, then that compresse 130 unsigned size; \/* requested fixed output block size *\/ local [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
SessionMap.h | 78 return map.size(); 92 if (map.size() > index) { 152 int size = map.size(); local 154 for (int i = 0; i < size; i++) {
|
/frameworks/av/include/media/ |
mediascanner.h | 48 static MediaAlbumArt *fromData(int32_t size, const void* data); 50 static void init(MediaAlbumArt* instance, int32_t size, const void* data); 58 int32_t size() { function in struct:android::MediaAlbumArt
|
/frameworks/av/include/media/stagefright/foundation/ |
ABuffer.h | 39 size_t size() const { return mRangeLength; } function in struct:android::ABuffer 42 void setRange(size_t offset, size_t size);
|
/frameworks/av/media/img_utils/include/img_utils/ |
EndianUtils.h | 92 // the max size of a TIFF files is bounded 135 size_t size = sizeof(T); local 140 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size)) 144 mOffset += size; 151 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size)) 155 mOffset += size;
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_Process.c | 42 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */ 171 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */ 181 LVM_INT16 j, size; local 199 * The temp buffer will always be NumSamples in size regardless of MONO or * 461 size = (LVM_INT16)(NumSamples << 1); 466 size); 473 size); 478 size);
|
/frameworks/av/media/libmedia/ |
IEffectClient.cpp | 69 int size = cmdSize; local 71 size = 0; 73 data.writeInt32(size); 74 if (size) { 75 data.write(pCmdData, size); 77 size = replySize; 79 size = 0; 81 data.writeInt32(size); 82 if (size) { 83 data.write(pReplyData, size); [all...] |
/frameworks/base/core/java/android/os/ |
ParcelableParcel.java | 37 int size = src.readInt(); local 38 if (size < 0) { 39 throw new IllegalArgumentException("Negative size read from parcel"); 43 src.setDataPosition(MathUtils.addOrThrow(pos, size)); 44 mParcel.appendFrom(src, pos, size); 77 public ParcelableParcel[] newArray(int size) { 78 return new ParcelableParcel[size];
|
RegistrantList.java | 52 for (int i = registrants.size() - 1; i >= 0 ; i--) { 62 size() method in class:RegistrantList 64 return registrants.size(); 76 for (int i = 0, s = registrants.size(); i < s ; i++) { 110 for (int i = 0, s = registrants.size() ; i < s ; i++) {
|
/frameworks/base/core/java/com/android/internal/app/ |
ProcessMap.java | 46 if (uids.size() == 0) { 58 public int size() { method in class:ProcessMap 59 return mMap.size();
|
/frameworks/base/core/jni/ |
android_os_Trace.cpp | 34 size_t size = utf8Chars.size(); local 35 char* str = utf8Chars.lockBuffer(size); 36 for (size_t i = 0; i < size; i++) { 60 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); 77 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); 87 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size());
|
android_util_MemoryIntArray.cpp | 25 jint size) 32 if (size <= 0) { 33 jniThrowException(env, "java/io/IOException", "bad size"); 38 const int ashmemSize = sizeof(std::atomic_int) * size; 66 jniThrowException(env, "java/io/IOException", "bad ashmem size"); 78 int size = ashmemSize / sizeof(std::atomic_int); local 79 new (ashmemAddr) std::atomic_int[size]; 103 jniThrowException(env, "java/io/IOException", "bad ashmem size");
|
android_view_PointerIcon.cpp | 96 jsize size = env->GetArrayLength(bitmapFramesObj.get()); local 97 outPointerIcon->bitmapFrames.resize(size); 98 for (jsize i = 0; i < size; ++i) {
|
/frameworks/base/libs/hwui/ |
LayerCache.cpp | 42 // Size management 46 return mCache.size(); 126 ALOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight); 133 const uint32_t size = layer->getWidth() * layer->getHeight() * 4; local 135 if (size < mMaxSize) { 137 while (mSize + size > mMaxSize) { 151 mSize += size;
|
RenderBufferCache.cpp | 52 // Size management 128 const uint32_t size = buffer->getSize(); local 129 if (size < mMaxSize) { 130 while (mSize + size > mMaxSize) { 139 mSize += size; 147 RENDER_BUFFER_LOGD("Deleted %s render buffer (%dx%d) Size=%d, MaxSize=%d", 149 buffer->getWidth(), buffer->getHeight(), size, mMaxSize);
|
TextDropShadowCache.cpp | 112 // Size management 132 ALOGD("Shadow texture deleted, size = %d", texture->bitmapSize); 171 const uint32_t size = shadow.width * shadow.height; local 174 if (size < mMaxSize) { 175 while (mSize + size > mMaxSize) { 178 PRIu32 ", mCache.size() = %zu", mSize, mCache.size()); 188 if (size < mMaxSize) { 190 ALOGD("Shadow texture created, size = %d", texture->bitmapSize);
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
ListViewAnimation.cpp | 47 cards.push_back(createCard(cards.size(), y)); 51 for (size_t ci = 0; ci < cards.size(); ci++) { 68 for (size_t ci = 0; ci < cards.size(); ci++) { 70 auto card = cards[(ci + cardIndexOffset) % cards.size()]; 83 int size = cardHeight - (dp(10) * 2); local 84 SkBitmap bitmap = TestUtils::createSkBitmap(size, size); 92 canvas.drawCircle(size / 2, size / 2, size / 2, paint) [all...] |
/frameworks/base/location/java/com/android/internal/location/ |
ProviderRequest.java | 60 public ProviderRequest[] newArray(int size) { 61 return new ProviderRequest[size]; 74 parcel.writeInt(locationRequests.size());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarIconList.java | 37 final int N = mSlots.size(); 49 public int size() { method in class:StatusBarIconList 50 return mSlots.size(); 80 final int N = mSlots.size();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/ |
IntArray.java | 39 public int size() { method in class:IntArray
|