Lines Matching refs:code
3 Using `#ifdef` or equivalents is common when writing portable code. Which to use
9 If your code is specific to Android's C library, bionic, use `__BIONIC__`. This
17 If your code is specific to Android devices, use `__ANDROID__`. This isn't
19 more appropriate. This is typically a good choice if you have code that's part
26 If your code can be built targeting a variety of different OS versions, use
31 One thing to note (if your code may also be built as part of the OS itself) is
38 If your code requires a Linux kernel, use `__linux__`. This is typically a good
46 If your code can be built either as part of an app _or_ as part of the OS
48 This is typically a good choice when your code uses non-NDK API if it's built as
53 If your code can be built with a variety of different NDK versions, and needs to
59 If your code is specific to a particular processor architecture, use these
65 If your code depends on "bitness" -- whether `long` and pointers are 32- or