Home
last modified time | relevance | path

Searched refs:initial_count (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dblocking_counter.cc31 BlockingCounter::BlockingCounter(int initial_count) in BlockingCounter() argument
32 : count_(initial_count), in BlockingCounter()
34 done_{initial_count == 0 ? true : false} { in BlockingCounter()
35 ABSL_RAW_CHECK(initial_count >= 0, "BlockingCounter initial_count negative");
Dblocking_counter.h65 explicit BlockingCounter(int initial_count);
/third_party/boost/boost/interprocess/detail/
Dwindows_intermodule_singleton.hpp63 boost::uint32_t initial_count = 0; in windows_semaphore_based_map() local
118 initial_count = boost::uint32_t(caster.addr_uint64); in windows_semaphore_based_map()
119 initial_count = initial_count/4; in windows_semaphore_based_map()
141 (name.c_str(), initial_count, max_count, perm, created); in windows_semaphore_based_map()
176 boost::uint32_t max_count(m_sem_map.limit()), initial_count(m_sem_map.value()); in get_map_unlocked() local
181 caster.addr_uint64 |= boost::uint64_t(initial_count) << 2; in get_map_unlocked()
Dwin32_api.hpp700 inline void *open_or_create_semaphore(const char *name, long initial_count, long maximum_count, int… in open_or_create_semaphore() argument
701 { return CreateSemaphoreA(attr, initial_count, maximum_count, name); } in open_or_create_semaphore()
/third_party/boost/boost/interprocess/sync/windows/
Dnamed_semaphore.hpp129 (create_only_t, const char *name, unsigned int initial_count, const permissions &perm) in windows_named_semaphore() argument
132 named_sem_callbacks callbacks(m_sem_wrapper, initial_count); in windows_named_semaphore()
137 (open_or_create_t, const char *name, unsigned int initial_count, const permissions &perm) in windows_named_semaphore() argument
140 named_sem_callbacks callbacks(m_sem_wrapper, initial_count); in windows_named_semaphore()
Dsync_utils.hpp137 void* open_or_create_semaphore(const sync_id &id, unsigned int initial_count) in open_or_create_semaphore() argument
146 … (name, (long)initial_count, winapi_semaphore_wrapper::MaxCount, unrestricted_security, created); in open_or_create_semaphore()
181 void *obtain_semaphore(const sync_id &id, unsigned int initial_count, bool *popen_created = 0) in obtain_semaphore() argument
189 hnd_val = open_or_create_semaphore(id, initial_count); in obtain_semaphore()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_render_pass.c19 #define COUNT_PRESENT_SRC(atts, att_count, initial_count, final_count) \ argument
21 *initial_count = 0; \
25 (*initial_count)++; \
57 uint32_t *initial_count, in vn_render_pass_count_present_src() argument
61 initial_count, final_count); in vn_render_pass_count_present_src()
66 uint32_t *initial_count, in vn_render_pass_count_present_src2() argument
70 initial_count, final_count); in vn_render_pass_count_present_src2()
/third_party/boost/boost/thread/win32/
Dthread_primitives.hpp121 inline handle create_anonymous_semaphore_nothrow(long initial_count,long max_count) in create_anonymous_semaphore_nothrow() argument
124 handle const res=::boost::winapi::CreateSemaphoreA(0,initial_count,max_count,0); in create_anonymous_semaphore_nothrow()
127 handle const res=::boost::winapi::CreateSemaphoreEx(0,initial_count,max_count,0,0); in create_anonymous_semaphore_nothrow()
129 …handle const res=::boost::winapi::CreateSemaphoreExW(0,initial_count,max_count,0,0,semaphore_all_a… in create_anonymous_semaphore_nothrow()
135 inline handle create_anonymous_semaphore(long initial_count,long max_count) in create_anonymous_semaphore() argument
137 handle const res=create_anonymous_semaphore_nothrow(initial_count,max_count); in create_anonymous_semaphore()
/third_party/abseil-cpp/absl/synchronization/
Dblocking_counter.h63 explicit BlockingCounter(int initial_count) in BlockingCounter() argument
64 : count_(initial_count), num_waiting_(0) {} in BlockingCounter()
/third_party/boost/libs/interprocess/test/
Dsemaphore_test.cpp43 semaphore_test_wrapper(int initial_count) in semaphore_test_wrapper() argument
44 : boost::interprocess::interprocess_semaphore(initial_count) in semaphore_test_wrapper()
/third_party/openh264/codec/decoder/core/inc/
Dwels_decoder_thread.h139 #define CREATE_SEMAPHORE(ph, initial_count,max_count, name) \ argument
140 SemCreate(ph, (long)initial_count,(long)(max_count))
/third_party/boost/boost/spirit/home/karma/detail/
Doutput_iterator.hpp117 : count(count_), initial_count(count), prev_count(0), sink(sink_) in counting_sink()
124 prev_count->update_count(count-initial_count); in ~counting_sink()
142 std::size_t initial_count; member in boost::spirit::karma::detail::counting_sink
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_events.c194 const int initial_count = SDL_AtomicGet(&SDL_EventQ.count); in SDL_AddEvent() local
197 if (initial_count >= SDL_MAX_QUEUED_EVENTS) { in SDL_AddEvent()
198 SDL_SetError("Event queue is full (%d events)", initial_count); in SDL_AddEvent()
/third_party/libsnd/src/
Dalac.c98 static PAKT_INFO * alac_pakt_alloc (uint32_t initial_count) ;
772 alac_pakt_alloc (uint32_t initial_count) in alac_pakt_alloc() argument
775 …if ((info = calloc (1, sizeof (PAKT_INFO) + initial_count * sizeof (info->packet_size [0]))) == NU… in alac_pakt_alloc()
778 info->allocated = initial_count ; in alac_pakt_alloc()
/third_party/boost/boost/fiber/
Dcontext.hpp196 context( std::size_t initial_count, type t, launch policy) noexcept : in context() argument
197 use_count_{ initial_count }, in context()
/third_party/cmsis/CMSIS/RTOS2/Include/
Dcmsis_os2.h610 osSemaphoreId_t osSemaphoreNew (uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t…
/third_party/boost/libs/qvm/gen/
Dgen.cpp1598 …pl( std::ostream & g, int d, swizzle_pair const (&ids)[N], std::vector<int> const & initial_count ) in swizzle_impl() argument
1601 std::vector<int> count(initial_count); in swizzle_impl()
1694 count[j]=initial_count[j]; in swizzle_impl()
1717 std::vector<int> initial_count(d,6); in swizzle() local
1718 swizzle_impl(g,d,swizzle_ids,initial_count); in swizzle()
/third_party/flatbuffers/src/
Didl_parser.cpp3187 auto initial_count = struct_def.refcount; in ParseRoot() local
3209 NumToString(initial_count) + in ParseRoot()