/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
methods_index_additions.html | 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:.5em;"> 51 <br><font size="+2">A</font> 52 <a href="#B"><font size="-2">B</font></a> 53 <a href="#C"><font size="-2">C</font></a> 54 <a href="#D"><font size="-2">D</font></a> 55 <a href="#G"><font size="-2">G</font></a> 56 <a href="#I"><font size="-2">I</font></a> 57 <a href="#O"><font size="-2">O</font></a> 58 <a href="#P"><font size="-2">P</font></a> 59 <a href="#R"><font size="-2">R</font></a> [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
SwitchList.java | 38 /** ultimate size of the list */ 39 private int size; field in class:SwitchList 44 * @param size {@code >= 0;} the number of elements to be in the table 46 public SwitchList(int size) { 48 this.values = new IntList(size); 49 this.targets = new IntList(size + 1); 50 this.size = size; 62 * Gets the size of the list. 64 * @return {@code >= 0;} the list size 66 public int size() { method in class:SwitchList [all...] |
/external/freetype/include/freetype/internal/ |
ftmemory.h | 103 FT_Long size, 108 FT_Long size, 132 #define FT_MEM_ALLOC( ptr, size ) \ 133 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, (size), &error ) ) 149 #define FT_MEM_QALLOC( ptr, size ) \ 150 FT_ASSIGNP_INNER( ptr, ft_mem_qalloc( memory, (size), &error ) ) 248 #define FT_ALLOC( ptr, size ) \ 249 FT_MEM_SET_ERROR( FT_MEM_ALLOC( ptr, size ) ) 261 #define FT_QALLOC( ptr, size ) \ 262 FT_MEM_SET_ERROR( FT_MEM_QALLOC( ptr, size ) ) [all...] |
/hardware/ti/wlan/wl1271/utils/ |
mem.c | 54 TI_UINT32 size; member in struct:__anon9044 101 Size - Specifies the size, in bytes, to be allocated. 111 void* mem_Alloc (TI_HANDLE hMem, TI_UINT32 size) 115 TI_UINT32 total = size + sizeof(TMemBlock) + sizeof(TI_UINT32); 118 os_printf ("mem_Alloc(0x%p, %lu) : %u\n", hMem, size, uTotalSize); 122 pMemBlock->size = size; 143 Size - Length in bytes of each element 149 void* mem_Calloc (TI_HANDLE hMem, TI_UINT32 number, TI_UINT32 size) [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
WalkAroundWallpaper.java | 169 final List<Camera.Size> sizes = params.getSupportedPreviewSizes(); 171 // Try to find a preview size that matches the screen first 173 for (Camera.Size size : sizes) { 175 size.width == metrics.heightPixels && size.height == metrics.widthPixels) || 177 size.width == metrics.widthPixels && size.height == metrics.heightPixels)) { 178 params.setPreviewSize(size.width, size.height) 205 Camera.Size size = sizes.get(0); local [all...] |
/system/wlan/ti/wilink_6_1/utils/ |
mem.c | 54 TI_UINT32 size; member in struct:__anon14878 101 Size - Specifies the size, in bytes, to be allocated. 111 void* mem_Alloc (TI_HANDLE hMem, TI_UINT32 size) 115 TI_UINT32 total = size + sizeof(TMemBlock) + sizeof(TI_UINT32); 118 os_printf ("mem_Alloc(0x%p, %lu) : %u\n", hMem, size, uTotalSize); 122 pMemBlock->size = size; 143 Size - Length in bytes of each element 149 void* mem_Calloc (TI_HANDLE hMem, TI_UINT32 number, TI_UINT32 size) [all...] |
/external/bluetooth/glib/glib/ |
gqsort.c | 44 /* Byte-wise swap two items of size SIZE. */ 45 #define SWAP(a, b, size) \ 48 register size_t __size = (size); \ 58 /* Discontinue quicksort algorithm when partition gets below this size. 80 /* Order size using quicksort. This implementation incorporates 102 stack size is needed (actually O(1) in this case)! */ 108 * @size: size of each element 119 gsize size, [all...] |
/external/quake/quake/src/WinQuake/ |
d_surf.cpp | 37 int size, pix;
local 41 size = Q_atoi(com_argv[COM_CheckParm("-surfcachesize")+1]) * 1024;
42 return size;
45 size = SURFCACHE_SIZE_AT_320X200;
49 size += (pix-64000)*3;
52 return size;
83 void D_InitCaches (void *buffer, int size)
87 Con_Printf ("%ik surface cache\n", size/1024);
89 sc_size = size - GUARDSIZE;
95 sc_base->size = sc_size; [all...] |
/bootable/recovery/ |
bootloader.c | 58 const ssize_t size = write_size * MISC_PAGES; local 59 char data[size]; 60 ssize_t r = mtd_read_data(read, data, size); 61 if (r != size) LOGE("Can't read %s\n(%s)\n", MISC_NAME, strerror(errno)); 63 if (r != size) return -1; 67 dump_data(data, size); 89 ssize_t size = write_size * MISC_PAGES; local 90 char data[size]; 91 ssize_t r = mtd_read_data(read, data, size); 92 if (r != size) LOGE("Can't read %s\n(%s)\n", MISC_NAME, strerror(errno)) [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngmem.c | 40 png_size_t size; local 44 size = png_sizeof(png_info); 46 size = png_sizeof(png_struct); 56 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); 60 struct_ptr = (png_voidp)farmalloc(size); 62 png_memset(struct_ptr, 0, size); 96 /* Allocate memory. For reasonable files, size should never exceed 110 * Note that we can't use png_size_t for the "size" declaration, 117 png_malloc(png_structp png_ptr, png_uint_32 size) 121 if (png_ptr == NULL || size == 0 345 png_size_t size; local 559 png_size_t size; local 572 png_size_t size; local [all...] |
/external/v8/src/ |
regexp-stack.cc | 48 size_t size = sizeof(thread_local_); local 51 size); local 53 return to + size; 58 size_t size = sizeof(thread_local_); local 59 memcpy(&thread_local_, reinterpret_cast<void*>(from), size); 60 return from + size; 80 Address RegExpStack::EnsureCapacity(size_t size) { 81 if (size > kMaximumStackSize) return NULL; 82 if (size < kMinimumStackSize) size = kMinimumStackSize [all...] |
/external/webkit/WebKit/chromium/public/ |
WebVector.h | 47 // for (size_t i = 0; i < data.size(); ++i) 71 explicit WebVector(size_t size = 0) 73 initialize(size); 84 initializeFrom(other.size() ? &other[0] : 0, other.size()); 105 assign(other.size() ? &other[0] : 0, other.size()); 109 void assign(const U* values, size_t size) 112 initializeFrom(values, size); 115 size_t size() const { return m_size; function in class:WebKit::WebVector [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
utf16char.cpp | 97 size_t size = 0; 98 while ((char16)'\0' != utf16_str[size]) 99 size++; 100 return size; 111 int utf16_strncmp(const char16 *str1, const char16 *str2, size_t size) { 113 while (pos < size && str1[pos] == str2[pos] && (char16)'\0' != str1[pos]) 116 if (pos == size) 140 char16* utf16_strncpy(char16 *dst, const char16 *src, size_t size) { 141 if (NULL == src || NULL == dst || 0 == size) 149 if (dst < src || (dst > src && dst >= src + size)) { [all...] |
/system/core/fastboot/ |
protocol.c | 43 static int check_response(usb_handle *usb, unsigned size, 87 if(dsize > size) { 88 strcpy(ERROR, "data size too large"); 104 const void *data, unsigned size, 126 return check_response(usb, size, 0, response); 129 r = check_response(usb, size, 1, 0); 133 size = r; 135 if(size) { 136 r = usb_write(usb, data, size); 142 if(r != ((int) size)) { [all...] |
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
methods_index_additions.html | 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:1em;"> 51 <br><font size="+2">A</font> 52 <a href="#C"><font size="-2">C</font></a> 53 <a href="#D"><font size="-2">D</font></a> 54 <a href="#E"><font size="-2">E</font></a> 55 <a href="#G"><font size="-2">G</font></a> 56 <a href="#H"><font size="-2">H</font></a> 57 <a href="#I"><font size="-2">I</font></a> 58 <a href="#K"><font size="-2">K</font></a> 59 <a href="#L"><font size="-2">L</font></a> [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexEncodedValueImpl.java | 132 * below. The size of the value is implicit in the encoding. 142 * the format specified by "encoded_array Format" below. The size of the 146 int size = buffer.readUleb128(); local 147 List<DexEncodedValue> values = new ArrayList<DexEncodedValue>(size); 148 for (int i = 0; i < size; i++) { 156 * VALUE_ENUM 0x1b size - 1 (0...3) ubyte[size] unsigned (zero-extended) 170 * VALUE_METHOD 0x1a size - 1 (0...3) ubyte[size] unsigned (zero-extended) 181 * VALUE_FIELD 0x19 size - 1 (0...3) ubyte[size] unsigned (zero-extended [all...] |
/dalvik/tests/080-oom-throw/src/ |
Main.java | 19 static int blowup(char[][] holder, int size) { 22 for ( ; i < size; i++) 28 return size; 54 int size = 1 * 1024 * 1024; local 55 char[][] holder = new char[size][]; 57 int count = ArrayMemEater.blowup(holder, size); 59 if (count < size) {
|
/external/dropbear/libtommath/ |
bn_mp_grow.c | 19 int mp_grow (mp_int * a, int size) 24 /* if the alloc size is smaller alloc more ram */ 25 if (a->alloc < size) { 27 size += (MP_PREC * 2) - (size % MP_PREC); 35 tmp = OPT_CAST(mp_digit) XREALLOC (a->dp, sizeof (mp_digit) * size); 46 a->alloc = size;
|
/external/elfutils/libelf/ |
gelf_rawchunk.c | 31 gelf_rawchunk (elf, offset, size) 34 GElf_Word size; 44 || offset + size >= elf->maximum_size 45 || offset + size < offset) 57 char *result = (char *) malloc (size); 62 if ((size_t) pread (elf->fildes, result, size, elf->start_offset + offset) 63 != size)
|
/external/kernel-headers/original/linux/ |
slab.h | 70 extern kmem_cache_t *kmem_find_general_cachep(size_t size, gfp_t gfpflags); 72 /* Size description struct for general caches. */ 82 #define ____kmalloc(size, flags) __kmalloc(size, flags) 85 #define ____kmalloc(size, flags) \ 86 __kmalloc_track_caller(size, flags, __builtin_return_address(0)) 91 * @size: how many bytes of memory are required. 134 static inline void *kmalloc(size_t size, gfp_t flags) 136 if (__builtin_constant_p(size)) { 139 if (size <= x) [all...] |
/external/webkit/WebCore/platform/graphics/brew/ |
IntSizeBrew.cpp | 33 IntSize::IntSize(const AEESize& size) 34 : m_width(size.cx) 35 , m_height(size.cy) 41 AEESize size; local 42 size.cx = width(); 43 size.cy = height(); 44 return size;
|
/external/webkit/WebCore/platform/haiku/ |
SharedBufferHaiku.cpp | 45 off_t size; local 46 file.GetSize(&size); 47 result->m_buffer.resize(size); 48 if (result->m_buffer.size() != size) 50 result->m_size = size; 52 file.Read(result->m_buffer.data(), result->m_buffer.size());
|
/external/webkit/WebCore/platform/mac/ |
SearchPopupMenuMac.mm | 47 size_t size = searchItems.size(); 48 if (size == 0) 51 NSMutableArray* items = [[NSMutableArray alloc] initWithCapacity:size]; 52 for (size_t i = 0; i < size; ++i) 66 size_t size = [items count]; 67 for (size_t i = 0; i < size; ++i) {
|
/external/webkit/WebKit/mac/Misc/ |
WebNSWindowExtras.m | 42 NSSize size = [self frame].size; 45 - (frameToCenterOver.size.height - size.height) / 3 46 - size.height; 48 + (frameToCenterOver.size.width - size.width) / 2;
|
/frameworks/base/media/libstagefright/ |
FileSource.cpp | 47 ssize_t FileSource::readAt(off_t offset, void *data, size_t size) { 55 if ((int64_t)size > numAvailable) { 56 size = numAvailable; 66 return fread(data, 1, size, mFile); 69 status_t FileSource::getSize(off_t *size) { 71 *size = mLength; 77 *size = ftello(mFile);
|