Home
last modified time | relevance | path

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

12345678910>>...88

/haiku/src/add-ons/accelerants/radeon/
H A Dmultimon.c20 mode->timing.flags &= ~RADEON_MODE_MASK; in Radeon_DetectMultiMode()
25 if( (mode->flags & B_SCROLL) == 0 ) in Radeon_DetectMultiMode()
31 mode->flags &= ~B_SCROLL; in Radeon_DetectMultiMode()
33 mode->timing.flags &= ~RADEON_MODE_POSITION_MASK; in Radeon_DetectMultiMode()
37 mode->timing.flags |= RADEON_MODE_POSITION_HORIZONTAL; in Radeon_DetectMultiMode()
38 mode->timing.flags &= ~RADEON_MODE_MASK; in Radeon_DetectMultiMode()
39 mode->timing.flags |= RADEON_MODE_COMBINE; in Radeon_DetectMultiMode()
42 mode->timing.flags |= RADEON_MODE_POSITION_VERTICAL; in Radeon_DetectMultiMode()
43 mode->timing.flags &= ~RADEON_MODE_MASK; in Radeon_DetectMultiMode()
44 mode->timing.flags |= RADEON_MODE_COMBINE; in Radeon_DetectMultiMode()
[all …]
/haiku/src/system/kernel/slab/
H A DHashedObjectCache.cpp32 allocate_slab(uint32 flags) in allocate_slab() argument
34 return (HashedSlab*)slab_internal_alloc(sizeof(HashedSlab), flags); in allocate_slab()
39 free_slab(HashedSlab* slab, uint32 flags) in free_slab() argument
41 slab_internal_free(slab, flags); in free_slab()
58 size_t maxMagazineCount, uint32 flags, void* cookie, in Create() argument
62 void* buffer = slab_internal_alloc(sizeof(HashedObjectCache), flags); in Create()
70 buffer = slab_internal_alloc(hashSize, flags); in Create()
79 maxMagazineCount, flags, cookie, constructor, destructor, in Create()
85 if ((flags & CACHE_LARGE_SLAB) != 0) in Create()
106 HashedObjectCache::CreateSlab(uint32 flags) in CreateSlab() argument
[all …]
H A Dallocator.cpp76 block_alloc(size_t size, size_t alignment, uint32 flags) in block_alloc() argument
91 flags |= CACHE_ALIGN_ON_SIZE; in block_alloc()
97 return object_cache_alloc(sBlockCaches[index], flags); in block_alloc()
102 if (MemoryManager::AllocateRaw(size, flags, block) != B_OK) in block_alloc()
149 block_free(void* block, uint32 flags) in block_free() argument
154 ObjectCache* cache = MemoryManager::FreeRawOrReturnCache(block, flags); in block_free()
160 object_cache_free(cache, block, flags); in block_free()
173 uint32 flags = CACHE_DURING_BOOT; in block_allocator_init_boot() local
182 flags |= CACHE_NO_DEPOT; in block_allocator_init_boot()
185 0, 0, flags, NULL, NULL, NULL, NULL); in block_allocator_init_boot()
[all …]
H A DSmallObjectCache.cpp31 size_t maxMagazineCount, uint32 flags, void* cookie, in Create() argument
35 void* buffer = slab_internal_alloc(sizeof(SmallObjectCache), flags); in Create()
42 maxMagazineCount, flags, cookie, constructor, destructor, in Create()
48 if ((flags & CACHE_LARGE_SLAB) != 0) in Create()
68 SmallObjectCache::CreateSlab(uint32 flags) in CreateSlab() argument
76 status_t error = MemoryManager::Allocate(this, flags, pages); in CreateSlab()
84 if (AllocateTrackingInfos(newSlab, byteCount, flags) != B_OK) { in CreateSlab()
85 MemoryManager::Free(pages, flags); in CreateSlab()
89 return InitSlab(newSlab, pages, byteCount, flags); in CreateSlab()
94 SmallObjectCache::ReturnSlab(slab* slab, uint32 flags) in ReturnSlab() argument
[all …]
/haiku/headers/private/kernel/
H A Dsyscall_restart.h25 if ((thread->flags & THREAD_FLAGS_SYSCALL_RESTARTED) != 0) in syscall_restart_handle_timeout_pre()
42 syscall_restart_handle_timeout_pre(uint32& flags, bigtime_t& timeout) in syscall_restart_handle_timeout_pre() argument
49 if ((thread->flags & THREAD_FLAGS_SYSCALL_RESTARTED) != 0) { in syscall_restart_handle_timeout_pre()
51 if (timeout > 0 && (flags & B_RELATIVE_TIMEOUT) != 0) in syscall_restart_handle_timeout_pre()
52 flags = (flags & ~B_RELATIVE_TIMEOUT) | B_ABSOLUTE_TIMEOUT; in syscall_restart_handle_timeout_pre()
53 } else if ((flags & B_RELATIVE_TIMEOUT) != 0) { in syscall_restart_handle_timeout_pre()
60 flags = (flags & ~B_RELATIVE_TIMEOUT) | B_ABSOLUTE_TIMEOUT; in syscall_restart_handle_timeout_pre()
73 atomic_or(&thread->flags, THREAD_FLAGS_RESTART_SYSCALL); in syscall_restart_handle_timeout_post()
86 atomic_or(&thread->flags, THREAD_FLAGS_RESTART_SYSCALL); in syscall_restart_handle_post()
98 return (thread->flags & THREAD_FLAGS_SYSCALL) != 0 in syscall_restart_is_restarted()
[all …]
H A Dheap.h67 void* memalign_etc(size_t alignment, size_t size, uint32 flags) _ALIGNED_BY_ARG(1);
68 void* realloc_etc(void* address, size_t newSize, uint32 flags);
69 void free_etc(void* address, uint32 flags);
97 malloc_etc(size_t size, uint32 flags) in malloc_etc() argument
99 return memalign_etc(0, size, flags); in malloc_etc()
111 uint32 flags; member
113 malloc_flags(uint32 flags) in malloc_flags()
115 flags(flags) in malloc_flags()
121 flags(other.flags) in malloc_flags()
128 operator new(size_t size, const malloc_flags& flags) throw() in new() argument
[all …]
/haiku/src/system/kernel/lib/
H A Dkernel_vsprintf.cpp122 sign_symbol(int flags, bool negative) in sign_symbol() argument
124 if ((flags & SIGN) == 0) in sign_symbol()
129 else if ((flags & PLUS) != 0) in sign_symbol()
131 else if ((flags & SPACE) != 0) in sign_symbol()
140 int precision, int flags) in number() argument
146 if (flags & LARGE) in number()
148 if (flags & LEFT) in number()
149 flags &= ~ZEROPAD; in number()
153 c = (flags & ZEROPAD) ? '0' : ' '; in number()
155 if (flags & SIGN) { in number()
[all …]
/haiku/src/libs/bsd/
H A Dvis.c122 #define ISGRAPH(flags, c) \ argument
123 (((flags) & VIS_NOLOCALE) ? iscgraph(c) : iswgraph(c))
164 do_hvis(wchar_t *dst, wint_t c, int flags, wint_t nextc, const wchar_t *extra) in do_hvis() argument
172 dst = do_svis(dst, c, flags, nextc, extra); in do_hvis()
187 do_mvis(wchar_t *dst, wint_t c, int flags, wint_t nextc, const wchar_t *extra) in do_mvis() argument
200 dst = do_svis(dst, c, flags, nextc, extra); in do_mvis()
208 do_mbyte(wchar_t *dst, wint_t c, int flags, wint_t nextc, int iswextra) in do_mbyte() argument
210 if (flags & VIS_CSTYLE) { in do_mbyte()
259 if (ISGRAPH(flags, c) && !iswoctal(c)) { in do_mbyte()
266 if (iswextra || ((c & 0177) == L' ') || (flags & VIS_OCTAL)) { in do_mbyte()
[all …]
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_cond.cpp38 cond->flags = 0; in pthread_cond_init()
40 cond->flags |= COND_FLAG_SHARED; in pthread_cond_init()
43 cond->flags |= COND_FLAG_MONOTONIC; in pthread_cond_init()
61 cond_wait(pthread_cond_t* cond, pthread_mutex_t* mutex, uint32 flags, in cond_wait() argument
84 if ((cond->flags & COND_FLAG_SHARED) != 0) in cond_wait()
85 flags |= B_USER_MUTEX_SHARED; in cond_wait()
87 ((mutex->flags & MUTEX_FLAG_SHARED) ? B_USER_MUTEX_SHARED : 0), in cond_wait()
88 (int32*)&cond->lock, "pthread condition", flags, timeout); in cond_wait()
114 uint32 flags = 0; in cond_signal() local
116 flags |= B_USER_MUTEX_UNBLOCK_ALL; in cond_signal()
[all …]
H A Dpthread_rwlock.cpp48 uint32_t flags; member
54 flags = RWLOCK_FLAG_SHARED; in Init()
68 status_t ReadLock(uint32 flags, bigtime_t timeout) in ReadLock()
72 status = acquire_sem_etc(sem, 1, flags, timeout); in ReadLock()
77 status_t WriteLock(uint32 flags, bigtime_t timeout) in WriteLock()
81 status = acquire_sem_etc(sem, MAX_READER_COUNT, flags, timeout); in WriteLock()
100 uint32_t flags; member
113 flags = 0; in Init()
155 status_t ReadLock(uint32 flags, bigtime_t timeout) in ReadLock()
164 return _Wait(false, flags, timeout); in ReadLock()
[all …]
/haiku/headers/os/net/
H A DNetworkAddressResolver.h31 uint16 port = 0, uint32 flags = 0);
33 const char* service, uint32 flags = 0);
36 uint32 flags = 0);
39 uint32 flags = 0);
47 uint32 flags = 0);
49 uint32 flags = 0);
51 uint16 port = 0, uint32 flags = 0);
53 const char* service, uint32 flags = 0);
65 uint32 flags = 0);
68 uint32 flags = 0);
[all …]
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.h37 uint32 flags = 0,
43 uint32 flags = 0,
50 uint32 flags = 0,
56 uint32 flags = 0,
61 const rgb_color& base, uint32 flags = 0,
67 uint32 flags = 0,
74 uint32 flags = 0);
79 uint32 flags = 0);
83 const rgb_color& base, uint32 flags,
87 const rgb_color& base, uint32 flags,
[all …]
/haiku/src/kits/storage/
H A DNodeMonitor.cpp27 watch_volume(dev_t volume, uint32 flags, BMessenger target) in watch_volume() argument
29 if ((flags & (B_WATCH_NAME | B_WATCH_STAT | B_WATCH_ATTR)) == 0) in watch_volume()
32 flags |= B_WATCH_VOLUME; in watch_volume()
37 return _kern_start_watching(volume, (ino_t)-1, flags, port, token); in watch_volume()
42 watch_volume(dev_t volume, uint32 flags, const BHandler* handler, in watch_volume() argument
45 return watch_volume(volume, flags, BMessenger(handler, looper)); in watch_volume()
51 watch_node(const node_ref* node, uint32 flags, BMessenger target) in watch_node() argument
60 if (flags == B_STOP_WATCHING) { in watch_node()
70 if (flags & B_WATCH_MOUNT) { in watch_node()
76 flags &= ~B_WATCH_MOUNT; in watch_node()
[all …]
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.h37 uint32 flags = 0,
44 uint32 flags = 0,
54 uint32 flags = 0,
60 uint32 flags,
64 const rgb_color& base, uint32 flags = 0,
68 const rgb_color& background, uint32 flags, uint32 borders);
71 const rgb_color& background, uint32 flags, uint32 borders);
76 const rgb_color& background, uint32 flags, uint32 borders);
80 const rgb_color& base, uint32 flags = 0,
85 const rgb_color& base, uint32 flags,
[all …]
/haiku/headers/libs/x86emu/x86emu/
H A Dprim_asm.h60 u16 aaa_word_asm(u32 * flags, u16 d);
72 u16 aas_word_asm(u32 * flags, u16 d);
84 u16 aad_word_asm(u32 * flags, u16 d);
96 u16 aam_word_asm(u32 * flags, u8 d);
108 u8 adc_byte_asm(u32 * flags, u8 d, u8 s);
120 u16 adc_word_asm(u32 * flags, u16 d, u16 s);
132 u32 adc_long_asm(u32 * flags, u32 d, u32 s);
144 u8 add_byte_asm(u32 * flags, u8 d, u8 s);
156 u16 add_word_asm(u32 * flags, u16 d, u16 s);
168 u32 add_long_asm(u32 * flags, u32 d, u32 s);
[all …]
/haiku/src/kits/network/libnetapi/
H A DNetworkAddressResolver.cpp52 uint16 port, uint32 flags) in BNetworkAddressResolver() argument
58 SetTo(address, port, flags); in BNetworkAddressResolver()
62 const char* service, uint32 flags) in BNetworkAddressResolver() argument
68 SetTo(address, service, flags); in BNetworkAddressResolver()
73 const char* address, uint16 port, uint32 flags) in BNetworkAddressResolver() argument
79 SetTo(family, address, port, flags); in BNetworkAddressResolver()
84 const char* address, const char* service, uint32 flags) in BNetworkAddressResolver() argument
90 SetTo(family, address, service, flags); in BNetworkAddressResolver()
119 BNetworkAddressResolver::SetTo(const char* address, uint16 port, uint32 flags) in SetTo() argument
121 return SetTo(AF_UNSPEC, address, port, flags); in SetTo()
[all …]
/haiku/headers/os/interface/
H A DControlLook.h113 uint32 flags = 0,
120 uint32 flags = 0,
130 uint32 flags = 0,
136 uint32 flags = 0,
143 uint32 flags = 0,
153 uint32 flags = 0,
160 uint32 flags = 0,
167 uint32 flags = 0,
174 uint32 flags = 0,
184 uint32 flags = 0,
[all …]
/haiku/src/system/libroot/posix/stdlib/
H A Dstrfmon.c127 int flags; /* formatting options */ in __strfmon() local
167 flags = (NEED_GROUPING|LOCALE_POSN); in __strfmon()
183 flags &= ~(NEED_GROUPING); in __strfmon()
186 if (flags & SIGN_POSN_USED) in __strfmon()
188 flags |= (SIGN_POSN_USED|LOCALE_POSN); in __strfmon()
191 if (flags & SIGN_POSN_USED) in __strfmon()
193 flags |= (SIGN_POSN_USED|PARENTH_POSN); in __strfmon()
196 flags |= SUPRESS_CURR_SYMBOL; in __strfmon()
199 flags |= LEFT_JUSTIFY; in __strfmon()
238 flags |= USE_INTL_CURRENCY; in __strfmon()
[all …]
/haiku/src/libs/compat/freebsd_iflib/
H A Dmp_ring.c46 uint16_t flags; member
103 MPASS(os.flags == BUSY); in drain_ring_locked()
117 ns.flags = STALLED; in drain_ring_locked()
141 ns.flags = state_to_flags(ns, total >= budget); in drain_ring_locked()
144 if (ns.flags == ABDICATED) in drain_ring_locked()
146 if (ns.flags != BUSY) { in drain_ring_locked()
148 MPASS(ns.flags != STALLED); in drain_ring_locked()
177 MPASS(os.flags == BUSY); in drain_ring_lockless()
194 ns.flags = STALLED; in drain_ring_lockless()
222 ns.flags = state_to_flags(ns, total >= budget); in drain_ring_lockless()
[all …]
/haiku/headers/private/interface/
H A DHaikuControlLook.h37 uint32 flags = 0,
44 uint32 flags = 0,
54 uint32 flags = 0,
60 uint32 flags = 0,
67 uint32 flags = 0,
77 uint32 flags = 0,
84 uint32 flags = 0,
91 uint32 flags = 0,
98 uint32 flags = 0,
108 uint32 flags = 0,
[all …]
/haiku/src/libs/x86emu/
H A Dvalidate.c62 ulong flags,inflags; \
67 M.x86.R_EFLG = inflags = flags = def_flags; \
71 r_asm = name##_asm(&flags,d,s); \
73 if (r != r_asm || M.x86.R_EFLG != flags) \
78 name##_asm(&flags,d,s); \
81 if (M.x86.R_EFLG != flags) \
91 … r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
99 … r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
107 … r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
111 M.x86.R_EFLG = inflags = flags = def_flags | (ALL_FLAGS & ~F_OF); \
[all …]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmalloc.h35 void *_kernel_malloc(size_t size, int flags);
38 void *_kernel_contigmalloc(const char *file, int line, size_t size, int flags,
43 #define kernel_malloc(size, base, flags) \ argument
44 _kernel_malloc(size, flags)
49 #define kernel_contigmalloc(size, type, flags, low, high, alignment, boundary) \ argument
50 _kernel_contigmalloc(__FILE__, __LINE__, size, flags, low, high, \
57 # define malloc(size, tag, flags) kernel_malloc(size, tag, flags) argument
59 # define contigmalloc(size, type, flags, low, high, alignment, boundary) \ argument
60 _kernel_contigmalloc(__FILE__, __LINE__, size, flags, low, high, \
/haiku/src/tests/system/libroot/os/
H A DParseDateTest.cpp23 parsedate_flags_to_string(time_t result, int flags) in parsedate_flags_to_string() argument
26 if ((flags & PARSEDATE_INVALID_DATE) != 0) in parsedate_flags_to_string()
31 if ((flags & PARSEDATE_RELATIVE_TIME) != 0) { in parsedate_flags_to_string()
32 if ((flags & PARSEDATE_MINUTE_RELATIVE_TIME) != 0) in parsedate_flags_to_string()
51 int flags; in main() member
117 int flags = 0; in main() local
118 time_t result = parsedate_etc(kDates[i].date, now, &flags); in main()
128 if (flags != kDates[i].flags || result != expectedResult) in main()
134 parsedate_flags_to_string(expectedResult, flags)); in main()
139 parsedate_flags_to_string(result, flags), result == -1 in main()
/haiku/src/libs/libsolv/ext/
H A Drepo_haiku.cpp21 const char *version, int flags, const char* compatVersion = NULL) in add_dependency() argument
37 dependency = pool_rel2id(pool, dependency, versionId, flags, 1); in add_dependency()
44 const BPackageVersion &version, int flags) in add_dependency() argument
47 flags); in add_dependency()
76 int flags = 0; in add_resolvable_expressions() local
80 flags |= REL_LT; in add_resolvable_expressions()
83 flags |= REL_LT | REL_EQ; in add_resolvable_expressions()
86 flags |= REL_EQ; in add_resolvable_expressions()
91 flags |= REL_GT | REL_EQ; in add_resolvable_expressions()
94 flags |= REL_GT; in add_resolvable_expressions()
[all …]
/haiku/src/libs/libsolv/solv/
H A Dselection.c206 if (rd->flags == REL_ARCH && rd->evr == ARCH_SRC) in selection_filter_rel()
230 selection_addsrc(Pool *pool, Queue *selection, int flags) in selection_addsrc() argument
236 if ((flags & SELECTION_INSTALLED_ONLY) != 0) in selection_addsrc()
278 selection_depglob(Pool *pool, Queue *selection, const char *name, int flags) in selection_depglob() argument
285 if ((flags & SELECTION_SOURCE_ONLY) != 0) in selection_depglob()
287 flags &= ~SELECTION_PROVIDES; /* sources don't provide anything */ in selection_depglob()
288 flags &= ~SELECTION_WITH_SOURCE; in selection_depglob()
291 if (!(flags & (SELECTION_NAME|SELECTION_PROVIDES))) in selection_depglob()
294 if ((flags & SELECTION_INSTALLED_ONLY) != 0 && !pool->installed) in selection_depglob()
297 if (!(flags & SELECTION_NOCASE)) in selection_depglob()
[all …]

12345678910>>...88