/development/ndk/platforms/android-3/include/netinet/ |
D | in6.h | 33 #define IN6_IS_ADDR_UNSPECIFIED(a) \ argument 34 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \ 35 (*(const uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && \ 36 (*(const uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \ 37 (*(const uint32_t *)(const void *)(&(a)->s6_addr[12]) == 0)) 39 #define IN6_IS_ADDR_LOOPBACK(a) \ argument 40 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \ 41 (*(const uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && \ 42 (*(const uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \ 43 (*(const uint32_t *)(const void *)(&(a)->s6_addr[12]) == ntohl(1))) [all …]
|
/development/ndk/platforms/android-21/include/netinet/ |
D | in6.h | 33 #define IN6_IS_ADDR_UNSPECIFIED(a) \ argument 34 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \ 35 (*(const uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && \ 36 (*(const uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \ 37 (*(const uint32_t *)(const void *)(&(a)->s6_addr[12]) == 0)) 39 #define IN6_IS_ADDR_LOOPBACK(a) \ argument 40 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \ 41 (*(const uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && \ 42 (*(const uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \ 43 (*(const uint32_t *)(const void *)(&(a)->s6_addr[12]) == ntohl(1))) [all …]
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
D | addrspace.h | 45 #define KSEGX(a) ((_ACAST32_ (a)) & 0xe0000000) argument 46 #define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff) argument 47 #define XPHYSADDR(a) ((_ACAST64_(a)) & _CONST64_(0x000000ffffffffff)) argument 49 #define CKSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 50 #define CKSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 51 #define CKSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument 52 #define CKSEG3ADDR(a) (CPHYSADDR(a) | KSEG3) argument 54 #define KSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 55 #define KSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 56 #define KSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument [all …]
|
D | a.out.h | 35 #define N_TRSIZE(a) ((a).a_trsize) argument 36 #define N_DRSIZE(a) ((a).a_drsize) argument 37 #define N_SYMSIZE(a) ((a).a_syms) argument
|
D | local.h | 30 atomic_long_t a; member 34 #define local_read(l) atomic_long_read(&(l)->a) 35 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) 36 #define local_add(i, l) atomic_long_add((i), (&(l)->a)) 37 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a)) 39 #define local_inc(l) atomic_long_inc(&(l)->a) 40 #define local_dec(l) atomic_long_dec(&(l)->a) 41 #define local_cmpxchg(l, o, n) ((long)cmpxchg_local(&((l)->a.counter), (o), (n))) 42 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) 44 …fine local_add_unless(l, a, u) ({ long c, old; c = local_read(l); while (c != (u) && (old =… argument [all …]
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
D | Delaunay.h | 96 EdgePointer connectLeft(EdgePointer a, EdgePointer b); 97 EdgePointer connectRight(EdgePointer a, EdgePointer b); 98 int ccw(SitePointer a, SitePointer b, SitePointer c); 99 int incircle(SitePointer a, SitePointer b, SitePointer c, SitePointer d); 112 #define onext(a) next[a] argument 113 #define oprev(a) rot(onext(rot(a))) argument 114 #define lnext(a) rot(onext(rotinv(a))) argument 115 #define lprev(a) sym(onext(a)) argument 116 #define rnext(a) rotinv(onext(rot(a))) argument 117 #define rprev(a) onext(sym(a)) argument [all …]
|
D | EdgePointerUtil.h | 22 inline EdgePointer sym(EdgePointer a) in sym() argument 24 return a ^ 2; in sym() 27 inline EdgePointer rot(EdgePointer a) in rot() argument 29 return (((a) + 1) & 3) | ((a) & ~3); in rot() 32 inline EdgePointer rotinv(EdgePointer a) in rotinv() argument 34 return (((a) + 3) & 3) | ((a) & ~3); in rotinv()
|
/development/ndk/platforms/android-3/include/sys/ |
D | time.h | 45 #define timerclear(a) \ argument 46 ((a)->tv_sec = (a)->tv_usec = 0) 48 #define timerisset(a) \ argument 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 51 #define timercmp(a, b, op) \ argument 52 ((a)->tv_sec == (b)->tv_sec \ 53 ? (a)->tv_usec op (b)->tv_usec \ 54 : (a)->tv_sec op (b)->tv_sec) 56 #define timeradd(a, b, res) \ argument 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ [all …]
|
/development/ndk/platforms/android-21/include/sys/ |
D | time.h | 45 #define timerclear(a) \ argument 46 ((a)->tv_sec = (a)->tv_usec = 0) 48 #define timerisset(a) \ argument 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 51 #define timercmp(a, b, op) \ argument 52 ((a)->tv_sec == (b)->tv_sec \ 53 ? (a)->tv_usec op (b)->tv_usec \ 54 : (a)->tv_sec op (b)->tv_sec) 56 #define timeradd(a, b, res) \ argument 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ [all …]
|
D | param.h | 45 #define MIN(a,b) (((a)<(b))?(a):(b)) argument 46 #define MAX(a,b) (((a)>(b))?(a):(b)) argument
|
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/ |
D | io.h | 19 #define __io(a) ((void __iomem *)(PCIO_BASE + (a))) argument 20 #define __mem_pci(a) (a) argument 26 #define omap_readb(a) (*(volatile unsigned char *)IO_ADDRESS(a)) argument 27 #define omap_readw(a) (*(volatile unsigned short *)IO_ADDRESS(a)) argument 28 #define omap_readl(a) (*(volatile unsigned int *)IO_ADDRESS(a)) argument 30 #define omap_writeb(v,a) (*(volatile unsigned char *)IO_ADDRESS(a) = (v)) argument 31 #define omap_writew(v,a) (*(volatile unsigned short *)IO_ADDRESS(a) = (v)) argument 32 #define omap_writel(v,a) (*(volatile unsigned int *)IO_ADDRESS(a) = (v)) argument
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
D | db_utilities.h | 78 inline double db_sqr(double a) in db_sqr() argument 80 return(a*a); in db_sqr() 86 inline long db_sqr(long a) in db_sqr() argument 88 return(a*a); in db_sqr() 94 inline long db_sqr(int a) in db_sqr() argument 96 return(a*a); in db_sqr() 102 inline double db_maxd(double a,double b) in db_maxd() argument 104 if(b>a) return(b); in db_maxd() 105 else return(a); in db_maxd() 110 inline double db_mind(double a,double b) in db_mind() argument [all …]
|
D | db_utilities_poly.cpp | 28 void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d) in db_SolveCubic() argument 40 if(a==0.0) db_SolveQuadratic(roots,nr_roots,b,c,d); in db_SolveCubic() 43 bp=b/a; in db_SolveCubic() 45 cp=c/a; in db_SolveCubic() 46 dp=d/a; in db_SolveCubic() 94 void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double e) in db_SolveQuartic() argument 111 if(a==0.0) db_SolveCubic(roots,nr_roots,b,c,d,e); in db_SolveQuartic() 114 db_SolveCubic(roots,nr_roots,a,b,c,d); in db_SolveQuartic() 121 c3=b/a; in db_SolveQuartic() 122 c2=c/a; in db_SolveQuartic() [all …]
|
/development/ndk/platforms/android-21/include/linux/ |
D | uuid.h | 31 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_le) {{ (a) & 0xff, ((a) >> 8) & 0… argument 32 #define UUID_BE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_be) {{ ((a) >> 24) & 0xff, ((a) >… argument
|
D | in.h | 222 #define IN_CLASSA(a) ((((long int) (a)) & 0x80000000) == 0) argument 229 #define IN_CLASSB(a) ((((long int) (a)) & 0xc0000000) == 0x80000000) argument 235 #define IN_CLASSC(a) ((((long int) (a)) & 0xe0000000) == 0xc0000000) argument 240 #define IN_CLASSD(a) ((((long int) (a)) & 0xf0000000) == 0xe0000000) argument 241 #define IN_MULTICAST(a) IN_CLASSD(a) argument 244 #define IN_EXPERIMENTAL(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000) argument 245 #define IN_BADCLASS(a) IN_EXPERIMENTAL((a)) argument 252 #define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000) argument
|
/development/ndk/platforms/android-3/include/linux/ |
D | in.h | 169 #define IN_CLASSA(a) ((((long int) (a)) & 0x80000000) == 0) argument 175 #define IN_CLASSB(a) ((((long int) (a)) & 0xc0000000) == 0x80000000) argument 181 #define IN_CLASSC(a) ((((long int) (a)) & 0xe0000000) == 0xc0000000) argument 186 #define IN_CLASSD(a) ((((long int) (a)) & 0xf0000000) == 0xe0000000) argument 187 #define IN_MULTICAST(a) IN_CLASSD(a) argument 190 #define IN_EXPERIMENTAL(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000) argument 191 #define IN_BADCLASS(a) IN_EXPERIMENTAL((a)) argument 202 #define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000) argument
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
D | a.out.h | 30 #define N_TXTADDR(a) (0x00008000) argument 32 #define N_TRSIZE(a) ((a).a_trsize) argument 33 #define N_DRSIZE(a) ((a).a_drsize) argument 34 #define N_SYMSIZE(a) ((a).a_syms) argument
|
/development/ndk/platforms/android-21/arch-arm/include/asm/ |
D | a.out.h | 37 #define N_TXTADDR(a) (0x00008000) argument 39 #define N_TRSIZE(a) ((a).a_trsize) argument 40 #define N_DRSIZE(a) ((a).a_drsize) argument 41 #define N_SYMSIZE(a) ((a).a_syms) argument
|
/development/ndk/platforms/android-21/arch-x86_64/include/asm/ |
D | a.out.h | 35 #define N_TRSIZE(a) ((a).a_trsize) argument 36 #define N_DRSIZE(a) ((a).a_drsize) argument 37 #define N_SYMSIZE(a) ((a).a_syms) argument
|
/development/ndk/platforms/android-21/arch-x86/include/asm/ |
D | a.out.h | 35 #define N_TRSIZE(a) ((a).a_trsize) argument 36 #define N_DRSIZE(a) ((a).a_drsize) argument 37 #define N_SYMSIZE(a) ((a).a_syms) argument
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | a.out.h | 35 #define N_TRSIZE(a) ((a).a_trsize) argument 36 #define N_DRSIZE(a) ((a).a_drsize) argument 37 #define N_SYMSIZE(a) ((a).a_syms) argument
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Animation3.java | 57 Animation a = new TranslateAnimation(0.0f, in onItemSelected() local 60 a.setDuration(1000); in onItemSelected() 61 a.setStartOffset(300); in onItemSelected() 62 a.setRepeatMode(Animation.RESTART); in onItemSelected() 63 a.setRepeatCount(Animation.INFINITE); in onItemSelected() 67 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 71 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 75 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 79 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 83 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() [all …]
|
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 1 abbey - n. a monastery ruled by an abbot 11 academy - n. a school for special training 19 account - v. furnish a justifying analysis or explanation 20 accurate - j. conforming exactly or almost exactly to fact or to a standard or performing with tota… 21 accusation - n. an assertion that someone is guilty of a fault or offence 22 accuse - v. blame for, make a claim of wrongdoing or misbehavior against 28 adjacent - j. having a common boundary or edge; abutting; touching 29 administrator - n. someone who manages a government agency or department 39 album - n. a book of blank pages with pockets or envelopes; for organizing photographs or stamp col… 40 alcohol - n. a liquor or brew containing alcohol as the active agent [all …]
|
/development/cmds/monkey/ |
D | README.NETWORK.txt | 3 The Simple Protocol for Automated Network Control was designed to be a 5 into the input system. The idea is that a process will run on a host 14 Setup port forwarding from a local port on your machine to a port on 28 respond to every command with a line starting with OK for commands 29 that executed without a problem, or a line starting with ERROR for 30 commands that had problems being run. For commands that return a 33 on that line. For ERROR values, this could be a message indicating 39 ERROR: monkey not a number 58 Note that sending a full button press requires sending both the down 63 This command injects a MotionEvent into the input system that [all …]
|
/development/samples/browseable/XYZTouristAttractions/ |
D | _index.jd | 8 This sample aims to be as close to a real world example of a mobile 9 and Wear app combination as possible. It has a more refined design 10 and also provides a practical example of how a mobile app would 13 The app itself is modeled after a hypothetical tourist attractions 17 The Wear component loads a full wearable app that shows images, 19 attractions in a GridViewPager UI component.
|