Home
last modified time | relevance | path

Searched refs:initialCount (Results 1 – 22 of 22) sorted by relevance

/third_party/boost/boost/interprocess/sync/
Dnamed_semaphore.hpp62 …named_semaphore(create_only_t, const char *name, unsigned int initialCount, const permissions &per…
70 …named_semaphore(open_or_create_t, const char *name, unsigned int initialCount, const permissions &…
131 (create_only_t, const char *name, unsigned int initialCount, const permissions &perm) in named_semaphore() argument
132 : m_sem(create_only, name, initialCount, perm) in named_semaphore()
136 (open_or_create_t, const char *name, unsigned int initialCount, const permissions &perm) in named_semaphore() argument
137 : m_sem(open_or_create, name, initialCount, perm) in named_semaphore()
Dinterprocess_semaphore.hpp66 interprocess_semaphore(unsigned int initialCount);
118 inline interprocess_semaphore::interprocess_semaphore(unsigned int initialCount) in interprocess_semaphore() argument
119 : m_sem(initialCount) in interprocess_semaphore()
/third_party/boost/boost/interprocess/sync/shm/
Dnamed_semaphore.hpp49 …shm_named_semaphore(create_only_t, const char *name, unsigned int initialCount, const permissions …
51 …shm_named_semaphore(open_or_create_t, const char *name, unsigned int initialCount, const permissio…
85 (create_only_t, const char *name, unsigned int initialCount, const permissions &perm) in shm_named_semaphore() argument
92 ,construct_func_t(DoCreate, initialCount) in shm_named_semaphore()
97 (open_or_create_t, const char *name, unsigned int initialCount, const permissions &perm) in shm_named_semaphore() argument
104 ,construct_func_t(DoOpenOrCreate, initialCount) in shm_named_semaphore()
/third_party/boost/boost/interprocess/sync/posix/
Dnamed_semaphore.hpp44 …(create_only_t, const char *name, unsigned int initialCount, const permissions &perm = permissions… in posix_named_semaphore() argument
45 { semaphore_open(mp_sem, DoCreate, name, initialCount, perm); } in posix_named_semaphore()
47 …posix_named_semaphore(open_or_create_t, const char *name, unsigned int initialCount, const permiss… in posix_named_semaphore() argument
48 { semaphore_open(mp_sem, DoOpenOrCreate, name, initialCount, perm); } in posix_named_semaphore()
Dsemaphore.hpp39 posix_semaphore(unsigned int initialCount) in posix_semaphore() argument
40 { semaphore_init(&m_sem, initialCount); } in posix_semaphore()
Dsemaphore_wrapper.hpp143 inline void semaphore_init(sem_t *handle, unsigned int initialCount) in semaphore_init() argument
145 int ret = sem_init(handle, 1, initialCount); in semaphore_init()
/third_party/boost/boost/interprocess/sync/spin/
Dsemaphore.hpp41 spin_semaphore(unsigned int initialCount);
58 inline spin_semaphore::spin_semaphore(unsigned int initialCount) in spin_semaphore() argument
59 { ipcdetail::atomic_write32(&this->m_count, boost::uint32_t(initialCount)); } in spin_semaphore()
/third_party/protobuf/objectivec/
DGPBArray.m226 //%MUTATION_HOOK_##HOOK_1() NSUInteger initialCount = _count;
227 //% NSUInteger newCount = initialCount + count;
229 //% memcpy(&_values[initialCount], values, count * sizeof(TYPE));
237 //%MUTATION_HOOK_##HOOK_2() NSUInteger initialCount = _count;
238 //% NSUInteger newCount = initialCount + 1;
240 //% if (index != initialCount) {
241 //% memmove(&_values[index + 1], &_values[index], (initialCount - index) * sizeof(TYPE));
457 NSUInteger initialCount = _count;
458 NSUInteger newCount = initialCount + count;
463 memcpy(&_values[initialCount], values, count * sizeof(int32_t));
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dwaitgroup.h54 MARL_NO_EXPORT inline WaitGroup(unsigned int initialCount = 0,
80 WaitGroup::WaitGroup(unsigned int initialCount /* = 0 */, in WaitGroup() argument
83 data->count = initialCount; in WaitGroup()
/third_party/boost/boost/interprocess/sync/windows/
Dsemaphore.hpp43 windows_semaphore(unsigned int initialCount);
55 inline windows_semaphore::windows_semaphore(unsigned int initialCount) in windows_semaphore() argument
62 handles.obtain_semaphore(this->id_, initialCount, &open_or_created); in windows_semaphore()
Dnamed_semaphore.hpp48 …windows_named_semaphore(create_only_t, const char *name, unsigned int initialCount, const permissi…
50 …windows_named_semaphore(open_or_create_t, const char *name, unsigned int initialCount, const permi…
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DAtomicCounter.cs28 public AtomicCounter(long initialCount = 0) in AtomicCounter() argument
30 this.counter = initialCount; in AtomicCounter()
/third_party/skia/src/core/
DSkAAClip.cpp1566 const uint8_t* SkAAClip::findX(const uint8_t data[], int x, int* initialCount) const { in findX()
1574 if (initialCount) { in findX()
1575 *initialCount = n - x; in findX()
1616 static void expandToRuns(const uint8_t* SK_RESTRICT data, int initialCount, int width, in expandToRuns() argument
1620 int n = initialCount; in expandToRuns()
1665 int initialCount; in blitH() local
1666 row = fAAClip->findX(row, x, &initialCount); in blitH()
1668 if (initialCount >= width) { in blitH()
1680 expandToRuns(row, initialCount, width, fRuns, fAA); in blitH()
1733 int initialCount; in blitAntiH() local
[all …]
DSkAAClip.h81 const uint8_t* findX(const uint8_t data[], int x, int* initialCount = nullptr) const;
DSkTextBlob.cpp124 uint32_t initialCount = fCount; in grow() local
128 size_t copySize = initialCount * sizeof(SkScalar) * ScalarsPerGlyph(positioning()); in grow()
/third_party/flutter/skia/src/core/
DSkAAClip.cpp807 const uint8_t* SkAAClip::findX(const uint8_t data[], int x, int* initialCount) const { in findX()
815 if (initialCount) { in findX()
816 *initialCount = n - x; in findX()
1811 static void expandToRuns(const uint8_t* SK_RESTRICT data, int initialCount, int width, in expandToRuns() argument
1815 int n = initialCount; in expandToRuns()
1860 int initialCount; in blitH() local
1861 row = fAAClip->findX(row, x, &initialCount); in blitH()
1863 if (initialCount >= width) { in blitH()
1875 expandToRuns(row, initialCount, width, fRuns, fAA); in blitH()
1928 int initialCount; in blitAntiH() local
[all …]
DSkAAClip.h69 const uint8_t* findX(const uint8_t data[], int x, int* initialCount = nullptr) const;
DSkTextBlob.cpp124 uint32_t initialCount = fCount; in grow() local
128 size_t copySize = initialCount * sizeof(SkScalar) * ScalarsPerGlyph(positioning()); in grow()
/third_party/flutter/skia/tests/
DBackendAllocationTest.cpp29 const int initialCount = cache->getResourceCount(); in test_wrapping() local
40 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
61 REPORTER_ASSERT(reporter, initialCount+1 == cache->getResourceCount()); in test_wrapping()
85 REPORTER_ASSERT(reporter, initialCount+1 == cache->getResourceCount()); in test_wrapping()
89 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
/third_party/skia/tests/
DBackendAllocationTest.cpp50 const int initialCount = cache->getResourceCount(); in test_wrapping() local
61 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
93 initialCount + cacheEntriesPerProxy == cache->getResourceCount()); in test_wrapping()
116 initialCount + cacheEntriesPerProxy == cache->getResourceCount()); in test_wrapping()
120 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
/third_party/flutter/skia/src/ports/
DSkFontMgr_android_parser.cpp695 int initialCount = fontFamilies.count(); in append_system_font_families() local
697 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families()
/third_party/skia/src/ports/
DSkFontMgr_android_parser.cpp705 int initialCount = fontFamilies.count(); in append_system_font_families() local
707 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families()