/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ClientHello.java | 91 int size = in.read(); local 92 session_id = new byte[size]; 93 in.read(session_id, 0, size); 99 size = l >> 1; 100 cipher_suites = new CipherSuite[size]; 101 for (int i = 0; i < size; i++) { 106 size = in.read(); 107 compression_methods = new byte[size]; 108 in.read(compression_methods, 0, size); 179 int size = cipher_suites.length << 1 local [all...] |
ClientKeyExchange.java | 106 int size; local 108 size = length; 109 this.length = size; 111 size = in.readUint16(); 112 this.length = 2 + size; 114 exchange_keys = new byte[size]; 115 in.read(exchange_keys, 0, size);
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
InnerClassesAttribute_info.java | 35 for (int i = 0, iLimit = size (); i < iLimit; ++ i) 53 * @param offset inner class entry offset [must be in [0, size()) range; 67 public final int size () method in class:InnerClassesAttribute_info 69 return m_classes.size (); 74 return 8 + (m_classes.size () << 3); // use size() if class becomes non-final 88 for (int l = 0; l < size (); ++ l) 109 final int class_count = classes.size (); // use size() if class becomes non-final 127 final int class_count = classes.size (); // use size() if class becomes non-fina [all...] |
/external/opencore/fileformats/mp4/composer/src/ |
textsampleentry.cpp | 209 int32 size = getDefaultSize(); local 211 size += 8; // For reserved and dataRefIndex of PVA_FF_SampleEntry base class 213 size += 4; 214 size += 1; 215 size += 1; 216 size += 4; 217 size += _pBoxRecord->getSize(); 218 size += _pStyleRecord->getSize(); 219 size += _pFontTableAtom->getSize(); 220 _size = size; [all...] |
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_rwops.h | 48 /* Read up to 'num' objects each of size 'objsize' from the data 52 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); 54 /* Write exactly 'num' objects each of size 'objsize' from the area 58 int (SDLCALL *write)(struct SDL_RWops *context, const void *ptr, int size, int num); 71 int size; member in struct:SDL_RWops::__anon4260::__anon4261::__anon4262 103 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); 104 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size); 116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) 117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n [all...] |
/external/qemu/elff/ |
elf_alloc.h | 31 /* Chunk size. Even on relatively small ELF files, there are a lot of DWARF
34 * choosing 32K as chunk size pretty reasonable.
57 /* Chunk size. */
58 size_t size;
member in struct:ElfAllocatorChunk 70 * provide DWARF objects with blocks of the required size inside those chunks.
90 * size - Number of bytes to allocate. Value passed in this parameter
94 * Address of allocated block of the requested size on success,
97 void* alloc(size_t size);
126 * size - Number of bytes to allocate for an instance of the derived class.
131 void* operator new(size_t size, const ElfFile* elf); [all...] |
/external/stlport/stlport/stl/debug/ |
_string_sum_methods.h | 24 : _M_non_dbg_impl(_Reserve_t(), __s.size(), __s.get_allocator()), 32 : _M_non_dbg_impl(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a), 34 size_type __size = __s.size(); 48 { return _M_append_fast(__s.c_str(), __s.size(), __str); } 52 { return _M_append_fast(__s.data(), __s.size(), __str); } 69 { return _M_append_fast_pos(__s.c_str(), __s.size(), __str, __pos, __n); } 74 { return _M_append_fast_pos(__s.data(), __s.size(), __str, __pos, __n); } 85 size_type __lhs_size = __s.getLhs().size(); 108 _M_non_dbg_impl.reserve(_M_non_dbg_impl.size() + (min) (__s.size() - __pos, __n)) [all...] |
/external/webkit/WebCore/platform/graphics/gtk/ |
FontPlatformDataPango.cpp | 110 double size; local 111 if (FcPatternGetDouble(fcfont->font_pattern, FC_PIXEL_SIZE, 0, &size) != FcResultMatch) 112 size = 12.0; 114 cairo_matrix_init_scale(&fontMatrix, size, size); 130 FontPlatformData::FontPlatformData(float size, bool bold, bool italic) 133 , m_size(size) 140 FontPlatformData::FontPlatformData(cairo_font_face_t* fontFace, int size, bool bold, bool italic) 143 , m_size(size) 149 cairo_matrix_init_scale(&fontMatrix, size, size) [all...] |
/external/webkit/WebKit/chromium/src/ |
WebSettingsImpl.cpp | 83 void WebSettingsImpl::setDefaultFontSize(int size) 85 m_settings->setDefaultFontSize(size); 87 // RenderTheme is a singleton that needs to know the default font size to 88 // draw some form controls. We let it know each time the size changes. 89 WebCore::RenderThemeChromiumWin::setDefaultFontSize(size); 93 void WebSettingsImpl::setDefaultFixedFontSize(int size) 95 m_settings->setDefaultFixedFontSize(size); 98 void WebSettingsImpl::setMinimumFontSize(int size) 100 m_settings->setMinimumFontSize(size); 103 void WebSettingsImpl::setMinimumLogicalFontSize(int size) [all...] |
/external/webkit/WebKit/win/Interfaces/ |
IWebBackForwardList.idl | 58 the size of the list within the maximum size. 112 @param limit A cap on the size of the array returned. 121 @param limit A cap on the size of the array returned. 129 @abstract Returns the list's maximum size. 130 @result The list's maximum size. 137 @abstract Sets the list's maximum size. 138 @param size The new maximum size for the list. 139 - (void)setCapacity:(int)size; [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
wpabuf.c | 22 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu", 23 buf, (unsigned long) buf->size, (unsigned long) buf->used, 36 if (buf->used + add_len > buf->size) { 54 buf->size = buf->used + add_len; 62 * wpabuf_alloc - Allocate a wpabuf of the given size 71 buf->size = len; 82 buf->size = len; 125 if (buf->used > buf->size) { 175 * If buf is longer than len octets or of same size, it will be returned as-is. 211 res = vsnprintf(tmp, buf->size - buf->used, fmt, ap) [all...] |
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
memblock.cpp | 100 /// Assumes control of the memory block \p p of size \p n. 122 assert ((p != (const void*) cdata() || size() == n) && "Self-assignment can not resize"); 131 /// The block size as returned by size() is not altered. reserve will not 152 copy_n (cdata(), min (size() + 1, newSize), newBlock); 153 link (newBlock, size()); 168 assert (ip <= size()); 169 resize (size() + n, false); 178 assert (ep + n <= size()); 180 memlink::resize (size() - n) [all...] |
/frameworks/base/media/libstagefright/ |
SampleIterator.cpp | 218 uint32_t sampleIndex, size_t *size) { 219 *size = 0; 226 *size = mTable->mDefaultSampleSize; 235 size, sizeof(*size)) < (ssize_t)sizeof(*size)) { 239 *size = ntohl(*size); 252 *size = ntohs(x); 265 *size = x [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactEntryAdapter.java | 109 int numSections = mSections.size(); 113 int sectionSize = section.size(); 150 int numSections = mSections.size(); 153 int sectionSize = section.size(); 183 int numSections = sections.size(); 186 int sectionSize = section.size(); 191 if (position < section.size()) { 194 position -= section.size(); 208 int numSections = sections.size(); 211 int sectionSize = section.size(); [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/decoder/ |
UnboundedFifoByteBuffer.java | 77 * @param initialSize the initial size of the buffer
78 * @throws IllegalArgumentException if the size is less than 1
82 throw new IllegalArgumentException("The size must be greater than 0");
92 * @return this buffer's size
94 public int size() {
method in class:UnboundedFifoByteBuffer 95 int size = 0;
local 98 size = buffer.length - head + tail;
100 size = tail - head;
103 return size;
112 return (size() == 0); [all...] |
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_rwops.h | 48 /* Read up to 'num' objects each of size 'objsize' from the data 52 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); 54 /* Write exactly 'num' objects each of size 'objsize' from the area 58 int (SDLCALL *write)(struct SDL_RWops *context, const void *ptr, int size, int num); 71 int size; member in struct:SDL_RWops::__anon11414::__anon11415::__anon11416 103 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); 104 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size); 116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) 117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_rwops.h | 48 /* Read up to 'num' objects each of size 'objsize' from the data 52 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); 54 /* Write exactly 'num' objects each of size 'objsize' from the area 58 int (SDLCALL *write)(struct SDL_RWops *context, const void *ptr, int size, int num); 71 int size; member in struct:SDL_RWops::__anon12098::__anon12099::__anon12100 103 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); 104 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size); 116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) 117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_rwops.h | 48 /* Read up to 'num' objects each of size 'objsize' from the data 52 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); 54 /* Write exactly 'num' objects each of size 'objsize' from the area 58 int (SDLCALL *write)(struct SDL_RWops *context, const void *ptr, int size, int num); 71 int size; member in struct:SDL_RWops::__anon12944::__anon12945::__anon12946 103 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); 104 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size); 116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) 117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n [all...] |
/system/core/libpixelflinger/codeflinger/ |
CodeCache.cpp | 39 Assembly::Assembly(size_t size) 42 mBase = (uint32_t*)malloc(size); 44 mSize = size; 65 ssize_t Assembly::size() const function in class:android::Assembly 80 return size(); 85 CodeCache::CodeCache(size_t size) 86 : mCacheSize(size), mCacheInUse(0) 115 const ssize_t assemblySize = assembly->size(); 119 size_t count = mCacheData.size(); 127 mCacheInUse -= e.entry->size(); [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ComposeShaderTest.java | 42 private static final int SIZE = 255; 51 LinearGradient blueGradient = new LinearGradient(0, 0, SIZE, 0, 53 LinearGradient redGradient = new LinearGradient(0, 0, 0, SIZE, 57 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); 63 for (int y = 0; y < SIZE; y++) { 64 for (int x = 0; x < SIZE; x++) {
|
/dalvik/hit/src/com/android/hit/ |
Heap.java | 79 root.mIndex = mRoots.size(); 114 int count = theClass.mInstances.size(); 124 int count = theClass.mSubclasses.size(); 135 int size = 0; local 138 size += instance.getCompositeSize(); 141 if (size > 0) { 143 + ", composite " + size);
|
Instance.java | 35 // The size of this object 64 public void setSize(int size) { 65 mSize = size; 73 int size = 0; local 76 size += instance.getSize(); 79 return size; 82 // Returns the instrinsic size of a given object
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
AbstractQueueTest.java | 32 public int size() { return 0; } method in class:AbstractQueueTest.Succeed 43 public int size() { return 0; } method in class:AbstractQueueTest.Fail 151 Integer[] ints = new Integer[SIZE]; 164 Integer[] ints = new Integer[SIZE]; 165 for (int i = 0; i < SIZE-1; ++i) 178 Integer[] ints = new Integer[SIZE]; 179 for (int i = 0; i < SIZE; ++i)
|
/dalvik/libcore/luni/src/main/java/java/util/ |
Stack.java | 23 * including null objects. There is no limit to the size of the stack. 30 * Constructs a stack with the default size of {@code Vector}. 108 final int size = elementCount; local 110 for (int i = size - 1; i >= 0; i--) { 112 return size - i; 116 for (int i = size - 1; i >= 0; i--) { 118 return size - i;
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/ |
OpenSSLPBEParametersGenerator.java | 82 * @param keySize the size of the key we want (in bits) 84 * @exception IllegalArgumentException if the key length larger than the base hash size. 101 * @param keySize the size of the key we want (in bits) 102 * @param ivSize the size of the iv we want (in bits) 104 * @exception IllegalArgumentException if keySize + ivSize is larger than the base hash size. 122 * @param keySize the size of the key we want (in bits) 124 * @exception IllegalArgumentException if the key length larger than the base hash size.
|