/development/ndk/platforms/android-3/include/linux/ |
D | circ_buf.h | 21 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument 23 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument 25 #define CIRC_CNT_TO_END(head,tail,size) ({int end = (size) - (tail); int n = ((head) + end) & (… argument 27 #define CIRC_SPACE_TO_END(head,tail,size) ({int end = (size) - 1 - (head); int n = (end + (tail… argument
|
/development/tutorials/MoarRam/jni/ |
D | baz.c | 38 int size; in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() local 42 size = 17; in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() 45 size = 71; in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() 48 ptr = malloc(size); in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() 53 size, ptr); in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() 62 int size; in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() local 66 size = 17; in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() 69 size = 71; in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() 73 ALOGW("All %d-byte blocks are freed", size); in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() 81 size, ptr); in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative()
|
/development/ndk/platforms/android-3/include/asm-generic/ |
D | ioctl.h | 34 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr)… argument 40 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 41 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 42 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/development/ndk/platforms/android-21/include/asm-generic/ |
D | ioctl.h | 52 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr)… argument 56 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 57 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 59 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 60 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 61 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 62 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
D | ioctl.h | 45 …fine _IOC(dir, type, nr, size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr… argument 50 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument 51 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument 52 #define _IOWR(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument 54 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument 55 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument 56 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), sizeof(size)) argument
|
D | uaccess.h | 44 #define __ua_size(size) ((__builtin_constant_p(size) && (signed long) (size) > 0) ? 0 : (size)) argument 46 #define __access_ok(addr, size, mask) (((signed long)((mask) & ((addr) | ((addr) + (size)) | __ua… argument 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_ma… argument 57 #define __get_user_common(val, size, ptr) do { switch (size) { case 1: __get_user_asm(val, "lb… argument 59 #define __get_user_nocheck(x, ptr, size) ({ long __gu_err; __get_user_common((x), size, ptr)… argument 60 …size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if … argument 65 … __put_user_nocheck(x, ptr, size) ({ __typeof__(*(ptr)) __pu_val; long __pu_err = 0; __pu… argument 66 …size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); l… argument
|
D | io.h | 67 #define ioremap(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED) argument 69 #define ioremap_nocache(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED) argument 70 #define ioremap_cachable(offset, size) __ioremap_mode((offset), (size), _page_cachable_default) argument 71 #define ioremap_cacheable_cow(offset, size) __ioremap_mode((offset), (size), _CACHE_CACHABLE_COW) argument 72 #define ioremap_uncached_accelerated(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACH… argument 97 #define dma_cache_wback_inv(start,size) do { (void) (start); (void) (size); } while (0) argument 99 #define dma_cache_wback(start,size) do { (void) (start); (void) (size); } while (0) argument 100 #define dma_cache_inv(start,size) do { (void) (start); (void) (size); } while (0) argument
|
/development/ndk/platforms/android-21/include/sys/ |
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/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | CameraHelper.java | 75 for (Camera.Size size : videoSizes) { in getOptimalVideoSize() 76 double ratio = (double) size.width / size.height; in getOptimalVideoSize() 79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 80 optimalSize = size; in getOptimalVideoSize() 81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize() 88 for (Camera.Size size : videoSizes) { in getOptimalVideoSize() 89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 90 optimalSize = size; in getOptimalVideoSize() 91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | CameraHelper.java | 75 for (Camera.Size size : videoSizes) { in getOptimalVideoSize() 76 double ratio = (double) size.width / size.height; in getOptimalVideoSize() 79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 80 optimalSize = size; in getOptimalVideoSize() 81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize() 88 for (Camera.Size size : videoSizes) { in getOptimalVideoSize() 89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 90 optimalSize = size; in getOptimalVideoSize() 91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | CameraHelper.java | 75 for (Camera.Size size : videoSizes) { in getOptimalVideoSize() 76 double ratio = (double) size.width / size.height; in getOptimalVideoSize() 79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 80 optimalSize = size; in getOptimalVideoSize() 81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize() 88 for (Camera.Size size : videoSizes) { in getOptimalVideoSize() 89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 90 optimalSize = size; in getOptimalVideoSize() 91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | uaccess_32.h | 40 …size) ({ unsigned long flag,roksum; __chk_user_ptr(addr); asm("addl %3,%1 ; sbbl %0,%0; cmpl… argument 41 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) argument 47 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),… argument 60 #define __put_user_nocheck(x,ptr,size) ({ long __pu_err; __put_user_size((x),(ptr),(size),__pu… argument 62 …size(x,ptr,size,retval,errret) do { __typeof__(*(ptr)) __pus_tmp = x; retval = 0; if(unli… argument 67 …efine __get_user_nocheck(x,ptr,size) ({ long __gu_err; unsigned long __gu_val; __get_user_s… argument 69 #define __get_user_size(x,ptr,size,retval,errret) do { retval = 0; __chk_user_ptr(ptr); swit… argument
|
/development/ndk/platforms/android-3/include/asm-generic/bitops/ |
D | find.h | 15 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) argument 16 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0) argument
|
/development/ndk/platforms/android-21/include/linux/ |
D | bcache.h | 22 …size) static inline __u64 name(const type *k) { return (k->field >> offset) & ~(~0ULL << size); … argument 30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size) argument 31 …size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) … argument 35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) … argument
|
/development/ndk/platforms/android-21/include/ |
D | stdio.h | 380 int vsnprintf(char *dest, size_t size, const char *format, __va_list ap) in vsnprintf() argument 382 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf() 394 …#define __wrap_snprintf(dest, size, ...) __builtin___snprintf_chk(dest, size, 0, __bos(dest), __VA… argument 400 int snprintf(char *dest, size_t size, const char *format, ...) in snprintf() argument 402 return __builtin___snprintf_chk(dest, size, 0, in snprintf() 430 char *fgets(char* dest, int size, FILE* stream) { in fgets() argument 435 if (__builtin_constant_p(size) && (size < 0)) { in fgets() 441 return __fgets_real(dest, size, stream); in fgets() 446 if (__builtin_constant_p(size) && (size <= (int) bos)) { in fgets() 447 return __fgets_real(dest, size, stream); in fgets() [all …]
|
D | string.h | 188 size_t strlcpy(char* __restrict dest, const char* __restrict src, size_t size) { in strlcpy() argument 194 return __strlcpy_real(dest, src, size); in strlcpy() 199 if (__builtin_constant_p(size) && (size <= bos)) { in strlcpy() 200 return __strlcpy_real(dest, src, size); in strlcpy() 204 return __strlcpy_chk(dest, src, size, bos); in strlcpy() 213 size_t strlcat(char* __restrict dest, const char* __restrict src, size_t size) { in strlcat() argument 219 return __strlcat_real(dest, src, size); in strlcat() 224 if (__builtin_constant_p(size) && (size <= bos)) { in strlcat() 225 return __strlcat_real(dest, src, size); in strlcat() 229 return __strlcat_chk(dest, src, size, bos); in strlcat()
|
/development/scripts/ |
D | compare-installed-size.py | 50 size, name = line.split() 63 bin_sizes[idx][module] = int(size) 65 bin_sizes[idx][module] += int(size) 70 file_sizes[name] = [module, size, 0] 73 file_sizes[name][-1] = size 75 file_sizes[name] = [module, 0, size]
|
/development/host/windows/usb/api/ |
D | adb_interface_enum.cpp | 59 bool AdbInterfaceEnumObject::Next(AdbInterfaceInfo* info, ULONG* size) { in Next() argument 66 ATLASSERT(NULL != size); in Next() 67 if (NULL == size) { in Next() 81 if ((NULL == info) || (*size < entry.GetFlatSize())) { in Next() 82 *size = entry.GetFlatSize(); in Next()
|
/development/tools/yuv420sp2rgb/ |
D | debug.h | 47 static inline void *MALLOC(unsigned int size) { in MALLOC() argument 48 void *m = malloc(size); in MALLOC() 49 FAILIF(NULL == m, "malloc(%d) failed!\n", size); in MALLOC() 59 static inline void *REALLOC(void *ptr, unsigned int size) { in REALLOC() argument 60 void *m = realloc(ptr, size); in REALLOC() 61 FAILIF(NULL == m, "realloc(%p, %d) failed!\n", ptr, size); in REALLOC()
|
/development/ndk/platforms/android-21/arch-arm/include/asm/ |
D | setup.h | 26 __u32 size; member 40 __u32 size; member 62 __u32 size; member 71 __u32 size; member 150 …r_present(tag,member) ((unsigned long)(&((struct tag *)0L)->member + 1) <= (tag)->hdr.size * 4) 151 #define tag_next(t) ((struct tag *)((__u32 *)(t) + (t)->hdr.size)) 154 #define for_each_tag(t,base) for (t = base; t->hdr.size; t = tag_next(t))
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyUtils.java | 68 return mValidPackages.size() > 0; in hasValidPackages() 86 if (mInvalidPackages.size() > 0) { in checkEnteringPackage() 90 } else if (mValidPackages.size() > 0) { in checkEnteringPackage() 99 if (mValidPackages.size() > 0) { in dump() 105 if (mInvalidPackages.size() > 0) { in dump()
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardFlip.java | 118 view.updateTranslation(mStackCards.get(stack).size()); in addNewCard() 150 int size = cardStack.size(); 151 if (size > 0) { 152 rotateCardView(cardStack.get(size - 1), stack, v, v2); 188 rightStack.remove(rightStack.size() - 1); in rotateCardView() 190 cardView.flipRightToLeft(leftStack.size() - 1, (int)velocityX); in rotateCardView() 204 leftStack.remove(leftStack.size() - 1); in rotateCardView() 206 cardView.flipLeftToRight(rightStack.size() - 1, (int)velocityX); in rotateCardView() 248 for (int i = 0; i < cards.size(); i++) { in rotateCards() 278 for (int i = 0; i < cards.size(); i++) { in rotateCardsFullRotation()
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
D | SquareFrameLayout.java | 60 final int size; in onMeasure() local 64 size = Math.max(widthSize, heightSize); in onMeasure() 68 size = Math.min(widthSize, heightSize); in onMeasure() 71 final int newMeasureSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure()
|
/development/ndk/platforms/android-21/include/linux/netfilter_arp/ |
D | arp_tables.h | 40 #define ARPT_ENTRY_ITERATE(entries, size, fn, args...) XT_ENTRY_ITERATE(struct arpt_entry, entrie… argument 109 unsigned int size; member 116 unsigned int size; member 127 unsigned int size; member
|
/development/ndk/platforms/android-21/arch-x86_64/include/asm/ |
D | mtrr.h | 30 unsigned int size; member 37 unsigned int size; member 45 __u32 size; member 51 __u32 size; member
|