/external/webkit/WebCore/platform/graphics/qt/ |
FontPlatformDataQt.cpp | 29 static inline bool isEmtpyValue(const float size, const bool bold, const bool oblique) 32 return !bold && !oblique && size == 0.f; 35 FontPlatformData::FontPlatformData(float size, bool bold, bool oblique) 37 if (isEmtpyValue(size, bold, oblique)) 40 m_data = new FontPlatformDataPrivate(size, bold, oblique); 63 m_data->size = font.pointSizeF(); 99 const bool equals = (m_data->size == other.m_data->size 113 ^ qHash(*reinterpret_cast<quint32*>(&m_data->size))
|
/external/webkit/WebKit/wx/ |
WebSettings.h | 71 Sets the default font size for fixed fonts. 73 void SetDefaultFixedFontSize(int size); 76 Returns the default font size for fixed fonts. 81 Sets the default font size for fonts. 83 void SetDefaultFontSize(int size); 86 Returns the default font size for fonts. 91 Sets the minimum acceptable font size. 93 void SetMinimumFontSize(int size); 96 Returns the minimum acceptable font size.
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
ustring.cpp | 47 link (s.c_str(), s.size()); 106 resize (size() + len); 113 resize (size() + n); 123 const size_type btc = min(n - size_Terminator, size()); 149 return (size() == strlen(s) && 0 == memcmp (c_str(), s, size())); 214 assert ((first < begin() || first >= end() || size() + abs_distance(first,last) < capacity()) && "Insertion of self with autoresize is not supported"); 221 /// Erases \p size bytes at \p start. 229 /// Erases \p size characters at \p start. 255 assert ((i1 < begin() || i1 >= end() || abs_distance(i1,i2) * n + size() < capacity()) && "Replacement by self can not autoresize") [all...] |
/frameworks/base/media/libmedia/ |
IOMX.cpp | 151 void *params, size_t size) { 156 data.writeInt32(size); 157 data.write(params, size); 165 reply.read(params, size); 172 const void *params, size_t size) { 177 data.writeInt32(size); 178 data.write(params, size); 186 void *params, size_t size) { 191 data.writeInt32(size); 192 data.write(params, size); 467 size_t size = data.readInt32(); local 494 size_t size = data.readInt32(); local 509 size_t size = data.readInt32(); local 536 size_t size = data.readInt32(); local 570 size_t size = data.readInt32(); local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/ |
AVCDecoder.cpp | 37 static int32_t Malloc(void *userData, int32_t size, int32_t attrs) { 38 return reinterpret_cast<int32_t>(malloc(size)); 94 size_t size; local 96 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 101 CHECK(size >= 7); 119 size -= 6; 122 CHECK(size >= 2); 126 size -= 2; 128 CHECK(size >= length); 133 size -= length [all...] |
/hardware/msm7k/libgralloc/ |
allocator.h | 99 SimpleBestFitAllocator(size_t size); 102 ssize_t setSize(size_t size); 104 ssize_t allocate(size_t size, uint32_t flags = 0); 106 size_t size() const; 110 chunk_t(size_t start, size_t size) 111 : start(start), size(size), free(1), prev(0), next(0) { 114 size_t size : 28; member in struct:SimpleBestFitAllocator::chunk_t 120 ssize_t alloc(size_t size, uint32_t flags);
|
/hardware/msm7k/libgralloc-qsd8k/ |
allocator.h | 99 SimpleBestFitAllocator(size_t size); 102 ssize_t setSize(size_t size); 104 ssize_t allocate(size_t size, uint32_t flags = 0); 106 size_t size() const; 110 chunk_t(size_t start, size_t size) 111 : start(start), size(size), free(1), prev(0), next(0) { 114 size_t size : 28; member in struct:SimpleBestFitAllocator::chunk_t 120 ssize_t alloc(size_t size, uint32_t flags);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
ResolutionChooserDialog.java | 36 * Small dialog to let a user choose a screen size (from a fixed list) and a resolution 63 float size = MONITOR_SIZES[mScreenSizeIndex]; local 67 double d = Math.sqrt(rect.width * rect.width + rect.height * rect.height) / size; 88 l.setText("Screen Size:"); 91 for (float size : MONITOR_SIZES) { 92 if (Math.round(size) == size) { 93 mScreenSizeCombo.add(String.format("%.0f\"", size)); 95 mScreenSizeCombo.add(String.format("%.1f\"", size));
|
/system/core/nexus/ |
Controller.cpp | 63 unsigned int size; local 65 module = loadFile(modpath, &size); 71 int rc = init_module(module, size, args); 125 ssize_t size; local 136 size = sb.st_size; 139 buffer = malloc(size); 144 ret = read(fd, buffer, size); 145 if (ret != size) 149 *_size = size;
|
/bionic/libc/kernel/arch-x86/asm/ |
uaccess_32.h | 37 #define __range_ok(addr,size) ({ unsigned long flag,roksum; __chk_user_ptr(addr); asm("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0" :"=&r" (flag), "=r" (roksum) :"1" (addr),"g" ((int)(size)),"rm" (current_thread_info()->addr_limit.seg)); flag; }) 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) 46 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),"=d" (x) :"0" (ptr)) 62 #define __put_user_nocheck(x,ptr,size) ({ long __pu_err; __put_user_size((x),(ptr),(size),__pu_err,-EFAULT); __pu_err; }) 66 #define __put_user_size(x,ptr,size,retval,errret) do { __typeof__(*(ptr)) __pus_tmp = x; retval = 0; if(unlikely(__copy_to_user_ll(ptr, &__pus_tmp, size) != 0)) retval = errret; } while (0 [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 73 if (dataMap.size() == 0) { 118 /** {@code >= 0;} total size of instances in bytes */ 121 /** {@code >= 0;} largest size of any individual item */ 124 /** {@code >= 0;} smallest size of any individual item */ 134 int size = item.writeSize(); local 138 this.totalSize = size; 139 this.largestSize = size; 140 this.smallestSize = size; 149 int size = item.writeSize(); local 152 totalSize += size; [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
MiniEnumSet.java | 27 private int size; field in class:MiniEnumSet 99 public int size() { method in class:MiniEnumSet 100 return size; 106 size = 0; 119 size++; 140 size = Long.bitCount(newBits); 187 size = Long.bitCount(newBits); 200 if (size > 0) { 213 size = Long.bitCount(newBits); 234 size-- [all...] |
LinkedList.java | 44 transient int size = 0; field in class:LinkedList 70 if (0 <= location && location <= list.size) { 72 // list.size - 1 75 if (location < list.size / 2) { 80 for (pos = list.size; pos >= location; pos--) { 99 list.size++; 161 list.size--; 210 * the specified location. If the location is equal to the size of this 218 * if {@code location < 0 || >= size()} 222 if (0 <= location && location <= size) { 705 public int size() { method in class:LinkedList [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
ASN1Collection.java | 25 /** >= 0; size of the collection */ 26 private int size; field in class:ASN1Collection 50 if ((index < 0) || (index >= size)) { 68 public final int size() { method in class:ASN1Collection 69 return size; 98 int sz = size; 124 size++; 166 /** original size; used for modification detection */ 167 private final int origSize = size; 174 if (size != origSize) [all...] |
/external/opencore/fileformats/mp4/parser/src/ |
expandablebaseclass.cpp | 25 allows the encoding the size of the class in bytes with a VARIABLE NUMBER OF BITS 55 // Read in the size of this class from a file stream using a variable number of bytes (1-4) 56 // with the leading bit of each byte as the indicator if that byte contains the size. 62 // byte is valid - thus only the last 7 bits if each byte hold actual size data. Therefore 63 // the max size possible (limited to a 4-byte encoding) is 2^28 - 1. 66 uint32 size = 0; local 76 size = data & 0x7f; // Take last 7 bits 89 size = (size << 7) | (data & 0x7f); // Take last 7 bits 96 // Size field only size of descriptor data - not including tag an [all...] |
/external/webkit/WebCore/svg/graphics/ |
SVGResourceFilter.cpp | 79 bool SVGResourceFilter::fitsInMaximumImageSize(const FloatSize& size) 82 if (size.width() > kMaxFilterSize) { 83 m_scaleX *= kMaxFilterSize / size.width(); 86 if (size.height() > kMaxFilterSize) { 87 m_scaleY *= kMaxFilterSize / size.height(); 111 // scale filter size to filterRes 118 // scale to big sourceImage size to kMaxFilterSize 120 fitsInMaximumImageSize(tempSourceRect.size()); 129 // at least one FilterEffect has a too big image size, 141 // The size of the SourceGraphic is clipped to the size of the filterRegion [all...] |
/ndk/build/platforms/android-5/arch-x86/usr/include/asm/ |
uaccess_32.h | 37 #define __range_ok(addr,size) ({ unsigned long flag,roksum; __chk_user_ptr(addr); asm("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0" :"=&r" (flag), "=r" (roksum) :"1" (addr),"g" ((int)(size)),"rm" (current_thread_info()->addr_limit.seg)); flag; }) 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) 46 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),"=d" (x) :"0" (ptr)) 62 #define __put_user_nocheck(x,ptr,size) ({ long __pu_err; __put_user_size((x),(ptr),(size),__pu_err,-EFAULT); __pu_err; }) 66 #define __put_user_size(x,ptr,size,retval,errret) do { __typeof__(*(ptr)) __pus_tmp = x; retval = 0; if(unlikely(__copy_to_user_ll(ptr, &__pus_tmp, size) != 0)) retval = errret; } while (0 [all...] |
/ndk/build/platforms/android-8/arch-x86/usr/include/asm/ |
uaccess_32.h | 37 #define __range_ok(addr,size) ({ unsigned long flag,roksum; __chk_user_ptr(addr); asm("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0" :"=&r" (flag), "=r" (roksum) :"1" (addr),"g" ((int)(size)),"rm" (current_thread_info()->addr_limit.seg)); flag; }) 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) 46 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),"=d" (x) :"0" (ptr)) 62 #define __put_user_nocheck(x,ptr,size) ({ long __pu_err; __put_user_size((x),(ptr),(size),__pu_err,-EFAULT); __pu_err; }) 66 #define __put_user_size(x,ptr,size,retval,errret) do { __typeof__(*(ptr)) __pus_tmp = x; retval = 0; if(unlikely(__copy_to_user_ll(ptr, &__pus_tmp, size) != 0)) retval = errret; } while (0 [all...] |
/external/freetype/src/truetype/ |
ttdriver.c | 188 tt_size_select( FT_Size size, 191 TT_Face ttface = (TT_Face)size->face; 192 TT_Size ttsize = (TT_Size)size; 198 if ( FT_IS_SCALABLE( size->face ) ) 201 FT_Select_Metrics( size->face, strike_index ); 208 FT_Size_Metrics* metrics = &size->metrics; 223 tt_size_request( FT_Size size, 226 TT_Size ttsize = (TT_Size)size; 232 if ( FT_HAS_FIXED_SIZES( size->face ) ) 234 TT_Face ttface = (TT_Face)size->face 291 TT_Size size = (TT_Size)ttsize; local [all...] |
/external/opencore/engines/author/test/test_input/ |
naturemulti_sd_txt1.txt | 17 Text SampleDesc Font Size Flags = 0 18 Text SampleDesc Font Size = 12 23 Text SampleDesc Font List Size = 1 45 Text SampleDesc Font Size Flags = 0 46 Text SampleDesc Font Size = 12 51 Text SampleDesc Font List Size = 1 73 Text SampleDesc Font Size Flags = 0 74 Text SampleDesc Font Size = 12 79 Text SampleDesc Font List Size = 1 101 Text SampleDesc Font Size Flags = [all...] |
/external/qemu/ |
osdep.c | 50 void *qemu_memalign(size_t alignment, size_t size) 52 return VirtualAlloc(NULL, size, MEM_COMMIT, PAGE_READWRITE); 55 void *qemu_vmalloc(size_t size) 60 return VirtualAlloc(NULL, size, MEM_COMMIT, PAGE_READWRITE); 85 static void *kqemu_vmalloc(size_t size) 125 "mount -o remount,size=%dm /dev/shm\n", 157 size = (size + 4095) & ~4095; 158 ftruncate(phys_ram_fd, phys_ram_size + size); 161 size, [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
NativeAllocationInfo.java | 25 * <p/>Contains number of allocations, their size and the stack trace. 69 * @param size The size of the allocations. 72 NativeAllocationInfo(int size, int allocations) { 73 this.mSize = size & ~FLAG_MASK; 74 this.mIsZygoteChild = ((size & FLAG_ZYGOTE_CHILD) != 0); 87 * Returns the total size of this allocation. 121 return mStackCallAddresses.toArray(new Long[mStackCallAddresses.size()]); 138 mIsStackCallResolved = mResolvedStackCall.size() != 0; 150 return mResolvedStackCall.toArray(new NativeStackCallInfo[mResolvedStackCall.size()]); [all...] |
/external/srec/portable/src/ |
pstream.c | 63 size_t size; member in struct:FileBufferFrame 106 size: size of buffer. 109 FileBufferFrame* CreateFileBufferFrame(size_t size, unsigned char *buffer) 120 fb->size = size; 128 if ((fb->buffer = (unsigned char *)MALLOC(size, "FileBufferFrame Buffer")) == NULL) 174 int size; local 223 while (pCurRec->size > 0 && strcmp(pCurRec->name, fname) != 0) 226 start += pCurRec->size; 596 int size; local 859 int size; local 907 int size; local [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
LinkedHashSetTest.java | 54 assertEquals("Created incorrect LinkedHashSet", 0, hs2.size()); 69 assertEquals("Created incorrect LinkedHashSet", 0, hs2.size()); 90 assertEquals("Created incorrect LinkedHashSet", 0, hs2.size()); 129 assertTrue("LinkedHashSet created from collection incorrect size", hs2 130 .size() == objArray.length); 151 int size = hs.size(); local 153 assertTrue("Added element already contained by set", hs.size() == size); 155 assertTrue("Failed to increment set size after add" 275 int size = hs.size(); local [all...] |
/external/webkit/WebCore/svg/ |
SVGAnimationElement.cpp | 67 for (unsigned n = 0; n < parseList.size(); ++n) { 92 for (unsigned n = 0; n < parseList.size(); ++n) { 96 if (parseSpline.size() == 1) 98 if (parseSpline.size() != 4) 337 unsigned valuesCount = m_values.size(); 354 for (unsigned n = 1; n < keyTimesForPaced.size() - 1; ++n) 356 keyTimesForPaced[keyTimesForPaced.size() - 1] = 1.f; 367 ASSERT(splineIndex < m_keySplines.size()); 379 unsigned keyTimesCount = m_keyTimes.size(); 381 ASSERT(m_keyPoints.size() == keyTimesCount) [all...] |