Home
last modified time | relevance | path

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

123

/freebsd-12.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-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DArmUnwindInfo.cpp109 uint16_t byte_count = 0; in GetUnwindPlan() local
114 byte_count = 4; in GetUnwindPlan()
119 byte_count = 4 * ((data[0] >> 16) & 0xff) + 4; in GetUnwindPlan()
127 byte_count = 4 * ((data[1] >> 24) & 0xff) + 8; in GetUnwindPlan()
136 while (byte_offset < byte_count) { in GetUnwindPlan()
147 if (byte_offset >= byte_count) in GetUnwindPlan()
203 if (byte_offset >= byte_count) in GetUnwindPlan()
228 uint64_t uleb128 = GetULEB128(data, byte_offset, byte_count); in GetUnwindPlan()
234 if (byte_offset >= byte_count) in GetUnwindPlan()
280 if (byte_offset >= byte_count) in GetUnwindPlan()
[all …]
/freebsd-12.1/contrib/gdb/gdb/
H A Dminimon.h222 INT32 byte_count; member
232 INT32 byte_count; member
243 INT32 byte_count; member
285 INT32 byte_count; member
296 INT32 byte_count; member
419 INT32 byte_count; member
429 INT32 byte_count; member
440 INT32 byte_count; member
483 INT32 byte_count; member
494 INT32 byte_count; member
/freebsd-12.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-12.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-12.1/sys/dev/drm/
H A Ddrm_bufs.c423 int byte_count; in drm_do_addbufs_agp() local
436 byte_count = 0; in drm_do_addbufs_agp()
506 byte_count += PAGE_SIZE << page_order; in drm_do_addbufs_agp()
526 dma->byte_count += byte_count; in drm_do_addbufs_agp()
552 int byte_count; in drm_do_addbufs_pci() local
598 byte_count = 0; in drm_do_addbufs_pci()
631 buf->offset = (dma->byte_count + byte_count + offset); in drm_do_addbufs_pci()
702 int byte_count; in drm_do_addbufs_sg() local
715 byte_count = 0; in drm_do_addbufs_sg()
787 dma->byte_count += byte_count; in drm_do_addbufs_sg()
[all …]
/freebsd-12.1/crypto/openssl/ssl/
H A Dbio_ssl.c31 size_t byte_count; member
112 sb->byte_count += *readbytes; in ssl_read()
113 if (sb->byte_count > sb->renegotiate_count) { in ssl_read()
114 sb->byte_count = 0; in ssl_read()
181 bs->byte_count += *written; in ssl_write()
182 if (bs->byte_count > bs->renegotiate_count) { in ssl_write()
183 bs->byte_count = 0; in ssl_write()
375 dbs->byte_count = bs->byte_count; in ssl_ctrl()
/freebsd-12.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-12.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-12.1/usr.bin/dtc/
H A Ddtb.cc129 if (byte_count != 0) in write_line()
131 byte_count = 0; in write_line()
141 if (byte_count++ == 0) in write_byte()
149 if (byte_count == 4) in write_byte()
152 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-12.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-12.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()
141 res = malloc(byte_count); in _gss_string_to_oid()
144 oid->length = byte_count; in _gss_string_to_oid()
/freebsd-12.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-12.1/contrib/ofed/libmlx4/
H A Dwqe.h101 uint32_t byte_count; member
107 uint32_t byte_count; member
/freebsd-12.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-12.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-12.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-12.1/usr.bin/head/tests/
H A Dhead_test.sh61 atf_test_case byte_count
126 atf_add_test_case byte_count
/freebsd-12.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-12.1/libexec/ftpd/
H A Dftpd.c149 off_t byte_count; variable
1726 byte_count = -1; in retrieve()
1827 byte_count = -1; in store()
1949 byte_count = 0; in dataconn()
2117 byte_count++; in send_data()
2120 byte_count++; in send_data()
2162 byte_count += cnt; in send_data()
2221 byte_count += cnt; in send_data()
2285 byte_count += cnt; in receive_data()
2315 byte_count++; in receive_data()
[all …]
/freebsd-12.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