/development/perftests/panorama/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 88 inline int db_MaxIndex2(double s[2]) in db_MaxIndex2() 90 if(s[0]>=s[1]) return(0); in db_MaxIndex2() 94 inline int db_MaxIndex3(const double s[3]) in db_MaxIndex3() 99 best=s[0];pos=0; in db_MaxIndex3() 100 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex3() 101 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex3() 105 inline int db_MaxIndex4(const double s[4]) in db_MaxIndex4() 110 best=s[0];pos=0; in db_MaxIndex4() 111 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex4() 112 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex4() [all …]
|
D | db_utilities_camera.h | 126 double s,mult; in db_OrthonormalizeRotation() local 128 s=db_sqr(R[0])+db_sqr(R[1])+db_sqr(R[2]); in db_OrthonormalizeRotation() 129 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation() 132 s=R[0]*R[3]+R[1]*R[4]+R[2]*R[5]; in db_OrthonormalizeRotation() 133 R[3]-=s*R[0]; R[4]-=s*R[1]; R[5]-=s*R[2]; in db_OrthonormalizeRotation() 135 s=db_sqr(R[3])+db_sqr(R[4])+db_sqr(R[5]); in db_OrthonormalizeRotation() 136 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation() 263 inline void db_MultiplyScaleOntoImageHomography(double H[9],double s) in db_MultiplyScaleOntoImageHomography() argument 266 H[0]*=s; in db_MultiplyScaleOntoImageHomography() 267 H[1]*=s; in db_MultiplyScaleOntoImageHomography() [all …]
|
D | db_utilities_linalg.cpp | 33 double s,temp; in db_CholeskyDecomp6x6() local 37 s=A[0]; in db_CholeskyDecomp6x6() 38 d[0]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 46 s=A[7]-A[6]*A[6]; in db_CholeskyDecomp6x6() 47 d[1]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 54 s=A[14]-A[12]*A[12]-A[13]*A[13]; in db_CholeskyDecomp6x6() 55 d[2]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 61 s=A[21]-A[18]*A[18]-A[19]*A[19]-A[20]*A[20]; in db_CholeskyDecomp6x6() 62 d[3]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 67 s=A[28]-A[24]*A[24]-A[25]*A[25]-A[26]*A[26]-A[27]*A[27]; in db_CholeskyDecomp6x6() [all …]
|
/development/ndk/platforms/android-L/include/sys/ |
D | wait.h | 39 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) argument 40 #define WCOREDUMP(s) ((s) & 0x80) argument 41 #define WTERMSIG(s) ((s) & 0x7f) argument 42 #define WSTOPSIG(s) WEXITSTATUS(s) argument 44 #define WIFEXITED(s) (WTERMSIG(s) == 0) argument 45 #define WIFSTOPPED(s) (WTERMSIG(s) == 0x7f) argument 46 #define WIFSIGNALED(s) (WTERMSIG((s)+1) >= 2) argument
|
/development/ndk/platforms/android-19/include/sys/ |
D | wait.h | 39 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) argument 40 #define WCOREDUMP(s) ((s) & 0x80) argument 41 #define WTERMSIG(s) ((s) & 0x7f) argument 42 #define WSTOPSIG(s) WEXITSTATUS(s) argument 44 #define WIFEXITED(s) (WTERMSIG(s) == 0) argument 45 #define WIFSTOPPED(s) (WTERMSIG(s) == 0x7f) argument 46 #define WIFSIGNALED(s) (WTERMSIG((s)+1) >= 2) argument
|
/development/ndk/platforms/android-3/include/sys/ |
D | wait.h | 41 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) argument 42 #define WCOREDUMP(s) ((s) & 0x80) argument 43 #define WTERMSIG(s) ((s) & 0x7f) argument 44 #define WSTOPSIG(s) WEXITSTATUS(s) argument 46 #define WIFEXITED(s) (WTERMSIG(s) == 0) argument 47 #define WIFSTOPPED(s) (WTERMSIG(s) == 0x7f) argument 48 #define WIFSIGNALED(s) (WTERMSIG((s)+1) >= 2) argument
|
/development/ndk/platforms/android-9/include/sys/ |
D | wait.h | 42 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) argument 43 #define WCOREDUMP(s) ((s) & 0x80) argument 44 #define WTERMSIG(s) ((s) & 0x7f) argument 45 #define WSTOPSIG(s) WEXITSTATUS(s) argument 47 #define WIFEXITED(s) (WTERMSIG(s) == 0) argument 48 #define WIFSTOPPED(s) (WTERMSIG(s) == 0x7f) argument 49 #define WIFSIGNALED(s) (WTERMSIG((s)+1) >= 2) argument
|
/development/ndk/platforms/android-3/include/ |
D | termios.h | 49 static __inline__ int tcgetattr(int fd, struct termios *s) in tcgetattr() argument 51 return ioctl(fd, TCGETS, s); in tcgetattr() 54 static __inline__ int tcsetattr(int fd, int __opt, const struct termios *s) in tcsetattr() argument 56 return ioctl(fd, __opt, (void *)s); in tcsetattr() 80 static __inline__ speed_t cfgetospeed(const struct termios *s) in cfgetospeed() argument 82 return (speed_t)(s->c_cflag & CBAUD); in cfgetospeed() 85 static __inline__ int cfsetospeed(struct termios *s, speed_t speed) in cfsetospeed() argument 87 s->c_cflag = (s->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed() 91 static __inline__ speed_t cfgetispeed(const struct termios *s) in cfgetispeed() argument 93 return (speed_t)(s->c_cflag & CBAUD); in cfgetispeed() [all …]
|
/development/ndk/sources/android/libportable/arch-x86_64/ |
D | stat.c | 22 int WRAP(fstat)(int fd, struct stat_portable *s) { in WRAP() 25 stat_ntop(&x86_64_stat, s); in WRAP() 28 static inline int WRAP(fstat64)(int fd, struct stat64_portable *s) { in WRAP() 29 return WRAP(fstat)(fd, (struct stat_portable*)s); in WRAP() 33 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) { in WRAP() 36 stat_ntop(&x86_64_stat, s); in WRAP() 40 struct stat64_portable *s, int flags) { in WRAP() 41 return WRAP(fstatat)(dirfd, path, (struct stat_portable*)s, flags); in WRAP() 45 int WRAP(lstat)(const char *path, struct stat_portable *s) { in WRAP() 48 stat_ntop(&x86_64_stat, s); in WRAP() [all …]
|
D | va_funcs.c | 39 int WRAP(vsnprintf)(char *s, size_t n, const char *format, va_list_portable *arg) { in WRAP() 40 return REAL(vsnprintf)(s, n, format, arg); in WRAP() 43 int WRAP(vsprintf)(char *s, const char *format, va_list_portable *arg) { in WRAP() 44 return REAL(vsprintf)(s, format, arg); in WRAP() 47 int WRAP(vsscanf)(const char *s, const char *format, va_list_portable *arg) { in WRAP() 48 return REAL(vsscanf)(s, format, arg); in WRAP()
|
/development/ndk/sources/android/libportable/arch-mips64/ |
D | stat.c | 22 int WRAP(fstat)(int fd, struct stat_portable *s) { in WRAP() 25 stat_ntop(&mips64_stat, s); in WRAP() 28 static inline int WRAP(fstat64)(int fd, struct stat64_portable *s) { in WRAP() 29 return WRAP(fstat)(fd, (struct stat_portable*)s); in WRAP() 33 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) { in WRAP() 36 stat_ntop(&mips64_stat, s); in WRAP() 40 struct stat64_portable *s, int flags) { in WRAP() 41 return WRAP(fstatat)(dirfd, path, (struct stat_portable*)s, flags); in WRAP() 45 int WRAP(lstat)(const char *path, struct stat_portable *s) { in WRAP() 48 stat_ntop(&mips64_stat, s); in WRAP() [all …]
|
D | va_funcs.c | 39 int WRAP(vsnprintf)(char *s, size_t n, const char *format, va_list_portable *arg) { in WRAP() 40 return REAL(vsnprintf)(s, n, format, arg); in WRAP() 43 int WRAP(vsprintf)(char *s, const char *format, va_list_portable *arg) { in WRAP() 44 return REAL(vsprintf)(s, format, arg); in WRAP() 47 int WRAP(vsscanf)(const char *s, const char *format, va_list_portable *arg) { in WRAP() 48 return REAL(vsscanf)(s, format, arg); in WRAP()
|
/development/tools/yuv420sp2rgb/ |
D | debug.c | 7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) { in dump_hex_buffer() argument 11 fputc('\n', s); in dump_hex_buffer() 12 fprintf(s, "%p: ", b); in dump_hex_buffer() 15 if (i && !(i % 4)) fprintf(s, " "); in dump_hex_buffer() 16 if (i && !(i % 8)) fprintf(s, " "); in dump_hex_buffer() 18 if (i && !(i % elsize)) fprintf(s, " "); in dump_hex_buffer() 24 fputc(pchr[last], s); in dump_hex_buffer() 26 fputc('.', s); in dump_hex_buffer() 31 fprintf(s, " (%d)\n%p: ", i, b); in dump_hex_buffer() 33 fprintf(s, "%02x", (unsigned char)pchr[i]); in dump_hex_buffer() [all …]
|
/development/ndk/sources/android/libportable/arch-mips/ |
D | stat.c | 23 int WRAP(stat)(const char *path, struct stat_portable *s) in WRAP() 28 if (invalid_pointer(s)) { in WRAP() 33 stat_ntop(&mips_stat, s); in WRAP() 37 int WRAP(fstat)(int fd, struct stat_portable *s) in WRAP() 42 if (invalid_pointer(s)) { in WRAP() 47 stat_ntop(&mips_stat, s); in WRAP() 51 int WRAP(lstat)(const char *path, struct stat_portable *s) in WRAP() 56 if (invalid_pointer(s)) { in WRAP() 61 stat_ntop(&mips_stat, s); in WRAP() 65 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) in WRAP() [all …]
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | byteorder.h | 40 struct { __u32 a,b; } s; in ___arch__swab64() member 45 v.s.a = ___arch__swab32(v.s.a); in ___arch__swab64() 46 v.s.b = ___arch__swab32(v.s.b); in ___arch__swab64() 47 __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); in ___arch__swab64()
|
D | dma-mapping_32.h | 27 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) argument 29 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) argument
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | Main.java | 187 private void addString(Params p, String s) throws IOException { in addString() argument 188 if (s == null) { in addString() 192 s = s.trim(); in addString() 194 if (s.length() < 2) { in addString() 198 char mode = s.charAt(0); in addString() 199 s = s.substring(1).trim(); in addString() 202 addStringsFromFile(p, s); in addString() 205 s = s.replace('.', '/'); // transform FQCN into ASM internal name in addString() 206 if (s.endsWith("*")) { in addString() 207 p.getFilter().getExcludePrefix().add(s.substring(0, s.length() - 1)); in addString() [all …]
|
/development/ndk/sources/android/libportable/arch-x86/ |
D | stat.c | 21 int WRAP(stat)(const char *path, struct stat_portable *s) in WRAP() 25 stat_ntop(&x86_stat, s); in WRAP() 29 int WRAP(fstat)(int fd, struct stat_portable *s) in WRAP() 33 stat_ntop(&x86_stat, s); in WRAP() 37 int WRAP(lstat)(const char *path, struct stat_portable *s) in WRAP() 41 stat_ntop(&x86_stat, s); in WRAP() 45 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) in WRAP() 49 stat_ntop(&x86_stat, s); in WRAP()
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
D | plasma.c | 288 stats_init( Stats* s ) in stats_init() argument 290 s->lastTime = now_ms(); in stats_init() 291 s->firstTime = 0.; in stats_init() 292 s->firstFrame = 0; in stats_init() 293 s->numFrames = 0; in stats_init() 297 stats_startFrame( Stats* s ) in stats_startFrame() argument 299 s->frameTime = now_ms(); in stats_startFrame() 303 stats_endFrame( Stats* s ) in stats_endFrame() argument 306 double renderTime = now - s->frameTime; in stats_endFrame() 307 double frameTime = now - s->lastTime; in stats_endFrame() [all …]
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
D | plasma.c | 297 stats_init( Stats* s ) in stats_init() argument 299 s->lastTime = now_ms(); in stats_init() 300 s->firstTime = 0.; in stats_init() 301 s->firstFrame = 0; in stats_init() 302 s->numFrames = 0; in stats_init() 306 stats_startFrame( Stats* s ) in stats_startFrame() argument 308 s->frameTime = now_ms(); in stats_startFrame() 312 stats_endFrame( Stats* s ) in stats_endFrame() argument 315 double renderTime = now - s->frameTime; in stats_endFrame() 316 double frameTime = now - s->lastTime; in stats_endFrame() [all …]
|
/development/ndk/platforms/android-3/include/linux/ |
D | lockdep.h | 20 #define lock_acquire(l, s, t, r, c, i) do { } while (0) argument 38 #define spin_acquire(l, s, t, i) do { } while (0) argument 41 #define rwlock_acquire(l, s, t, i) do { } while (0) argument 42 #define rwlock_acquire_read(l, s, t, i) do { } while (0) argument 45 #define mutex_acquire(l, s, t, i) do { } while (0) argument 48 #define rwsem_acquire(l, s, t, i) do { } while (0) argument 49 #define rwsem_acquire_read(l, s, t, i) do { } while (0) argument
|
D | ext2_fs.h | 47 #define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) argument 48 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32)) argument 49 #define EXT2_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10) argument 50 #define EXT2_INODE_SIZE(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? EXT2_GOOD_OLD_INODE_SIZE : … argument 51 #define EXT2_FIRST_INO(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? EXT2_GOOD_OLD_FIRST_INO : … argument 56 #define EXT2_FRAG_SIZE(s) (EXT2_MIN_FRAG_SIZE << (s)->s_log_frag_size) argument 57 #define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s)) argument 71 #define EXT2_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) argument 72 #define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc)) argument 73 #define EXT2_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) argument
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ShapeHolder.java | 85 Shape s = shape.getShape(); in setWidth() local 86 s.resize(width, s.getHeight()); in setWidth() 93 Shape s = shape.getShape(); in setHeight() local 94 s.resize(s.getWidth(), height); in setHeight() 97 public ShapeHolder(ShapeDrawable s) { in ShapeHolder() argument 98 shape = s; in ShapeHolder()
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
D | vga.h | 22 #define VGA_MAP_MEM(x, s) (0xb0000000L + (unsigned long)(x)) argument 30 #define scr_memcpyw(d, s, c) memcpy(d, s, c) argument 31 #define scr_memmovew(d, s, c) memmove(d, s, c) argument
|
/development/ndk/platforms/android-L/include/ |
D | string.h | 99 const char *s = (const char *) src; in memcpy() local 100 size_t s_len = __bos0(s); in memcpy() 194 void* memset(void *s, int c, size_t n) { in memset() argument 195 return __builtin___memset_chk(s, c, n, __bos0(s)); in memset() 262 size_t strlen(const char *s) { in strlen() argument 263 size_t bos = __bos(s); in strlen() 268 return __builtin_strlen(s); in strlen() 271 size_t slen = __builtin_strlen(s); in strlen() 277 return __strlen_chk(s, bos); in strlen() 281 char* strchr(const char *s, int c) { in strchr() argument [all …]
|