/development/ndk/platforms/android-3/include/asm-generic/bitops/ |
H A D | find.h | 15 #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)
|
/development/ndk/platforms/android-3/include/ |
H A D | alloca.h | 31 #define alloca(size) __builtin_alloca(size)
|
/development/ndk/platforms/android-L/include/ |
H A D | alloca.h | 31 #define alloca(size) __builtin_alloca(size)
|
/development/ndk/platforms/android-3/include/linux/ |
H A D | circ_buf.h | 21 #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 D | xattr.h | 38 size_t size); 40 size_t size, int flags);
|
/development/tutorials/MoarRam/jni/ |
H A D | baz.c | 37 int size; local 41 size = 17; 44 size = 71; 47 ptr = malloc(size); 52 size, ptr); 61 int size; local 65 size = 17; 68 size = 71; 72 ALOGW("All %d-byte blocks are freed", size); 80 size, pt [all...] |
/development/ndk/platforms/android-L/include/sys/ |
H A D | 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);
|
/development/ndk/platforms/android-3/include/asm-generic/ |
H A D | ioctl.h | 34 #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 D | ioctl.h | 45 #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 D | uaccess.h | 44 #define __ua_size(size) ((__builtin_constant_p(size) && (signed long) (size) > 0) ? 0 : (size)) 46 #define __access_ok(addr, size, mask) (((signed long)((mask) & ((addr) | ((addr) + (size)) | __ua_size(size)))) == 0) 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) 57 #define __get_user_common(val, size, pt [all...] |
/development/ndk/platforms/android-L/include/asm-generic/ |
H A D | ioctl.h | 52 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT)) 56 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 57 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 59 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 60 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) [all...] |
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
H A D | mmu.h | 26 int size; member in struct:__anon607
|
/development/tutorials/ReverseDebug/ |
H A D | main.c | 25 void clobber(int *array, int size) { argument 28 array[size] = 0x123;
|
/development/host/windows/usb/api/ |
H A D | adb_interface_enum.cpp | 59 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/ndk/platforms/android-9/arch-x86/src/ |
H A D | crtend.S | 13 .size __FRAME_END__, 4
|
H A D | crtend_so.S | 10 .size __FRAME_END__, 4
|
/development/ndk/platforms/android-L/arch-x86_64/src/ |
H A D | crtend.S | 13 .size __FRAME_END__, 4
|
H A D | crtend_so.S | 10 .size __FRAME_END__, 4
|
/development/scripts/ |
H A D | compare-installed-size.py | 35 print " The module_x.csv file shows the aggregated file size in each module" 49 # size = "25027208", name = "/system/lib/libchromeview.so" 50 size, name = line.split() 63 bin_sizes[idx][module] = int(size) 65 bin_sizes[idx][module] += int(size) 68 # default size. 70 file_sizes[name] = [module, size, 0] 73 file_sizes[name][-1] = size 75 file_sizes[name] = [module, 0, size]
|
/development/tools/yuv420sp2rgb/ |
H A D | debug.h | 47 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/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
H A D | CameraHelper.java | 46 * @return Best match camera preview size to fit in the view. 64 // Try to find a preview size that matches aspect ratio and the target view size. 65 // Iterate over all available sizes and pick the largest size that can fit in the view and 67 for (Camera.Size size : sizes) { 68 double ratio = (double) size.width / size.height; 71 if (Math.abs(size.height - targetHeight) < minDiff) { 72 optimalSize = size; 73 minDiff = Math.abs(size [all...] |
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
H A D | CameraHelper.java | 46 * @return Best match camera preview size to fit in the view. 64 // Try to find a preview size that matches aspect ratio and the target view size. 65 // Iterate over all available sizes and pick the largest size that can fit in the view and 67 for (Camera.Size size : sizes) { 68 double ratio = (double) size.width / size.height; 71 if (Math.abs(size.height - targetHeight) < minDiff) { 72 optimalSize = size; 73 minDiff = Math.abs(size [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
H A D | CameraHelper.java | 46 * @return Best match camera preview size to fit in the view. 64 // Try to find a preview size that matches aspect ratio and the target view size. 65 // Iterate over all available sizes and pick the largest size that can fit in the view and 67 for (Camera.Size size : sizes) { 68 double ratio = (double) size.width / size.height; 71 if (Math.abs(size.height - targetHeight) < minDiff) { 72 optimalSize = size; 73 minDiff = Math.abs(size [all...] |
/development/ndk/platforms/android-3/header-patches/include/asm/ |
H A D | uaccess.h | 24 #define __range_ok(addr,size) (0) 29 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0)
|
/development/ndk/sources/android/libportable/arch-mips/ |
H A D | mmap.c | 92 void *WRAP(mmap)(void *addr, size_t size, int prot, int flags, int fd, long byte_offset) argument 99 ALOGV("%s(addr:%p, size:%d, prot:0x%x, flags:0x%x, fd:%d, byte_offset:0x%lx) {", __func__, 100 addr, size, prot, flags, fd, byte_offset); 105 ret_addr = REAL(mmap)(addr, size, native_prot, native_flags, fd, byte_offset); 114 int WRAP(mprotect)(const void *addr, size_t size, int portable_prot) argument 120 ALOGV("%s(addr:%p, size:%d, portable_prot:0x%x); {", __func__, 121 addr, size, portable_prot); 125 rv = REAL(mprotect)(addr, size, native_prot);
|