Home
last modified time | relevance | path

Searched refs:retbuf (Results 1 – 20 of 20) sorted by relevance

/netbsd/external/bsd/ntp/dist/ntpd/
H A Drefclock_datum.c147 char retbuf[8]; /* returned time from the datum pts */ member
544 datum_pts->retbuf[nb] = dpt[i]; in datum_pts_receive()
559 datum_pts->day = 100*(datum_pts->retbuf[0] & 0x0f) + in datum_pts_receive()
560 10*((datum_pts->retbuf[1] & 0xf0)>>4) + in datum_pts_receive()
561 (datum_pts->retbuf[1] & 0x0f); in datum_pts_receive()
563 datum_pts->hour = 10*((datum_pts->retbuf[2] & 0x30)>>4) + in datum_pts_receive()
564 (datum_pts->retbuf[2] & 0x0f); in datum_pts_receive()
567 (datum_pts->retbuf[3] & 0x0f); in datum_pts_receive()
570 (datum_pts->retbuf[4] & 0x0f); in datum_pts_receive()
573 10*(datum_pts->retbuf[5] & 0x0f) + in datum_pts_receive()
[all …]
/netbsd/external/gpl2/lvm2/dist/daemons/clvmd/
H A Drefresh_clvmd.c88 static int _send_request(const char *inbuf, int inlen, char **retbuf) in _send_request() argument
123 *retbuf = dm_malloc(buflen); in _send_request()
124 if (!*retbuf) { in _send_request()
130 memcpy(*retbuf, outbuf, len); in _send_request()
131 outheader = (struct clvm_header *) *retbuf; in _send_request()
193 char *retbuf = NULL; in _cluster_request() local
212 strlen(head->node) + len, &retbuf); in _cluster_request()
217 head = (struct clvm_header *) retbuf; in _cluster_request()
272 if (retbuf) in _cluster_request()
273 dm_free(retbuf); in _cluster_request()
/netbsd/external/gpl2/lvm2/dist/lib/locking/
H A Dcluster_locking.c100 static int _send_request(char *inbuf, int inlen, char **retbuf) in _send_request() argument
135 *retbuf = dm_malloc(buflen); in _send_request()
136 if (!*retbuf) { in _send_request()
142 memcpy(*retbuf, outbuf, len); in _send_request()
143 outheader = (struct clvm_header *) *retbuf; in _send_request()
206 char *retbuf = NULL; in _cluster_request() local
225 strlen(head->node) + len, &retbuf); in _cluster_request()
230 head = (struct clvm_header *) retbuf; in _cluster_request()
284 if (retbuf) in _cluster_request()
285 dm_free(retbuf); in _cluster_request()
/netbsd/external/gpl2/xcvs/dist/src/
H A Dms-buffer.c145 struct buffer *retbuf; in ms_buffer_initialize() local
156 retbuf = buf_initialize (ms_buffer_input, NULL, NULL, in ms_buffer_initialize()
159 if (!buf_empty_p (buf)) buf_append_buffer (retbuf, buf); in ms_buffer_initialize()
160 mb->buf = retbuf; in ms_buffer_initialize()
162 return retbuf; in ms_buffer_initialize()
H A Dlog-buffer.c136 struct buffer *retbuf; in log_buffer_initialize() local
149 retbuf = buf_initialize (input ? log_buffer_input : NULL, in log_buffer_initialize()
203 buf_append_buffer (retbuf, buf); in log_buffer_initialize()
205 return retbuf; in log_buffer_initialize()
358 struct buffer *retbuf; in log_buffer_rewind() local
389 retbuf = fd_buffer_initialize (fd, 0, NULL, true, buf->memory_error); in log_buffer_rewind()
394 buf_append_buffer (retbuf, lb->back_buf); in log_buffer_rewind()
400 return retbuf; in log_buffer_rewind()
H A Drcs.c3636 char **retbuf, size_t *retlen) in expand_keywords() argument
3655 *retbuf = buf; in expand_keywords()
4081 *retbuf = buf; in expand_keywords()
4089 *retbuf = ret; in expand_keywords()
7188 const char *diffbuf, size_t difflen, char **retbuf, in rcs_change_text() argument
7194 *retbuf = NULL; in rcs_change_text()
7219 *retbuf = p; in rcs_change_text()
7229 *retlen = p - *retbuf; in rcs_change_text()
/netbsd/external/gpl3/gdb/dist/gdb/dwarf2/
H A Dsection.c121 gdb_byte *buf, *retbuf; in read() local
172 retbuf = symfile_relocate_debug_section (objfile, sectp, buf); in read()
173 if (retbuf != NULL) in read()
175 buffer = retbuf; in read()
/netbsd/external/gpl3/gdb.old/dist/gdb/dwarf2/
H A Dsection.c121 gdb_byte *buf, *retbuf; in read() local
172 retbuf = symfile_relocate_debug_section (objfile, sectp, buf); in read()
173 if (retbuf != NULL) in read()
175 buffer = retbuf; in read()
/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Dadmin.c639 char *retbuf = NULL; local
646 retbuf = racoon_calloc(1, tlen);
647 if (retbuf == NULL) {
653 combuf = (struct admin_com *) retbuf;
666 memcpy(retbuf + sizeof(*combuf), buf->v, buf->l);
668 tlen = send(so, retbuf, tlen, 0);
669 racoon_free(retbuf);
/netbsd/sys/arch/xen/xenbus/
H A Dxenbus_xs.c189 char **retbuf) in xs_talkv() argument
236 if (retbuf != NULL) in xs_talkv()
237 *retbuf = ret; in xs_talkv()
318 char ***retbuf) in xenbus_directory() argument
335 *retbuf = split(strings, len, num); in xenbus_directory()
336 if (*retbuf == NULL) in xenbus_directory()
/netbsd/external/mpl/dhcp/dist/omapip/
H A Dhash.c351 static unsigned char retbuf[sizeof("Contents/Size (%): " in hash_report() local
394 sprintf((char *)retbuf, in hash_report()
398 return retbuf; in hash_report()
/netbsd/sys/arch/hppa/stand/xxboot/
H A Dstart.S276 addil L%retbuf-$global$,%r27;%r1
277 ldo R%retbuf-$global$(%r1),%r22 ; arg4: return buffer
441 addil L%retbuf-$global$,%r27;%r1
442 ldw R%retbuf-$global$(%r1),%r2 ; ret[0]
456 ldd R%retbuf-$global$(%r1),%r2 ; ret[0] (64bit)
636 retbuf: .block 32*8 ; *4 for narrow mode / *8 for wide mode label
/netbsd/external/bsd/libbind/dist/resolv/
H A Dres_debug.c768 char *retbuf = precsize_ntoa_retbuf; local
777 (void) sprintf(retbuf, "%lu.%.2lu", val/100, val%100);
778 return (retbuf);
/netbsd/lib/libc/resolv/
H A Dres_debug.c775 char *retbuf = precsize_ntoa_retbuf; in precsize_ntoa() local
784 (void) sprintf(retbuf, "%lu.%.2lu", val/100, val%100); in precsize_ntoa()
785 return (retbuf); in precsize_ntoa()
/netbsd/external/gpl3/gdb/dist/gdb/
H A Dvalue.h893 struct regcache *retbuf);
H A DChangeLog-20026976 * value.h (value_being_returned): Change ``retbuf'' parameter to a
6982 * valops.c (hand_function_call): Change type of retbuf to ``struct
7013 * valops.c (hand_function_call): Move declaration of retbuf to
H A DChangeLog-20123770 (gdb_bfd_map_section): Likewise for `buf' and `retbuf'.
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Dvalue.h893 struct regcache *retbuf);
H A DChangeLog-20026976 * value.h (value_being_returned): Change ``retbuf'' parameter to a
6982 * valops.c (hand_function_call): Change type of retbuf to ``struct
7013 * valops.c (hand_function_call): Move declaration of retbuf to
H A DChangeLog-20123770 (gdb_bfd_map_section): Likewise for `buf' and `retbuf'.