/dports/net/dgd/dgd-1.4.23/src/ed/ |
H A D | cmdsub.c | 210 cb->first = cb->this; in cb_page() 251 cb->mark[*(cb->cmd)++ - 'a'] = cb->first; in cb_mark() 315 cb_buf(cb, delete(cb, cb->first, cb->last)); in cb_delete() 329 add(cb, cb->a_addr, eb_yank(cb->edbuf, cb->first, cb->last), in cb_copy() 346 if (cb->a_addr >= cb->first - 1 && cb->a_addr <= cb->last) { in cb_move() 356 cb->a_addr -= cb->last - cb->first + 1; in cb_move() 366 add(cb, cb->a_addr, delete(cb, cb->first, cb->last), in cb_move() 412 cb_buf(cb, eb_yank(cb->edbuf, cb->first, cb->last)); in cb_yank() 902 cb->last = (cb->first == cb->edbuf->lines) ? cb->first : cb->first + 1; in cb_join() 907 cb->this = cb->othis = cb->first; in cb_join() [all …]
|
H A D | edcmd.c | 318 cb->first = cb_address(cb, cb->this); in cb_range() 326 cb->last = cb_address(cb, cb->this); in cb_range() 328 cb->last = cb->this; in cb_range() 358 if (cb->last < cb->first || cb->last > cb->edbuf->lines) { in cb_count() 601 change(cb, cb->first, cb->last, cb->edbuf->flines); in endblock() 605 cb->this = cb->othis = cb->first; in endblock() 609 add(cb, cb->first, cb->edbuf->flines, in endblock() 614 cb->this = cb->othis = cb->first; in endblock() 691 cb->glob_size = cb->last - cb->first + 1; in cb_global() 854 cb->first = cb->last = cb->this + 1; in cb_command() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet/ |
H A D | dccp_tcplike.c | 129 cb->ssthresh = cb->cwnd >>1; in tcplike_rto_timeout() 133 cb->rto = cb->rto << 1; in tcplike_rto_timeout() 173 cb->rto = cb->rtt << 1; in tcplike_rtt_sample() 185 cb->rtt_d = cb->rtt_d + ((err - cb->rtt_d) >> 2); in tcplike_rtt_sample() 188 cb->rto = cb->rtt + (cb->rtt_d << 2); in tcplike_rtt_sample() 196 cb->rto = cb->srtt << 1; in tcplike_rtt_sample() 257 cb->cv_hs = cb->cv_ts = 0; in tcplike_send_init() 299 cb->cv_hs = cb->cv_ts = 0; in tcplike_send_free() 537 cb->cwnd = cb->cwnd>>1; in tcplike_send_packet_recv() 554 cb->cwnd = cb->cwnd>>1; in tcplike_send_packet_recv() [all …]
|
/dports/x11-toolkits/scintilla/scintilla/test/unit/ |
H A D | testCellBuffer.cxx | 44 REQUIRE(cb.CanUndo()); 45 REQUIRE(!cb.CanRedo()); 63 REQUIRE(cb.CanUndo()); 64 REQUIRE(!cb.CanRedo()); 89 REQUIRE(cb.CanUndo()); 95 REQUIRE(cb.CanUndo()); 100 cb.PerformUndoStep(); 107 cb.PerformUndoStep(); 114 cb.PerformRedoStep(); 121 cb.PerformRedoStep(); [all …]
|
/dports/editors/textadept/scintilla/test/unit/ |
H A D | testCellBuffer.cxx | 44 REQUIRE(cb.CanUndo()); 45 REQUIRE(!cb.CanRedo()); 63 REQUIRE(cb.CanUndo()); 64 REQUIRE(!cb.CanRedo()); 89 REQUIRE(cb.CanUndo()); 95 REQUIRE(cb.CanUndo()); 100 cb.PerformUndoStep(); 107 cb.PerformUndoStep(); 114 cb.PerformRedoStep(); 121 cb.PerformRedoStep(); [all …]
|
/dports/editors/scite/scintilla/test/unit/ |
H A D | testCellBuffer.cxx | 44 REQUIRE(cb.CanUndo()); 45 REQUIRE(!cb.CanRedo()); 63 REQUIRE(cb.CanUndo()); 64 REQUIRE(!cb.CanRedo()); 89 REQUIRE(cb.CanUndo()); 95 REQUIRE(cb.CanUndo()); 100 cb.PerformUndoStep(); 107 cb.PerformUndoStep(); 114 cb.PerformRedoStep(); 121 cb.PerformRedoStep(); [all …]
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs/util/ |
H A D | circlebuf.h | 58 if (!cb->size || !cb->start_pos || cb->end_pos > cb->start_pos) in circlebuf_reorder_data() 62 data = (uint8_t *)cb->data + cb->start_pos; in circlebuf_reorder_data() 70 if (cb->size <= cb->capacity) in circlebuf_ensure_capacity() 87 cb->data = brealloc(cb->data, capacity); in circlebuf_reserve() 223 memset(cb->data, 0, cb->start_pos); in circlebuf_push_front_zero() 258 size_t back_size = (cb->end_pos ? cb->end_pos : cb->capacity); in circlebuf_peek_back() 282 cb->start_pos = cb->end_pos = 0; in circlebuf_pop_front() 287 if (cb->start_pos >= cb->capacity) in circlebuf_pop_front() 288 cb->start_pos -= cb->capacity; in circlebuf_pop_front() 298 cb->start_pos = cb->end_pos = 0; in circlebuf_pop_back() [all …]
|
/dports/security/libgnome-keyring/libgnome-keyring-3.12.0/library/ |
H A D | gkr-callback.c | 39 return cb; in gkr_callback_new() 48 if (cb->user_data && cb->destroy_func) in gkr_callback_free() 49 (cb->destroy_func) (cb->user_data); in gkr_callback_free() 64 g_assert (cb); in gkr_callback_invoke_op_msg() 68 cb->type = 0; in gkr_callback_invoke_op_msg() 69 ((OpMsgCallback)(cb->callback)) (cb->operation, msg, cb->user_data); in gkr_callback_invoke_op_msg() 77 g_assert (cb); in gkr_callback_invoke_op_session() 81 cb->type = 0; in gkr_callback_invoke_op_session() 82 ((OpSessionCallback)(cb->callback)) (cb->operation, session, cb->user_data); in gkr_callback_invoke_op_session() 94 cb->type = 0; in gkr_callback_invoke_op_string() [all …]
|
/dports/net-mgmt/collectd5/collectd-5.12.0/src/ |
H A D | write_http.c | 145 if ((cb == NULL) || (cb->send_buffer == NULL)) in wh_reset_buffer() 148 memset(cb->send_buffer, 0, cb->send_buffer_size); in wh_reset_buffer() 149 cb->send_buffer_free = cb->send_buffer_size; in wh_reset_buffer() 475 cb->location, cb->send_buffer_fill, cb->send_buffer_size, in wh_write_command() 517 cb->location, cb->send_buffer_fill, cb->send_buffer_size, in wh_write_json() 544 cb->send_buffer, &cb->send_buffer_fill, &cb->send_buffer_free, ds, vl, in wh_write_kairosdb() 546 cb->data_ttl, cb->metrics_prefix); in wh_write_kairosdb() 556 cb->send_buffer, &cb->send_buffer_fill, &cb->send_buffer_free, ds, vl, in wh_write_kairosdb() 558 cb->data_ttl, cb->metrics_prefix); in wh_write_kairosdb() 566 cb->location, cb->send_buffer_fill, cb->send_buffer_size, in wh_write_kairosdb() [all …]
|
H A D | write_graphite.c | 146 memset(cb->send_buf, 0, sizeof(cb->send_buf)); in wg_reset_buffer() 147 cb->send_buf_free = sizeof(cb->send_buf); in wg_reset_buffer() 158 status = swrite(cb->sock_fd, cb->send_buf, strlen(cb->send_buf)); in wg_send_buffer() 163 cb->node, cb->service, cb->protocol, status, STRERRNO); in wg_send_buffer() 231 cb->node, cb->service, cb->protocol, gai_strerror(status)); in wg_callback_init() 265 cb->node, cb->service, cb->protocol, connerr); in wg_callback_init() 270 cb->node, cb->service, cb->protocol); in wg_callback_init() 380 cb->node, cb->service, cb->protocol, cb->send_buf_fill, in wg_send_message() 402 cb->postfix, cb->escape_char, cb->format_flags); in wg_write_messages() 459 cb = calloc(1, sizeof(*cb)); in wg_config_node() [all …]
|
/dports/archivers/lzlib/lzlib-1.12/ |
H A D | cbuffer.c | 49 { return ( (cb->get <= cb->put) ? 0 : cb->buffer_size ) + cb->put - cb->get; } in Cb_used_bytes() 52 { return ( (cb->get <= cb->put) ? cb->buffer_size : 0 ) - cb->put + cb->get - 1; } in Cb_free_bytes() 57 if( ++cb->get >= cb->buffer_size ) cb->get = 0; in Cb_get_byte() 64 cb->buffer[cb->put] = b; in Cb_put_byte() 65 if( ++cb->put >= cb->buffer_size ) cb->put = 0; in Cb_put_byte() 74 else cb->get = cb->buffer_size - size + cb->get; in Cb_unread_data() 89 if( cb->get > cb->put ) in Cb_read_data() 96 if( cb->get >= cb->buffer_size ) cb->get = 0; in Cb_read_data() 99 if( cb->get < cb->put ) in Cb_read_data() 129 if( cb->put >= cb->buffer_size ) cb->put = 0; in Cb_write_data() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Data/Test/System.Data.Odbc/ |
H A D | OdbcCommandBuilderTest.cs | 125 cb.QuotePrefix = null; in QuotePrefix() 131 cb.QuotePrefix = " "; in QuotePrefix() 142 cb.QuoteSuffix = null; in QuoteSuffix() 148 cb.QuoteSuffix = " "; in QuoteSuffix() 155 OdbcCommandBuilder cb; in QuoteIdentifier1() 170 cb.QuotePrefix = "X"; in QuoteIdentifier1() 175 cb.QuoteSuffix = " "; in QuoteIdentifier1() 182 cb.QuotePrefix = " "; in QuoteIdentifier1() 281 cb.QuotePrefix = "X"; in QuoteIdentifier2_Connection_Null() 288 cb.QuoteSuffix = " "; in QuoteIdentifier2_Connection_Null() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/cpu/z180/ |
H A D | z180cb.c | 5 OP(cb,00) { _B = RLC(_B); } /* RLC B */ 6 OP(cb,01) { _C = RLC(_C); } /* RLC C */ 7 OP(cb,02) { _D = RLC(_D); } /* RLC D */ 8 OP(cb,03) { _E = RLC(_E); } /* RLC E */ 9 OP(cb,04) { _H = RLC(_H); } /* RLC H */ 10 OP(cb,05) { _L = RLC(_L); } /* RLC L */ 12 OP(cb,07) { _A = RLC(_A); } /* RLC A */ 14 OP(cb,08) { _B = RRC(_B); } /* RRC B */ 15 OP(cb,09) { _C = RRC(_C); } /* RRC C */ 16 OP(cb,0a) { _D = RRC(_D); } /* RRC D */ [all …]
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/cpu/z180/ |
H A D | z180cb.c | 5 OP(cb,00) { _B = RLC(_B); } /* RLC B */ 6 OP(cb,01) { _C = RLC(_C); } /* RLC C */ 7 OP(cb,02) { _D = RLC(_D); } /* RLC D */ 8 OP(cb,03) { _E = RLC(_E); } /* RLC E */ 9 OP(cb,04) { _H = RLC(_H); } /* RLC H */ 10 OP(cb,05) { _L = RLC(_L); } /* RLC L */ 12 OP(cb,07) { _A = RLC(_A); } /* RLC A */ 14 OP(cb,08) { _B = RRC(_B); } /* RRC B */ 15 OP(cb,09) { _C = RRC(_C); } /* RRC C */ 16 OP(cb,0a) { _D = RRC(_D); } /* RRC D */ [all …]
|
/dports/emulators/mess/mame-mame0226/src/devices/cpu/z180/ |
H A D | z180cb.hxx | 7 OP(cb,00) { _B = RLC(_B); } /* RLC B */ 8 OP(cb,01) { _C = RLC(_C); } /* RLC C */ 9 OP(cb,02) { _D = RLC(_D); } /* RLC D */ 10 OP(cb,03) { _E = RLC(_E); } /* RLC E */ 11 OP(cb,04) { _H = RLC(_H); } /* RLC H */ 12 OP(cb,05) { _L = RLC(_L); } /* RLC L */ 13 OP(cb,06) { WM( _HL, RLC(RM(_HL)) ); } /* RLC (HL) */ 14 OP(cb,07) { _A = RLC(_A); } /* RLC A */ 16 OP(cb,08) { _B = RRC(_B); } /* RRC B */ 17 OP(cb,09) { _C = RRC(_C); } /* RRC C */ [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/cpu/z180/ |
H A D | z180cb.hxx | 7 OP(cb,00) { _B = RLC(_B); } /* RLC B */ 8 OP(cb,01) { _C = RLC(_C); } /* RLC C */ 9 OP(cb,02) { _D = RLC(_D); } /* RLC D */ 10 OP(cb,03) { _E = RLC(_E); } /* RLC E */ 11 OP(cb,04) { _H = RLC(_H); } /* RLC H */ 12 OP(cb,05) { _L = RLC(_L); } /* RLC L */ 13 OP(cb,06) { WM( _HL, RLC(RM(_HL)) ); } /* RLC (HL) */ 14 OP(cb,07) { _A = RLC(_A); } /* RLC A */ 16 OP(cb,08) { _B = RRC(_B); } /* RRC B */ 17 OP(cb,09) { _C = RRC(_C); } /* RRC C */ [all …]
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/cpu/z180/ |
H A D | z180cb.c | 5 OP(cb,00) { _B = RLC(_B); } /* RLC B */ 6 OP(cb,01) { _C = RLC(_C); } /* RLC C */ 7 OP(cb,02) { _D = RLC(_D); } /* RLC D */ 8 OP(cb,03) { _E = RLC(_E); } /* RLC E */ 9 OP(cb,04) { _H = RLC(_H); } /* RLC H */ 10 OP(cb,05) { _L = RLC(_L); } /* RLC L */ 12 OP(cb,07) { _A = RLC(_A); } /* RLC A */ 14 OP(cb,08) { _B = RRC(_B); } /* RRC B */ 15 OP(cb,09) { _C = RRC(_C); } /* RRC C */ 16 OP(cb,0a) { _D = RRC(_D); } /* RRC D */ [all …]
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/cpu/z180/ |
H A D | z180cb.c | 5 OP(cb,00) { _B = RLC(_B); } /* RLC B */ 6 OP(cb,01) { _C = RLC(_C); } /* RLC C */ 7 OP(cb,02) { _D = RLC(_D); } /* RLC D */ 8 OP(cb,03) { _E = RLC(_E); } /* RLC E */ 9 OP(cb,04) { _H = RLC(_H); } /* RLC H */ 10 OP(cb,05) { _L = RLC(_L); } /* RLC L */ 12 OP(cb,07) { _A = RLC(_A); } /* RLC A */ 14 OP(cb,08) { _B = RRC(_B); } /* RRC B */ 15 OP(cb,09) { _C = RRC(_C); } /* RRC C */ 16 OP(cb,0a) { _D = RRC(_D); } /* RRC D */ [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/foreign/ |
H A D | libTestUpcall.c | 33 EXPORT void f0_V__( void (*cb)(void)) { cb(); } in f0_V__() 34 EXPORT void f0_V_I_(int p0, void (*cb)(int)) { cb(p0); } in f0_V_I_() 35 EXPORT void f0_V_F_(float p0, void (*cb)(float)) { cb(p0); } in f0_V_F_() 36 EXPORT void f0_V_D_(double p0, void (*cb)(double)) { cb(p0); } in f0_V_D_() 37 EXPORT void f0_V_P_(void* p0, void (*cb)(void*)) { cb(p0); } in f0_V_P_() 38 EXPORT void f0_V_S_I(struct S_I p0, void (*cb)(struct S_I)) { cb(p0); } in f0_V_S_I() 39 EXPORT void f0_V_S_F(struct S_F p0, void (*cb)(struct S_F)) { cb(p0); } in f0_V_S_F() 40 EXPORT void f0_V_S_D(struct S_D p0, void (*cb)(struct S_D)) { cb(p0); } in f0_V_S_D() 41 EXPORT void f0_V_S_P(struct S_P p0, void (*cb)(struct S_P)) { cb(p0); } in f0_V_S_P() 42 EXPORT void f0_V_S_II(struct S_II p0, void (*cb)(struct S_II)) { cb(p0); } in f0_V_S_II() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/foreign/ |
H A D | libTestUpcall.c | 33 EXPORT void f0_V__( void (*cb)(void)) { cb(); } in f0_V__() 34 EXPORT void f0_V_I_(int p0, void (*cb)(int)) { cb(p0); } in f0_V_I_() 35 EXPORT void f0_V_F_(float p0, void (*cb)(float)) { cb(p0); } in f0_V_F_() 36 EXPORT void f0_V_D_(double p0, void (*cb)(double)) { cb(p0); } in f0_V_D_() 37 EXPORT void f0_V_P_(void* p0, void (*cb)(void*)) { cb(p0); } in f0_V_P_() 38 EXPORT void f0_V_S_I(struct S_I p0, void (*cb)(struct S_I)) { cb(p0); } in f0_V_S_I() 39 EXPORT void f0_V_S_F(struct S_F p0, void (*cb)(struct S_F)) { cb(p0); } in f0_V_S_F() 40 EXPORT void f0_V_S_D(struct S_D p0, void (*cb)(struct S_D)) { cb(p0); } in f0_V_S_D() 41 EXPORT void f0_V_S_P(struct S_P p0, void (*cb)(struct S_P)) { cb(p0); } in f0_V_S_P() 42 EXPORT void f0_V_S_II(struct S_II p0, void (*cb)(struct S_II)) { cb(p0); } in f0_V_S_II() [all …]
|
/dports/devel/binutils/binutils-2.37/gas/testsuite/gas/z80/ |
H A D | bit.d | 10 [ ]+[0-9a-f]+:[ ]+cb 47[ ]+bit 0,a 11 [ ]+[0-9a-f]+:[ ]+cb 40[ ]+bit 0,b 12 [ ]+[0-9a-f]+:[ ]+cb 41[ ]+bit 0,c 13 [ ]+[0-9a-f]+:[ ]+cb 42[ ]+bit 0,d 14 [ ]+[0-9a-f]+:[ ]+cb 43[ ]+bit 0,e 15 [ ]+[0-9a-f]+:[ ]+cb 44[ ]+bit 0,h 16 [ ]+[0-9a-f]+:[ ]+cb 45[ ]+bit 0,l 20 [ ]+[0-9a-f]+:[ ]+cb 4f[ ]+bit 1,a 21 [ ]+[0-9a-f]+:[ ]+cb 48[ ]+bit 1,b 22 [ ]+[0-9a-f]+:[ ]+cb 49[ ]+bit 1,c [all …]
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gas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