Searched refs:size (Results 1 - 25 of 234) sorted by relevance

12345678910

/development/ndk/platforms/android-3/include/asm-generic/bitops/
H A Dfind.h15 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
16 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
H A Dle.h33 #define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset)
51 #define generic_find_first_zero_le_bit(addr, size) generic_find_next_zero_le_bit((addr), (size), 0)
/development/ndk/platforms/android-3/include/
H A Dalloca.h31 #define alloca(size) __builtin_alloca(size)
/development/ndk/platforms/android-3/include/linux/
H A Dcirc_buf.h21 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1))
23 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size))
25 #define CIRC_CNT_TO_END(head,tail,size) ({int end = (size) - (tail); int n = ((head) + end) & ((size)-1); n < end ? n : end;})
27 #define CIRC_SPACE_TO_END(head,tail,size) ({int end = (size) - 1 - (head); int n = (end + (tail)) & ((size)
[all...]
H A Dxattr.h38 size_t size);
40 size_t size, int flags);
H A Dvmalloc.h32 unsigned long size; member in struct:vm_struct
/development/ndk/platforms/android-3/include/asm-generic/
H A Dioctl.h34 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT))
40 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
41 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
42 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
[all...]
/development/ndk/platforms/android-9/arch-mips/include/asm/
H A Dioctl.h45 #define _IOC(dir, type, nr, size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT))
50 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size)))
51 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size)))
52 #define _IOWR(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size)))
54 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size))
[all...]
H A Duaccess.h36 #define __ua_size(size) ((__builtin_constant_p(size) && (signed long) (size) > 0) ? 0 : (size))
39 #define __access_ok(addr, size, mask) (((signed long)((mask) & ((addr) | ((addr) + (size)) | __ua_size(size)))) == 0)
40 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask))
49 #define __get_user_common(val, size, pt
[all...]
H A Dio.h67 #define ioremap(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED)
69 #define ioremap_nocache(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED)
70 #define ioremap_cachable(offset, size) __ioremap_mode((offset), (size), _page_cachable_default)
71 #define ioremap_cacheable_cow(offset, size) __ioremap_mode((offset), (size), _CACHE_CACHABLE_COW)
72 #define ioremap_uncached_accelerated(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED_ACCELERATE
[all...]
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dmmu.h26 int size; member in struct:__anon521
H A De820.h34 __u64 size; member in struct:e820entry
H A Duaccess_32.h40 #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; })
41 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0))
47 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),"=d" (x) :"0" (ptr))
60 #define __put_user_nocheck(x,ptr,size) ({ long __pu_err; __put_user_size((x),(ptr),(size),__pu_err,-EFAULT); __pu_err; })
62 #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) !
[all...]
/development/host/windows/usb/api/
H A Dadb_interface_enum.cpp59 bool AdbInterfaceEnumObject::Next(AdbInterfaceInfo* info, ULONG* size) { argument
66 ATLASSERT(NULL != size);
67 if (NULL == size) {
81 if ((NULL == info) || (*size < entry.GetFlatSize())) {
82 *size = entry.GetFlatSize();
/development/tools/emulator/opengl/shared/OpenglCodecCommon/
H A DFixedBuffer.h32 void * alloc(size_t size) { argument
33 if (m_bufferLen >= size)
39 m_bufferLen = size;
H A DGLSharedGroup.h42 BufferData(GLsizeiptr size, void * data);
51 GLint size; member in struct:ProgramData::_IndexInfo
75 void setIndexInfo(GLuint index, GLint base, GLint size, GLenum type);
90 size_t getNumShaders() const { return m_shaders.size(); }
114 void addBufferData(GLuint bufferId, GLsizeiptr size, void * data);
115 void updateBufferData(GLuint bufferId, GLsizeiptr size, void * data);
116 GLenum subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, void * data);
126 void setProgramIndexInfo(GLuint program, GLuint index, GLint base, GLint size, GLenum type, const char* name);
/development/ndk/platforms/android-9/arch-x86/src/
H A Dcrtend.S13 .size __FRAME_END__, 4
H A Dcrtend_so.S10 .size __FRAME_END__, 4
H A D__stack_chk_fail_local.S48 .size __stack_chk_fail_local, .-__stack_chk_fail_local
/development/tools/yuv420sp2rgb/
H A Ddebug.h47 static inline void *MALLOC(unsigned int size) { argument
48 void *m = malloc(size);
49 FAILIF(NULL == m, "malloc(%d) failed!\n", size);
59 static inline void *REALLOC(void *ptr, unsigned int size) { argument
60 void *m = realloc(ptr, size);
61 FAILIF(NULL == m, "realloc(%p, %d) failed!\n", ptr, size);
/development/ndk/platforms/android-9/arch-mips/src/
H A Dcrtend_android.S51 .size __FRAME_END__, 4
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
H A DSimpleMenu.java83 for (int i = items.size() - 1; i >= 0; i--) {
94 final int size = size();
96 for (int i = 0; i < size; i++) {
111 if ((index < 0) || (index >= mItems.size())) {
122 final int size = size();
123 for (int i = 0; i < size; i++) {
133 public int size() { method in class:SimpleMenu
134 return mItems.size();
[all...]
/development/ndk/sources/android/libportable/arch-mips/
H A Dmmap.c68 void *mmap_portable(void *addr, size_t size, int prot, int flags, int fd, long offset) argument
80 ret = __mmap2(addr, size, mips_prot, mips_flags, fd,
84 madvise(ret, size, MADV_MERGEABLE);
90 int mprotect_portable(const void *addr, size_t size, int prot) argument
92 return mprotect(addr, size, mips_change_prot(prot));
/development/ndk/sources/android/libportable/common/include/
H A Dioctls_portable.h41 #define _IOC_PORTABLE(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT_PORTABLE) | ((type) << _IOC_TYPESHIFT_PORTABLE) | ((nr) << _IOC_NRSHIFT_PORTABLE) | ((size) << _IOC_SIZESHIFT_PORTABLE))
47 #define _IOR_PORTABLE(type,nr,size) _IOC_PORTABLE(_IOC_READ_PORTABLE,(type),(nr),(_IOC_TYPECHECK_PORTABLE(size)))
48 #define _IOW_PORTABLE(type,nr,size) _IOC_PORTABLE(_IOC_WRITE_PORTABLE,(type),(nr),(_IOC_TYPECHECK_PORTABLE(size)))
49 #define _IOWR_PORTABLE(type,nr,size) _IOC_PORTABLE(_IOC_READ_PORTABLE|_IOC_WRITE_PORTABLE,(type),(nr),(_IOC_TYPECHECK_PORTABLE(size)))
/development/samples/ApiDemos/src/com/example/android/apis/content/
H A DReadAsset.java52 // size of the asset... of course, this does mean that a single
54 int size = is.available();
57 byte[] buffer = new byte[size];

Completed in 6186 milliseconds

12345678910