Home
last modified time | relevance | path

Searched refs:_count (Results 1 - 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dftgloadr.h106 #define FT_GLYPHLOADER_CHECK_P( _loader, _count ) \
107 ( (_count) == 0 || \
110 (FT_UInt)(_count) ) <= (_loader)->max_points )
112 #define FT_GLYPHLOADER_CHECK_C( _loader, _count ) \
113 ( (_count) == 0 || \
116 (FT_UInt)(_count) ) <= (_loader)->max_contours )
/third_party/python/Lib/
H A Dthreading.py10 from itertools import islice as _islice, count as _count namespace
116 self._count = 0
129 self._count,
136 self._count = 0
166 self._count += 1
171 self._count = 1
194 self._count = count = self._count - 1
206 self._count, self._owner = state
209 if self._count
[all...]
H A Dqueue.py270 self._count = threading.Semaphore(0)
279 self._count.release()
294 if not self._count.acquire(block, timeout):
/third_party/musl/porting/linux/user/src/network/
H A Dlookup_name.c523 int _count; member
783 plist->_count = 0; in create_linklist()
803 plist->_count = 0; in destory_linklist()
814 return plist->_count; in linklist_size()
819 if (index < 0 || index >= plist->_count) { in get_linknode()
845 plist->_count++; in linklist_append_last()
847 linknode *plastnode = get_linknode(plist, plist->_count - 1); in linklist_append_last()
849 plist->_count++; in linklist_append_last()
857 if (NULL == plist || NULL == plist->_phead || plist->_count <= 0) { in linklist_delete()
863 } else if (index == (plist->_count in linklist_delete()
[all...]
/third_party/musl/src/network/
H A Dlookup_name.c591 int _count; member
872 plist->_count = 0; in create_linklist()
892 plist->_count = 0; in destory_linklist()
903 return plist->_count; in linklist_size()
908 if (index < 0 || index >= plist->_count) { in get_linknode()
937 plist->_count++; in linklist_append_last()
939 linknode *plastnode = get_linknode(plist, plist->_count - 1); in linklist_append_last()
944 plist->_count++; in linklist_append_last()
952 if (NULL == plist || NULL == plist->_phead || plist->_count <= 0) { in linklist_delete()
958 } else if (index == (plist->_count in linklist_delete()
[all...]
/third_party/python/Lib/asyncio/
H A Dlocks.py464 self._count = 0 # count tasks in Barrier
491 index = self._count
492 self._count += 1
500 self._count -= 1
542 if self._count == 0:
554 if self._count > 0:
581 return self._count
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dseed.py22 self._count = count
57 if not self._count or num < self._count:
H A Dcombiner.py26 self._count = count
71 if self._count and self._current_num >= self._count:
H A Dfuzzer.py111 self._count = count
181 while not self._count or i < self._count:
/third_party/python/Lib/test/support/
H A Dthreading_helper.py15 # NOTE: we use thread._count() rather than threading.enumerate() (or the
19 # thread._count(), on the other hand, only gets decremented *after* the
25 return _thread._count(), threading._dangling.copy()
32 values = _thread._count(), threading._dangling
86 old_count = _thread._count()
93 count = _thread._count()
/third_party/python/Lib/multiprocessing/
H A Dsynchronize.py172 elif self._semlock._count() > 0:
195 count = self._semlock._count()
198 elif self._semlock._count() > 0:
255 count = self._lock._semlock._count()
372 self._count = 0
392 def _count(self): member in Barrier
395 @_count.setter
396 def _count(self, value): member in Barrier
/third_party/lzma/CPP/Windows/
H A DSynchronization.cpp40 if (this->_count == 0) in IsSignaledAndUpdate()
42 this->_count--; in IsSignaledAndUpdate()
H A DSynchronization.h339 UInt32 _count; member in NWindows::NSynchronization::Z7_final
343 CSemaphore_WFMO() : _count(0), _maxCount(0) {} in CSemaphore_WFMO()
352 this->_count = initCount; in Create()
363 UInt32 newCount = this->_count + releaseCount; in Release()
369 this->_count = newCount; in Release()
/third_party/mesa3d/src/util/
H A Dos_memory_stdc.h42 #define os_calloc(_count, _size ) calloc(_count, _size )
H A Dos_memory_debug.h85 #define os_calloc( _count, _size ) \
86 debug_calloc(__FILE__, __LINE__, __FUNCTION__, _count, _size )
H A Du_memory.h48 #define CALLOC(_count, _size) os_calloc(_count, _size)
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_dump_defines.c81 #define DEFINE_UTIL_STR_CONTINUOUS_COUNT(_name, _count) \
85 STATIC_ASSERT(ARRAY_SIZE(util_##_name##_names) == _count); \
86 STATIC_ASSERT(ARRAY_SIZE(util_##_name##_short_names) == _count); \
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state.c345 #define EMIT_RS(_rs, _count, _name, _value) \
347 _rs[_count].state = _name; \
348 _rs[_count].uintValue = _value; \
349 _count++; \
/third_party/mesa3d/src/vulkan/util/
H A Dvk_alloc.h219 #define vk_multialloc_add(_ma, _ptr, _type, _count) \
220 vk_multialloc_add_size(_ma, _ptr, _type, (_count) * sizeof(**(_ptr)));
226 #define VK_MULTIALLOC_DECL(_ma, _type, _name, _count) \
227 VK_MULTIALLOC_DECL_SIZE(_ma, _type, _name, (_count) * sizeof(_type));
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttbdf.c177 FT_UInt _count = FT_NEXT_USHORT( p ); in FT_LOCAL_DEF() local
182 count = _count; in FT_LOCAL_DEF()
186 strike += 10 * _count; in FT_LOCAL_DEF()
/third_party/lzma/C/
H A DThreads.c424 p->_count = initCount; in Semaphore_Create()
443 p->_count = initCount; in Semaphore_OptCreateInit()
461 newCount = p->_count + releaseCount; in Semaphore_ReleaseN()
466 p->_count = newCount; in Semaphore_ReleaseN()
476 while (p->_count < 1) in Semaphore_Wait()
480 p->_count--; in Semaphore_Wait()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout.hh153 _count = buffer->len, \
154 start = 0, end = _count ? _hb_next_syllable (buffer, 0) : 0; \
155 start < _count; \
356 _count = buffer->len, \
357 start = 0, end = _count ? _hb_next_grapheme (buffer, 0) : 0; \
358 start < _count; \
/third_party/skia/third_party/externals/freetype/src/gxvalid/
H A Dgxvcommn.h274 #define GXV_LIMIT_CHECK( _count ) \
276 if ( p + _count > ( limit? limit : gxvalid->root->limit ) ) \
512 #define GXV_SUBTABLE_LIMIT_CHECK( _count ) \
514 if ( ( p + (_count) - gxvalid->subtable_start ) > \
/third_party/FreeBSD/sys/kern/
H A Dbus_if.h30 rman_res_t _count, u_int _flags);
50 * @param _count hint at the size of range required - pass @c 1
65 rman_res_t _count, in BUS_ALLOC_RESOURCE()
70 return ((bus_alloc_resource_t *) _m)(_dev, _child, _type, _rid, _start, _end, _count, _flags); in BUS_ALLOC_RESOURCE()
60 BUS_ALLOC_RESOURCE(device_t _dev, device_t _child, int _type, int *_rid, rman_res_t _start, rman_res_t _end, rman_res_t _count, u_int _flags) BUS_ALLOC_RESOURCE() argument
/third_party/python/Lib/test/
H A Dtest_thread.py111 # Test the _count() function.
112 orig = thread._count()
126 self.assertEqual(thread._count(), orig + 1)
138 self.assertEqual(thread._count(), orig)

Completed in 15 milliseconds

12