/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
SizeFileFilter.java | 23 * Filters files based on size, can filter either smaller files or
27 * current directory whose size is greater than 1 MB:
43 /** The size threshold. */
44 private final long size;
field in class:SizeFileFilter 49 * Constructs a new size file filter for files equal to or
50 * larger than a certain size.
52 * @param size the threshold size of the files
53 * @throws IllegalArgumentException if the size is negative
55 public SizeFileFilter(long size) {
[all...] |
/external/chromium/net/tools/flip_server/ |
buffer_interface.h | 19 // returns the size of this buffer 21 // size of this buffer. 43 // appends up-to-'size' bytes to the buffer. 46 // size - number of bytes which are read and copied. 48 virtual int Write(const char* bytes, int size) = 0; 52 // this pointer (and size) can be used in functions like 54 // If *size is zero upon returning from this function, that it 58 // size - the amount of data (in bytes) that it is safe to write to ptr. 59 virtual void GetWritablePtr(char **ptr, int* size) const = 0; 63 // this pointer (and size) can be used in functions lik [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
IoTestCase.java | 36 /** Returns a byte array of length size that has values 0 .. size - 1. */ 37 protected static byte[] newPreFilledByteArray(int size) { 38 return newPreFilledByteArray(0, size); 42 * Returns a byte array of length size that has values 43 * offset .. offset + size - 1. 45 protected static byte[] newPreFilledByteArray(int offset, int size) { 46 byte[] array = new byte[size]; 47 for (int i = 0; i < size; i++) {
|
/external/speex/libspeex/ |
stack_alloc.h | 51 * @def ALIGN(stack, size) 53 * Aligns the stack to a 'size' boundary 56 * @param size New size boundary 60 * @def PUSH(stack, size, type) 62 * Allocates 'size' elements of type 'type' on the stack 65 * @param size Number of elements 78 * @def ALLOC(var, size, type) 80 * Allocate 'size' elements of 'type' on stack 83 * @param size Number of element [all...] |
/external/chromium/base/ |
process_util_unittest_mac.h | 16 // Allocates memory via system allocators. Alas, they take a _signed_ size for 18 void* AllocateViaCFAllocatorSystemDefault(ssize_t size); 19 void* AllocateViaCFAllocatorMalloc(ssize_t size); 20 void* AllocateViaCFAllocatorMallocZone(ssize_t size);
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
mediasink.h | 40 virtual void SetMaxSize(size_t size) = 0; 43 virtual void OnRtpPacket(const void* data, size_t size) = 0; 44 virtual void OnRtcpPacket(const void* data, size_t size) = 0;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
ByteArray.cpp | 32 PassRefPtr<ByteArray> ByteArray::create(size_t size) 34 unsigned char* buffer = new unsigned char[size + OBJECT_OFFSETOF(ByteArray, m_data)]; 36 return adoptRef(new (buffer) ByteArray(size));
|
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) 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) 92 ASSERT(isPageAligned(size)); [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
GraphicsOperation.cpp | 36 void* Operation::operator new(size_t size, LinearAllocator* allocator) 38 return allocator->alloc(size); 41 void* Operation::operator new(size_t size)
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
IntSizeHaiku.cpp | 31 #include <Size.h> 36 IntSize::IntSize(const BSize& size) 37 : m_width(size.IntegerWidth()) 38 , m_height(size.IntegerHeight())
|
/external/dropbear/libtommath/ |
bn_mp_init_size.c | 18 /* init an mp_init for a given size */ 19 int mp_init_size (mp_int * a, int size) 23 /* pad size so there are always extra digits */ 24 size += (MP_PREC * 2) - (size % MP_PREC); 27 a->dp = OPT_CAST(mp_digit) XMALLOC (sizeof (mp_digit) * size); 34 a->alloc = size; 38 for (x = 0; x < size; x++) {
|
/external/hyphenation/ |
hnjalloc.c | 42 hnj_malloc (int size) 46 p = malloc (size); 49 fprintf (stderr, "can't allocate %d bytes\n", size); 56 hnj_realloc (void *p, int size) 58 p = realloc (p, size); 61 fprintf (stderr, "can't allocate %d bytes\n", size);
|
/external/webkit/Source/WebCore/css/ |
themeChromiumLinux.css | 37 select:not([size]):not([multiple]) option, 38 select[size="0"] option, 39 select[size="1"] option {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
Stack.java | 35 public Stack(int size) { 36 super(size); 52 if (size() > 0) { 53 return remove(size() - 1); 64 if (size() > 0) { 65 return get(size() - 1);
|
/bionic/libc/bionic/ |
getcwd.cpp | 32 extern "C" int __getcwd(char* buf, size_t size); 34 char* getcwd(char* buf, size_t size) { 35 // You can't specify size 0 unless you're asking us to allocate for you. 36 if (buf != NULL && size == 0) { 44 size_t allocated_size = size; 45 if (size == 0) { 46 // The Linux kernel won't return more than a page, so translate size 0 to 4KiB. 48 size = getpagesize(); 58 int rc = __getcwd(buf, size); 67 if (size == 0) [all...] |
/bionic/libstdc++/src/ |
new.cpp | 6 void* operator new(std::size_t size) 8 void* p = malloc(size); 15 void* operator new[](std::size_t size) 17 void* p = malloc(size); 34 void* operator new(std::size_t size, const std::nothrow_t&) 36 return malloc(size); 39 void* operator new[](std::size_t size, const std::nothrow_t&) 41 return malloc(size);
|
/external/chromium/base/allocator/ |
win_allocator.cc | 28 void* win_heap_malloc(size_t size) { 29 return HeapAlloc(win_heap, 0, size); 32 void win_heap_free(void* size) { 33 HeapFree(win_heap, 0, size); 36 void* win_heap_realloc(void* ptr, size_t size) { 38 return win_heap_malloc(size); 39 if (!size) { 43 return HeapReAlloc(win_heap, 0, ptr, size);
|
/external/clang/test/CodeGen/ |
merge-attrs.c | 3 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__)); 9 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
|
/external/oprofile/module/ |
op_util.h | 16 void * rvmalloc(signed long size); 17 void rvfree(void * mem, signed long size);
|
/external/qemu/ |
qemu-malloc.c | 42 void *qemu_malloc(size_t size) 45 if (!size && !allow_zero_malloc()) { 48 ptr = qemu_oom_check(malloc(size ? size : 1)); 49 //trace_qemu_malloc(size, ptr); 53 void *qemu_realloc(void *ptr, size_t size) 56 if (!size && !allow_zero_malloc()) { 59 newptr = qemu_oom_check(realloc(ptr, size ? size : 1)); 60 //trace_qemu_realloc(ptr, size, newptr) [all...] |
/external/quake/quake/src/QW/client/ |
zone.h | 43 can usefully stay persistant between levels. The size of the cache 49 Temp_??? Temp memory is used for file loading and surface caching. The size 86 void Memory_Init (void *buf, int size); 89 void *Z_Malloc (int size); // returns 0 filled memory 90 void *Z_TagMalloc (int size, int tag); 96 void *Hunk_Alloc (int size); // returns 0 filled memory 97 void *Hunk_AllocName (int size, char *name); 99 void *Hunk_HighAllocName (int size, char *name); 107 void *Hunk_TempAlloc (int size); 124 void *Cache_Alloc (cache_user_t *c, int size, char *name) [all...] |
/external/quake/quake/src/WinQuake/ |
zone.h | 43 can usefully stay persistant between levels. The size of the cache 49 Temp_??? Temp memory is used for file loading and surface caching. The size 86 void Memory_Init (void *buf, int size); 89 void *Z_Malloc (int size); // returns 0 filled memory 90 void *Z_TagMalloc (int size, int tag); 96 void *Hunk_Alloc (int size); // returns 0 filled memory 97 void *Hunk_AllocName (int size, const char *name); 99 void *Hunk_HighAllocName (int size, const char *name); 107 void *Hunk_TempAlloc (int size); 124 void *Cache_Alloc (cache_user_t *c, int size, const char *name) [all...] |
/frameworks/base/core/java/android/database/ |
CharArrayBuffer.java | 23 public CharArrayBuffer(int size) { 24 data = new char[size];
|
CursorIndexOutOfBoundsException.java | 24 public CursorIndexOutOfBoundsException(int index, int size) { 25 super("Index " + index + " requested, with a size of " + size);
|
/frameworks/base/core/java/android/hardware/ |
SensorEvent.java | 455 SensorEvent(int size) { 456 values = new float[size];
|