/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | ANTLRReaderStream.cs | 57 public ANTLRReaderStream( TextReader r, int size ) 58 : this( r, size, ReadBufferSize ) 62 public ANTLRReaderStream( TextReader r, int size, int readChunkSize ) argument 64 Load( r, size, readChunkSize ); 67 public virtual void Load( TextReader r, int size, int readChunkSize ) argument 73 if ( size <= 0 ) 75 size = InitialBufferSize; 81 // System.out.println("load "+size+" in chunks of "+readChunkSize);
|
/external/chromium/chrome/browser/sessions/ |
H A D | session_command.cc | 11 SessionCommand::SessionCommand(id_type id, size_type size) argument 13 contents_(size, 0) { 18 contents_(pickle.size(), 0) { 19 DCHECK(pickle.size() < std::numeric_limits<size_type>::max()); 20 memcpy(contents(), pickle.data(), pickle.size()); 24 if (size() != count) 31 return new Pickle(contents(), static_cast<int>(size()));
|
/external/compiler-rt/lib/asan/ |
H A D | asan_new_delete.cc | 33 return asan_memalign(0, size, &stack); 36 void *operator new(size_t size) { OPERATOR_NEW_BODY; } argument 37 void *operator new[](size_t size) { OPERATOR_NEW_BODY; } argument 39 void *operator new(size_t size) throw(std::bad_alloc) { OPERATOR_NEW_BODY; } 40 void *operator new[](size_t size) throw(std::bad_alloc) { OPERATOR_NEW_BODY; } 41 void *operator new(size_t size, std::nothrow_t const&) throw() 43 void *operator new[](size_t size, std::nothrow_t const&) throw()
|
/external/linux-tools-perf/util/ |
H A D | wrapper.c | 10 static inline void release_pack_memory(size_t size __used, int flag __used) 26 void *xrealloc(void *ptr, size_t size) argument 28 void *ret = realloc(ptr, size); 29 if (!ret && !size) 32 release_pack_memory(size, -1); 33 ret = realloc(ptr, size); 34 if (!ret && !size)
|
/external/skia/src/ports/ |
H A D | SkMemory_brew.cpp | 26 void* sk_malloc_throw(size_t size) { argument 27 return sk_malloc_flags(size, SK_MALLOC_THROW); 30 void* sk_realloc_throw(void* addr, size_t size) { argument 31 void* p = REALLOC(addr, size | ALLOC_NO_ZMEM); 32 if (size == 0) { 45 void* sk_malloc_flags(size_t size, unsigned flags) { argument 46 void* p = MALLOC(size | ALLOC_NO_ZMEM);
|
H A D | SkMemory_malloc.cpp | 22 void* sk_malloc_throw(size_t size) { argument 23 return sk_malloc_flags(size, SK_MALLOC_THROW); 26 void* sk_realloc_throw(void* addr, size_t size) { argument 27 void* p = realloc(addr, size); 28 if (size == 0) { 43 void* sk_malloc_flags(size_t size, unsigned flags) { argument 44 void* p = malloc(size);
|
/external/chromium/base/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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) argument 47 this.size = size; 55 float s = (float)size.getDouble(time);
|
/external/dropbear/ |
H A D | circbuffer.c | 31 circbuffer * cbuf_new(unsigned int size) { argument 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/ |
H A D | 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 [all...] |
H A D | 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...] |
/external/chromium/net/http/ |
H A D | http_byte_range.cc | 44 bool HttpByteRange::ComputeBounds(int64 size) { argument 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/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
H A D | 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 * [all...] |
/external/v8/src/ |
H A D | 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) { argument 91 if (size > kMaximumStackSize) return NULL; 92 if (size < kMinimumStackSize) size [all...] |
H A D | zone-inl.h | 42 inline void* Zone::New(int size) { argument 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; 100 operator new(size_t size) argument 104 operator new(size_t size, Zone* zone) argument 109 New(int size) argument 115 operator new(size_t size) argument 121 operator new(size_t size, Zone* zone) argument [all...] |
/external/webkit/Source/WebCore/loader/ |
H A D | CachedMetadata.h | 45 static PassRefPtr<CachedMetadata> create(unsigned dataTypeID, const char* data, size_t size) argument 47 return adoptRef(new CachedMetadata(dataTypeID, data, size)); 50 static PassRefPtr<CachedMetadata> deserialize(const char* data, size_t size) argument 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) argument 104 CachedMetadata(unsigned dataTypeID, const char* data, size_t size) argument [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
H A D | 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/JavaScriptCore/wtf/ |
H A D | PageReservation.h | 44 and size values (both of which require system page size granularity). One the 67 using PageBlock::size; 77 void commit(void* start, size_t size) argument 81 ASSERT(isPageAligned(size)); 82 ASSERT(contains(start, size)); 84 m_committed += size; 85 OSAllocator::commit(start, size, m_writable, m_executable); 88 void decommit(void* start, size_t size) argument 92 ASSERT(isPageAligned(size)); 104 reserve(size_t size, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false) argument 126 PageReservation(void* base, size_t size, bool writable, bool executable) argument [all...] |
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderArena.cpp | 54 size_t size; member in struct:WebCore::__anon14713 76 void* RenderArena::allocate(size_t size) argument 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); 114 free(size_t size, void* ptr) argument [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
H A D | 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) throw argument [all...] |
/external/proguard/src/proguard/evaluation/ |
H A D | Variables.java | 38 protected int size; field in class:Variables 44 public Variables(int size) argument 46 this.values = new Value[size]; 47 this.size = size; 57 this(variables.size); 67 public void reset(int size) argument 70 if (size > values.length) 73 values = new Value[size]; 84 this.size 163 public int size() method in class:Variables [all...] |
/external/chromium/net/tools/flip_server/ |
H A D | simple_buffer.cc | 30 SimpleBuffer::SimpleBuffer(int size) argument 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) { argument 86 bool has_room = ((storage_size_ - write_idx_) >= size); 88 (void)Reserve(size); 90 memcpy(storage_ + write_idx_, bytes, size); 91 SimpleBuffer::AdvanceWritablePtr(size); 118 Read(char* bytes, int size) argument 141 Reserve(int size) argument 152 CHECK_GE(BytesFree(), size); local [all...] |
/external/dropbear/libtommath/ |
H A D | bn_mp_grow.c | 19 int mp_grow (mp_int * a, int size) argument 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/ |
H A D | 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);
|