/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | module.modulemap | 3 header "algorithm" 7 header "any" 11 header "array" 15 header "atomic" 19 header "barrier" 23 header "bit" 27 header "bitset" 31 header "charconv" 35 header "chrono" 39 header "codecvt" [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | module.modulemap | 13 header "altivec.h" 20 header "arm_acle.h" 26 header "arm_neon.h" 27 header "arm_fp16.h" 33 header "arm_sve.h" 42 header "immintrin.h" 43 textual header "f16cintrin.h" 44 textual header "avxintrin.h" 45 textual header "avx2intrin.h" 46 textual header "avx512fintrin.h" [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_ud_header.c | 45 #define STRUCT_FIELD(header, field) \ argument 46 .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \ 47 .struct_size_bytes = sizeof ((struct ib_unpacked_ ## header *) 0)->field, \ 48 .field_name = #header ":" #field 286 __sum16 ib_ud_ip4_csum(struct ib_ud_header *header) in ib_ud_ip4_csum() argument 293 iph.ip_tos = header->ip4.tos; in ib_ud_ip4_csum() 294 iph.ip_len = header->ip4.tot_len; in ib_ud_ip4_csum() 295 iph.ip_id = header->ip4.id; in ib_ud_ip4_csum() 296 iph.ip_off = header->ip4.frag_off; in ib_ud_ip4_csum() 297 iph.ip_ttl = header->ip4.ttl; in ib_ud_ip4_csum() [all …]
|
/freebsd/contrib/llvm-project/clang/include/ |
H A D | module.modulemap | 10 textual header "clang/Analysis/Analyses/ThreadSafetyOps.def" 18 exclude header "clang/Analysis/Analyses/ExprMutationAnalyzer.h" 25 textual header "clang/AST/BuiltinTypes.def" 26 textual header "clang/AST/CXXRecordDeclDefinitionBits.def" 27 textual header "clang/AST/OperationKinds.def" 28 textual header "clang/AST/TypeLocNodes.def" 39 textual header "clang/Basic/AArch64SVEACLETypes.def" 40 textual header "clang/Basic/AMDGPUTypes.def" 41 textual header "clang/Basic/BuiltinHeaders.def" 42 textual header "clang/Basic/BuiltinsAArch64.def" [all …]
|
/freebsd/contrib/file/src/ |
H A D | is_tar.c | 103 const union record *header = RCAST(const union record *, in is_tar() local 110 if (nbytes < sizeof(*header)) in is_tar() 117 memchr(header->header.name, 0, sizeof(header->header.name))); in is_tar() 118 if (nulp != NULL && nulp >= header->header.name + sizeof(gpkg_match) && in is_tar() 123 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); in is_tar() 126 p = header->charptr; in is_tar() 127 ep = header->charptr + sizeof(*header); in is_tar() 132 for (i = 0; i < sizeof(header->header.chksum); i++) in is_tar() 133 sum -= header->header.chksum[i]; in is_tar() 134 sum += ' ' * sizeof(header->header.chksum); in is_tar() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/ |
H A D | module.modulemap | 5 textual header "lldb/Utility/Instrumentation.h" 16 // OS-specific header for us. 17 module ConnectionFileDescriptor { header "lldb/Host/ConnectionFileDescriptor.h" export * } 18 module Debug { header "lldb/Host/Debug.h" export * } 19 module Editline { header "lldb/Host/Editline.h" export * } 20 module FileCache { header "lldb/Host/FileCache.h" export * } 21 module File { header "lldb/Host/File.h" export * } 22 module FileAction { header "lldb/Host/FileAction.h" export * } 23 module FileSystem { header "lldb/Host/FileSystem.h" export * } 24 module HostGetOpt { header "lldb/Host/HostGetOpt.h" export * } [all …]
|
/freebsd/contrib/llvm-project/llvm/include/ |
H A D | module.modulemap | 12 textual header "llvm/Analysis/ScalarFuncs.def" 13 textual header "llvm/Analysis/TargetLibraryInfo.def" 14 textual header "llvm/Analysis/VecFuncs.def" 27 header "llvm/CodeGenTypes/LowLevelType.h" export * 30 header "llvm/CodeGenTypes/MachineValueType.h" export * 46 exclude header "llvm/CodeGen/LinkAllAsmWriterComponents.h" 47 exclude header "llvm/CodeGen/LinkAllCodegenComponents.h" 50 textual header "llvm/CodeGen/DIEValue.def" 76 textual header "llvm/BinaryFormat/Dwarf.def" 77 textual header "llvm/BinaryFormat/DXContainerConstants.def" [all …]
|
H A D | module.install.modulemap | 3 textual header "llvm/CodeGen/GenVT.inc" 7 textual header "llvm/Config/AsmParsers.def" 8 textual header "llvm/Config/AsmPrinters.def" 9 textual header "llvm/Config/Disassemblers.def" 10 textual header "llvm/Config/Targets.def" 15 textual header "llvm/IR/Attributes.gen" 16 textual header "llvm/IR/Attributes.inc" 20 textual header "llvm/IR/Intrinsics.gen" 21 textual header "llvm/IR/Intrinsics.inc" 25 textual header "llvm/IR/IntrinsicEnums.inc" [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_message.h | 69 } header; member 386 (msg)->header.version = NG_VERSION; \ 387 (msg)->header.typecookie = (cookie); \ 388 (msg)->header.cmd = (cmdid); \ 389 (msg)->header.arglen = (len); \ 390 strncpy((msg)->header.cmdstr, #cmdid, \ 391 sizeof((msg)->header.cmdstr) - 1); \ 404 (rsp)->header.version = NG_VERSION; \ 405 (rsp)->header.arglen = (len); \ 406 (rsp)->header.token = (msg)->header.token; \ [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_cpio.c | 596 const char *header; in header_newc() local 609 header = (const char *)h; in header_newc() 611 if (memcmp(header + newc_magic_offset, "070701", 6) == 0) { in header_newc() 614 } else if (memcmp(header + newc_magic_offset, "070702", 6) == 0) { in header_newc() 622 (dev_t)atol16(header + newc_devmajor_offset, newc_devmajor_size)); in header_newc() 624 (dev_t)atol16(header + newc_devminor_offset, newc_devminor_size)); in header_newc() 625 archive_entry_set_ino(entry, atol16(header + newc_ino_offset, newc_ino_size)); in header_newc() 627 (mode_t)atol16(header + newc_mode_offset, newc_mode_size)); in header_newc() 628 archive_entry_set_uid(entry, atol16(header + newc_uid_offset, newc_uid_size)); in header_newc() 629 archive_entry_set_gid(entry, atol16(header + newc_gid_offset, newc_gid_size)); in header_newc() [all …]
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | bad_server.cc | 48 out.header.len = sizeof(out.header); in TEST_F() 49 out.header.error = 0; in TEST_F() 50 out.header.unique = 99999; // Invalid! in TEST_F() 63 out.header.len = sizeof(out.header) - 1; in TEST_F() 64 out.header.error = 0; in TEST_F() 65 out.header.unique = 0; // Asynchronous notification in TEST_F() 82 out0->header.unique = in.header.unique; in TEST_F() 83 out0->header.error = -ENOENT; in TEST_F() 90 out1->header.unique = in.header.unique; in TEST_F() 91 out1->header.error = -ENOENT; in TEST_F() [all …]
|
H A D | dev_fuse_poll.cc | 152 return (in.header.opcode == FUSE_GETATTR && in TEST_F() 153 in.header.nodeid == foo_ino); in TEST_F() 164 out.header.unique = in.header.unique; in TEST_F() 165 out.header.error = -EIO; in TEST_F() 166 out.header.len = sizeof(out.header); in TEST_F() 171 return (in.header.opcode == FUSE_GETATTR && in TEST_F() 172 (in.header.nodeid == bar_ino || in TEST_F() 173 in.header.nodeid == baz_ino)); in TEST_F() 179 out.header.unique = in.header.unique; in TEST_F() 180 out.header.error = -EIO; in TEST_F() [all …]
|
H A D | utils.cc | 172 return (in.header.opcode == FUSE_ACCESS); in SetUp() 186 return (in.header.opcode == FUSE_BMAP); in SetUp() 201 return (in.header.opcode == FUSE_ACCESS && in expect_access() 202 in.header.nodeid == ino && in expect_access() 214 return (in.header.opcode == FUSE_DESTROY); in expect_destroy() 219 out.header.len = sizeof(out.header); in expect_destroy() 220 out.header.unique = in.header.unique; in expect_destroy() 221 out.header in expect_destroy() [all...] |
H A D | interrupt.cc | 103 return (in.header.opcode == FUSE_MKDIR); in expect_mkdir() 107 *mkdir_unique = in.header.unique; in expect_mkdir() 120 return (in.header.opcode == FUSE_READ && in expect_read() 121 in.header.nodeid == ino); in expect_read() 125 *read_unique = in.header.unique; in expect_read() 138 return (in.header.opcode == FUSE_WRITE && in expect_write() 139 in.header.nodeid == ino); in expect_write() 143 *write_unique = in.header.unique; in expect_write() 240 return (in.header.opcode == FUSE_INTERRUPT && in TEST_F() 247 out0->header.unique = mkdir_unique; in TEST_F() [all …]
|
H A D | open.cc | 57 return (in.header.opcode == FUSE_OPEN && in test_ok() 59 in.header.nodeid == ino); in test_ok() 63 out.header.len = sizeof(out.header); in test_ok() 122 return (in.header.opcode == FUSE_OPEN && in TEST_F() 123 in.header.nodeid == ino); in TEST_F() 151 return (in.header.opcode == FUSE_OPEN && in TEST_F() 152 in.header.nodeid == ino); in TEST_F() 179 return (in.header.opcode == FUSE_OPEN && in TEST_F() 180 in.header.pid == (uint32_t)getpid() && in TEST_F() 181 in.header.nodeid == ino); in TEST_F() [all …]
|
/freebsd/share/mk/ |
H A D | bsd.incs.mk | 44 .for header in ${${group}} 45 .if defined(${group}OWN_${header:T}) || defined(${group}GRP_${header:T}) || \ 46 defined(${group}MODE_${header:T}) || defined(${group}DIR_${header:T}) || \ 47 defined(${group}NAME_${header:T}) || defined(${group}NAME) 48 ${group}OWN_${header:T}?= ${${group}OWN} 49 ${group}GRP_${header:T}?= ${${group}GRP} 50 ${group}MODE_${header:T}?= ${${group}MODE} 51 ${group}DIR_${header:T}?= ${${group}DIR} 53 ${group}NAME_${header:T}?= ${${group}NAME} 55 ${group}NAME_${header:T}?= ${header:T} [all …]
|
/freebsd/tools/tools/hcomp/ |
H A D | hcomp.pl | 42 my $header; 49 $header = join('', <FILE>); 53 $header =~ s|/\*.*?\*/||gs; 54 $header =~ s|//.*$||gm; 57 while ($header =~ s|(\n\#.*?)\\\n|$1|gs) { 62 $header =~ s|^\s+||s; 63 $header =~ s|^\s+||gm; 64 $header =~ s|\s+$||s; 65 $header =~ s|\s+$||gm; 66 $header =~ s|\n+|\n|gs; [all …]
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_extattr.c | 177 struct ext2fs_extattr_header *header; in ext2_extattr_block_check() local 180 header = (struct ext2fs_extattr_header *)bp->b_data; in ext2_extattr_block_check() 182 error = ext2_extattr_check(EXT2_IFIRST(header), in ext2_extattr_block_check() 196 struct ext2fs_extattr_dinode_header *header; in ext2_extattr_inode_list() local 216 header = (struct ext2fs_extattr_dinode_header *)((char *)dinode + in ext2_extattr_inode_list() 219 if (le32toh(header->h_magic) != EXTATTR_MAGIC) { in ext2_extattr_inode_list() 224 error = ext2_extattr_check(EXT2_IFIRST(header), in ext2_extattr_inode_list() 231 for (entry = EXT2_IFIRST(header); !EXT2_IS_LAST_ENTRY(entry); in ext2_extattr_inode_list() 270 struct ext2fs_extattr_header *header; in ext2_extattr_block_list() local 285 header = EXT2_HDR(bp); in ext2_extattr_block_list() [all …]
|
/freebsd/usr.bin/mkimg/ |
H A D | vhdx.c | 237 struct vhdx_header header; in vhdx_write_headers() local 241 memset(&header, 0, sizeof(header)); in vhdx_write_headers() 242 le32enc(&header.signature, VHDX_HEADER_SIGNATURE); in vhdx_write_headers() 243 le32enc(&header.sequence_number, 0); in vhdx_write_headers() 244 le16enc(&header.log_version, 0); in vhdx_write_headers() 245 le16enc(&header.version, 1); in vhdx_write_headers() 246 le32enc(&header.log_length, SIZE_1MB); in vhdx_write_headers() 247 le64enc(&header.log_offset, SIZE_1MB); in vhdx_write_headers() 248 checksum = crc32c(&header, sizeof(header)); in vhdx_write_headers() 249 le32enc(&header.checksum, checksum); in vhdx_write_headers() [all …]
|
/freebsd/contrib/bmake/mk/ |
H A D | inc.mk | 51 .for header in ${${group}:O:u} 52 ${group}_INSTALL_OWN.${header:T} ?= ${${group}_INSTALL_OWN} 53 ${group}DIR.${header:T} ?= ${${group}DIR} 54 inc_mkdir_list += ${${group}DIR.${header:T}} 56 .if defined(${group}NAME.${header:T}) 58 STAGE_AS_${header} = ${${group}NAME.${header:T}} 59 stage_as.${group}: ${header} 61 incinstall: incinstall.${group}.${header:T} 62 incinstall.${group}.${header [all...] |
/freebsd/sys/i386/bios/ |
H A D | smapi.c | 68 struct smapi_bios_header *header; member 105 bcopy((caddr_t)sc->header, data, in smapi_ioctl() 122 smapi_header_cksum (struct smapi_bios_header *header) in smapi_header_cksum() argument 128 ptr = (u_int8_t *)header; in smapi_header_cksum() 130 for (i = 0; i < header->length; i++) { in smapi_header_cksum() 180 device_printf(dev, "SMAPI header checksum failed.\n"); in smapi_probe() 210 sc->header = (struct smapi_bios_header *)rman_get_virtual(sc->res); in smapi_attach() 212 sc->header->prot32_segment + in smapi_attach() 213 sc->header->prot32_offset); in smapi_attach() 228 bcd2bin(sc->header in smapi_attach() [all...] |
/freebsd/crypto/openssl/crypto/pem/ |
H A D | pem_lib.c | 241 char *nm = NULL, *header = NULL; in pem_bytes_read_bio_flags() local 248 pem_free(header, flags, 0); in pem_bytes_read_bio_flags() 250 if (!PEM_read_bio_ex(bp, &nm, &header, &data, &len, flags)) { in pem_bytes_read_bio_flags() 256 if (!PEM_get_EVP_CIPHER_INFO(header, &cipher)) in pem_bytes_read_bio_flags() 272 pem_free(header, flags, 0); in pem_bytes_read_bio_flags() 487 int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher) in PEM_get_EVP_CIPHER_INFO() argument 498 if ((header == NULL) || (*header == '\0') || (*header == '\n')) in PEM_get_EVP_CIPHER_INFO() 501 if (strncmp(header, ProcType, sizeof(ProcType)-1) != 0) { in PEM_get_EVP_CIPHER_INFO() 505 header += sizeof(ProcType)-1; in PEM_get_EVP_CIPHER_INFO() 506 header += strspn(header, " \t"); in PEM_get_EVP_CIPHER_INFO() [all …]
|
/freebsd/lib/libnetgraph/ |
H A D | msg.c | 71 msg.header.version = NG_VERSION; in NgSendMsg() 72 msg.header.typecookie = cookie; in NgSendMsg() 73 msg.header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendMsg() 74 msg.header.flags = NGF_ORIG; in NgSendMsg() 75 msg.header.cmd = cmd; in NgSendMsg() 76 snprintf((char *)msg.header.cmdstr, NG_CMDSTRSIZ, "cmd%d", cmd); in NgSendMsg() 81 return (msg.header.token); in NgSendMsg() 122 strncpy((char *)ascii->header.cmdstr, cmd, in NgSendAsciiMsg() 123 sizeof(ascii->header.cmdstr) - 1); in NgSendAsciiMsg() 125 ascii->header.arglen = strlen(ascii->data) + 1; in NgSendAsciiMsg() [all …]
|
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_rec_ccm.c | 73 unsigned char nonce[12], header[13]; in ccm_decrypt() local 88 br_enc64be(header, cc->seq ++); in ccm_decrypt() 89 header[8] = (unsigned char)record_type; in ccm_decrypt() 90 br_enc16be(header + 9, version); in ccm_decrypt() 91 br_enc16be(header + 11, len); in ccm_decrypt() 97 br_ccm_reset(&zc, nonce, sizeof nonce, sizeof header, len, cc->tag_len); in ccm_decrypt() 98 br_ccm_aad_inject(&zc, header, sizeof header); in ccm_decrypt() 154 unsigned char nonce[12], header[13]; in ccm_encrypt() local 170 br_enc64be(header, cc->seq ++); in ccm_encrypt() 171 header[8] = (unsigned char)record_type; in ccm_encrypt() [all …]
|
/freebsd/contrib/unbound/util/ |
H A D | proxy_protocol.c | 168 struct pp2_header* header = (struct pp2_header*)buf; in pp2_read_header() local 174 if(memcmp(header, PP2_SIG, PP2_SIG_LEN) != 0 || in pp2_read_header() 175 ((header->ver_cmd & 0xF0)>>4) != PP2_VERSION) { in pp2_read_header() 179 size = PP2_HEADER_SIZE + ntohs(header->len); in pp2_read_header() 184 if((header->ver_cmd & 0xF) != PP2_CMD_LOCAL && in pp2_read_header() 185 (header->ver_cmd & 0xF) != PP2_CMD_PROXY) { in pp2_read_header() 189 if(header->fam_prot != PP2_UNSPEC_UNSPEC && in pp2_read_header() 190 header->fam_prot != PP2_INET_STREAM && in pp2_read_header() 191 header->fam_prot != PP2_INET_DGRAM && in pp2_read_header() 192 header->fam_prot != PP2_INET6_STREAM && in pp2_read_header() [all …]
|