Searched refs:ncopy (Results 1 – 10 of 10) sorted by relevance
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | hash-map-tests.cc | 152 static int ncopy; member in selftest::hash_map_test_val_t 165 ++ncopy; in hash_map_test_val_t() 187 int val_t::ncopy; member in selftest::val_t 203 ASSERT_TRUE (val_t::ncopy == 0); in test_map_of_type_with_ctor_and_dtor() 214 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_map_of_type_with_ctor_and_dtor() 222 int ncopy = val_t::ncopy; in test_map_of_type_with_ctor_and_dtor() local 228 ASSERT_TRUE (ncopy + 1 == val_t::ncopy); in test_map_of_type_with_ctor_and_dtor() 234 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_map_of_type_with_ctor_and_dtor() 243 int ncopy = val_t::ncopy; in test_map_of_type_with_ctor_and_dtor() 250 ASSERT_TRUE (ncopy == val_t::ncopy); in test_map_of_type_with_ctor_and_dtor() [all …]
|
H A D | hash-set-tests.cc | 141 static int ncopy; member in selftest::hash_set_test_value_t 153 ++ncopy; in hash_set_test_value_t() 177 int val_t::ncopy; member in selftest::val_t 236 ASSERT_TRUE (val_t::ncopy == 0); in test_set_of_type_with_ctor_and_dtor() 246 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_set_of_type_with_ctor_and_dtor() 255 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_set_of_type_with_ctor_and_dtor() 290 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_set_of_type_with_ctor_and_dtor()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | hash-map-tests.c | 152 static int ncopy; 165 ++ncopy; 187 int val_t::ncopy; 203 ASSERT_TRUE (val_t::ncopy == 0); in test_map_of_type_with_ctor_and_dtor() 214 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_map_of_type_with_ctor_and_dtor() 222 int ncopy = val_t::ncopy; in test_map_of_type_with_ctor_and_dtor() local 228 ASSERT_TRUE (ncopy + 1 == val_t::ncopy); in test_map_of_type_with_ctor_and_dtor() 234 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_map_of_type_with_ctor_and_dtor() 243 int ncopy = val_t::ncopy; in test_map_of_type_with_ctor_and_dtor() 250 ASSERT_TRUE (ncopy == val_t::ncopy); in test_map_of_type_with_ctor_and_dtor() [all …]
|
H A D | hash-set-tests.c | 141 static int ncopy; 153 ++ncopy; 177 int val_t::ncopy; 236 ASSERT_TRUE (val_t::ncopy == 0); in test_set_of_type_with_ctor_and_dtor() 246 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_set_of_type_with_ctor_and_dtor() 255 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_set_of_type_with_ctor_and_dtor() 290 ASSERT_TRUE (val_t::ndefault + val_t::ncopy == val_t::ndtor); in test_set_of_type_with_ctor_and_dtor()
|
/netbsd-src/bin/ksh/ |
H A D | shf.c | 514 int ncopy; local 526 ncopy = shf->rnleft; 527 if (ncopy > bsize) 528 ncopy = bsize; 529 memcpy(buf, shf->rp, ncopy); 530 buf += ncopy; 531 bsize -= ncopy; 532 shf->rp += ncopy; 533 shf->rnleft -= ncopy; 551 int ncopy; local [all …]
|
/netbsd-src/external/bsd/wpa/dist/src/wps/ |
H A D | httpread.c | 530 int ncopy; in httpread_read_handler() local 608 ncopy = (h->chunk_start + h->chunk_size + 2) - in httpread_read_handler() 617 ncopy = h->content_length - h->body_nbytes; in httpread_read_handler() 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() [all …]
|
/netbsd-src/lib/libpuffs/ |
H A D | creds.c | 84 size_t ncopy; in puffs_cred_getgroups() local 92 ncopy = MIN(*ngids, pkcr->pkcr_uuc.cr_ngroups); in puffs_cred_getgroups() 93 (void)memcpy(rgids, pkcr->pkcr_uuc.cr_groups, sizeof(gid_t) * ncopy); in puffs_cred_getgroups() 94 *ngids = (short)ncopy; in puffs_cred_getgroups()
|
/netbsd-src/usr.bin/mail/ |
H A D | send.c | 655 ncopy(struct name *np) in ncopy() function 698 hp->h_extra = ncopy(extra_headers); in mail1()
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
H A D | evp_test.c | 154 int ncopy = atoi(value); in evp_test_buffer_ncopy() local 157 if (ncopy <= 0) in evp_test_buffer_ncopy() 163 tbuflen = db->buflen * ncopy; in evp_test_buffer_ncopy() 166 for (i = 0, p = tbuf; i < ncopy; i++, p += db->buflen) in evp_test_buffer_ncopy()
|
/netbsd-src/crypto/external/bsd/openssl/dist/test/ |
H A D | evp_test.c | 165 int ncopy = atoi(value); in evp_test_buffer_ncopy() local 168 if (ncopy <= 0) in evp_test_buffer_ncopy() 174 tbuflen = db->buflen * ncopy; in evp_test_buffer_ncopy() 177 for (i = 0, p = tbuf; i < ncopy; i++, p += db->buflen) in evp_test_buffer_ncopy()
|