Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-13.1/contrib/netbsd-tests/lib/libc/string/
H A Dt_popcount.c40 static unsigned int byte_count[256]; variable
53 byte_count[i] = 0; in popcount_init()
56 ++byte_count[i]; in popcount_init()
147 r = byte_count[i & 255] + byte_count[(i >> 8) & 255] in ATF_TC_BODY()
148 + byte_count[(i >> 16) & 255] in ATF_TC_BODY()
149 + byte_count[(i >> 24) & 255]; in ATF_TC_BODY()
173 r2 = byte_count[p & 255] + byte_count[(p >> 8) & 255] in ATF_TC_BODY()
174 + byte_count[(p >> 16) & 255] in ATF_TC_BODY()
175 + byte_count[(p >> 24) & 255]; in ATF_TC_BODY()
178 r = byte_count[i & 255] + byte_count[(i >> 8) & 255] in ATF_TC_BODY()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DArmUnwindInfo.cpp108 uint16_t byte_count = 0; in GetUnwindPlan() local
113 byte_count = 4; in GetUnwindPlan()
118 byte_count = 4 * ((data[0] >> 16) & 0xff) + 4; in GetUnwindPlan()
126 byte_count = 4 * ((data[1] >> 24) & 0xff) + 8; in GetUnwindPlan()
135 while (byte_offset < byte_count) { in GetUnwindPlan()
146 if (byte_offset >= byte_count) in GetUnwindPlan()
202 if (byte_offset >= byte_count) in GetUnwindPlan()
227 uint64_t uleb128 = GetULEB128(data, byte_offset, byte_count); in GetUnwindPlan()
233 if (byte_offset >= byte_count) in GetUnwindPlan()
279 if (byte_offset >= byte_count) in GetUnwindPlan()
[all …]
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_bufs.c699 int byte_count; in drm_addbufs_agp() local
715 byte_count = 0; in drm_addbufs_agp()
832 dma->byte_count += byte_count; in drm_addbufs_agp()
864 int byte_count; in drm_addbufs_pci() local
951 byte_count = 0; in drm_addbufs_pci()
984 buf->offset = (dma->byte_count + byte_count + offset); in drm_addbufs_pci()
1069 int byte_count; in drm_addbufs_sg() local
1091 byte_count = 0; in drm_addbufs_sg()
1196 dma->byte_count += byte_count; in drm_addbufs_sg()
1225 int byte_count; in drm_addbufs_fb() local
[all …]
/freebsd-13.1/lib/libgssapi/
H A Dgss_mech_switch.c58 int byte_count; in _gss_string_to_oid() local
90 byte_count = 0; in _gss_string_to_oid()
124 byte_count++; in _gss_string_to_oid()
145 byte_count++; in _gss_string_to_oid()
151 res = malloc(byte_count); in _gss_string_to_oid()
154 oid->length = byte_count; in _gss_string_to_oid()
/freebsd-13.1/sys/dev/tpm/
H A Dtpm20.c104 size_t byte_count; in tpm20_write() local
109 byte_count = uio->uio_resid; in tpm20_write()
110 if (byte_count < TPM_HEADER_SIZE) { in tpm20_write()
116 if (byte_count > TPM_BUFSIZE) { in tpm20_write()
127 result = uiomove(sc->buf, byte_count, uio); in tpm20_write()
133 result = sc->transmit(sc, byte_count); in tpm20_write()
/freebsd-13.1/crypto/openssl/ssl/
H A Dbio_ssl.c31 size_t byte_count; member
111 sb->byte_count += *readbytes; in ssl_read()
112 if (sb->byte_count > sb->renegotiate_count) { in ssl_read()
113 sb->byte_count = 0; in ssl_read()
180 bs->byte_count += *written; in ssl_write()
181 if (bs->byte_count > bs->renegotiate_count) { in ssl_write()
182 bs->byte_count = 0; in ssl_write()
375 dbs->byte_count = bs->byte_count; in ssl_ctrl()
/freebsd-13.1/sys/dev/mthca/
H A Dmthca_wqe.h102 __be32 byte_count; member
119 dseg->byte_count = cpu_to_be32(sg->length); in mthca_set_data_seg()
126 dseg->byte_count = 0; in mthca_set_data_seg_inval()
/freebsd-13.1/crypto/heimdal/lib/gssapi/mech/
H A Dgss_mech_switch.c48 size_t byte_count; in _gss_string_to_oid() local
80 byte_count = 0; in _gss_string_to_oid()
114 byte_count++; in _gss_string_to_oid()
135 byte_count++; in _gss_string_to_oid()
140 if (byte_count == 0) in _gss_string_to_oid()
143 res = malloc(byte_count); in _gss_string_to_oid()
146 oid->length = byte_count; in _gss_string_to_oid()
/freebsd-13.1/usr.bin/dtc/
H A Ddtb.cc130 if (byte_count != 0) in write_line()
132 byte_count = 0; in write_line()
142 if (byte_count++ == 0) in write_byte()
150 if (byte_count == 4) in write_byte()
153 byte_count = 0; in write_byte()
H A Ddtb.hh226 int byte_count; member in dtc::dtb::asm_writer
252 asm_writer() : byte_count(0), bytes_written(0) {} in asm_writer()
/freebsd-13.1/lib/librpcsec_gss/
H A Drpcsec_gss_conf.c77 int byte_count; in _rpc_gss_string_to_oid() local
106 byte_count = 0; in _rpc_gss_string_to_oid()
140 byte_count++; in _rpc_gss_string_to_oid()
161 byte_count++; in _rpc_gss_string_to_oid()
167 res = malloc(byte_count); in _rpc_gss_string_to_oid()
170 oid->length = byte_count; in _rpc_gss_string_to_oid()
/freebsd-13.1/contrib/expat/tests/
H A Dstructdata.c58 size_t byte_count = (xcstrlen(s) + 1) * sizeof(XML_Char); in xmlstrdup() local
59 XML_Char *dup = malloc(byte_count); in xmlstrdup()
62 memcpy(dup, s, byte_count); in xmlstrdup()
/freebsd-13.1/contrib/ofed/libmlx4/
H A Dwqe.h101 uint32_t byte_count; member
107 uint32_t byte_count; member
H A Dqp.c187 dseg->byte_count = htobe32(sg->length); in __set_data_seg()
208 dseg->byte_count = htobe32(sg->length); in set_data_seg()
210 dseg->byte_count = htobe32(0x80000000); in set_data_seg()
402 seg->byte_count = htobe32(MLX4_INLINE_SEG | seg_len); in mlx4_post_send()
430 seg->byte_count = htobe32(MLX4_INLINE_SEG | seg_len); in mlx4_post_send()
547 scat[i].byte_count = 0; in mlx4_post_recv()
/freebsd-13.1/contrib/subversion/subversion/svnbench/
H A Dnull-export-cmd.c51 apr_int64_t byte_count; member
115 eb->byte_count += window->tview_len; in window_handler()
173 eb->byte_count += *len; in file_write_handler()
359 svn__ui64toa_sep(eb.byte_count, ',', pool), in svn_cl__null_export()
H A Dnull-blame-cmd.c44 apr_int64_t byte_count; member
56 frb->byte_count += window->tview_len; in delta_handler()
161 svn__ui64toa_sep(frb.byte_count, ',', pool))); in bench_null_blame()
/freebsd-13.1/sys/dev/mlx4/
H A Dqp.h43 #define SET_BYTE_COUNT(byte_count) cpu_to_be32(byte_count) argument
441 __be32 byte_count; member
452 __be32 byte_count; member
/freebsd-13.1/contrib/ofed/libmlx5/
H A Dsrq.c61 copy = min_t(long, size, be32toh(scat->byte_count)); in mlx5_copy_to_recv_srq()
120 scat[i].byte_count = htobe32(wr->sg_list[i].length); in mlx5_post_srq_recv()
126 scat[i].byte_count = 0; in mlx5_post_srq_recv()
H A Dwqe.h100 uint32_t byte_count; member
186 uint32_t byte_count; member
H A Dqp.c81 copy = min_t(long, *size, be32toh(scat->byte_count)); in copy_to_scat()
220 dseg->byte_count = htobe32(sg->length - offset); in set_data_ptr_seg()
228 dseg->byte_count = htobe32(MLX5_ATOMIC_SIZE); in set_data_ptr_seg_atomic()
305 seg->byte_count = htobe32(inl | MLX5_INLINE_SEG); in set_data_inl_seg()
306 *sz = align(inl + sizeof seg->byte_count, 16) / 16; in set_data_inl_seg()
340 void *mlx5_get_atomic_laddr(struct mlx5_qp *qp, uint16_t idx, int *byte_count) in mlx5_get_atomic_laddr() argument
354 *byte_count = 8; in mlx5_get_atomic_laddr()
430 data->klm.byte_count = htobe32(bind_info->length); in set_umr_data_seg()
1104 scat[j].byte_count = 0; in mlx5_post_wq_recv()
1177 scat[j].byte_count = 0; in mlx5_post_recv()
/freebsd-13.1/usr.bin/head/tests/
H A Dhead_test.sh61 atf_test_case byte_count
126 atf_add_test_case byte_count
/freebsd-13.1/tools/tools/netrate/netreceive/
H A Dnetreceive.c62 uint64_t byte_count; /* rx byte counter */ member
120 t->byte_count += y; in rx_body()
177 bc0 += tp[i]->byte_count; in main_thread()
/freebsd-13.1/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c83 off_t byte_count; variable
1031 byte_count = -1; in retrieve()
1128 byte_count = -1; in do_store()
1251 byte_count = 0; in dataconn()
1353 byte_count++; in send_data()
1392 byte_count = cnt; in send_data()
1415 byte_count += cnt; in send_data()
1481 byte_count += cnt; in receive_data()
1506 byte_count += cnt; in receive_data()
1944 (long)byte_count, in handleoobcmd()
[all …]
/freebsd-13.1/libexec/ftpd/
H A Dftpd.c149 off_t byte_count; variable
1713 byte_count = -1; in retrieve()
1814 byte_count = -1; in store()
1936 byte_count = 0; in dataconn()
2104 byte_count++; in send_data()
2107 byte_count++; in send_data()
2149 byte_count += cnt; in send_data()
2208 byte_count += cnt; in send_data()
2272 byte_count += cnt; in receive_data()
2302 byte_count++; in receive_data()
[all …]
/freebsd-13.1/contrib/opie/
H A Dopieftpd.c201 static off_t byte_count; variable
846 byte_count = 0;
931 byte_count++;
959 byte_count += cnt;
1011 byte_count += cnt;
1025 byte_count++;
1310 byte_count, file_size);
1312 reply(213, "Status: %lu bytes transferred", byte_count);
1469 byte_count += strlen(dirname) + 1;
1504 byte_count += strlen(nbuf) + 1;

123