Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 114) 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/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/platforms/android-3/include/net/
Dif_dl.h73 #define LLADDR(s) ((char *)((s)->sdl_data + (s)->sdl_nlen)) argument
74 #define CLLADDR(s) ((const char *)((s)->sdl_data + (s)->sdl_nlen)) argument
/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.c289 stats_init( Stats* s ) in stats_init() argument
291 s->lastTime = now_ms(); in stats_init()
292 s->firstTime = 0.; in stats_init()
293 s->firstFrame = 0; in stats_init()
294 s->numFrames = 0; in stats_init()
298 stats_startFrame( Stats* s ) in stats_startFrame() argument
300 s->frameTime = now_ms(); in stats_startFrame()
304 stats_endFrame( Stats* s ) in stats_endFrame() argument
307 double renderTime = now - s->frameTime; in stats_endFrame()
308 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.c298 stats_init( Stats* s ) in stats_init() argument
300 s->lastTime = now_ms(); in stats_init()
301 s->firstTime = 0.; in stats_init()
302 s->firstFrame = 0; in stats_init()
303 s->numFrames = 0; in stats_init()
307 stats_startFrame( Stats* s ) in stats_startFrame() argument
309 s->frameTime = now_ms(); in stats_startFrame()
313 stats_endFrame( Stats* s ) in stats_endFrame() argument
316 double renderTime = now - s->frameTime; in stats_endFrame()
317 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/tools/emulator/system/camera/
DEmulatedCamera2.cpp372 int EmulatedCamera2::reprocess_stream_dequeue_buffer(camera2_stream_ops *s, in reprocess_stream_dequeue_buffer() argument
374 EmulatedCamera2* ec = static_cast<StreamOps*>(s)->parent; in reprocess_stream_dequeue_buffer()
378 int EmulatedCamera2::reprocess_stream_enqueue_buffer(camera2_stream_ops *s, in reprocess_stream_enqueue_buffer() argument
380 EmulatedCamera2* ec = static_cast<StreamOps*>(s)->parent; in reprocess_stream_enqueue_buffer()
384 int EmulatedCamera2::reprocess_stream_cancel_buffer(camera2_stream_ops *s, in reprocess_stream_cancel_buffer() argument
386 EmulatedCamera2* ec = static_cast<StreamOps*>(s)->parent; in reprocess_stream_cancel_buffer()
390 int EmulatedCamera2::reprocess_stream_set_buffer_count(camera2_stream_ops *s, in reprocess_stream_set_buffer_count() argument
392 EmulatedCamera2* ec = static_cast<StreamOps*>(s)->parent; in reprocess_stream_set_buffer_count()
396 int EmulatedCamera2::reprocess_stream_set_crop(camera2_stream_ops *s, in reprocess_stream_set_crop() argument
398 EmulatedCamera2* ec = static_cast<StreamOps*>(s)->parent; in reprocess_stream_set_crop()
[all …]
/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()
/development/tools/emulator/system/gps/
Dgps_qemu.c582 gps_state_done( GpsState* s ) in gps_state_done() argument
587 write( s->control[0], &cmd, 1 ); in gps_state_done()
588 pthread_join(s->thread, &dummy); in gps_state_done()
591 close( s->control[0] ); s->control[0] = -1; in gps_state_done()
592 close( s->control[1] ); s->control[1] = -1; in gps_state_done()
595 close( s->fd ); s->fd = -1; in gps_state_done()
596 s->init = 0; in gps_state_done()
601 gps_state_start( GpsState* s ) in gps_state_start() argument
606 do { ret=write( s->control[0], &cmd, 1 ); } in gps_state_start()
616 gps_state_stop( GpsState* s ) in gps_state_stop() argument
[all …]

12345