Searched refs:size (Results 51 - 75 of 11141) sorted by relevance

1234567891011>>

/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
H A DSDL_atarimxalloc_c.h35 extern void *Atari_SysMalloc(Uint32 size, Uint16 alloc_type);
/external/skia/src/gpu/gl/debug/
H A DGrBufferObj.cpp11 void GrBufferObj::allocate(GrGLint size, const GrGLchar *dataPtr) { argument
12 GrAlwaysAssert(size >= 0);
17 fSize = size;
18 fDataPtr = new GrGLchar[size];
/external/srtp/crypto/include/
H A Dalloc.h52 crypto_alloc(size_t size);
/external/webkit/Source/WebKit/chromium/src/
H A DCompositionUnderlineVectorBuilder.cpp43 size_t size = underlines.size(); local
44 reserveCapacity(size);
45 for (size_t i = 0; i < size; ++i)
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DANTLRReaderStream.cs54 public ANTLRReaderStream(TextReader r, int size) argument
55 : this(r, size, ReadBufferSize) {
58 public ANTLRReaderStream(TextReader r, int size, int readChunkSize) { argument
59 Load(r, size, readChunkSize);
62 public virtual void Load(TextReader r, int size, int readChunkSize) { argument
66 if (size <= 0) {
67 size = InitialBufferSize;
72 // System.out.println("load "+size+" in chunks of "+readChunkSize);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DANTLRReaderStream.cs57 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 Dsession_command.cc11 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/linux-tools-perf/util/
H A Dwrapper.c10 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/legacy/src/ports/
H A DSkMemory_brew.cpp26 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 DSkMemory_malloc.cpp22 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/skia/src/ports/
H A DSkMemory_brew.cpp26 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 DSkMemory_malloc.cpp22 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 Dsys_info_freebsd.cc15 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 Decc_sizes.c34 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/eigen/test/eigen2/
H A Deigen2_bug_132.cpp13 int size = 100; local
14 MatrixXd A(size, size);
15 VectorXd b(size), c(size);
/external/proguard/src/proguard/gui/splash/
H A DVariableSizeFont.java26 * 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 Dcircbuffer.c31 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 Dvcdecoder2_test.cc32 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 Dvcdecoder3_test.cc44 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/open-vcdiff/src/
H A Dvcdecoder2_test.cc32 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 Dvcdecoder3_test.cc47 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
49 delta_file_header_.size(),
56 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
58 delta_file_header_.size() - 2,
66 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
68 delta_file_.size(),
75 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
77 delta_file_.size(),
84 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
86 delta_file_.size(),
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.cc19 extern "C" void *__libc_malloc(__sanitizer::uptr size);
33 void *InternalAlloc(uptr size) { argument
34 if (size + sizeof(u64) < size)
36 void *p = LIBC_MALLOC(size + sizeof(u64));
55 void *LowLevelAllocator::Allocate(uptr size) { argument
56 // Align allocation size.
57 size = RoundUpTo(size, 8);
58 if (allocated_end_ - allocated_current_ < (sptr)size) {
78 CallocShouldReturnNullDueToOverflow(uptr size, uptr n) argument
[all...]
/external/chromium/net/http/
H A Dhttp_byte_range.cc44 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/compiler-rt/include/sanitizer/
H A Dmsan_interface.h30 void __msan_set_origin(void *a, size_t size, uint32_t origin);
42 void __msan_unpoison(void *a, size_t size);
45 void __msan_poison(void *a, size_t size);
49 void __msan_partial_poison(void* data, void* shadow, size_t size);
53 intptr_t __msan_test_shadow(const void *x, size_t size);
68 void __msan_print_shadow(const void *x, size_t size);
79 void __msan_allocated_memory(void* data, size_t size);
84 #define __msan_set_origin(a, size, origin)
88 #define __msan_unpoison(a, size)
89 #define __msan_poison(a, size)
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
H A DGeometryList.java53 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...]

Completed in 2399 milliseconds

1234567891011>>