Home
last modified time | relevance | path

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

123

/freebsd/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/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/sys/dev/drm2/
H A Ddrm_bufs.c696 int byte_count; in drm_addbufs_agp() local
712 byte_count = 0; in drm_addbufs_agp()
781 buf->offset = (dma->byte_count + offset); in drm_addbufs_agp()
805 byte_count += PAGE_SIZE << page_order; in drm_addbufs_agp()
808 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_agp()
828 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_agp()
829 dma->byte_count += byte_count; in drm_addbufs_agp()
861 int byte_count; in drm_addbufs_pci() local
948 byte_count = 0; in drm_addbufs_pci()
981 buf->offset = (dma->byte_count + byte_count + offset); in drm_addbufs_pci()
[all …]
/freebsd/lib/libgssapi/
H A Dgss_mech_switch.c56 int byte_count; in _gss_string_to_oid() local
88 byte_count = 0; in _gss_string_to_oid()
122 byte_count++; in _gss_string_to_oid()
143 byte_count++; in _gss_string_to_oid()
149 res = malloc(byte_count); in _gss_string_to_oid()
152 oid->length = byte_count; in _gss_string_to_oid()
/freebsd/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/sys/dev/tpm/
H A Dtpm20.c102 size_t byte_count; in tpm20_write() local
107 byte_count = uio->uio_resid; in tpm20_write()
108 if (byte_count < TPM_HEADER_SIZE) { in tpm20_write()
114 if (byte_count > TPM_BUFSIZE) { in tpm20_write()
125 result = uiomove(sc->buf, byte_count, uio); in tpm20_write()
131 result = TPM_TRANSMIT(sc->dev, byte_count); in tpm20_write()
/freebsd/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/lib/librpcsec_gss/
H A Drpcsec_gss_conf.c75 int byte_count; in _rpc_gss_string_to_oid() local
104 byte_count = 0; in _rpc_gss_string_to_oid()
138 byte_count++; in _rpc_gss_string_to_oid()
159 byte_count++; in _rpc_gss_string_to_oid()
165 res = malloc(byte_count); in _rpc_gss_string_to_oid()
168 oid->length = byte_count; in _rpc_gss_string_to_oid()
/freebsd/usr.bin/dtc/
H A Ddtb.cc128 if (byte_count != 0) in write_line()
130 byte_count = 0; in write_line()
140 if (byte_count++ == 0) in write_byte()
148 if (byte_count == 4) in write_byte()
151 byte_count = 0; in write_byte()
H A Ddtb.hh224 int byte_count; member in dtc::dtb::asm_writer
250 asm_writer() : byte_count(0), bytes_written(0) {} in asm_writer()
/freebsd/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/contrib/expat/tests/
H A Dstructdata.c63 size_t byte_count = (xcstrlen(s) + 1) * sizeof(XML_Char); in xmlstrdup() local
64 XML_Char *const dup = (XML_Char *)malloc(byte_count); in xmlstrdup()
67 memcpy(dup, s, byte_count); in xmlstrdup()
/freebsd/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/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/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()
H A Dmlx5dv.h382 uint32_t byte_count; member
432 uint32_t byte_count; member
567 seg->byte_count = htobe32(length); in mlx5dv_set_data_seg()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c83 off_t byte_count; variable
1031 byte_count = -1; in retrieve()
1068 LOGBYTES("get", name, byte_count); in retrieve()
1128 byte_count = -1; in do_store()
1178 LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count); 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()
[all …]
/freebsd/tools/tools/netrate/netreceive/
H A Dnetreceive.c60 uint64_t byte_count; /* rx byte counter */ member
118 t->byte_count += y; in rx_body()
175 bc0 += tp[i]->byte_count; in main_thread()
/freebsd/libexec/ftpd/
H A Dftpd.c131 off_t byte_count; variable
1670 byte_count = -1; in retrieve()
1718 if (cmd == 0 && guest && stats && byte_count > 0) in retrieve()
1719 logxfer(name, byte_count, start); in retrieve()
1725 LOGBYTES("get", name, byte_count); in retrieve()
1771 byte_count = -1; in store()
1815 LOGBYTES(*mode == 'a' ? "append" : "put", name, byte_count); in store()
1893 byte_count = 0; in dataconn()
2061 byte_count++; in send_data()
2064 byte_count++; in send_data()
[all …]
/freebsd/usr.bin/head/tests/
H A Dhead_test.sh60 atf_test_case byte_count
167 atf_add_test_case byte_count
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DDataExtractor.cpp848 unsigned byte_count = 0; in GetULEB128() local
849 uint64_t result = llvm::decodeULEB128(src, &byte_count, m_end); in GetULEB128()
850 *offset_ptr += byte_count; in GetULEB128()
865 unsigned byte_count = 0; in GetSLEB128() local
866 int64_t result = llvm::decodeSLEB128(src, &byte_count, m_end); in GetSLEB128()
867 *offset_ptr += byte_count; in GetSLEB128()
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Doffload.h50 * @byte_count: frame's byte count
59 __le32 byte_count;
66 * @data: beacon data, length in @byte_count
79 * @data: beacon data, length in @byte_count
57 __le32 byte_count; global() member

123