Home
last modified time | relevance | path

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

12

/external/openssh/openbsd-compat/
Dpwcache.c55 static char nbuf[15]; /* 32 bits == 10 digits */ in user_from_uid() local
70 (void)snprintf(nbuf, sizeof(nbuf), "%u", uid); in user_from_uid()
75 cp->name = strdup(pw ? pw->pw_name : nbuf); in user_from_uid()
90 static char nbuf[15]; /* 32 bits == 10 digits */ in group_from_gid() local
105 (void)snprintf(nbuf, sizeof(nbuf), "%u", gid); in group_from_gid()
110 cp->name = strdup(gr ? gr->gr_name : nbuf); in group_from_gid()
/external/libunwind/src/arm/
DGex_tables.c286 int nbuf = 0; in arm_exidx_extract() local
306 nbuf = -UNW_ESTOPUNWIND; in arm_exidx_extract()
312 buf[nbuf++] = data >> 16; in arm_exidx_extract()
313 buf[nbuf++] = data >> 8; in arm_exidx_extract()
314 buf[nbuf++] = data; in arm_exidx_extract()
337 buf[nbuf++] = data >> 16; in arm_exidx_extract()
338 buf[nbuf++] = data >> 8; in arm_exidx_extract()
339 buf[nbuf++] = data; in arm_exidx_extract()
352 buf[nbuf++] = data >> 16; in arm_exidx_extract()
353 buf[nbuf++] = data >> 8; in arm_exidx_extract()
[all …]
/external/wpa_supplicant_8/src/utils/
Dwpabuf.c70 unsigned char *nbuf; in wpabuf_resize() local
72 nbuf = os_realloc(buf->buf, buf->used + add_len); in wpabuf_resize()
73 if (nbuf == NULL) in wpabuf_resize()
75 os_memset(nbuf + buf->used, 0, add_len); in wpabuf_resize()
76 buf->buf = nbuf; in wpabuf_resize()
79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize()
82 if (nbuf == NULL) in wpabuf_resize()
84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize()
86 os_memset(nbuf + sizeof(struct wpabuf_trace) + in wpabuf_resize()
90 nbuf = os_realloc(buf, sizeof(struct wpabuf) + in wpabuf_resize()
[all …]
/external/u-boot/cmd/
Dsetexpr.c176 char nbuf[SLRE_PATSZ]; in regex_sub() local
218 strcpy(nbuf, s); in regex_sub()
220 debug("## SUBST(1) ## %s\n", nbuf); in regex_sub()
251 nbuf); in regex_sub()
253 for (np = nbuf;;) { in regex_sub()
268 debug("## SUBST(2) ## %s\n", nbuf); in regex_sub()
272 nbuf, nlen); in regex_sub()
/external/ltp/testcases/network/tcp_cmds/sendfile/
Dtestsf_s.c43 char nbuf[PATH_MAX]; in main() local
131 number = &nbuf[0]; in main()
133 nbuf[count] = *lp; in main()
137 nbuf[count] = '\0'; in main()
/external/iperf3/src/
Diperf_util.c548 char *nbuf; in getdelim() local
551 if ((nbuf = realloc(*buf, nbufsiz)) == NULL) in getdelim()
553 *buf = nbuf; in getdelim()
555 eptr = nbuf + nbufsiz; in getdelim()
556 ptr = nbuf + d; in getdelim()
Diperf_api.c2755 char nbuf[UNIT_LEN]; in iperf_print_intermediate() local
2809 unit_snprintf(nbuf, UNIT_LEN, bandwidth, test->settings->unit_format); in iperf_print_intermediate()
2821 …ntf(test, report_sum_bw_retrans_format, mbuf, start_time, end_time, ubuf, nbuf, retransmits, irp->… in iperf_print_intermediate()
2827 …perf_printf(test, report_sum_bw_format, mbuf, start_time, end_time, ubuf, nbuf, test->omitting?rep… in iperf_print_intermediate()
2835 …(test, report_sum_bw_udp_sender_format, mbuf, start_time, end_time, ubuf, nbuf, zbuf, total_packet… in iperf_print_intermediate()
2847 …_printf(test, report_sum_bw_udp_format, mbuf, start_time, end_time, ubuf, nbuf, avg_jitter * 1000.… in iperf_print_intermediate()
2931 char nbuf[UNIT_LEN]; in iperf_print_results() local
3040 unit_snprintf(nbuf, UNIT_LEN, bandwidth, test->settings->unit_format); in iperf_print_results()
3052 …eport_bw_retrans_format, sp->socket, mbuf, start_time, sender_time, ubuf, nbuf, sp->result->stream… in iperf_print_results()
3064 …intf(test, report_bw_format, sp->socket, mbuf, start_time, sender_time, ubuf, nbuf, report_sender); in iperf_print_results()
[all …]
/external/u-boot/fs/ubifs/
Dreplay.c402 char *nbuf; in insert_dent() local
412 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent()
413 if (!nbuf) { in insert_dent()
427 memcpy(nbuf, name, nlen); in insert_dent()
428 nbuf[nlen] = '\0'; in insert_dent()
429 r->nm.name = nbuf; in insert_dent()
/external/iproute2/lib/
Dll_map.c159 static char nbuf[IFNAMSIZ]; in ll_index_to_name() local
161 return ll_idx_n2a(idx, nbuf); in ll_index_to_name()
/external/u-boot/doc/
DREADME.440-DDR-performance43 ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5000 tcp ->
83 ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5000 tcp ->
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_solaris.go696 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
697 …r(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
705 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
706 …(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
Dzsyscall_netbsd_386.go1406 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1407 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1417 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1418 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
Dzsyscall_netbsd_amd64.go1406 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1407 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1417 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1418 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
Dzsyscall_netbsd_arm.go1406 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1407 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1417 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1418 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
Dzsyscall_dragonfly_amd64.go1464 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1465 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1475 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1476 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
Dzsyscall_openbsd_amd64.go1475 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1476 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1486 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1487 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_flow_dissector.c124 char nbuf[INET6_ADDRSTRLEN]; in util_printaddr() local
138 if (!inet_ntop(addr->sa_family, ((void *) addr) + off, nbuf, in util_printaddr()
139 sizeof(nbuf))) in util_printaddr()
142 fprintf(stderr, "%s: %s\n", msg, nbuf); in util_printaddr()
/external/syzkaller/pkg/report/testdata/akaros/report/
D83 kernel warning at kern/src/ns/convM2D.c:52, from core 2: nbuf 213, STAT_FIX_LEN_9P 49 BIT16SZ 2, GB…
/external/freetype/src/bdf/
Dbdflib.c1798 char nbuf[128]; in _bdf_parse_properties() local
1819 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_properties()
1821 nbuf, lineno ); in _bdf_parse_properties()
1832 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties()
1834 nbuf, lineno ); in _bdf_parse_properties()
2147 char nbuf[128]; in _bdf_parse_start() local
2161 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_start()
2163 nbuf, lineno ); in _bdf_parse_start()
2169 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start()
2171 nbuf, lineno ); in _bdf_parse_start()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ttls.c1045 char *nbuf; in eap_ttls_process_phase2() local
1046 nbuf = os_malloc(parse.user_name_len * 4 + 1); in eap_ttls_process_phase2()
1047 if (nbuf) { in eap_ttls_process_phase2()
1048 printf_encode(nbuf, parse.user_name_len * 4 + 1, in eap_ttls_process_phase2()
1051 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); in eap_ttls_process_phase2()
1052 os_free(nbuf); in eap_ttls_process_phase2()
Deap_server_peap.c1095 struct wpabuf *nbuf = in eap_peap_process_phase2() local
1098 if (nbuf == NULL) { in eap_peap_process_phase2()
1104 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2()
1109 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2()
1112 in_decrypted = nbuf; in eap_peap_process_phase2()
/external/mksh/src/
Dshf.c346 unsigned char *nbuf; in shf_emptybuf() local
357 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); in shf_emptybuf()
358 shf->rp = nbuf + (shf->rp - shf->buf); in shf_emptybuf()
359 shf->wp = nbuf + (shf->wp - shf->buf); in shf_emptybuf()
363 shf->buf = nbuf; in shf_emptybuf()
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast_pac.c494 char *nbuf = os_realloc(*buf, *buf_len + need); in eap_fast_write() local
495 if (nbuf == NULL) { in eap_fast_write()
500 *pos = nbuf + (*pos - *buf); in eap_fast_write()
501 *buf = nbuf; in eap_fast_write()
/external/tcpdump/
Dsmbutil.c697 char nbuf[255]; in smb_fdata1() local
704 maxbuf, nbuf); in smb_fdata1()
711 ND_PRINT((ndo, "%-15.15s NameType=0x%02X (%s)", nbuf, name_type, in smb_fdata1()
/external/wpa_supplicant_8/src/ap/
Dsta_info.c1116 u8 *trans_id, *nbuf; in ap_sa_query_timer() local
1126 nbuf = os_realloc_array(sta->sa_query_trans_id, in ap_sa_query_timer()
1129 if (nbuf == NULL) in ap_sa_query_timer()
1135 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in ap_sa_query_timer()
1136 sta->sa_query_trans_id = nbuf; in ap_sa_query_timer()

12