Home
last modified time | relevance | path

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

123

/bionic/libc/kernel/uapi/linux/
Dbpf_common.h9 #define BPF_CLASS(code) ((code) & 0x07) argument
18 #define BPF_SIZE(code) ((code) & 0x18) argument
22 #define BPF_MODE(code) ((code) & 0xe0) argument
29 #define BPF_OP(code) ((code) & 0xf0) argument
46 #define BPF_SRC(code) ((code) & 0x08) argument
Dfilter.h15 __u16 code; member
24 #define BPF_RVAL(code) ((code) & 0x18) argument
26 #define BPF_MISCOP(code) ((code) & 0xf8) argument
30 #define BPF_STMT(code,k) { (unsigned short) (code), 0, 0, k } argument
33 #define BPF_JUMP(code,k,jt,jf) { (unsigned short) (code), jt, jf, k } argument
Dfsmap.h36 #define FMR_OWNER(type,code) (((__u64) type << 32) | ((__u64) code & 0xFFFFFFFFULL)) argument
Digmp.h13 __u8 code; member
40 __u8 code; member
Dv4l2-subdev.h40 __u32 code; member
49 __u32 code; member
68 __u32 code; member
Dvirtio_input.h46 __le16 code; member
Diommu.h74 __u32 code; member
Duinput.h34 __u16 code; member
Dicmp.h66 __u8 code; member
Dif_pppox.h95 __u8 code; member
/bionic/libc/kernel/uapi/linux/surface_aggregator/
Ddtx.h17 #define SDTX_STATUS(code) ((code) | SDTX_CATEGORY_STATUS) argument
18 #define SDTX_ERR_RT(code) ((code) | SDTX_CATEGORY_RUNTIME_ERROR) argument
19 #define SDTX_ERR_HW(code) ((code) | SDTX_CATEGORY_HARDWARE_ERROR) argument
20 #define SDTX_UNKNOWN(code) ((code) | SDTX_CATEGORY_UNKNOWN) argument
44 __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
120 between -1 and -4096, set errno and return -1" code is inappropriate for
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
47 dynamic linker's caching code cached failures too, so it was necessary
56 simply link all of your code into one big library and sidestep the details of
102 above. Use `--hash-style=both` if you want to build code that uses this
112 https://code.google.com/p/android/issues/detail?id=6670). API level 23
133 library so that old code gets the old version and new code gets the new
166 are not accessible regardless of the way code tries to load them:
197 *Resolution*: rewrite your native code to rely only on public API. As a
200 the relevant code must be copied to the project tree. SSL/Media/JNI
201 internal/binder APIs should not be accessed from the native code. When
[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/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
319 1. Redistributions of source code must retain the above copyright
345 1. Redistributions of source code must retain the above copyright
371 1. Redistributions of source code must retain the above copyright
397 1. Redistributions of source code must retain the above copyright
432 1. Redistributions of source code must retain the above copyright
455 This code is derived from software written by Stephen L. Moshier.
[all …]
/bionic/libc/
DNOTICE7 1. Redistributions of source code must retain the above copyright
33 * Redistributions of source code must retain the above copyright
72 1. Redistributions of source code must retain the above copyright
151 * Redistributions of source code must retain the above copyright
195 * Redistributions of source code must retain the above copyright
224 * Redistributions of source code must retain the above copyright
252 * Redistributions of source code must retain the above copyright
296 * Redistributions of source code must retain the above copyright
325 1. Redistributions of source code must retain the above copyright
355 * Redistributions of source code must retain the above copyright
[all …]
/bionic/tools/
Dupdate_notice.sh14 git diff --exit-code HEAD */NOTICE
/bionic/libfdtrack/
DNOTICE7 * Redistributions of source code must retain the above copyright
35 * Redistributions of source code must retain the above copyright

123