Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 65) sorted by relevance

123

/bionic/libc/kernel/uapi/linux/
Dbpf_common.h21 #define BPF_CLASS(code) ((code) & 0x07) argument
30 #define BPF_SIZE(code) ((code) & 0x18) argument
34 #define BPF_MODE(code) ((code) & 0xe0) argument
41 #define BPF_OP(code) ((code) & 0xf0) argument
58 #define BPF_SRC(code) ((code) & 0x08) argument
Dfilter.h27 __u16 code; member
36 #define BPF_RVAL(code) ((code) & 0x18) argument
38 #define BPF_MISCOP(code) ((code) & 0xf8) argument
42 #define BPF_STMT(code,k) { (unsigned short) (code), 0, 0, k } argument
45 #define BPF_JUMP(code,k,jt,jf) { (unsigned short) (code), jt, jf, k } argument
Dv4l2-subdev.h49 __u32 code; member
57 __u32 code; member
73 __u32 code; member
Dfsmap.h48 #define FMR_OWNER(type,code) (((__u64) type << 32) | ((__u64) code & 0xFFFFFFFFULL)) argument
Digmp.h25 __u8 code; member
52 __u8 code; member
Dvirtio_input.h58 __le16 code; member
Diommu.h86 __u32 code; member
Duinput.h46 __u16 code; member
Dicmp.h78 __u8 code; member
Dif_pppox.h107 __u8 code; member
/bionic/libc/kernel/uapi/linux/surface_aggregator/
Ddtx.h29 #define SDTX_STATUS(code) ((code) | SDTX_CATEGORY_STATUS) argument
30 #define SDTX_ERR_RT(code) ((code) | SDTX_CATEGORY_RUNTIME_ERROR) argument
31 #define SDTX_ERR_HW(code) ((code) | SDTX_CATEGORY_HARDWARE_ERROR) argument
32 #define SDTX_UNKNOWN(code) ((code) | SDTX_CATEGORY_UNKNOWN) argument
56 __u16 code; member
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregerror.c100 int code; member
147 for (r = rerrs; r->code != 0; r++) in regerror()
148 if (r->code == target) in regerror()
152 if (r->code != 0) in regerror()
177 for (r = rerrs; r->code != 0; r++) in regatoi()
180 if (r->code == 0) in regatoi()
183 snprintf(localbuf, buflen, "%d", r->code); in regatoi()
Dcname.h44 char code; member
/bionic/docs/
Ddefines.md3 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
[all …]
DEINTR.md5 If your code is blocked in a system call when a signal needs to be delivered,
24 signal, so your code can just stay blocked in the system call it was already
28 guarantee. If any code has installed a signal handler, you need to cope with
30 host of signal handlers before your code even starts to run. (And, no, you
33 signals so that the code generated by the JIT doesn't have to insert explicit
36 ### Why don't I see this in Java code?
76 Given that most Android code (and especially "all apps") are multithreaded,
D32-bit-abi.md27 r15. Before NDK r15, `_FILE_OFFSET_BITS=64` silently did nothing: all code
38 that's often needed. This means that code using `_FILE_OFFSET_BITS=64`
42 If your code stops compiling when you move to NDK r15 or later, removing every
48 flag that should never be set by user code but sometimes is (by zlib,
49 for example). If you think you have removed these but your code still
69 there is no support for real-time signals in 32-bit code. Android P (API
110 a hang in `pthread_mutex_lock` if the libc startup code doesn't detect
Dfdsan.md14 For example, given two threads running the following code:
49 …all file descriptors in the module can be useful, since it'll catch other code that closes your fi…
166 signal 35 (<debuggerd signal>), code -1 (SI_QUEUE), fault addr --------
207 signal 35 (<debuggerd signal>), code -1 (SI_QUEUE), fault addr --------
231 …_fd` and `ParcelFileDescriptor`, to improve the odds that double closes in other code get detected.
245 * * Redistributions of source code must retain the above copyright
368 …* Receiving a `ParcelFileDescriptor` via Intent, and then passing it into JNI code that ends up ca…
375 …le descriptor double close leading to SQLite database corruption](https://code.fb.com/ios/debuggin…
/bionic/
Dandroid-changes-for-ndk-developers.md3 This document details important changes related to native code
49 dynamic linker's caching code cached failures too, so it was necessary
58 simply link all of your code into one big library and sidestep the details of
103 above. (Use --hash-style=both if you want to build code that uses this
111 https://code.google.com/p/android/issues/detail?id=6670). API level 23
132 library so that old code gets the old version and new code gets the new
161 are not accessible regardless of the way code tries to load them:
181 your code will not work in a future release -- please fix it now!
204 *Resolution*: rewrite your native code to rely only on public API. As a
207 the relevant code must be copied to the project tree. SSL/Media/JNI
[all …]
/bionic/linker/
DNOTICE7 * Redistributions of source code must retain the above copyright
35 * Redistributions of source code must retain the above copyright
63 * Redistributions of source code must retain the above copyright
91 * Redistributions of source code must retain the above copyright
119 * Redistributions of source code must retain the above copyright
147 * Redistributions of source code must retain the above copyright
175 * Redistributions of source code must retain the above copyright
203 * Redistributions of source code must retain the above copyright
231 * Redistributions of source code must retain the above copyright
259 * Redistributions of source code must retain the above copyright
[all …]
/bionic/tests/
Dnetinet_ip_icmp_test.cpp24 ASSERT_EQ(0, hdr.code); in TEST()
/bionic/libc/kernel/
DREADME.md15 They can be included from C++, or when compiling code in strict ANSI mode.
27 made into uapi files, but some user space code expects that these
32 that removes the kernel specific code from these files so they can
68 Download the Android mainline kernel source code:
/bionic/libc/
DNOTICE7 1. Redistributions of source code must retain the above copyright
33 * Redistributions of source code must retain the above copyright
75 1. Redistributions of source code must retain the above copyright
104 1. Redistributions of source code must retain the above copyright
183 * Redistributions of source code must retain the above copyright
227 * Redistributions of source code must retain the above copyright
256 * Redistributions of source code must retain the above copyright
284 * Redistributions of source code must retain the above copyright
328 * Redistributions of source code must retain the above copyright
357 1. Redistributions of source code must retain the above copyright
[all …]
/bionic/libm/
DNOTICE192 1. Redistributions of source code must retain the above copyright
234 * Redistributions of source code must retain the above copyright
262 * Redistributions of source code must retain the above copyright
290 * Redistributions of source code must retain the above copyright
318 1. Redistributions of source code must retain the above copyright
347 1. Redistributions of source code must retain the above copyright
380 1. Redistributions of source code must retain the above copyright
409 1. Redistributions of source code must retain the above copyright
438 1. Redistributions of source code must retain the above copyright
464 1. Redistributions of source code must retain the above copyright
[all …]
/bionic/tools/
Dupdate_notice.sh14 git diff --exit-code HEAD libc/NOTICE
/bionic/libfdtrack/
DNOTICE7 * Redistributions of source code must retain the above copyright
35 * Redistributions of source code must retain the above copyright

123