/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_gzip.c | 301 unsigned char trailer[8]; in archive_compressor_gzip_close() local 315 trailer[0] = (uint8_t)(data->crc)&0xff; in archive_compressor_gzip_close() 316 trailer[1] = (uint8_t)(data->crc >> 8)&0xff; in archive_compressor_gzip_close() 317 trailer[2] = (uint8_t)(data->crc >> 16)&0xff; in archive_compressor_gzip_close() 318 trailer[3] = (uint8_t)(data->crc >> 24)&0xff; in archive_compressor_gzip_close() 319 trailer[4] = (uint8_t)(data->total_in)&0xff; in archive_compressor_gzip_close() 320 trailer[5] = (uint8_t)(data->total_in >> 8)&0xff; in archive_compressor_gzip_close() 321 trailer[6] = (uint8_t)(data->total_in >> 16)&0xff; in archive_compressor_gzip_close() 322 trailer[7] = (uint8_t)(data->total_in >> 24)&0xff; in archive_compressor_gzip_close() 323 ret = __archive_write_filter(f->next_filter, trailer, 8); in archive_compressor_gzip_close()
|
H A D | archive_write_set_format_cpio_odc.c | 467 struct archive_entry *trailer; in archive_write_odc_close() local 469 trailer = archive_entry_new2(NULL); in archive_write_odc_close() 470 if (trailer == NULL) { in archive_write_odc_close() 474 archive_entry_set_nlink(trailer, 1); in archive_write_odc_close() 475 archive_entry_set_size(trailer, 0); in archive_write_odc_close() 476 archive_entry_set_pathname(trailer, "TRAILER!!!"); in archive_write_odc_close() 477 er = write_header(a, trailer); in archive_write_odc_close() 478 archive_entry_free(trailer); in archive_write_odc_close()
|
H A D | archive_write_set_format_cpio_newc.c | 425 struct archive_entry *trailer; in archive_write_newc_close() local 427 trailer = archive_entry_new(); in archive_write_newc_close() 428 archive_entry_set_nlink(trailer, 1); in archive_write_newc_close() 429 archive_entry_set_size(trailer, 0); in archive_write_newc_close() 430 archive_entry_set_pathname(trailer, "TRAILER!!!"); in archive_write_newc_close() 432 er = write_header(a, trailer); in archive_write_newc_close() 433 archive_entry_free(trailer); in archive_write_newc_close()
|
H A D | archive_write_set_format_cpio_binary.c | 577 struct archive_entry *trailer; in archive_write_binary_close() local 579 trailer = archive_entry_new2(NULL); in archive_write_binary_close() 580 if (trailer == NULL) { in archive_write_binary_close() 584 archive_entry_set_nlink(trailer, 1); in archive_write_binary_close() 585 archive_entry_set_size(trailer, 0); in archive_write_binary_close() 586 archive_entry_set_pathname(trailer, "TRAILER!!!"); in archive_write_binary_close() 587 er = write_header(a, trailer); in archive_write_binary_close() 588 archive_entry_free(trailer); in archive_write_binary_close()
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | cfx.c | 242 const gss_iov_buffer_desc *trailer) in _gk_verify_buffers() argument 257 if (trailer) { in _gk_verify_buffers() 286 gss_iov_buffer_desc *header, *trailer, *padding; 308 trailer = _gk_find_buffer(iov, iov_count, GSS_IOV_BUFFER_TYPE_TRAILER); 310 major_status = _gk_verify_buffers(minor_status, ctx, header, padding, trailer); 390 if (trailer == NULL) { 396 } else if (GSS_IOV_BUFFER_FLAGS(trailer->type) & GSS_IOV_BUFFER_FLAG_ALLOCATE) { 397 major_status = _gk_allocate_buffer(minor_status, trailer, gsstsize); 400 } else if (trailer->buffer.length < gsstsize) { 405 trailer->buffer.length = gsstsize; [all …]
|
/freebsd/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | crypto.c | 487 gss_buffer_desc trailer; in _gss_ntlm_wrap() local 503 &trailer); in _gss_ntlm_wrap() 508 if (trailer.length != 16) { in _gss_ntlm_wrap() 510 gss_release_buffer(&junk, &trailer); in _gss_ntlm_wrap() 515 trailer.value, trailer.length); in _gss_ntlm_wrap() 516 gss_release_buffer(&junk, &trailer); in _gss_ntlm_wrap() 560 gss_buffer_desc trailer; in _gss_ntlm_unwrap() local 576 trailer.value = ((unsigned char *)input_message_buffer->value) + in _gss_ntlm_unwrap() 578 trailer.length = 16; in _gss_ntlm_unwrap() 582 &trailer, NULL); in _gss_ntlm_unwrap()
|
/freebsd/sys/kern/ |
H A D | subr_compressor.c | 171 uint8_t trailer[8]; in gz_write() local 203 ((uint32_t *)trailer)[0] = htole32(s->gz_crc); in gz_write() 204 ((uint32_t *)trailer)[1] = in gz_write() 206 room = MIN(sizeof(trailer), in gz_write() 208 memcpy(s->gz_buffer + len, trailer, room); in gz_write() 224 if (zerror == Z_STREAM_END && room < sizeof(trailer)) in gz_write() 225 error = cb(trailer + room, in gz_write() 226 sizeof(trailer) - room, s->gz_off, arg); in gz_write()
|
/freebsd/sys/dev/sfxge/common/ |
H A D | ef10_nvram.c | 614 struct tlv_partition_trailer *trailer; in tlv_update_partition_len_and_cks() local 640 trailer = (struct tlv_partition_trailer *)((uint8_t *)header + in tlv_update_partition_len_and_cks() 641 new_len - sizeof (*trailer) - sizeof (uint32_t)); in tlv_update_partition_len_and_cks() 642 trailer->generation = header->generation; in tlv_update_partition_len_and_cks() 643 trailer->checksum = __CPU_TO_LE_32( in tlv_update_partition_len_and_cks() 644 __LE_TO_CPU_32(trailer->checksum) - in tlv_update_partition_len_and_cks() 666 struct tlv_partition_trailer *trailer; in ef10_nvram_buffer_validate() local 709 trailer = (struct tlv_partition_trailer *)tlv_item(&cursor); in ef10_nvram_buffer_validate() 721 if (trailer->generation != header->generation) { in ef10_nvram_buffer_validate() 786 struct tlv_partition_trailer trailer; in ef10_nvram_buffer_create() local [all …]
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_audit.c | 226 token_t *header, *tok, *trailer; in au_assemble() local 278 trailer = au_to_trailer(tot_rec_size); in au_assemble() 279 if (trailer == NULL) { in au_assemble() 287 TAILQ_INSERT_TAIL(&rec->token_q, trailer, tokens); in au_assemble()
|
/freebsd/sys/crypto/armv8/ |
H A D | armv8_crypto_wrap.c | 334 size_t trailer; in armv8_aes_gmac_setup() local 349 trailer = authdatalen % AES_BLOCK_LEN; in armv8_aes_gmac_setup() 350 if (authdatalen - trailer > 0) { in armv8_aes_gmac_setup() 351 gcm_ghash_v8(s->Xi.u, Htable, authdata, authdatalen - trailer); in armv8_aes_gmac_setup() 352 authdata += authdatalen - trailer; in armv8_aes_gmac_setup() 354 if (trailer > 0 || authdatalen == 0) { in armv8_aes_gmac_setup() 356 memcpy(block, authdata, trailer); in armv8_aes_gmac_setup()
|
/freebsd/usr.bin/gzip/ |
H A D | unlz.c | 551 uint8_t trailer[TRAILER_SIZE]; in lz_decode() local 553 for(size_t i = 0; i < nitems(trailer); i++) in lz_decode() 554 trailer[i] = (uint8_t)getc(lz.fin); in lz_decode() 559 crc += trailer[i]; in lz_decode() 565 data_size += trailer[i]; in lz_decode() 574 rv += trailer[i]; in lz_decode()
|
/freebsd/crypto/heimdal/appl/gssmask/ |
H A D | gssmaestro.c | 181 int32_t bflags, krb5_data *header, krb5_data *in, krb5_data *trailer, in wrap_token_ext() argument 191 putdata(client, *trailer); in wrap_token_ext() 199 int32_t bflags, krb5_data *header, krb5_data *in, krb5_data *trailer, in unwrap_token_ext() argument 209 putdata(client, *trailer); in unwrap_token_ext() 473 krb5_data header, msg, trailer, wrapped, out; in test_wrap_ext() local 482 trailer.data = "trailer"; in test_wrap_ext() 483 trailer.length = 7; in test_wrap_ext() 488 val = wrap_token_ext(c1, hc1, conf, bflags, &header, &msg, &trailer, &wrapped); in test_wrap_ext() 493 val = unwrap_token_ext(c2, hc2, conf, bflags, &header, &wrapped, &trailer, &out); in test_wrap_ext()
|
H A D | gssmask.c | 884 krb5_data token, header, trailer; in HandleOP() local 895 retdata(c, trailer); in HandleOP() 919 if (trailer.length != 0) { in HandleOP() 921 iov[3].buffer.length = trailer.length; in HandleOP() 922 iov[3].buffer.value = trailer.data; in HandleOP() 972 krb5_data token, header, trailer; in HandleOP() local 983 retdata(c, trailer); in HandleOP() 1005 if (trailer.length != 0) { in HandleOP() 1007 iov[2].buffer.length = trailer.length; in HandleOP() 1008 iov[2].buffer.value = trailer.data; in HandleOP()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | htc.c | 291 u8 *trailer; in ath12k_htc_rx_completion_handler() local 304 trailer = (u8 *)hdr; in ath12k_htc_rx_completion_handler() 305 trailer += sizeof(*hdr); in ath12k_htc_rx_completion_handler() 306 trailer += payload_len; in ath12k_htc_rx_completion_handler() 307 trailer -= trailer_len; in ath12k_htc_rx_completion_handler() 308 status = ath12k_htc_process_trailer(htc, trailer, in ath12k_htc_rx_completion_handler()
|
/freebsd/crypto/heimdal/lib/gssapi/ |
H A D | test_context.c | 285 krb5_data token, header, trailer; in wrapunwrap_iov() local 302 trailer.data = trailer_data; in wrapunwrap_iov() 303 trailer.length = 10; in wrapunwrap_iov() 307 trailer.data = NULL; in wrapunwrap_iov() 308 trailer.length = 0; in wrapunwrap_iov() 332 if (trailer.length != 0) { in wrapunwrap_iov() 334 iov[3].buffer.length = trailer.length; in wrapunwrap_iov() 335 iov[3].buffer.value = trailer.data; in wrapunwrap_iov()
|
/freebsd/contrib/bsnmp/lib/ |
H A D | snmp.c | 75 asn_len_t len, trailer; in get_var_binding() local 86 trailer = b->asn_len - len; in get_var_binding() 187 b->asn_len = trailer; in get_var_binding() 248 asn_len_t len, trailer; in parse_pdus() local 256 trailer = b->asn_len - len; in parse_pdus() 277 b->asn_len = trailer; in parse_pdus() 554 asn_len_t len, trailer; in snmp_pdu_decode_scoped() local 621 trailer = b->asn_len - len; in snmp_pdu_decode_scoped() 631 b->asn_len = trailer; in snmp_pdu_decode_scoped()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | htc.c | 331 u8 *trailer; in ath11k_htc_rx_completion_handler() local 343 trailer = (u8 *)hdr; in ath11k_htc_rx_completion_handler() 344 trailer += sizeof(*hdr); in ath11k_htc_rx_completion_handler() 345 trailer += payload_len; in ath11k_htc_rx_completion_handler() 346 trailer -= trailer_len; in ath11k_htc_rx_completion_handler() 347 status = ath11k_htc_process_trailer(htc, trailer, in ath11k_htc_rx_completion_handler()
|
/freebsd/usr.sbin/praudit/tests/input/ |
H A D | numeric_form | 7 trailer,113
|
H A D | del_comma | 7 trailer,113
|
H A D | no_args | 7 trailer,113
|
H A D | same_line | 1 …,protocol,subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2,return,success,3,trailer,113,
|
H A D | short_form | 7 trailer,113
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | bmi.c | 474 u8 trailer[4] = {}; in ath10k_bmi_fast_download() local 490 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 492 memcpy(trailer, (const u8 *)buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 504 ret = ath10k_bmi_lz_data(ar, trailer, 4); in ath10k_bmi_fast_download()
|
/freebsd/contrib/ncurses/progs/ |
H A D | dump_entry.c | 82 static const char *separator = "", *trailer = ""; variable 237 trailer = "\n\t"; in dump_init() 245 trailer = "\n\t"; in dump_init() 254 trailer = "\\\n\t:"; in dump_init() 426 strcpy_DYN(&outbuf, trailer); in force_wrap() 592 const char *my_t = trailer; in wrap_concat() 599 trailer = "\\\n\t "; in wrap_concat() 649 trailer = my_t; in wrap_concat() 1494 trailer = "\n"; in dump_entry()
|
/freebsd/contrib/byacc/ |
H A D | yaccpar.c | 357 const char *const trailer[] = variable
|