Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 112) sorted by relevance

12345

/development/ndk/platforms/android-3/include/sys/
Dwait.h38 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) argument
39 #define WCOREDUMP(s) ((s) & 0x80) argument
40 #define WTERMSIG(s) ((s) & 0x7f) argument
41 #define WSTOPSIG(s) WEXITSTATUS(s) argument
43 #define WIFEXITED(s) (WTERMSIG(s) == 0) argument
44 #define WIFSTOPPED(s) (WTERMSIG(s) == 0x7f) argument
45 #define WIFSIGNALED(s) (WTERMSIG((s)+1) >= 2) argument
/development/ndk/platforms/android-9/include/sys/
Dwait.h39 #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/
Dtermios.h49 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/tools/yuv420sp2rgb/
Ddebug.c7 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/
Dstat.c23 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 …]
Dsockopt.c111 int WRAP(setsockopt)(int s, int level, int optname, const void *optval, socklen_t optlen) in WRAP()
113 …return REAL(setsockopt)(s, mips_change_level(level), mips_change_optname(optname), optval, optlen); in WRAP()
117 int WRAP(getsockopt)(int s, int level, int optname, void *optval, socklen_t *optlen) in WRAP()
119 …return REAL(getsockopt)(s, mips_change_level(level), mips_change_optname(optname), optval, optlen); in WRAP()
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dbyteorder.h40 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()
Ddma-mapping_32.h27 #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
Dapic_32.h34 #define apic_printk(v, s, a...) do { if ((v) <= apic_verbosity) printk(s, ##a); } while (0) argument
/development/ndk/sources/android/libportable/arch-x86/
Dstat.c21 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/tools/mkstubs/src/com/android/mkstubs/
DMain.java187 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 …]
DFilter.java76 public boolean accept(String s) { in accept() argument
79 boolean accept = mIncludeFull.contains(s); in accept()
83 if (s.startsWith(prefix)) { in accept()
92 accept = !mExcludeFull.contains(s); in accept()
97 if (s.startsWith(prefix)) { in accept()
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dvga.h22 #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
Dfloppy.h30 #define CROSS_64KB(a, s) ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64) argument
/development/ndk/platforms/android-3/include/linux/
Dlockdep.h20 #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
Dvt_buffer.h18 #define scr_memcpyw(d, s, c) memcpy(d, s, c) argument
19 #define scr_memmovew(d, s, c) memmove(d, s, c) argument
Dext2_fs.h47 #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
Dext3_fs.h48 #define EXT3_BLOCK_SIZE(s) (EXT3_MIN_BLOCK_SIZE << (s)->s_log_block_size) argument
49 #define EXT3_ADDR_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (__u32)) argument
50 #define EXT3_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10) argument
51 #define EXT3_INODE_SIZE(s) (((s)->s_rev_level == EXT3_GOOD_OLD_REV) ? EXT3_GOOD_OLD_INODE_SIZE : … argument
52 #define EXT3_FIRST_INO(s) (((s)->s_rev_level == EXT3_GOOD_OLD_REV) ? EXT3_GOOD_OLD_FIRST_INO : … argument
57 #define EXT3_FRAG_SIZE(s) (EXT3_MIN_FRAG_SIZE << (s)->s_log_frag_size) argument
58 #define EXT3_FRAGS_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / EXT3_FRAG_SIZE(s)) argument
72 #define EXT3_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) argument
73 #define EXT3_DESC_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (struct ext3_group_desc)) argument
74 #define EXT3_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) argument
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
Dplasma.c288 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/samples/ApiDemos/src/com/example/android/apis/animation/
DShapeHolder.java85 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/samples/native-plasma/jni/
Dplasma.c297 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/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DFieldSourcerTest.java56 String s = mWriter.toString(); in testStringField() local
57 Assert.assertEquals("public java.lang.String mArg;\n", s); in testStringField()
71 String s = mWriter.toString(); in testTemplateTypeField() local
72 Assert.assertEquals("private final java.util.ArrayList<java.lang.String> mList;\n", s); in testTemplateTypeField()
DAccessSourcerTest.java50 String s = mWriter.toString(); in testAbstractPublic() local
51 Assert.assertEquals("public abstract", s); in testAbstractPublic()
59 String s = mWriter.toString(); in testPrivateFinalStatic() local
60 Assert.assertEquals("private static final", s); in testPrivateFinalStatic()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSwitches.java37 Switch s = (Switch) findViewById(R.id.monitored_switch); in onCreate() local
38 if (s != null) { in onCreate()
39 s.setOnCheckedChangeListener(this); in onCreate()
/development/tools/elftree/
Delftree.c63 struct seen *s; in seen() local
65 for (s = t->seen; s; s = s->next) { in seen()
66 if (!strcmp(s->name, name)) in seen()
75 struct seen *s = malloc(sizeof(*s)); in see() local
76 s->name = malloc(strlen(name) + 1); in see()
77 strcpy(s->name, name); in see()
78 s->next = t->seen; in see()
79 t->seen = s; in see()

12345