HomeSort by relevance Sort by last modified time
    Searched full:size (Results 976 - 1000 of 15447) sorted by null

<<31323334353637383940>>

  /external/zlib/contrib/puff/
README 9 does so more slowly than zlib, but the code is about one-fifth the size of the
22 puff.c may also be useful in applications where code size or memory usage is a
47 the size of the uncompressed data ahead of time.
49 If needed, puff() can determine the size of the uncompressed data with no
52 the uncompressed data. So if the size of the uncompressed data is not known,
53 then two passes of puff() can be used--first to determine the size, and second
62 *destlen is updated to the size of the uncompressed data. See the comments
  /frameworks/base/media/libstagefright/
CachingDataSource.cpp 68 status_t CachingDataSource::getSize(off_t *size) {
69 return mSource->getSize(size);
76 ssize_t CachingDataSource::readAt(off_t offset, void *data, size_t size) {
80 while (size > 0) {
132 if (copy > size) {
133 copy = size;
146 size -= copy;
  /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
SimPhoneBookTest.java 34 int size[] = simPhoneBook.getAdnRecordsSize(IccConstants.EF_ADN); local
35 assertNotNull(size);
36 assertEquals(3, size.length);
37 assertEquals(size[0] * size[2], size[1]);
38 assertTrue(size[2] >= 100);
  /frameworks/base/tools/preload/
LoadedClass.java 85 int size = operations.size(); local
86 if (size == 0) {
90 int[] times = new int[size];
91 for (int i = 0; i < size; i++) {
96 int middle = size / 2;
97 if (size % 2 == 1) {
  /frameworks/opt/emoji/
EmojiFactory.h 32 // Returns binary image data corresponding to "pua". The size of binary is
33 // stored to "size". Returns NULL if there's no mapping from the "pua" to a
38 virtual const char *GetImageBinaryFromAndroidPua(int pua, int *size) = 0;
43 int *size) {
45 GetAndroidPuaFromVendorSpecificSjis(sjis), size);
51 int *size) {
53 GetAndroidPuaFromVendorSpecificPua(vsp), size);
  /system/core/libctest/
ctest.c 34 int size; member in struct:__anon13041
60 assert(testSuite->size <= MAX_TESTS);
62 int index = testSuite->size;
66 testSuite->size++;
74 failures, suite->size);
117 for (suite->currentTest = 0; suite->currentTest < suite->size;
146 printf("SUCCESS! %d tests ran successfully.\n", suite->size);
  /external/stlport/stlport/stl/
_string.h 96 // a block of memory whose size is at least n + 1.
188 if (__pos > __s.size())
195 if (__pos > __s.size())
199 __s._M_Start() + __pos + (min) (__n, __s.size() - __pos));
205 if (__pos > __s.size())
209 __s._M_Start() + __pos + (min) (__n, __s.size() - __pos));
303 const size_type __size = size();
399 public: // Size, capacity, etc.
400 size_type size() const { return this->_M_Finish() - this->_M_Start(); } function in class:basic_string
401 size_type length() const { return size(); }
    [all...]
  /external/bluetooth/bluez/tools/
l2ping.c 48 static int size = 44; variable
87 send_buf = malloc(L2CAP_CMD_HDR_SIZE + size);
88 recv_buf = malloc(L2CAP_CMD_HDR_SIZE + size);
131 printf("Ping: %s from %s (data size %d) ...\n", svr, str, size);
134 for (i = 0; i < size; i++)
146 send_cmd->len = htobs(size);
156 if (send(sk, send_buf, L2CAP_CMD_HDR_SIZE + size, 0) <= 0) {
180 if ((err = recv(sk, recv_buf, L2CAP_CMD_HDR_SIZE + size, 0)) < 0) {
216 if (recv_cmd->len != size) {
    [all...]
  /external/qemu/block/
raw-posix.c 184 /* XXX: use host sector size if necessary with:
314 int size, ret, shift, sum; local
324 size = (shift + count + 0x1ff) & ~0x1ff;
325 if (size > ALIGNED_BUFFER_SIZE)
326 size = ALIGNED_BUFFER_SIZE;
327 ret = raw_pread_aligned(bs, offset - shift, s->aligned_buf, size);
331 size = 512 - shift;
332 if (size > count)
333 size = count;
334 memcpy(buf, s->aligned_buf + shift, size);
397 int size, ret, shift, sum; local
765 int64_t size; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/dc/
SDL_dcaudio.c 108 static void spu_memload_stereo8(int leftpos,int rightpos,void *src0,size_t size)
113 size = (size+7)/8;
114 while(size--) {
130 static void spu_memload_stereo16(int leftpos,int rightpos,void *src0,size_t size)
135 size = (size+7)/8;
136 while(size--) {
160 offset = this->hidden->nextbuf*spec->size;
229 /* Update the fragment size as size in bytes *
    [all...]
  /frameworks/base/media/libmediaplayerservice/
MetadataRetrieverClient.cpp 80 const size_t SIZE = 256;
81 char buffer[SIZE];
86 write(fd, result.string(), result.size());
182 LOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size);
251 size_t size = sizeof(VideoFrame) + frame->mSize; local
252 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient");
258 mThumbnail = new MemoryBase(heap, 0, size);
260 LOGE("not enough memory for VideoFrame size=%u", size);
290 size_t size = sizeof(MediaAlbumArt) + albumArt->mSize local
    [all...]
  /frameworks/base/tests/framework-tests/src/com/android/internal/policy/impl/
LockPatternKeyguardViewTest.java 213 assertEquals(1, mLPKV.getInjectedLockScreens().size());
214 assertEquals(1, mLPKV.getInjectedUnlockScreens().size());
238 assertEquals(1, mLPKV.getInjectedLockScreens().size());
239 assertEquals(1, mLPKV.getInjectedUnlockScreens().size());
277 assertEquals(1, mLPKV.getInjectedLockScreens().size());
278 assertEquals(1, mLPKV.getInjectedUnlockScreens().size());
291 assertEquals(1, mLPKV.getInjectedLockScreens().size());
292 assertEquals(1, mLPKV.getInjectedUnlockScreens().size());
302 assertEquals(2, mLPKV.getInjectedLockScreens().size());
303 assertEquals(2, mLPKV.getInjectedUnlockScreens().size());
    [all...]
  /hardware/libhardware/modules/gralloc/
gralloc.cpp 48 size_t size, int usage, buffer_handle_t* pHandle);
105 size_t size, int usage, buffer_handle_t* pHandle)
138 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size,
158 size_t size, int usage, buffer_handle_t* pHandle)
163 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle);
169 size_t size, int usage, buffer_handle_t* pHandle)
174 size = roundUpToPageSize(size);
176 fd = ashmem_create_region("gralloc-buffer", size);
183 private_handle_t* hnd = new private_handle_t(fd, size, 0)
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/media/
MediaBucketList.java 39 int numBuckets = buckets.size();
44 if (items != null && items.size() > 0) {
59 int numBuckets = buckets.size();
74 public int size() { method in class:MediaBucketList
77 int numBuckets = buckets.size();
90 numItems = bucket.mediaItems.size();
106 final int numSelectedBuckets = selectedBuckets.size();
113 if (slotId >= mediaSets.size()) {
170 int numPresentItems = selectedItems.size();
203 int numSelectedBuckets = selectedBuckets.size();
    [all...]
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
AbstractCollectionTest.java 53 public int size() {
54 fail("size should not get called");
91 public int size() {
92 fail("size should not get called");
126 public int size() {
127 fail("size should not get called");
153 public int size() {
196 public int size() {
197 fail("size should not get called");
244 public int size() {
    [all...]
  /external/icu4c/
icu4c.css 10 font-size: 10pt;
36 font-size: 20pt;
42 font-size: 200%;
53 font-size: 2em;
78 font-size: 1.5em;
96 font-size: 1.0em;
116 font-size: x-small;
193 font-size: 10pt;
209 font-size: 0.9em;
263 font-size: small
    [all...]
  /external/opencore/nodes/common/include/
pvmf_composer_size_and_duration.h 35 * Enumerated list of informational events for maximum file size and duration, and
40 PVMF_COMPOSER_MAXFILESIZE_REACHED = 2048, /**< Maximum file size reached */
42 PVMF_COMPOSER_FILESIZE_PROGRESS, /**< Recording progress report in terms of file size written */
51 * Configuration interface for maximum file size and duration, and recording progress
60 * Set maximum file size.
62 * If maximum file size is enabled, the composer will stop the recording session
64 * size of output file to go beyond the maximum size. The client will receive
66 * size is reached and the recording session has stopped successfully. This method
70 * @param aEnable Set to true to enable maximum file size, else set to false
    [all...]
  /external/webkit/WebCore/platform/graphics/cairo/
ImageBufferCairo.cpp 67 ImageBufferData::ImageBufferData(const IntSize& size)
72 ImageBuffer::ImageBuffer(const IntSize& size, ImageColorSpace imageColorSpace, bool& success)
73 : m_data(size)
74 , m_size(size)
78 size.width(),
79 size.height());
143 PassRefPtr<ImageData> getImageData(const IntRect& rect, const ImageBufferData& data, const IntSize& size)
151 if (rect.x() < 0 || rect.y() < 0 || (rect.x() + rect.width()) > size.width() || (rect.y() + rect.height()) > size.height())
161 if (endx > size.width()
    [all...]
  /external/icu4c/test/intltest/
strtest.cpp 8 * tab size: 8 (not used)
258 if(!empty.empty() || empty.data()!=NULL || empty.length()!=0 || empty.size()!=0) {
263 if(!null.empty() || null.data()!=NULL || null.length()!=0 || null.size()!=0) {
269 if(abc.empty() || abc.data()!=abc_chars || abc.length()!=3 || abc.size()!=3) {
275 if(abcd.empty() || abcd.data()!=abcdefg_chars || abcd.length()!=4 || abcd.size()!=4) {
282 if(uvwxyz.empty() || uvwxyz.data()!=uvwxyz_string.data() || uvwxyz.length()!=6 || uvwxyz.size()!=6) {
288 if(sp.empty() || sp.data()!=abcdefg_chars || sp.length()!=4 || sp.size()!=4) {
292 if(!sp.empty() || sp.length()!=0 || sp.size()!=0) {
296 if(sp.empty() || sp.data()!=abcdefg_chars+2 || sp.length()!=2 || sp.size()!=2) {
301 if(sp.empty() || sp.data()!=abcdefg_chars || sp.length()!=4 || sp.size()!=4)
    [all...]
  /external/opencore/fileformats/mp4/composer/src/
mediadataatom.cpp 196 for (uint32 i = 0; i < _prenderables->size(); i++)
332 // Update size field
356 // Adds more data to the atom then update the atom size field (first 4 bytes)
388 _fileSize += length; // Update the size of the atom
390 // Update the size of the atom
435 for (ii = 0; ii < fragmentList.size(); ii++)
460 for (ii = 0; ii < fragmentList.size(); ii++)
473 _fileSize += length; // Update the size of the atom
475 // Update the size of the atom
519 PVA_FF_MediaDataAtom::reserveBuffer(int32 size)
542 uint32 size = getDefaultSize(); local
561 uint32 size = getSize(); local
    [all...]
mpeg4file.cpp 142 int32 size = _pmediaDataAtomVec->size(); local
143 for (i = 0; i < size; i++)
156 int32 size = _pInterLeaveBufferVec->size(); local
157 for (i = 0; i < size; i++)
662 // Create media sample buffer and size field
663 uint32 size = 0; local
670 if (mediaType == MEDIA_TYPE_TEXT)//CALCULATES SIZE OF TIMED TEXT SAMPLE
672 for (ii = 0; ii < fragmentList.size(); ii++
756 uint32 size = 0; local
1259 uint32 size = getMovieAtom().getSize(); local
1355 uint32 size = _pmediaDataAtomVec->size(); local
3377 uint32 size; local
    [all...]
  /external/astl/tests/
test_string.cpp 47 EXPECT_TRUE(empty_str1.size() == 0);
51 EXPECT_TRUE(empty_str2.size() == 0);
55 EXPECT_TRUE(empty_str3.size() == 0);
69 EXPECT_TRUE(str4.size() == sizeof(literal) + 1);
80 EXPECT_TRUE(empty_str1.size() == 0);
92 EXPECT_TRUE(empty_str3.size() == 0);
96 EXPECT_TRUE(str1.size() == 21);
99 EXPECT_TRUE(str1.size() == 21);
151 EXPECT_TRUE(str01.size() == 0);
157 EXPECT_TRUE(str02.size() == 10)
    [all...]
  /external/webkit/WebCore/platform/cf/
BinaryPropertyList.cpp 59 IntegerArray(const int* integers, size_t size) : m_integers(integers), m_size(size) { ASSERT(integers); ASSERT(size); }
65 size_t size() const { ASSERT(!isDeletedValue()); return m_size; } function in class:WebCore::IntegerArray
95 return StringImpl::computeHash(reinterpret_cast<const UChar*>(array.integers()), array.size() / (sizeof(int) / sizeof(UChar)));
102 if (a.size() != b.size())
104 for (size_t i = 0; i < a.size(); ++i) {
223 void BinaryPropertyListPlan::writeIntegerArray(const int* integers, size_t size)
226 ASSERT(size);
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/util/
VectorTest.java 69 assertEquals("Vector creation failed", 0, v.size());
86 assertEquals("Vector creation failed", 0, v.size());
122 assertEquals("Wrong size", 4, grow.size());
148 assertTrue("Vector is not correct size",
149 myVector.size() == objArray.length);
178 assertEquals("Wrong size after add", 101, tVector.size());
185 assertEquals("Wrong size after add", 102, tVector.size());
874 int size; local
1299 int size; local
    [all...]
  /external/opencore/protocols/systems/3g-324m_pvterminal/h223/src/
cpvh223multiplex.cpp 55 /** Change this to force the queue size for number of outgoing media data. Otherwise, it is calculated
56 based on bitrate, sample rate and sdu size */
149 for (unsigned out_lcn = 0; out_lcn < iOutgoingChannels.size(); out_lcn++)
153 for (unsigned in_lcn = 0; in_lcn < iIncomingChannels.size(); in_lcn++)
213 for (unsigned out_lcn = 0; out_lcn < iOutgoingChannels.size(); out_lcn++)
217 for (unsigned in_lcn = 0; in_lcn < iIncomingChannels.size(); in_lcn++)
284 PVLOGGER_LOGMSG(PVLOGMSG_INST_HLDBG, iLogger, PVLOGMSG_STACK_TRACE, (0, "CPVH223Multiplex::MuxPduIndicate mux code=%d, closing=%d, size=%d", muxCode, fClosing, sz));
444 TPVStatusCode CPVH223Multiplex::SetMaxOutgoingPduSize(uint16 Size)
446 return iLowerLayer->SetMaxOutgoingPduSize(Size);
449 TPVStatusCode CPVH223Multiplex::SetSduSize(TPVDirection direction, uint16 size, ErrorProtectionLevel_t epl
    [all...]

Completed in 328 milliseconds

<<31323334353637383940>>