Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 145) sorted by relevance

123456

/development/ndk/sources/android/libportable/arch-mips/
Dopen.c27 static inline int mips_change_flags(int flags) in mips_change_flags() argument
29 int mipsflags = flags & O_ACCMODE_PORTABLE; in mips_change_flags()
30 if (flags & O_CREAT_PORTABLE) in mips_change_flags()
32 if (flags & O_EXCL_PORTABLE) in mips_change_flags()
34 if (flags & O_NOCTTY_PORTABLE) in mips_change_flags()
36 if (flags & O_TRUNC_PORTABLE) in mips_change_flags()
38 if (flags & O_APPEND_PORTABLE) in mips_change_flags()
40 if (flags & O_NONBLOCK_PORTABLE) in mips_change_flags()
42 if (flags & O_SYNC_PORTABLE) in mips_change_flags()
44 if (flags & FASYNC_PORTABLE) in mips_change_flags()
[all …]
Dmmap.c37 static inline int mips_change_flags(int flags) in mips_change_flags() argument
40 if (flags & MAP_SHARED_PORTABLE) in mips_change_flags()
42 if (flags & MAP_PRIVATE_PORTABLE) in mips_change_flags()
44 if (flags & MAP_FIXED_PORTABLE) in mips_change_flags()
46 if (flags & MAP_ANONYMOUS_PORTABLE) in mips_change_flags()
48 if (flags & MAP_GROWSDOWN_PORTABLE) in mips_change_flags()
50 if (flags & MAP_DENYWRITE_PORTABLE) in mips_change_flags()
52 if (flags & MAP_EXECUTABLE_PORTABLE) in mips_change_flags()
54 if (flags & MAP_LOCKED_PORTABLE) in mips_change_flags()
56 if (flags & MAP_NORESERVE_PORTABLE) in mips_change_flags()
[all …]
Dstat.c44 int fstatat_portable(int dirfd, const char *path, struct stat_portable *s, int flags) in fstatat_portable() argument
47 int ret = fstatat(dirfd, path, &mips_stat, flags); in fstatat_portable()
/development/ndk/sources/android/libportable/arch-x86/
Dopen.c23 static inline int x86_change_flags(int flags) in x86_change_flags() argument
25 int x86flags = flags & O_ACCMODE_PORTABLE; in x86_change_flags()
26 if (flags & O_CREAT_PORTABLE) in x86_change_flags()
28 if (flags & O_EXCL_PORTABLE) in x86_change_flags()
30 if (flags & O_NOCTTY_PORTABLE) in x86_change_flags()
32 if (flags & O_TRUNC_PORTABLE) in x86_change_flags()
34 if (flags & O_APPEND_PORTABLE) in x86_change_flags()
36 if (flags & O_NONBLOCK_PORTABLE) in x86_change_flags()
38 if (flags & O_SYNC_PORTABLE) in x86_change_flags()
40 if (flags & FASYNC_PORTABLE) in x86_change_flags()
[all …]
Dstat.c44 int fstatat_portable(int dirfd, const char *path, struct stat_portable *s, int flags) in fstatat_portable() argument
47 int ret = fstatat(dirfd, path, &x86_stat, flags); in fstatat_portable()
/development/ndk/platforms/android-3/include/linux/
Dspinlock_api_up.h29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0) argument
37 #define __UNLOCK_IRQRESTORE(lock, flags) do { local_irq_restore(flags); __UNLOCK(lock); } while (… argument
49 #define _spin_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
50 #define _read_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
51 #define _write_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
65 #define _spin_unlock_irqrestore(lock, flags) __UNLOCK_IRQRESTORE(lock, flags) argument
66 #define _read_unlock_irqrestore(lock, flags) __UNLOCK_IRQRESTORE(lock, flags) argument
67 #define _write_unlock_irqrestore(lock, flags) __UNLOCK_IRQRESTORE(lock, flags) argument
Dseqlock.h34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } whi… argument
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(fla… argument
40 #define read_seqbegin_irqsave(lock, flags) ({ local_irq_save(flags); read_seqbegin(lock); }) argument
41 …ine read_seqretry_irqrestore(lock, iv, flags) ({ int ret = read_seqretry(lock, iv); local_ir… argument
Dspinlock.h47 #define _raw_spin_lock_flags(lock, flags) __raw_spin_lock_flags(&(lock)->raw_lock, *(flags)) argument
71 #define spin_lock_irqsave(lock, flags) _spin_lock_irqsave(lock, flags) argument
72 #define read_lock_irqsave(lock, flags) _read_lock_irqsave(lock, flags) argument
73 #define write_lock_irqsave(lock, flags) _write_lock_irqsave(lock, flags) argument
91 #define spin_unlock_irqrestore(lock, flags) _spin_unlock_irqrestore(lock, flags) argument
94 #define read_unlock_irqrestore(lock, flags) _read_unlock_irqrestore(lock, flags) argument
97 #define write_unlock_irqrestore(lock, flags) _write_unlock_irqrestore(lock, flags) argument
104 …ne spin_trylock_irqsave(lock, flags) ({ local_irq_save(flags); _spin_trylock(lock) ? 1 : ({… argument
Dirqflags.h31 #define raw_local_irq_save(flags) local_irq_save(flags) argument
32 #define raw_local_irq_restore(flags) local_irq_restore(flags) argument
Dbio.h165 #define bvec_kmap_irq(bvec, flags) (page_address((bvec)->bv_page) + (bvec)->bv_offset) argument
166 #define bvec_kunmap_irq(buf, flags) do { *(flags) = 0; } while (0) argument
168 #define __bio_kunmap_irq(buf, flags) bvec_kunmap_irq(buf, flags) argument
169 #define bio_kmap_irq(bio, flags) __bio_kmap_irq((bio), (bio)->bi_idx, (flags)) argument
170 #define bio_kunmap_irq(buf,flags) __bio_kunmap_irq(buf, flags) argument
Dblkdev.h123 unsigned long flags; member
406 #define blk_fs_request(rq) ((rq)->flags & REQ_CMD)
407 #define blk_pc_request(rq) ((rq)->flags & REQ_BLOCK_PC)
408 #define blk_noretry_request(rq) ((rq)->flags & REQ_FAILFAST)
409 #define blk_rq_started(rq) ((rq)->flags & REQ_STARTED)
413 #define blk_pm_suspend_request(rq) ((rq)->flags & REQ_PM_SUSPEND)
414 #define blk_pm_resume_request(rq) ((rq)->flags & REQ_PM_RESUME)
415 #define blk_pm_request(rq) ((rq)->flags & (REQ_PM_SUSPEND | REQ_PM_RESUME))
417 #define blk_sorted_rq(rq) ((rq)->flags & REQ_SORTED)
418 #define blk_barrier_rq(rq) ((rq)->flags & REQ_HARDBARRIER)
[all …]
Djbd.h27 #define jbd_kmalloc(size, flags) __jbd_kmalloc(__FUNCTION__, (size), (flags), journal_oom_retry) argument
28 #define jbd_rep_kmalloc(size, flags) __jbd_kmalloc(__FUNCTION__, (size), (flags), 1) argument
Dncp_mount.h38 unsigned int flags; member
50 unsigned long flags; member
Dvideodev.h34 __u32 flags; member
48 __u32 flags; member
99 __u32 flags; member
128 __u32 flags; member
143 __u16 flags; member
166 __u32 flags; member
193 __u32 flags; member
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dirqflags_32.h36 #define raw_local_save_flags(flags) do { (flags) = __raw_local_save_flags(); } while (0) argument
37 #define raw_local_irq_save(flags) do { (flags) = __raw_local_irq_save(); } while (0) argument
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dcacheflush.h30 #define Page_dcache_dirty(page) test_bit(PG_dcache_dirty, &(page)->flags)
31 #define SetPageDcacheDirty(page) set_bit(PG_dcache_dirty, &(page)->flags)
32 #define ClearPageDcacheDirty(page) clear_bit(PG_dcache_dirty, &(page)->flags)
/development/host/windows/usb/api/
Dadb_api_private_defines.h39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags()); in AdbInstanceEnumEntry()
55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
81 info->flags = flags(); in Save()
96 DWORD flags() const { in flags() function
Dadb_interface_enum.cpp40 DWORD flags = DIGCF_DEVICEINTERFACE; in InitializeEnum() local
42 flags |= DIGCF_PRESENT; in InitializeEnum()
46 flags, in InitializeEnum()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarDisplayOptions.java69 int flags = 0; in onClick() local
72 flags = ActionBar.DISPLAY_HOME_AS_UP; in onClick()
75 flags = ActionBar.DISPLAY_SHOW_HOME; in onClick()
78 flags = ActionBar.DISPLAY_USE_LOGO; in onClick()
81 flags = ActionBar.DISPLAY_SHOW_TITLE; in onClick()
84 flags = ActionBar.DISPLAY_SHOW_CUSTOM; in onClick()
112 int change = bar.getDisplayOptions() ^ flags; in onClick()
113 bar.setDisplayOptions(change, flags); in onClick()
/development/ndk/platforms/android-3/include/linux/mmc/
Dmmc.h27 unsigned int flags; member
46 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM…
48 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK)
71 unsigned int flags; member
/development/ndk/platforms/android-3/include/linux/netfilter/
Dxt_multiport.h26 u_int8_t flags; member
33 u_int8_t flags; member
/development/ndk/sources/android/libportable/arch-arm/
Dstat.c35 int fstatat_portable(int dirfd, const char *path, struct stat_portable *s, int flags) in fstatat_portable() argument
37 return fstatat(dirfd, path, s, flags); in fstatat_portable()
/development/ndk/platforms/android-3/include/sys/
Dstat.h100 extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
102 extern int fchownat(int dirfd, const char *path, uid_t owner, gid_t group, int flags);
103 extern int fchmodat(int dirfd, const char *path, mode_t mode, int flags);
/development/ndk/platforms/android-9/arch-mips/include/sys/
Dstat.h134 extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
136 extern int fchownat(int dirfd, const char *path, uid_t owner, gid_t group, int flags);
137 extern int fchmodat(int dirfd, const char *path, mode_t mode, int flags);
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSampleSpellCheckerService.java69 final int flags = length <= 3 ? SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY in onGetSuggestions() local
71 return new SuggestionsInfo(flags, in onGetSuggestions()
125 final int flags = length <= 3 ? SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY in onGetSentenceSuggestionsMultiple() local
127 final SuggestionsInfo si = new SuggestionsInfo(flags, in onGetSentenceSuggestionsMultiple()

123456