Home
last modified time | relevance | path

Searched refs:TERM_LEN (Results 1 – 25 of 25) sorted by relevance

/dports/textproc/refdb/refdb-0.9.9-1/src/
H A Drefdb-client.c365 if (numbyte >= TERM_LEN) { in getsimplelist()
366 if (n_curr_trailing_z >= TERM_LEN) { in getsimplelist()
374 && n_curr_trailing_z + n_last_trailing_z >= TERM_LEN) { in getsimplelist()
629 if ((num_trailz = get_trailz(inbuffer, numbyte)) >= TERM_LEN) { /* if transmission ends */ in send_xml_data()
706 *ptr_n_setlength = TERM_LEN; /* for the terminating \0's */ in send_ris_data()
724 if (*ptr_n_setlength != TERM_LEN) { /* if dataset is not empty */ in send_ris_data()
780 if ((num_trailz = get_trailz(inbuffer, numbyte)) >= TERM_LEN) { /* if transmission ends */ in send_ris_data()
838 numbyte += tread(ptr_slvals->n_sockfd, ptr_slvals->inbuffer+numbyte, TERM_LEN-n_curr_trailing_z); in read_terminated_string()
853 if (numbyte >= TERM_LEN) { in read_terminated_string()
854 if (n_curr_trailing_z >= TERM_LEN) { in read_terminated_string()
[all …]
H A Dconnect.c173 if (n_byte_read+res>= TERM_LEN in tread()
174 && !memcmp((const void*)(buf_start+n_byte_read+res-TERM_LEN), in tread()
176 TERM_LEN)) { in tread()
281 n_byte_written = iwrite(fd, cs_term, TERM_LEN); in tiwrite()
344 n_byte_written = iwrite(fd, cs_term, TERM_LEN); in send_status()
H A Dreadris.c187 *ptr_inbufsize += TERM_LEN; in read_ris_set()
196 memset((*ptr_inbuffer) + *ptr_inbufsize - TERM_LEN, (int)'\0', TERM_LEN); in read_ris_set()
H A Dconnect.h35 #define TERM_LEN 4 macro
H A Drefdb-client.h33 char inbuffer[OUTBUF_LEN+TERM_LEN]; /* holds the reply from the server */
H A Drefdbib.c748 if ((num_trailz = get_trailz(inbuffer, numbyte)) >= TERM_LEN) { /* if transmission ends */ in make_cookedbib()
1027 if ((num_trailz = get_trailz(inbuffer, numbyte)) >= TERM_LEN) { /* if transmission ends */ in make_rawbib()
1240 sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); in make_texbib()
1345 if (numbyte >= TERM_LEN) { in make_texbib()
1346 if (n_curr_trailing_z >= TERM_LEN) { in make_texbib()
1354 && n_curr_trailing_z + n_last_trailing_z >= TERM_LEN) { in make_texbib()
H A Drefdba.c1161 if (numbyte >= TERM_LEN) { in adduser()
1162 if (n_curr_trailing_z >= TERM_LEN) { in adduser()
1169 && n_curr_trailing_z + n_last_trailing_z >= TERM_LEN) { in adduser()
1593 if (numbyte >= TERM_LEN) { in addword()
1594 if (n_curr_trailing_z >= TERM_LEN) { in addword()
1601 && n_curr_trailing_z + n_last_trailing_z >= TERM_LEN) { in addword()
1985 if ((num_trailz = get_trailz(inbuffer, numbyte)) >= TERM_LEN) { /* if transmission ends */ in com_addstyle()
H A Drefdbdgetrefx.c594 iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in getrefx()
611 iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in getrefx()
H A Drefdbc.c1181 sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); in com_deleteref()
1593 sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); in pickref()
2223 sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); in getref()
3569 if ((num_trailz = get_trailz(slvals.inbuffer, numbyte)) >= TERM_LEN) { /* if transmission ends */ in addref()
4227 if ((num_trailz = get_trailz(inbuffer, numbyte)) >= TERM_LEN) { /* if transmission ends */ in addnote()
4266 if (numbyte >= TERM_LEN) { in addnote()
4267 if (n_curr_trailing_z >= TERM_LEN) { in addnote()
4275 && n_curr_trailing_z + n_last_trailing_z >= TERM_LEN) { in addnote()
4625 sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); in com_deletenote()
5142 sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); in getnote()
H A Drefdbda.c1476 if (get_trailz(inbuffer, numbyte) == TERM_LEN) { /* if transmission complete */ in adduser()
2029 if (get_trailz(inbuffer, numbyte) >= TERM_LEN) { /* if transmission complete */ in addword()
2458 iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in getfoo()
H A Drefdbd.c979 …if (get_trailz(child_inbuffer, numbyte) < TERM_LEN || strlen(child_inbuffer) > PROTOCOL_LENGTH) { … in main()
1024 if (get_trailz(child_inbuffer, numbyte) < TERM_LEN) { /* if transmission incomplete */ in main()
H A Drefdbdgetref.c2932 iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in getref()
2949 iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in getref()
H A Drefdbdbib.c960 iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in getbib()
1067 n_writeresult = iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in getbib()
H A Dbackend-bibtex.c1525 iwrite(ptr_clrequest->fd, cs_term, TERM_LEN); in gettexbib()
H A Drefdbdref.c728 inlength = numbyte - TERM_LEN; in read_ris_data()
/dports/lang/ruby26/ruby-2.6.9/ext/-test-/string/
H A Dcstr.c96 #define TERM_LEN(str) rb_enc_mbminlen(rb_enc_get(str)) macro
109 long capacity = RSTRING_LEN(str) + TERM_LEN(str); in bug_str_s_cstr_noembed()
118 TERM_FILL(RSTRING_END(str2), TERM_LEN(str)); in bug_str_s_cstr_noembed()
/dports/sysutils/fcron/fcron-3.2.1/
H A Dfcron.h67 extern char default_mail_charset[TERM_LEN];
H A Dsocket.c420 char fields[TERM_LEN];
446 fields[TERM_LEN - 1] = '\0';
459 char buf[TERM_LEN];
573 char lavg_str[TERM_LEN];
H A Dfcron.c68 char default_mail_charset[TERM_LEN] = "";
H A Djob.c694 char mailbuf[TERM_LEN]; in run_job()
H A Dconfig.h.in109 #define TERM_LEN 196 /* max nb of char in a term line */ macro
/dports/lang/ruby26/ruby-2.6.9/
H A Dstring.c136 const int termlen = TERM_LEN(str);\
198 int termlen = TERM_LEN(str); in str_make_independent()
720 return str_capacity(str, TERM_LEN(str)); in rb_str_capacity()
1163 const int termlen = TERM_LEN(str); in str_replace_shared_without_enc()
2015 termlen = TERM_LEN(str); in rb_str_times()
2139 int termlen = TERM_LEN(str); in rb_str_modify_expand()
2709 const int termlen = TERM_LEN(str); in rb_str_set_len()
2738 const int termlen = TERM_LEN(str); in rb_str_resize()
2780 const int termlen = TERM_LEN(str); in str_buf_cat()
7417 TERM_FILL(t, TERM_LEN(str)); in rb_str_delete_bang()
[all …]
/dports/sysutils/fcron/fcron-3.2.1/tests/
H A Djob-TEST-pipeack.c686 char mailbuf[TERM_LEN]; in run_job()
/dports/lang/ruby26/ruby-2.6.9/doc/
H A DChangeLog-2.4.02693 sometimes be different from TERM_LEN(str) especially during
2826 is used, TERM_LEN(str) should be considered with it because
2847 * string.c (rb_str_new_with_class): Use TERM_LEN of the "obj".
H A DChangeLog-2.1.03805 * string.c (STR_HEAP_SIZE): includes TERM_LEN(str).