Home
last modified time | relevance | path

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

1234567891011

/development/ndk/platforms/android-21/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-19/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-9/include/sys/
Dwait.h42 #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-9/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/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/cmds/monkey/src/com/android/commands/monkey/
DLogger.java25 public void println(String s) {
27 System.out.println(s);
30 Log.i(TAG, s);
35 public void println(String s) {
37 System.err.println(s);
40 Log.w(TAG, s);
48 public abstract void println(String s); in println() argument
/development/tools/mkstubs/src/com/android/mkstubs/
DMain.java188 private void addString(Params p, String s) throws IOException { in addString() argument
189 if (s == null) { in addString()
193 s = s.trim(); in addString()
195 if (s.length() < 2) { in addString()
199 char mode = s.charAt(0); in addString()
200 s = s.substring(1).trim(); in addString()
203 addStringsFromFile(p, s); in addString()
206 s = s.replace('.', '/'); // transform FQCN into ASM internal name in addString()
207 if (s.endsWith("*")) { in addString()
208 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
/development/ndk/platforms/android-9/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/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/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DTextWatcherWrapper.java37 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
42 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() argument
47 public void afterTextChanged(Editable s) { in afterTextChanged() argument
48 mListener.onTextChanged(mId, s.toString()); in afterTextChanged()
52 public void onTextChanged(int id, String s); in onTextChanged() argument
/development/ndk/platforms/android-21/include/
Dstring.h100 const char *s = (const char *) src; in memcpy() local
101 size_t s_len = __bos0(s); in memcpy()
179 void* memset(void *s, int c, size_t n) { in memset() argument
180 return __builtin___memset_chk(s, c, n, __bos0(s)); in memset()
233 size_t strlen(const char *s) { in strlen() argument
234 size_t bos = __bos(s); in strlen()
239 return __builtin_strlen(s); in strlen()
242 size_t slen = __builtin_strlen(s); in strlen()
248 return __strlen_chk(s, bos); in strlen()
252 char* strchr(const char *s, int c) { in strchr() argument
[all …]
/development/ndk/tools/
Dheaders-diff-bionic-vs-ndk.py35 self.platforms.sort(key = lambda s: int(s.split('-')[1]))
109 layers = filter(lambda s: int(s.split('-')[1]) <= version, self.platforms)
148 arch_root = (lambda s: s if s != 'common' else '')(arch)
175 entry = (lambda s: s.split('-')[1] if s in history else '-')(platform)
190 print ' {0}/'.format((lambda s: s if s != '' else '../include')(root))
242 app.archs = map((lambda s: 'arch-{0}'.format(s) if s != 'common' else s), args.archs)
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DAccountStorage.java39 public static void SetAccount(Context c, String s) { in SetAccount() argument
41 Log.i(TAG, "Setting account number: " + s); in SetAccount()
43 prefs.edit().putString(PREF_ACCOUNT_NUMBER, s).commit(); in SetAccount()
44 sAccount = s; in SetAccount()
DCardEmulationFragment.java55 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
60 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() argument
65 public void afterTextChanged(Editable s) { in afterTextChanged() argument
66 String account = s.toString(); in afterTextChanged()
/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/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/
DSlidingFragments.java154 AnimatorSet s = new AnimatorSet(); in slideBack() local
155 s.playTogether(movingFragmentAnimator, darkHoverViewAnimator, movingFragmentRotator); in slideBack()
156 s.addListener(listener); in slideBack()
157 s.start(); in slideBack()
185 AnimatorSet s = new AnimatorSet(); in slideForward() local
186 s.playTogether(movingFragmentAnimator, movingFragmentRotator, darkHoverViewAnimator); in slideForward()
187 s.setStartDelay(getResources().getInteger(R.integer.slide_up_down_duration)); in slideForward()
188 s.addListener(new AnimatorListenerAdapter() { in slideForward()
194 s.start(); in slideForward()
/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()

1234567891011