/external/chromium/base/ |
sys_info_freebsd.cc | 15 size_t size = sizeof(pages); local 16 sysctlbyname("vm.stats.vm.v_page_count", &pages, &size, NULL, 0); 17 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, NULL, 0); 28 size_t size = sizeof(limit); local 29 sysctlbyname("kern.ipc.shmmax", &limit, &size, NULL, 0);
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_sizes.c | 34 for (i = 0; ltc_ecc_sets[i].size != 0; i++) { 35 if (ltc_ecc_sets[i].size < *low) { 36 *low = ltc_ecc_sets[i].size; 38 if (ltc_ecc_sets[i].size > *high) { 39 *high = ltc_ecc_sets[i].size;
|
/external/proguard/src/proguard/gui/splash/ |
VariableSizeFont.java | 26 * This VariableFont varies in size with respect to its Timing. 33 private final VariableDouble size; field in class:VariableSizeFont 42 * @param size the variable size of the font. 44 public VariableSizeFont(Font font, VariableDouble size) 47 this.size = size; 55 float s = (float)size.getDouble(time);
|
/frameworks/native/libs/binder/ |
MemoryBase.cpp | 29 ssize_t offset, size_t size) 30 : mSize(size), mOffset(offset), mHeap(heap) 34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const 37 if (size) *size = mSize;
|
/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);
|
/external/dropbear/ |
circbuffer.c | 31 circbuffer * cbuf_new(unsigned int size) { 35 if (size > MAX_CBUF_SIZE) { 36 dropbear_exit("bad cbuf size"); 40 cbuf->data = (unsigned char*)m_malloc(size); 44 cbuf->size = size; 63 return cbuf->size - cbuf->used; 69 dropbear_assert(((2*cbuf->size)+cbuf->writepos-cbuf->readpos)%cbuf->size == cbuf->used%cbuf->size); [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
vcdecoder2_test.cc | 32 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 33 for (size_t i = 0; i < delta_file_header_.size(); ++i) { 41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 42 for (size_t i = 0; i < delta_file_.size(); ++i) { 51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 52 for (size_t i = 0; i < delta_file_.size(); ++i) { 62 delta_file_.resize(delta_file_.size() - 1); 63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 64 for (size_t i = 0; i < delta_file_.size(); ++i) { 69 EXPECT_GE(expected_target_.size(), output_.size()) [all...] |
vcdecoder3_test.cc | 44 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 46 delta_file_header_.size(), 53 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 55 delta_file_header_.size() - 2, 63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 65 delta_file_.size(), 72 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 74 delta_file_.size(), 81 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); 83 delta_file_.size(), [all...] |
/bionic/libc/include/sys/ |
xattr.h | 38 extern int fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); 39 extern int setxattr(const char *path, const char *name, const void *value, size_t size, int flags); 40 extern int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); 42 extern ssize_t fgetxattr(int fd, const char *name, void *value, size_t size); 43 extern ssize_t getxattr(const char *path, const char *name, void *value, size_t size); 44 extern ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size); 46 extern ssize_t listxattr(const char *path, char *list, size_t size); 47 extern ssize_t llistxattr(const char *path, char *list, size_t size); 48 extern ssize_t flistxattr(int fd, char *list, size_t size);
|
/external/chromium/net/http/ |
http_byte_range.cc | 44 bool HttpByteRange::ComputeBounds(int64 size) { 45 if (size < 0) 56 last_byte_position_ = size - 1; 62 first_byte_position_ = size - std::min(size, suffix_length_); 63 last_byte_position_ = size - 1; 66 if (first_byte_position_ < size) { 68 last_byte_position_ = std::min(size - 1, last_byte_position_); 70 last_byte_position_ = size - 1;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
Bitmap.h | 29 template<size_t size> 50 static const WordType words = (size + wordSize - 1) / wordSize; 53 // version of the correct size when doing the calculations because if 62 template<size_t size> 63 inline Bitmap<size>::Bitmap() 68 template<size_t size> 69 inline bool Bitmap<size>::get(size_t n) const 74 template<size_t size> 75 inline void Bitmap<size>::set(size_t n) 80 template<size_t size> [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
vertex_frame.cpp | 32 VertexFrame::VertexFrame(int size) 34 size_(size) { 46 bool VertexFrame::WriteData(const uint8_t* data, int size) { 59 if (first_upload && size == size_) 60 glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW); 61 else if (!first_upload && size <= size_) 62 glBufferSubData(GL_ARRAY_BUFFER, 0, size, data); 65 "inside the vertex frame (%d bytes)!", size, size_); 73 // Subsequent uploads are now bound to the size given here 74 size_ = size; [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
GeometryList.java | 53 private int size; field in class:GeometryList 63 size = 0; 84 public int size(){ method in class:GeometryList 85 return size; 100 * List size is doubled if there is no room. 106 if (size == geometries.length) { 107 Geometry[] temp = new Geometry[size * 2]; 108 System.arraycopy(geometries, 0, temp, 0, size); 109 geometries = temp; // original list replaced by double-size list 111 geometries2 = new Geometry[size * 2] [all...] |
/external/v8/src/ |
regexp-stack.cc | 58 size_t size = sizeof(thread_local_); local 61 size); local 63 return to + size; 68 size_t size = sizeof(thread_local_); local 69 memcpy(&thread_local_, reinterpret_cast<void*>(from), size); 70 return from + size; 90 Address RegExpStack::EnsureCapacity(size_t size) { 91 if (size > kMaximumStackSize) return NULL; 92 if (size < kMinimumStackSize) size = kMinimumStackSize [all...] |
zone-inl.h | 42 inline void* Zone::New(int size) { 44 // Round up the requested size to fit the alignment. 45 size = RoundUp(size, kAlignment); 47 // If the allocation size is divisible by 8 then we return an 8-byte aligned 50 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4); 55 // Check if the requested size is available without expanding. 58 if (size > limit_ - position_) { 59 result = NewExpand(size); 61 position_ += size; [all...] |
/external/webkit/Source/WebCore/loader/ |
CachedMetadata.h | 45 static PassRefPtr<CachedMetadata> create(unsigned dataTypeID, const char* data, size_t size) 47 return adoptRef(new CachedMetadata(dataTypeID, data, size)); 50 static PassRefPtr<CachedMetadata> deserialize(const char* data, size_t size) 52 return adoptRef(new CachedMetadata(data, size)); 69 if (m_serializedData.size() < dataStart) 74 size_t size() const function in class:WebCore::CachedMetadata 76 if (m_serializedData.size() < dataStart) 78 return m_serializedData.size() - dataStart; 85 if (m_serializedData.size() < position + sizeof(unsigned)) 96 CachedMetadata(const char* data, size_t size) [all...] |
/external/webkit/Source/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;
|
/external/webkit/Source/WebCore/rendering/ |
RenderArena.cpp | 54 size_t size; member in struct:WebCore::__anon16254 76 void* RenderArena::allocate(size_t size) 81 void* block = ::malloc(debugHeaderSize + size); 84 header->size = size; 91 size = ROUNDUP(size, sizeof(void*)); 94 if (size < gMaxRecycledSize) { 95 const int index = size >> 2; 107 ARENA_ALLOCATE(result, &m_pool, size); [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
AbstractHeightMap.java | 59 /** The size of the height map's width. */
60 protected int size = 0;
field in class:AbstractHeightMap 101 heightData[x + (z * size)] = height;
105 * <code>setSize</code> sets the size of the terrain where the area is
106 * size x size.
108 * @param size
109 * the new size of the terrain.
113 * if the size is less than or equal to zero.
115 public void setSize(int size) throws Exception { [all...] |
/external/proguard/src/proguard/evaluation/ |
Variables.java | 38 protected int size; field in class:Variables 44 public Variables(int size) 46 this.values = new Value[size]; 47 this.size = size; 57 this(variables.size); 67 public void reset(int size) 70 if (size > values.length) 73 values = new Value[size]; 84 this.size = size 163 public int size() method in class:Variables [all...] |
/external/chromium/net/tools/flip_server/ |
simple_buffer.cc | 30 SimpleBuffer::SimpleBuffer(int size) 33 storage_size_(size) { 36 CHECK_GE(size, 0); 37 storage_ = new char[size]; 84 // appends up-to-'size' bytes to the simplebuffer. 85 int SimpleBuffer::Write(const char* bytes, int size) { 86 bool has_room = ((storage_size_ - write_idx_) >= size); 88 (void)Reserve(size); 90 memcpy(storage_ + write_idx_, bytes, size); 91 SimpleBuffer::AdvanceWritablePtr(size); 152 CHECK_GE(BytesFree(), size); local [all...] |
/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/icu4c/common/ |
uobject.cpp | 10 * tab size: 8 (not used) 59 void * U_EXPORT2 UMemory::operator new(size_t size) U_NO_THROW { 60 return uprv_malloc(size); 69 void * U_EXPORT2 UMemory::operator new[](size_t size) U_NO_THROW { 70 return uprv_malloc(size); 80 void * U_EXPORT2 UMemory::operator new(size_t size, const char* /*file*/, int /*line*/) U_NO_THROW { 81 return UMemory::operator new(size);
|
/external/valgrind/main/none/tests/ |
bug129866.c | 5 char * touch_malloc (int size) 9 result = malloc (size); 10 for (i = 0; i < size; i++) 15 char * touch_realloc (char * ptr, int size) 19 result = realloc (ptr, size); 20 for (i = 0; i < size; i++)
|
/external/webkit/Source/WebKit2/UIProcess/ |
BackingStore.cpp | 40 PassOwnPtr<BackingStore> BackingStore::create(const IntSize& size, WebPageProxy* webPageProxy) 42 return adoptPtr(new BackingStore(size, webPageProxy)); 45 BackingStore::BackingStore(const IntSize& size, WebPageProxy* webPageProxy) 46 : m_size(size) 63 ASSERT(bitmap->size() == updateInfo.updateRectBounds.size());
|