Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 30) sorted by relevance

12

/bionic/libc/kernel/uapi/linux/
Dnilfs2_api.h39 #define NILFS_CPINFO_FNS(flag,name) static inline int nilfs_cpinfo_ ##name(const struct nilfs_cpinf… argument
40 { return ! ! (cpinfo->ci_flags & (1UL << NILFS_CPINFO_ ##flag)); \
52 #define NILFS_SUINFO_FNS(flag,name) static inline int nilfs_suinfo_ ##name(const struct nilfs_suinf… argument
53 { return si->sui_flags & (1UL << NILFS_SUINFO_ ##flag); \
67 #define NILFS_SUINFO_UPDATE_FNS(flag,name) static inline void nilfs_suinfo_update_set_ ##name(struc… argument
68 { sup->sup_flags |= 1UL << NILFS_SUINFO_UPDATE_ ##flag; \
70 { sup->sup_flags &= ~(1UL << NILFS_SUINFO_UPDATE_ ##flag); \
72 { return ! ! (sup->sup_flags & (1UL << NILFS_SUINFO_UPDATE_ ##flag)); \
Dnilfs2_ondisk.h251 #define NILFS_CHECKPOINT_FNS(flag,name) static inline void nilfs_checkpoint_set_ ##name(struct nilf… argument
252 { cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) | (1UL << NILFS_CHECKPOINT_ ##flag)); \
254 { cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) & ~(1UL << NILFS_CHECKPOINT_ ##flag)); \
256 { return ! ! (__le32_to_cpu(cp->cp_flags) & (1UL << NILFS_CHECKPOINT_ ##flag)); \
275 #define NILFS_SEGMENT_USAGE_FNS(flag,name) static inline void nilfs_segment_usage_set_ ##name(struc… argument
276 { su->su_flags = __cpu_to_le32(__le32_to_cpu(su->su_flags) | (1UL << NILFS_SEGMENT_USAGE_ ##flag));…
278 { su->su_flags = __cpu_to_le32(__le32_to_cpu(su->su_flags) & ~(1UL << NILFS_SEGMENT_USAGE_ ##flag))…
280 { return ! ! (__le32_to_cpu(su->su_flags) & (1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
Dkernelcapi.h26 int flag; member
Dif_vlan.h56 unsigned int flag; member
Datmlec.h68 unsigned int flag; member
Dvirtio_crypto.h41 __le32 flag; member
197 __le32 flag; member
Domap3isp.h224 __u16 flag; member
323 __u32 flag; member
/bionic/tests/libs/
Dthread_local_dtor.cpp33 explicit TestClass(bool* flag) : flag_(flag) {} in TestClass() argument
43 extern "C" void init_thread_local_variable(bool* flag) { in init_thread_local_variable() argument
44 thread_local TestClass test(flag); in init_thread_local_variable()
Dthread_local_dtor2.cpp33 explicit TestClass(bool* flag) : flag_(flag) {} in TestClass() argument
43 extern "C" void init_thread_local_variable2(bool* flag) { in init_thread_local_variable2() argument
44 thread_local TestClass test(flag); in init_thread_local_variable2()
/bionic/libc/bionic/
Dpthread_attr.cpp61 int pthread_attr_setinheritsched(pthread_attr_t* attr, int flag) { in pthread_attr_setinheritsched() argument
62 if (flag == PTHREAD_EXPLICIT_SCHED) { in pthread_attr_setinheritsched()
65 } else if (flag == PTHREAD_INHERIT_SCHED) { in pthread_attr_setinheritsched()
75 int pthread_attr_getinheritsched(const pthread_attr_t* attr, int* flag) { in pthread_attr_getinheritsched() argument
77 *flag = PTHREAD_INHERIT_SCHED; in pthread_attr_getinheritsched()
79 *flag = PTHREAD_EXPLICIT_SCHED; in pthread_attr_getinheritsched()
82 *flag = (attr->sched_policy != SCHED_NORMAL) ? PTHREAD_EXPLICIT_SCHED : PTHREAD_INHERIT_SCHED; in pthread_attr_getinheritsched()
Dsignal.cpp155 int siginterrupt(int sig, int flag) { in siginterrupt() argument
158 if (flag) { in siginterrupt()
/bionic/libdl/
Dlibdl.cpp68 int flag,
82 void* dlopen(const char* filename, int flag) { in dlopen() argument
84 return __loader_dlopen(filename, flag, caller_addr); in dlopen()
131 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo) { in android_dlopen_ext() argument
133 return __loader_android_dlopen_ext(filename, flag, extinfo, caller_addr); in android_dlopen_ext()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dgetopt_long.c256 long_options[i].flag != long_options[match].flag || in parse_long_options()
285 if (long_options[match].flag == NULL) in parse_long_options()
322 if (long_options[match].flag == NULL) in parse_long_options()
345 if (long_options[match].flag) { in parse_long_options()
346 *long_options[match].flag = long_options[match].val; in parse_long_options()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_HMARK.h40 #define XT_HMARK_FLAG(flag) (1 << flag) argument
Dxt_sctp.h28 __u8 flag; member
/bionic/libm/i387/
Dfenv.c118 int flag, nflag; in __test_sse() local
122 getfl(&flag); in __test_sse()
123 nflag = flag ^ 0x200000; in __test_sse()
126 if (flag != nflag) { in __test_sse()
/bionic/tests/
Dftw_test.cpp128 static int bug_28197840_ftw(const char* path, const StatT*, int flag) { in bug_28197840_ftw() argument
129 EXPECT_EQ(strstr(path, "unreadable") != nullptr ? FTW_DNR : FTW_D, flag) << path; in bug_28197840_ftw()
134 static int bug_28197840_nftw(const char* path, const StatT* sb, int flag, FTW*) { in bug_28197840_nftw() argument
135 return bug_28197840_ftw(path, sb, flag); in bug_28197840_nftw()
Dthreads_test.cpp70 once_flag flag = ONCE_FLAG_INIT; in TEST()
71 call_once(&flag, increment_call_count); in TEST()
72 call_once(&flag, increment_call_count); in TEST()
73 std::thread([&flag] { in TEST()
74 call_once(&flag, increment_call_count); in TEST()
Dsystem_properties_test.cpp364 int flag = 0; in TEST() local
365 std::thread thread([&system_properties, &flag]() { in TEST()
369 flag = 1; in TEST()
372 ASSERT_EQ(flag, 0); in TEST()
374 ASSERT_EQ(flag, 1); in TEST()
/bionic/tools/versioner/src/
DDriver.cpp193 for (const std::string& flag : target_flag_it->second) { in getCC1Command() local
194 if (flag == "-disable-free") { in getCC1Command()
196 } else if (flag == filename_placeholder) { in getCC1Command()
199 result.push_back(flag.c_str()); in getCC1Command()
/bionic/libc/dns/nameser/
Dns_parse.c77 int ns_msg_getflag(ns_msg handle, int flag) { in ns_msg_getflag() argument
78 return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); in ns_msg_getflag()
/bionic/libc/include/
Dgetopt.h61 int* flag; member
/bionic/benchmarks/
DREADME.md29 Suites are stored in the `suites/` directory and can be chosen with the command line flag
58 space-separated list of arguments via the `--bionic_extra` command line flag, e.g.
/bionic/linker/
Dld.config.format.md35 # When this flag is set to true linker will set target_sdk_version for this binary to
/bionic/
DREADME.md280 * Note that the build system is ignorant to this flag being toggled, i.e. if
281 you change this flag, you will have to manually rebuild bionic.
315 each test from being forked, run the tests with the flag `--no-isolate`.

12