Searched refs:ncopy (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/lib/libc/locale/
H A Dgb2312.c115 size_t ncopy; local
130 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
131 memcpy(gs->bytes + gs->count, s, ncopy);
133 gs->count += ncopy;
H A Dgb18030.c98 size_t ncopy; local
113 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
114 memcpy(gs->bytes + gs->count, s, ncopy);
116 gs->count += ncopy;
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dhttpread.c530 int ncopy; local
608 ncopy = (h->chunk_start + h->chunk_size + 2) -
617 ncopy = h->content_length - h->body_nbytes;
619 ncopy = nread;
622 if (ncopy < 0) {
624 "httpread: Invalid ncopy=%d", ncopy);
627 if (ncopy > nread)
628 ncopy = nread;
629 os_memcpy(bbp, rbp, ncopy);
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dc-exp.y947 char *ncopy = alloca ($3.length + 1);
949 memcpy (ncopy, $3.ptr, $3.length);
950 ncopy[$3.length] = '\0';
958 new_type = cp_lookup_nested_type (type, ncopy,
962 ncopy, TYPE_NAME (type));
H A Dobjc-exp.y1729 char *ncopy = alloca (strlen (tmp) +
1733 tmp1 = ncopy;
1740 cur_sym = lookup_symbol (ncopy,
H A Dp-exp.y1576 char *ncopy = alloca (strlen (tmp)+strlen (namestart)+3);
1579 tmp1 = ncopy;
1586 cur_sym = lookup_symbol (ncopy, expression_context_block,
H A Dc-exp.c2349 char *ncopy = alloca (yyvsp[0].sval.length + 1);
2351 memcpy (ncopy, yyvsp[0].sval.ptr, yyvsp[0].sval.length);
2352 ncopy[yyvsp[0].sval.length] = '\0';
2360 new_type = cp_lookup_nested_type (type, ncopy,
2364 ncopy, TYPE_NAME (type));
2346 char *ncopy = alloca (yyvsp[0].sval.length + 1); local
H A Dobjc-exp.c3374 char *ncopy = alloca (strlen (tmp) +
3378 tmp1 = ncopy;
3385 cur_sym = lookup_symbol (ncopy,
3370 char *ncopy = alloca (strlen (tmp) + local
H A Dp-exp.c2901 char *ncopy = alloca (strlen (tmp)+strlen (namestart)+3);
2904 tmp1 = ncopy;
2911 cur_sym = lookup_symbol (ncopy, expression_context_block,
2897 char *ncopy = alloca (strlen (tmp)+strlen (namestart)+3); local
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_misc.c1664 unsigned int ncopy; local
1673 ncopy = min(uap->bufsiz, strlen(nd.ni_cnd.cn_pnbuf) + 1);
1674 if ((error = copyout(nd.ni_cnd.cn_pnbuf, uap->buf, ncopy)) != 0)
1677 *retval = ncopy;

Completed in 108 milliseconds