/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/tests/ |
H A D | BLI_edgehash_test.cc | 19 ASSERT_EQ(BLI_edgehash_len(eh), 0); in TEST() 21 ASSERT_EQ(BLI_edgehash_len(eh), 1); in TEST() 23 BLI_edgehash_free(eh, nullptr); in TEST() 34 BLI_edgehash_free(eh, nullptr); in TEST() 49 BLI_edgehash_free(eh, nullptr); in TEST() 63 BLI_edgehash_free(eh, nullptr); in TEST() 74 BLI_edgehash_free(eh, nullptr); in TEST() 83 BLI_edgehash_free(eh, nullptr); in TEST() 92 BLI_edgehash_free(eh, nullptr); in TEST() 102 BLI_edgehash_free(eh, nullptr); in TEST() [all …]
|
/dports/net-im/matterbridge/matterbridge-1.22.3/vendor/github.com/matterbridge/discordgo/ |
H A D | eventhandlers.go | 72 eh(s, t) 92 eh(s, t) 112 eh(s, t) 132 eh(s, t) 147 eh(s, t) 162 eh(s, t) 177 eh(s, t) 197 eh(s, t) 217 eh(s, t) 237 eh(s, t) [all …]
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/bwmarrin/discordgo/ |
H A D | eventhandlers.go | 72 eh(s, t) 92 eh(s, t) 112 eh(s, t) 132 eh(s, t) 147 eh(s, t) 162 eh(s, t) 177 eh(s, t) 197 eh(s, t) 217 eh(s, t) 237 eh(s, t) [all …]
|
/dports/games/automuteus/automuteus-6.15.2/vendor/github.com/bwmarrin/discordgo/ |
H A D | eventhandlers.go | 72 eh(s, t) 92 eh(s, t) 112 eh(s, t) 132 eh(s, t) 147 eh(s, t) 162 eh(s, t) 177 eh(s, t) 197 eh(s, t) 217 eh(s, t) 237 eh(s, t) [all …]
|
/dports/mail/mimedefang/mimedefang-2.84/ |
H A D | event.c | 182 for (eh=es->handlers; eh; eh=eh->next) { in Event_HandleEventUsingSelect() 187 if (eh->fd > maxfd) maxfd = eh->fd; in Event_HandleEventUsingSelect() 192 if (eh->fd > maxfd) maxfd = eh->fd; in Event_HandleEventUsingSelect() 263 for (eh=es->handlers; eh; eh=eh->next) { in Event_HandleEventUsingSelect() 293 eh->fn(es, eh->fd, flags, eh->data); in Event_HandleEventUsingSelect() 345 eh = eh->next; in Event_HandleEventUsingPoll() 356 for (eh=es->handlers; eh; eh=eh->next) { in Event_HandleEventUsingPoll() 438 for (eh=es->handlers; eh; eh=eh->next) { in Event_HandleEventUsingPoll() 458 eh->fn(es, eh->fd, eh->pollflags, eh->data); in Event_HandleEventUsingPoll() 517 return eh; in Event_AddHandler() [all …]
|
/dports/net/rp-pppoe/rp-pppoe-3.15/src/libevent/ |
H A D | event.c | 110 for (eh=es->handlers; eh; eh=eh->next) { in Event_HandleEvent() 115 if (eh->fd > maxfd) maxfd = eh->fd; in Event_HandleEvent() 120 if (eh->fd > maxfd) maxfd = eh->fd; in Event_HandleEvent() 181 for (eh=es->handlers; eh; eh=eh->next) { in Event_HandleEvent() 211 eh->fn(es, eh->fd, flags, eh->data); in Event_HandleEvent() 257 eh->fd = fd; in Event_AddHandler() 261 eh->fn = fn; in Event_AddHandler() 269 return eh; in Event_AddHandler() 341 return eh; in Event_AddHandlerWithTimeout() 394 return eh; in Event_AddTimerHandler() [all …]
|
/dports/net/zebra-server/idzebra-2.0.55/data1/ |
H A D | d1_expout.c | 90 if (!is_data_tag (eh, c)) in f_string() 138 if (!is_data_tag (eh, c)) in f_humstring() 214 res[i++] = f_string (eh, c); in f_string_seq() 1352 ExpHandle eh; in data1_nodetoexplain() local 1355 eh.dh = dh; in data1_nodetoexplain() 1356 eh.select = select; in data1_nodetoexplain() 1357 eh.o = o; in data1_nodetoexplain() 1358 eh.false_value = (int *)odr_malloc(eh.o, sizeof(eh.false_value)); in data1_nodetoexplain() 1359 *eh.false_value = 0; in data1_nodetoexplain() 1360 eh.true_value = (int *)odr_malloc(eh.o, sizeof(eh.true_value)); in data1_nodetoexplain() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | edgehash.c | 157 EdgeHashEntry *entry = &eh->entries[eh->length]; in edgehash_insert_at_slot() 160 eh->map[slot] = (int32_t)eh->length; in edgehash_insert_at_slot() 161 eh->length++; in edgehash_insert_at_slot() 167 if (UNLIKELY(ENTRIES_CAPACITY(eh) <= eh->length + eh->dummy_count)) { in edgehash_ensure_can_insert() 171 eh->entries = MEM_reallocN(eh->entries, sizeof(EdgeHashEntry) * ENTRIES_CAPACITY(eh)); in edgehash_ensure_can_insert() 172 eh->map = MEM_reallocN(eh->map, sizeof(int32_t) * MAP_CAPACITY(eh)); in edgehash_ensure_can_insert() 175 edgehash_insert_index(eh, eh->entries[i].edge, i); in edgehash_ensure_can_insert() 234 CLEAR_MAP(eh); in BLI_edgehash_new_ex() 235 return eh; in BLI_edgehash_new_ex() 248 MEM_freeN(eh); in BLI_edgehash_free() [all …]
|
/dports/net/owamp/owamp-3.3/I2util/I2util/ |
H A D | ErrLog.c | 121 if(!eh){ in get_error() 404 if(!(eh->reset_func(eh->log_func_arg, &(eh->data)))){ in I2ErrReset() 433 if (eh) free(eh); in I2ErrClose() 473 msg = eh->retrieve_func(eh->retrieve_func_arg, &(eh->data)); in I2ErrRep() 512 if (eh && eh->retrieve_func) { in I2ErrGetMsg() 513 msg = eh->retrieve_func(eh->retrieve_func_arg, &(eh->data)); in I2ErrGetMsg() 592 eh->err_tab[eh->err_tab_num].start = start; in I2ErrList() 593 eh->err_tab[eh->err_tab_num].num = num; in I2ErrList() 594 eh->err_tab[eh->err_tab_num].err_list = err_list; in I2ErrList() 711 if(!eh){ in I2ErrLogVT() [all …]
|
/dports/lang/parrot/parrot-8.1.0/t/pmc/ |
H A D | exceptionhandler.t | 37 push_eh eh 73 eh = 0 79 eh = 0 87 push_eh eh 92 push_eh eh 115 eh = 0 121 eh = 0 127 push_eh eh 195 push_eh eh 219 push_eh eh [all …]
|
/dports/editors/ted/Ted-2.23/bitmap/ |
H A D | bmEmfIo.c | 6 int bmMetaReadEmfHeader( EmfHeader * eh, in bmMetaReadEmfHeader() argument 13 eh->eh_headerSize= sioEndianGetLeUint32( sis ); done += 4; in bmMetaReadEmfHeader() 15 eh->ehBounds.drX0= sioEndianGetLeInt32( sis ); done += 4; in bmMetaReadEmfHeader() 16 eh->ehBounds.drY0= sioEndianGetLeInt32( sis ); done += 4; in bmMetaReadEmfHeader() 20 eh->ehFrame.drX0= sioEndianGetLeInt32( sis ); done += 4; in bmMetaReadEmfHeader() 27 eh->eh_size= sioEndianGetLeUint32( sis ); done += 4; in bmMetaReadEmfHeader() 46 if ( eh->eh_signature != 0x464D4520 ) in bmMetaReadEmfHeader() 47 { XXDEB(eh->eh_signature,0x464D4520); return -1; } in bmMetaReadEmfHeader() 48 if ( eh->eh_version != 0x00010000 ) in bmMetaReadEmfHeader() 49 { XXDEB(eh->eh_version,0x00010000); } in bmMetaReadEmfHeader() [all …]
|
/dports/editors/micro/micro-2.0.10/internal/buffer/ |
H A D | eventhandler.go | 49 eh.Execute(t) 154 eh.buf = buf 155 eh.cursors = cursors 156 return eh 192 C: *eh.cursors[eh.active], 208 C: *eh.cursors[eh.active], 219 C: *eh.cursors[eh.active], 224 eh.Execute(e) 272 eh.UndoOneEvent() 286 eh.UndoTextEvent(t) [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | CCGSubSurf_util.c | 49 EHash *eh = allocatorIFC->alloc(allocator, sizeof(*eh)); in ccg_ehash_new() local 57 eh->curSize = kHashSizes[eh->curSizeIdx]; in ccg_ehash_new() 58 eh->buckets = EHASH_alloc(eh, eh->curSize * sizeof(*eh->buckets)); in ccg_ehash_new() 59 memset(eh->buckets, 0, eh->curSize * sizeof(*eh->buckets)); in ccg_ehash_new() 61 return eh; in ccg_ehash_new() 80 EHASH_free(eh, eh->buckets); in ccg_ehash_free() 81 EHASH_free(eh, eh); in ccg_ehash_free() 94 eh->curSize = kHashSizes[++eh->curSizeIdx]; in ccg_ehash_insert() 96 eh->buckets = EHASH_alloc(eh, eh->curSize * sizeof(*eh->buckets)); in ccg_ehash_insert() 97 memset(eh->buckets, 0, eh->curSize * sizeof(*eh->buckets)); in ccg_ehash_insert() [all …]
|
/dports/mail/postfix-current/postfix-3.7-20211107/src/tls/ |
H A D | tls_prng_exch.c | 84 TLS_PRNG_SRC *eh; in tls_prng_exch_open() local 89 eh = (TLS_PRNG_SRC *) mymalloc(sizeof(*eh)); in tls_prng_exch_open() 90 eh->fd = fd; in tls_prng_exch_open() 91 eh->name = mystrdup(name); in tls_prng_exch_open() 92 eh->timeout = 0; in tls_prng_exch_open() 95 return (eh); in tls_prng_exch_open() 111 if (lseek(eh->fd, 0, SEEK_SET) < 0) in tls_prng_exch_update() 120 if (lseek(eh->fd, 0, SEEK_SET) < 0) in tls_prng_exch_update() 134 if (close(eh->fd) < 0) in tls_prng_exch_close() 138 myfree(eh->name); in tls_prng_exch_close() [all …]
|
/dports/devel/libzvbi/zvbi-0.2.35/src/ |
H A D | event.c | 57 for (eh = el->first; NULL != eh; eh = eh->next) { in __vbi_event_handler_list_send() 58 if (0 != (eh->event_mask & ev->type) && !eh->remove) { in __vbi_event_handler_list_send() 59 eh->callback (ev, eh->user_data); in __vbi_event_handler_list_send() 70 if (eh->remove) { in __vbi_event_handler_list_send() 71 *ehp = eh->next; in __vbi_event_handler_list_send() 72 vbi_free (eh); in __vbi_event_handler_list_send() 74 ehp = &eh->next; in __vbi_event_handler_list_send() 105 vbi_free (eh); in _vbi_event_handler_list_remove_by_event() 111 ehp = &eh->next; in _vbi_event_handler_list_remove_by_event() 158 if (eh1 == eh) { in _vbi_event_handler_list_remove() [all …]
|
/dports/science/dftbplus/dftbplus-19.1/prog/dftb+/lib_extlibs/ |
H A D | elsiiface.F90 | 93 type(elsi_handle), intent(out) :: eh local 103 subroutine elsi_reinit(eh) argument 104 type(elsi_handle), intent(inout) :: eh local 108 subroutine elsi_finalize(eh) argument 109 type(elsi_handle), intent(inout) :: eh local 125 subroutine elsi_set_csc_blk(eh, blk) argument 132 subroutine elsi_set_zero_def(eh, zero) argument 183 subroutine elsi_get_edm_real(eh, edm) argument 211 subroutine elsi_get_mu(eh, mu) argument 277 subroutine elsi_set_mpi(eh, comm) argument [all …]
|
/dports/sysutils/dvdisaster/dvdisaster-0.79.5/ |
H A D | endian.c | 73 void PrintEccHeader(EccHeader *eh) 136 print_ecc_header(eh); 139 eh->dataBytes = SwapBytes32(eh->dataBytes); 140 eh->eccBytes = SwapBytes32(eh->eccBytes); 141 eh->creatorVersion = SwapBytes32(eh->creatorVersion); 142 eh->neededVersion = SwapBytes32(eh->neededVersion); 143 eh->fpSector = SwapBytes32(eh->fpSector); 144 eh->inLast = SwapBytes32(eh->inLast); 145 eh->sectorsPerLayer = SwapBytes64(eh->sectorsPerLayer); 146 eh->sectorsAddedByEcc = SwapBytes64(eh->sectorsAddedByEcc); [all …]
|
/dports/net/openmpi3/openmpi-3.1.6/ompi/errhandler/ |
H A D | errhandler.c | 97 ompi_mpi_errhandler_null.eh.eh_comm_fn = NULL; in ompi_errhandler_init() 98 ompi_mpi_errhandler_null.eh.eh_file_fn = NULL; in ompi_errhandler_init() 99 ompi_mpi_errhandler_null.eh.eh_win_fn = NULL ; in ompi_errhandler_init() 100 ompi_mpi_errhandler_null.eh.eh_fort_fn = NULL; in ompi_errhandler_init() 113 ompi_mpi_errors_are_fatal.eh.eh_fort_fn = NULL; in ompi_errhandler_init() 125 ompi_mpi_errors_return.eh.eh_fort_fn = NULL; in ompi_errhandler_init() 138 ompi_mpi_errors_throw_exceptions.eh.eh_comm_fn = in ompi_errhandler_init() 140 ompi_mpi_errors_throw_exceptions.eh.eh_file_fn = in ompi_errhandler_init() 159 OBJ_DESTRUCT(&ompi_mpi_errhandler_null.eh); in ompi_errhandler_finalize() 160 OBJ_DESTRUCT(&ompi_mpi_errors_return.eh); in ompi_errhandler_finalize() [all …]
|
/dports/net/openmpi/openmpi-4.1.1/ompi/errhandler/ |
H A D | errhandler.c | 97 ompi_mpi_errhandler_null.eh.eh_comm_fn = NULL; in ompi_errhandler_init() 98 ompi_mpi_errhandler_null.eh.eh_file_fn = NULL; in ompi_errhandler_init() 99 ompi_mpi_errhandler_null.eh.eh_win_fn = NULL ; in ompi_errhandler_init() 100 ompi_mpi_errhandler_null.eh.eh_fort_fn = NULL; in ompi_errhandler_init() 113 ompi_mpi_errors_are_fatal.eh.eh_fort_fn = NULL; in ompi_errhandler_init() 125 ompi_mpi_errors_return.eh.eh_fort_fn = NULL; in ompi_errhandler_init() 138 ompi_mpi_errors_throw_exceptions.eh.eh_comm_fn = in ompi_errhandler_init() 140 ompi_mpi_errors_throw_exceptions.eh.eh_file_fn = in ompi_errhandler_init() 159 OBJ_DESTRUCT(&ompi_mpi_errhandler_null.eh); in ompi_errhandler_finalize() 160 OBJ_DESTRUCT(&ompi_mpi_errors_return.eh); in ompi_errhandler_finalize() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/go.etcd.io/etcd/etcdserver/api/v2store/ |
H A D | event_history.go | 44 eh.rwl.Lock() 45 defer eh.rwl.Unlock() 47 eh.Queue.insert(e) 49 eh.LastIndex = e.Index() 51 eh.StartIndex = eh.Queue.Events[eh.Queue.Front].Index() 59 eh.rwl.RLock() 60 defer eh.rwl.RUnlock() 63 if index < eh.StartIndex { 76 i := (eh.Queue.Front + int(offset)) % eh.Queue.Capacity 79 e := eh.Queue.Events[i] [all …]
|
/dports/security/certmgr/certmgr-3.0.3/vendor/github.com/google/certificate-transparency-go/certificate-transparency-go-1.0.21/vendor/github.com/coreos/etcd/store/ |
H A D | event_history.go | 44 eh.rwl.Lock() 45 defer eh.rwl.Unlock() 47 eh.Queue.insert(e) 49 eh.LastIndex = e.Index() 51 eh.StartIndex = eh.Queue.Events[eh.Queue.Front].Index() 59 eh.rwl.RLock() 60 defer eh.rwl.RUnlock() 63 if index < eh.StartIndex { 76 i := (eh.Queue.Front + int(offset)) % eh.Queue.Capacity 79 e := eh.Queue.Events[i] [all …]
|
/dports/net-im/nextcloud-spreed-signaling/nextcloud-spreed-signaling-0.2.0/vendor/src/go.etcd.io/etcd/etcdserver/api/v2store/ |
H A D | event_history.go | 44 eh.rwl.Lock() 45 defer eh.rwl.Unlock() 47 eh.Queue.insert(e) 49 eh.LastIndex = e.Index() 51 eh.StartIndex = eh.Queue.Events[eh.Queue.Front].Index() 59 eh.rwl.RLock() 60 defer eh.rwl.RUnlock() 63 if index < eh.StartIndex { 76 i := (eh.Queue.Front + int(offset)) % eh.Queue.Capacity 79 e := eh.Queue.Events[i] [all …]
|
/dports/devel/etcd33/etcd-3.3.23/vendor/github.com/coreos/etcd/store/ |
H A D | event_history.go | 44 eh.rwl.Lock() 45 defer eh.rwl.Unlock() 47 eh.Queue.insert(e) 49 eh.LastIndex = e.Index() 51 eh.StartIndex = eh.Queue.Events[eh.Queue.Front].Index() 59 eh.rwl.RLock() 60 defer eh.rwl.RUnlock() 63 if index < eh.StartIndex { 76 i := (eh.Queue.Front + int(offset)) % eh.Queue.Capacity 79 e := eh.Queue.Events[i] [all …]
|
/dports/www/gitea/gitea-1.16.5/vendor/go.etcd.io/etcd/server/v3/etcdserver/api/v2store/ |
H A D | event_history.go | 44 eh.rwl.Lock() 45 defer eh.rwl.Unlock() 47 eh.Queue.insert(e) 49 eh.LastIndex = e.Index() 51 eh.StartIndex = eh.Queue.Events[eh.Queue.Front].Index() 59 eh.rwl.RLock() 60 defer eh.rwl.RUnlock() 63 if index < eh.StartIndex { 76 i := (eh.Queue.Front + int(offset)) % eh.Queue.Capacity 79 e := eh.Queue.Events[i] [all …]
|
/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/go.etcd.io/etcd/server/v3/etcdserver/api/v2store/ |
H A D | event_history.go | 44 eh.rwl.Lock() 45 defer eh.rwl.Unlock() 47 eh.Queue.insert(e) 49 eh.LastIndex = e.Index() 51 eh.StartIndex = eh.Queue.Events[eh.Queue.Front].Index() 59 eh.rwl.RLock() 60 defer eh.rwl.RUnlock() 63 if index < eh.StartIndex { 76 i := (eh.Queue.Front + int(offset)) % eh.Queue.Capacity 79 e := eh.Queue.Events[i] [all …]
|