Home
last modified time | relevance | path

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

/dports/net-im/uTox/uTox/src/xlib/
H A Devent.c596 if (pastebuf.data) { in doevent()
598 free(pastebuf.data); in doevent()
602 pastebuf.left = pastebuf.len; in doevent()
603 pastebuf.data = malloc(pastebuf.len); in doevent()
666 pastedata(pastebuf.data, type, pastebuf.len, False); in doevent()
671 if (pastebuf.left > 0 && (unsigned)pastebuf.left < len) { in doevent()
672 pastebuf.len += len - pastebuf.left; in doevent()
673 pastebuf.data = realloc(pastebuf.data, pastebuf.len); in doevent()
674 pastebuf.left = len; in doevent()
677 memcpy(pastebuf.data + pastebuf.len - pastebuf.left, data, len); in doevent()
[all …]
H A Dmain.h72 } pastebuf; variable
H A Dmain.c63 struct utox_pastebuf pastebuf; variable
/dports/irc/bitlbee/bitlbee-3.6/
H A Dirc_im.c500 if (iu->pastebuf == NULL) { in bee_irc_user_privmsg()
501 iu->pastebuf = g_string_new(msg); in bee_irc_user_privmsg()
505 g_string_append_c(iu->pastebuf, '\n'); in bee_irc_user_privmsg()
507 g_string_append(iu->pastebuf, msg); in bee_irc_user_privmsg()
533 msg = g_string_free(iu->pastebuf, FALSE); in bee_irc_user_privmsg_cb()
534 iu->pastebuf = NULL; in bee_irc_user_privmsg_cb()
548 iu->pastebuf = NULL; in bee_irc_user_privmsg_cb()
863 if (ic->pastebuf == NULL) { in bee_irc_channel_chat_privmsg()
864 ic->pastebuf = g_string_new(msg); in bee_irc_channel_chat_privmsg()
894 g_string_free(ic->pastebuf, TRUE); in bee_irc_channel_chat_privmsg_cb()
[all …]
H A Dirc.h145 GString *pastebuf; /* Paste buffer (combine lines into a multiline msg). */ member
186 GString *pastebuf; /* Paste buffer (combine lines into a multiline msg). */ member
H A Dirc_user.c97 g_free(iu->pastebuf); in irc_user_free()
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/
H A Dversion.c174 void early_version_info(pastebuf) in early_version_info() argument
175 boolean pastebuf; in early_version_info()
191 if (pastebuf) {
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/
H A Dversion.c174 void early_version_info(pastebuf) in early_version_info() argument
175 boolean pastebuf; in early_version_info()
191 if (pastebuf) {
/dports/editors/mined/mined-2015.25/src/
H A Dvms-link.opt9 pastebuf
H A Dmkmined103 makec pastebuf
H A Dvms-make.com40 $ call make pastebuf
H A Dmkinclud.mak13 $(OBJDIR)/edit.o $(OBJDIR)/pastebuf.o $(OBJDIR)/textbuf.o \
517 $(OBJDIR)/pastebuf.o: pastebuf.c mined.h charprop.h io.h
518 $(CC) $(CFLAGS) $(PROTOFLAGS) -c pastebuf.c -o $(OBJDIR)/pastebuf.o
/dports/games/xnethack/xNetHack-xnh6.1/src/
H A Dversion.c249 early_version_info(boolean pastebuf) in early_version_info() argument
269 if (pastebuf) { in early_version_info()
/dports/shells/zsh/zsh-5.8.1/Src/Zle/
H A Dzle_misc.c557 static void pastebuf(Cutbuffer buf, int mult, int position) in pastebuf() function
624 pastebuf(kctbuf, n, 0); in viputbefore()
647 pastebuf(kctbuf, n, 1); in viputafter()
683 pastebuf(&prevbuf, n, pos); in putreplaceselection()
741 pastebuf(buf, 1, !!(lastcmd & ZLE_YANKAFTER)); in yankpop()
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Dtextedit.h544 bigstring pastebuf = ""; in key() local
545 paste(pastebuf, sizeof(pastebuf)); in key()
546 for(const char *buf = &pastebuf[0]; *buf; buf++) insert(*buf); in key()
/dports/games/redeclipse/base-2.0.0/src/engine/
H A Dtextedit.h552 char *pastebuf = pastetext(); in key() local
553 if(pastebuf) in key()
555 insert(pastebuf); in key()
556 delete[] pastebuf; in key()
/dports/editors/mle/mle-1.4.3/
H A Deditor.c957 if (cmd_ctx.pastebuf) free(cmd_ctx.pastebuf); in _editor_loop()
1114 ctx->pastebuf = realloc(ctx->pastebuf, sizeof(kinput_t) * ctx->pastebuf_size); in _editor_ingest_paste()
1134 ctx->pastebuf[ctx->pastebuf_len++] = input; in _editor_ingest_paste()
H A Dmle.h301 kinput_t *pastebuf; member
H A Dcmd.c72 input = i == -1 ? &ctx->input : &ctx->pastebuf[i]; in cmd_insert_data()
/dports/audio/etktab/eTktab-3.2/
H A DeTktab315 set pastebuf ""
1751 global pastebuf
1753 return [string range $pastebuf $offset [expr $offset + $maxbytes ] ]
4485 global pastebuf
4503 global pastebuf
4552 global pastebuf
4564 set pastebuf $x_selection
4567 if { $pastebuf == "" } {
4570 if { [ llength [ lindex $pastebuf 0 ] ] != $num_strings } {
4580 set tab_data [ concat $before $pastebuf $after ]
[all …]
/dports/editors/impress/impress-1.1b9/src/
H A Dimpress.tcl7253 set pastebuf $Global($cuttype)
7254 if {"$pastebuf" != ""} {
7257 append pastebuf "
7262 append pastebuf "
7268 append pastebuf "
7274 append pastebuf "
7282 after idle $pastebuf
/dports/x11-toolkits/otk/otk_lib/
H A Dotk_lib.c6522 void otk_paste_text( char *pastebuf ) in otk_paste_text() argument
6529 if (pastebuf == 0) {printf("Error: Null pastebuffer.\n"); return;} in otk_paste_text()
6530 if (Otk_verbose) printf("Pasting '%s'\n", pastebuf ); in otk_paste_text()
6543 newstrnlen = strlen(pastebuf); in otk_paste_text()
6556 Otk_tmpstr[insertpoint+k] = pastebuf[k]; /* Insert new pastebuf chars into opened spot. */ in otk_paste_text()