/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
SystemScope.java | 73 * @see java.security.IdentityScope#size() 75 public int size() { method in class:SystemScope 76 return names.size();
|
/libcore/support/src/test/java/tests/support/ |
Support_OutputStream.java | 8 * byte array of fixed size. As a special feature, instances of this class can 21 private int size; field in class:Support_OutputStream 37 size = bufferSize; 85 if (position < size) { 103 public int size() { method in class:Support_OutputStream
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_queue.h | 95 size_type size() const { return c.size(); } function in class:queue 221 size_type size() const { return c.size(); } function in class:priority_queue
|
_stack.h | 83 size_type size() const { return c.size(); } function in class:stack
|
/ndk/sources/host-tools/make-3.81/ |
ar.c | 77 long int datapos, long int size, long int date, int uid, int gid, int mode, char *name)); 126 long int size UNUSED, long int date, 205 unsigned int size; 216 long int size UNUSED, long int date UNUSED, int uid UNUSED, 222 struct nameseq *new = (struct nameseq *) xmalloc (state->size); 269 ar_glob (char *arname, char *member_pattern, unsigned int size) 287 state.size = size; 202 unsigned int size; member in struct:ar_glob_state
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/ |
util.hpp | 60 size_type size() const function in struct:boost::algorithm::detail::empty_container
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/pbap/ |
BluetoothPbapVcardManagerTest.java | 86 int size = manager.getContactsSize(); local 88 assertEquals(5 + 1, size); // +1 becoz of always has the 0.vcf
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
FormatUtils.java | 73 int size = count2; local 75 if (i + size > count1) { 76 size = count1 - i; 79 for (j = 0; j < size; j++) { 84 if (j == size) {
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpeg_hook.cpp | 54 size_t size = sizeof(DestManager); local 56 ((j_common_ptr) cinfo, JPOOL_PERMANENT, size); 61 memset(cinfo->dest, '0', size); 161 size_t size = sizeof(SourceManager); local 163 ((j_common_ptr) cinfo, JPOOL_PERMANENT, size); 169 memset(cinfo->src, '0', size);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ComboAlbum.java | 45 int size = set.getMediaItemCount(); local 47 if (start < size) { 48 int fetchCount = (start + count <= size) ? count : size - start; 51 count -= fetchItems.size(); 54 start -= size;
|
ComboAlbumSet.java | 45 int size = set.getSubMediaSetCount(); local 46 if (index < size) { 49 index -= size;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDownsample.java | 61 // size of original precached image 62 Rect size = MasterImage.getImage().getOriginalBounds(); local 63 int orig_w = size.width(); 64 int orig_h = size.height(); 67 // scale preview to same size as the resulting bitmap from a "save"
|
ImageFilterRedEye.java | 64 int size = mParameters.getNumberOfCandidates(); local 66 for (int i = 0; i < size; i++) {
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
ShortcutDragPreviewProvider.java | 32 * Extension of {@link DragPreviewProvider} which generates bitmaps scaled to the default icon size. 64 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; local 67 size + DRAG_BITMAP_PADDING, 68 size + DRAG_BITMAP_PADDING, 74 canvas.scale(((float) size) / bounds.width(), ((float) size) / bounds.height(), 0, 0); 96 float size = launcher.getDeviceProfile().iconSizePx; local 97 return scale * iconSize / size;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
PendingItemPreviewProvider.java | 48 int[] size = workspace.estimateItemSize(mAddInfo, false); local 50 int w = size[0]; 51 int h = size[1];
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
AbstractCache.java | 40 if (mCacheMap.size() >= MAX_CACHED_ITEMS) { 44 Log.v(TAG, "Failed! size limitation reached."); 55 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total."); 88 Log.v(TAG, mCacheMap.size() + " items cached."); 96 Log.v(TAG, "Purging cache, " + mCacheMap.size() 102 public int size() { method in class:AbstractCache 103 return mCacheMap.size();
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
SnepCustomClientTests.java | 82 int size = 3000; local 83 StringBuffer string = new StringBuffer(size); 84 for (int i = 0; i < size; i++) {
|
SnepDefaultClientTests.java | 82 int size = 3000; local 83 StringBuffer string = new StringBuffer(size); 84 for (int i = 0; i < size; i++) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionUtils.java | 74 // calculating accurate size of string builder avoids an allocation vs starting with 75 // the default size and having to expand. 76 int size = action.length() + 2 + data.length() + query.length(); local 77 return new StringBuilder(size)
|
/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
TvOptionsRowAdapterTest.java | 96 int size = -1; local 101 size = tracks.size(); 102 if (size == expected) { 108 fail("Waited for " + WAIT_TRACK_SIZE_TIMEOUT_MS + " milliseconds for track size to be " 109 + expected + " but was " + size);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
allocators.h | 38 // \param size of the memory block in bytes.
40 void* Malloc(size_t size);
44 // \param originalSize The current size in bytes. (Design issue: since some allocator may not book-keep this, explicitly pass to it can save memory.)
45 // \param newSize the new size in bytes.
65 void* Malloc(size_t size) {
66 if (size) // behavior of malloc(0) is implementation defined.
67 return std::malloc(size);
107 /*! \param chunkSize The size of memory chunk. The default is kDefaultChunkSize.
116 /*! The user buffer will be used firstly. When it is full, memory pool allocates new chunk with chunk size.
121 \param size Size of the buffer in bytes. It must at least larger than sizeof(ChunkHeader). 169 size_t size = 0; local 248 size_t size; \/\/!< Current size of allocated memory in bytes. member in struct:MemoryPoolAllocator::ChunkHeader [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
prettywritertest.cpp | 152 size_t size = (size_t)ftell(fp); local 154 char* json = (char*)malloc(size + 1); 155 size_t readLength = fread(json, 1, size, fp);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
ByteArrayPool.java | 48 int size = mCachedBuf.size(); local 49 if (size > 0) { 50 return mCachedBuf.remove(size - 1); 67 if (mCachedBuf.size() < mMaxNum) { 75 for (int i = 0, c = bufs.size(); i < c; i++) { 76 if (mCachedBuf.size() == mMaxNum) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
NullInputStream.java | 25 * a stream of a specified size. 46 * public TestInputStream(int size) { 47 * super(size); 65 private long size; field in class:NullInputStream 74 * Create an {@link InputStream} that emulates a specified size 77 * @param size The size of the input stream to emulate. 79 public NullInputStream(long size) { 80 this(size, true, false); 85 * size with option settings [all...] |
NullReader.java | 25 * a reader of a specified size. 46 * public TestReader(int size) { 47 * super(size); 65 private long size; field in class:NullReader 74 * Create a {@link Reader} that emulates a specified size 77 * @param size The size of the reader to emulate. 79 public NullReader(long size) { 80 this(size, true, false); 85 * size with option settings [all...] |