Home
last modified time | relevance | path

Searched refs:ncopy (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/wpa/src/wps/
H A Dhttpread.c530 int ncopy; in httpread_read_handler() local
619 ncopy = nread; in httpread_read_handler()
622 if (ncopy < 0) { in httpread_read_handler()
624 "httpread: Invalid ncopy=%d", ncopy); in httpread_read_handler()
627 if (ncopy > nread) in httpread_read_handler()
628 ncopy = nread; in httpread_read_handler()
629 os_memcpy(bbp, rbp, ncopy); in httpread_read_handler()
630 bbp += ncopy; in httpread_read_handler()
631 h->body_nbytes += ncopy; in httpread_read_handler()
632 rbp += ncopy; in httpread_read_handler()
[all …]
/freebsd-12.1/lib/libc/locale/
H A Dgb2312.c117 size_t ncopy; in _GB2312_mbrtowc() local
132 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count); in _GB2312_mbrtowc()
133 memcpy(gs->bytes + gs->count, s, ncopy); in _GB2312_mbrtowc()
135 gs->count += ncopy; in _GB2312_mbrtowc()
H A Dgb18030.c100 size_t ncopy; in _GB18030_mbrtowc() local
115 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count); in _GB18030_mbrtowc()
116 memcpy(gs->bytes + gs->count, s, ncopy); in _GB18030_mbrtowc()
118 gs->count += ncopy; in _GB18030_mbrtowc()
/freebsd-12.1/contrib/gdb/gdb/
H A Dc-exp.y946 char *ncopy = alloca ($3.length + 1); variable
948 memcpy (ncopy, $3.ptr, $3.length);
949 ncopy[$3.length] = '\0';
957 new_type = cp_lookup_nested_type (type, ncopy,
961 ncopy, TYPE_NAME (type));
H A Dc-exp.c2346 char *ncopy = alloca (yyvsp[0].sval.length + 1); local
2348 memcpy (ncopy, yyvsp[0].sval.ptr, yyvsp[0].sval.length);
2349 ncopy[yyvsp[0].sval.length] = '\0';
2357 new_type = cp_lookup_nested_type (type, ncopy,
2361 ncopy, TYPE_NAME (type));
H A Dp-exp.y1575 char *ncopy = alloca (strlen (tmp)+strlen (namestart)+3); in yylex() local
1578 tmp1 = ncopy; in yylex()
1585 cur_sym = lookup_symbol (ncopy, expression_context_block, in yylex()
H A Dobjc-exp.y1728 char *ncopy = alloca (strlen (tmp) + in yylex() local
1732 tmp1 = ncopy; in yylex()
1739 cur_sym = lookup_symbol (ncopy, in yylex()
H A Dp-exp.c2897 char *ncopy = alloca (strlen (tmp)+strlen (namestart)+3); in yylex() local
2900 tmp1 = ncopy; in yylex()
2907 cur_sym = lookup_symbol (ncopy, expression_context_block, in yylex()
H A Dobjc-exp.c3370 char *ncopy = alloca (strlen (tmp) + in yylex() local
3374 tmp1 = ncopy; in yylex()
3381 cur_sym = lookup_symbol (ncopy, in yylex()