Searched refs:flag (Results 1 - 25 of 41) sorted by relevance

12

/bionic/libc/bionic/
H A Dsiginterrupt.c32 int siginterrupt(int sig, int flag) argument
38 if (flag)
/bionic/libc/include/
H A Dgetopt.h55 /* if not NULL, set *flag to val when option found */
56 int *flag; member in struct:option
57 /* if flag not NULL, value to set *flag to; else return value */
H A Ddlfcn.h53 void* dlopen(const char* filename, int flag);
/bionic/libc/kernel/uapi/linux/
H A Dkernelcapi.h27 int flag; member in struct:kcapi_flagdef
H A Dnilfs2_api.h44 #define NILFS_CPINFO_FNS(flag,name) static inline int nilfs_cpinfo_ ##name(const struct nilfs_cpinfo * cpinfo) \
45 { return ! ! (cpinfo->ci_flags & (1UL << NILFS_CPINFO_ ##flag)); \
47 #define NILFS_SUINFO_FNS(flag,name) static inline int nilfs_suinfo_ ##name(const struct nilfs_suinfo * si) \
48 { return si->sui_flags & (1UL << NILFS_SUINFO_ ##flag); \
65 #define NILFS_SUINFO_UPDATE_FNS(flag,name) static inline void nilfs_suinfo_update_set_ ##name(struct nilfs_suinfo_update * sup) \
66 { sup->sup_flags |= 1UL << NILFS_SUINFO_UPDATE_ ##flag; \
68 { sup->sup_flags &= ~(1UL << NILFS_SUINFO_UPDATE_ ##flag); \
70 { return ! ! (sup->sup_flags & (1UL << NILFS_SUINFO_UPDATE_ ##flag)); \
H A Dif_vlan.h64 unsigned int flag; member in union:vlan_ioctl_args::__anon504
H A Dnilfs2_ondisk.h307 #define NILFS_CHECKPOINT_FNS(flag,name) static inline void nilfs_checkpoint_set_ ##name(struct nilfs_checkpoint * cp) \
308 { cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | (1UL << NILFS_CHECKPOINT_ ##flag)); \
310 { cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) & ~(1UL << NILFS_CHECKPOINT_ ##flag)); \
312 { return ! ! (le32_to_cpu(cp->cp_flags) & (1UL << NILFS_CHECKPOINT_ ##flag)); \
330 #define NILFS_SEGMENT_USAGE_FNS(flag,name) static inline void nilfs_segment_usage_set_ ##name(struct nilfs_segment_usage * su) \
331 { su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) | (1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
333 { su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) & ~(1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
335 { return ! ! (le32_to_cpu(su->su_flags) & (1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
H A Datmlec.h80 unsigned int flag; member in struct:atmlec_msg::__anon229::__anon230
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dkernelcapi.h27 int flag; member in struct:kcapi_flagdef
H A Dnilfs2_api.h44 #define NILFS_CPINFO_FNS(flag,name) static inline int nilfs_cpinfo_ ##name(const struct nilfs_cpinfo * cpinfo) \
45 { return ! ! (cpinfo->ci_flags & (1UL << NILFS_CPINFO_ ##flag)); \
47 #define NILFS_SUINFO_FNS(flag,name) static inline int nilfs_suinfo_ ##name(const struct nilfs_suinfo * si) \
48 { return si->sui_flags & (1UL << NILFS_SUINFO_ ##flag); \
65 #define NILFS_SUINFO_UPDATE_FNS(flag,name) static inline void nilfs_suinfo_update_set_ ##name(struct nilfs_suinfo_update * sup) \
66 { sup->sup_flags |= 1UL << NILFS_SUINFO_UPDATE_ ##flag; \
68 { sup->sup_flags &= ~(1UL << NILFS_SUINFO_UPDATE_ ##flag); \
70 { return ! ! (sup->sup_flags & (1UL << NILFS_SUINFO_UPDATE_ ##flag)); \
H A Dif_vlan.h64 unsigned int flag; member in union:vlan_ioctl_args::__anon1577
H A Dnilfs2_ondisk.h307 #define NILFS_CHECKPOINT_FNS(flag,name) static inline void nilfs_checkpoint_set_ ##name(struct nilfs_checkpoint * cp) \
308 { cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | (1UL << NILFS_CHECKPOINT_ ##flag)); \
310 { cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) & ~(1UL << NILFS_CHECKPOINT_ ##flag)); \
312 { return ! ! (le32_to_cpu(cp->cp_flags) & (1UL << NILFS_CHECKPOINT_ ##flag)); \
330 #define NILFS_SEGMENT_USAGE_FNS(flag,name) static inline void nilfs_segment_usage_set_ ##name(struct nilfs_segment_usage * su) \
331 { su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) | (1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
333 { su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) & ~(1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
335 { return ! ! (le32_to_cpu(su->su_flags) & (1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
H A Datmlec.h80 unsigned int flag; member in struct:atmlec_msg::__anon1302::__anon1303
/bionic/tools/versioner/current/
H A Dgetopt.h55 /* if not NULL, set *flag to val when option found */
56 int *flag; member in struct:option
57 /* if flag not NULL, value to set *flag to; else return value */
H A Ddlfcn.h53 void* dlopen(const char* filename, int flag);
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_HMARK.h45 #define XT_HMARK_FLAG(flag) (1 << flag)
H A Dxt_sctp.h30 __u8 flag; member in struct:xt_sctp_flag_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/
H A Dxt_HMARK.h45 #define XT_HMARK_FLAG(flag) (1 << flag)
H A Dxt_sctp.h30 __u8 flag; member in struct:xt_sctp_flag_info
/bionic/tools/relocation_packer/src/
H A Delf_file.h45 // |flag| is true to pad .rel.dyn or .rela.dyn, false to shrink it.
46 inline void SetPadding(bool flag) { is_padding_relocations_ = flag; } argument
/bionic/libdl/
H A Dlibdl.c64 int flag,
101 void* dlopen(const char* filename, int flag) { argument
103 return __loader_dlopen(filename, flag, caller_addr);
146 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo) { argument
148 return __loader_android_dlopen_ext(filename, flag, extinfo, caller_addr);
/bionic/libc/include/android/
H A Ddlext.h61 * This flag is only valid when ANDROID_DLEXT_USE_LIBRARY_FD is set.
67 * This flag allows forced loading of the library in the case when for some
80 * This flag is for ART internal use only.
90 * This flag can be used with ANDROID_DLEXT_FORCE_FIXED_VADDR; when ANDROID_DLEXT_FORCE_FIXED_VADDR
91 * is set and load_bias is not 0 (load_bias is min(p_vaddr) of PT_LOAD segments) this flag is ignored.
98 * This flag is for ART internal use only.
102 /* This flag used to load library in a different namespace. The namespace is
132 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo)
/bionic/tests/
H A Dftw_test.cpp64 // Otherwise check that the struct stat matches the type flag.
128 static int bug_28197840_ftw(const char* path, const StatT*, int flag) { argument
129 EXPECT_EQ(strstr(path, "unreadable") != nullptr ? FTW_DNR : FTW_D, flag) << path;
134 static int bug_28197840_nftw(const char* path, const StatT* sb, int flag, FTW*) { argument
135 return bug_28197840_ftw(path, sb, flag);
/bionic/tools/versioner/current/android/
H A Ddlext.h61 * This flag is only valid when ANDROID_DLEXT_USE_LIBRARY_FD is set.
67 * This flag allows forced loading of the library in the case when for some
80 * This flag is for ART internal use only.
90 * This flag can be used with ANDROID_DLEXT_FORCE_FIXED_VADDR; when ANDROID_DLEXT_FORCE_FIXED_VADDR
91 * is set and load_bias is not 0 (load_bias is min(p_vaddr) of PT_LOAD segments) this flag is ignored.
98 * This flag is for ART internal use only.
102 /* This flag used to load library in a different namespace. The namespace is
132 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo)
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
H A Dgetopt_long.c256 long_options[i].flag != long_options[match].flag ||
283 * XXX: GNU sets optopt to val regardless of flag
285 if (long_options[match].flag == NULL)
320 * XXX: GNU sets optopt to val regardless of flag
322 if (long_options[match].flag == NULL)
345 if (long_options[match].flag) {
346 *long_options[match].flag = long_options[match].val;

Completed in 1302 milliseconds

12