/freebsd/libexec/tftpd/tests/ |
H A D | functional.c | 61 * @param contents The reply's expected contents, as a char array 62 * @param contents_len Length of contents 64 #define RECV(hdr, contents, contents_len) do { \ argument 73 require_bufeq((const char *) (contents), (contents_len), \ 101 * @param contents Pointer to expected contents 102 * @param contents_len Length of contents expected to receive 105 recv_data(uint16_t blocknum, const char *contents, size_t contents_len) in recv_data() argument 108 RECV(hdr, contents, contents_len); in recv_data() 131 send_data(uint16_t blocknum, const char *contents, size_t contents_len) in send_data() argument 139 memmove(&buffer[4], contents, contents_len); in send_data() [all …]
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_08.HIPx.out | 6 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">gum … 7 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'gum']/count"> … 10 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">rope … 11 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'rope']/count"> … 14 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">ladder … 15 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'ladder']/count"> … 18 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">bolt … 19 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'bolt']/count"> … 22 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">water … 23 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'water']/count"> … [all …]
|
H A D | test_09.HIPx.out | 7 <div class="data" data-tag="name" data-xpath="/top/data/contents/name">gum </div> 11 <div class="data" data-tag="name" data-xpath="/top/data/contents/name">rope </div> 15 <div class="data" data-tag="name" data-xpath="/top/data/contents/name">ladder </div> 19 <div class="data" data-tag="name" data-xpath="/top/data/contents/name">bolt </div> 23 <div class="data" data-tag="name" data-xpath="/top/data/contents/name">water </div> 35 <div class="data" data-tag="item" data-xpath="/top/data/contents/item">gum </div> 39 <div class="data" data-tag="item" data-xpath="/top/data/contents/item">rope </div> 43 <div class="data" data-tag="item" data-xpath="/top/data/contents/item">ladder </div> 47 <div class="data" data-tag="item" data-xpath="/top/data/contents/item">bolt </div> 51 <div class="data" data-tag="item" data-xpath="/top/data/contents/item">water </div> [all …]
|
H A D | test_09.XP.out | 3 <contents> 9 </contents> 10 <contents> 16 </contents> 17 <contents> 27 </contents>
|
H A D | test_09.X.out | 1 …contents><name>gum</name><name>rope</name><name>ladder</name><name>bolt</name><name>water</name></…
|
/freebsd/contrib/bc/ |
H A D | configure | 473 # @param contents The contents of the Makefile template to put the list of 1508 contents=$(cat "$scriptdir/bcl.pc.in") 1510 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1511 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") 1512 contents=$(replace "$contents" "VERSION" "$version") 1514 printf '%s\n' "$contents" > " [all...] |
H A D | configure.sh | 473 # @param contents The contents of the Makefile template to put the list of 1508 contents=$(cat "$scriptdir/bcl.pc.in") 1510 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1511 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") 1512 contents=$(replace "$contents" "VERSION" "$version") 1514 printf '%s\n' "$contents" > "$scriptdir/bcl.pc" 1641 contents=$(cat "$scriptdir/Makefile.in") 1646 contents=$(replace "$contents" "$needle" "$replacement") 1648 # The contents are edited to have the list of files to build. 1649 contents=$(gen_file_list "$contents" $unneeded) [all …]
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | dwarf2.h | 158 DW_OP_reg0 = 0x50, // Contents of reg0 159 DW_OP_reg1 = 0x51, // Contents of reg1 160 DW_OP_reg2 = 0x52, // Contents of reg2 161 DW_OP_reg3 = 0x53, // Contents of reg3 162 DW_OP_reg4 = 0x54, // Contents of reg4 163 DW_OP_reg5 = 0x55, // Contents of reg5 164 DW_OP_reg6 = 0x56, // Contents of reg6 165 DW_OP_reg7 = 0x57, // Contents of reg7 166 DW_OP_reg8 = 0x58, // Contents of reg8 167 DW_OP_reg9 = 0x59, // Contents of reg9 [all …]
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | write.cc | 86 uint64_t osize, const void *contents) in expect_write() argument 88 FuseTest::expect_write(ino, offset, isize, osize, 0, 0, contents); in expect_write() 93 const void *contents) in maybe_expect_write() argument 106 0 == bcmp(buf, contents, size)); in maybe_expect_write() 155 uint64_t osize, const void *contents) in expect_write() argument 158 contents); in expect_write() 241 const char *CONTENTS = "abcdefgh"; in TEST_F() local 245 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 250 expect_write(ino, offset, bufsize, bufsize, CONTENTS); in TEST_F() 257 iocb.aio_buf = __DECONST(void *, CONTENTS); in TEST_F() [all …]
|
H A D | fsync.cc | 77 void expect_write(uint64_t ino, uint64_t size, const void *contents) in expect_write() argument 79 FuseTest::expect_write(ino, 0, size, size, 0, 0, contents); in expect_write() 98 const char *CONTENTS = "abcdefgh"; in TEST_F() local 99 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 106 expect_write(ino, bufsize, CONTENTS); in TEST_F() 111 ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno); in TEST_F() 132 const char *CONTENTS = "abcdefgh"; in TEST_F() local 133 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 139 expect_write(ino, bufsize, CONTENTS); in TEST_F() 160 ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno); in TEST_F() [all …]
|
H A D | read.cc | 169 const char *CONTENTS = "abcdefgh"; in TEST_F() local 172 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 178 expect_read(ino, 0, bufsize, bufsize, CONTENTS); in TEST_F() 190 ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize)); in TEST_F() 359 const char *CONTENTS = "abcdefgh"; in TEST_F() local 363 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 368 expect_read(ino, 0, bufsize, bufsize, CONTENTS); in TEST_F() 393 const char *CONTENTS = "abcdefgh"; in TEST_F() local 397 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 402 expect_read(ino, 0, bufsize, bufsize, CONTENTS); in TEST_F() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.h | 29 /// Contents and directive tokens of a cached file entry. Single instance can 32 CachedFileContents(std::unique_ptr<llvm::MemoryBuffer> Contents) in CachedFileContents() 33 : Original(std::move(Contents)), DepDirectives(nullptr) {} in CachedFileContents() 35 /// Owning storage for the original contents. 52 /// - opened file with contents and a stat value, 53 /// - opened file with contents, directive tokens and a stat value, 62 /// Creates an entry without contents: either a filesystem error or 65 : MaybeStat(std::move(Stat)), Contents(nullptr) { in CachedFileSystemEntry() 69 /// Creates an entry representing a file with contents. 71 CachedFileContents *Contents) in CachedFileSystemEntry() argument [all …]
|
/freebsd/crypto/krb5/src/lib/crypto/krb/ |
H A D | keyblocks.c | 45 kb->contents = malloc(length); in krb5int_c_init_keyblock() 46 if (!kb->contents) { in krb5int_c_init_keyblock() 51 kb->contents = NULL; in krb5int_c_init_keyblock() 68 if (key && key->contents) { in krb5int_c_free_keyblock_contents() 69 zapfree(key->contents, key->length); in krb5int_c_free_keyblock_contents() 70 key->contents = NULL; in krb5int_c_free_keyblock_contents() 101 to->contents = malloc(to->length); in krb5int_c_copy_keyblock_contents() 102 if (!to->contents) in krb5int_c_copy_keyblock_contents() 104 memcpy(to->contents, from->contents, to->length); in krb5int_c_copy_keyblock_contents() 106 to->contents = 0; in krb5int_c_copy_keyblock_contents()
|
/freebsd/crypto/openssl/test/ |
H A D | timing_load_creds.c | 41 static void readx509(const char *contents, int size) in readx509() argument 44 BIO *b = BIO_new_mem_buf(contents, size); in readx509() 59 static void readpkey(const char *contents, int size) in readpkey() argument 61 BIO *b = BIO_new_mem_buf(contents, size); in readpkey() 103 char *contents; in main() local 146 contents = OPENSSL_malloc(sb.st_size + 1); in main() 147 if (contents == NULL) { in main() 152 if ((long)fread(contents, 1, sb.st_size, fp) != sb.st_size) { in main() 156 contents[sb.st_size] = '\0'; in main() 159 printf(">%s<\n", contents); in main() [all …]
|
/freebsd/contrib/libarchive/unzip/test/ |
H A D | test_d.c | 21 assertTextFileContents("contents a\n", "foobar/test_basic/a"); in DEFINE_TEST() 22 assertTextFileContents("contents b\n", "foobar/test_basic/b"); in DEFINE_TEST() 23 assertTextFileContents("contents c\n", "foobar/test_basic/c"); in DEFINE_TEST() 24 assertTextFileContents("contents CAPS\n", "foobar/test_basic/CAPS"); in DEFINE_TEST() 39 assertTextFileContents("contents a\n", "foobar/test_basic/a"); in DEFINE_TEST() 40 assertTextFileContents("contents b\n", "foobar/test_basic/b"); in DEFINE_TEST() 41 assertTextFileContents("contents c\n", "foobar/test_basic/c"); in DEFINE_TEST() 42 assertTextFileContents("contents CAPS\n", "foobar/test_basic/CAPS"); in DEFINE_TEST()
|
H A D | test_x.c | 21 assertTextFileContents("contents a\n", "test_basic/a"); in DEFINE_TEST() 22 assertTextFileContents("contents b\n", "test_basic/b"); in DEFINE_TEST() 24 assertTextFileContents("contents CAPS\n", "test_basic/CAPS"); in DEFINE_TEST() 39 assertTextFileContents("contents a\n", "test_basic/a"); in DEFINE_TEST() 42 assertTextFileContents("contents CAPS\n", "test_basic/CAPS"); in DEFINE_TEST() 57 assertTextFileContents("contents a\n", "foobar/test_basic/a"); in DEFINE_TEST() 60 assertTextFileContents("contents CAPS\n", "foobar/test_basic/CAPS"); in DEFINE_TEST()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 154 /// SmallContents - This really should be part of the Contents union, but 160 unsigned OffsetLo; // Matches Contents.OffsetedInfo.OffsetHi. 167 /// Contents union - This contains the payload for the various operand types. 205 } Contents; variable 212 static_assert(sizeof(Contents) <= 2 * sizeof(void *), in MachineOperand() 213 "Contents should be at most two pointers"); in MachineOperand() 218 "ParentMI, and Contents"); in MachineOperand() 558 return Contents.ImmVal; in getImm() 563 return Contents.CI; in getCImm() 568 return Contents in getFPImm() [all...] |
/freebsd/contrib/kyua/utils/ |
H A D | stream_test.cpp | 98 const std::string contents(8192, 'x'); in ATF_TEST_CASE_BODY() local 99 std::istringstream input(contents); in ATF_TEST_CASE_BODY() 101 contents.length(), in ATF_TEST_CASE_BODY() 109 const char* contents = "These are\nsome file contents"; in ATF_TEST_CASE_BODY() local 110 atf::utils::create_file("input.txt", contents); in ATF_TEST_CASE_BODY() 111 ATF_REQUIRE_EQ(contents, utils::read_file(fs::path("input.txt"))); in ATF_TEST_CASE_BODY() 135 std::string contents; in ATF_TEST_CASE_BODY() local 137 contents += "abcdef"; in ATF_TEST_CASE_BODY() 138 std::istringstream input(contents); in ATF_TEST_CASE_BODY() 139 ATF_REQUIRE_EQ(contents, utils::read_stream(input)); in ATF_TEST_CASE_BODY()
|
/freebsd/crypto/heimdal/doc/ |
H A D | layman.asc | 346 give the number of contents octets. For the 350 Contents octets. For the primitive, definite-length 356 End-of-contents octets. For the constructed, indefinite- 358 contents. For the other methods, these are absent. 410 Contents octets. These give a concrete representation of the 431 Contents octets. The concatenation of the BER encodings of 463 Contents octets. As described in Section 3.2. 465 End-of-contents octets. Two octets, 00 00. 467 Since the end-of-contents octets appear where an ordinary 468 BER encoding might be expected (e.g., in the contents octets [all …]
|
/freebsd/crypto/openssl/util/ |
H A D | find-doc-nits | 289 my $contents = shift; 292 return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms; 329 return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms; 432 my $contents = shift; 436 return unless $contents =~ /=head1 $section/ 437 and $contents =~ /=head1 $before/; 439 if $contents =~ /=head1 $before.*=head1 $section/ms; 446 my $contents = shift; 448 my (undef, $rest) = split('=head1 HISTORY\s*', $contents); 471 my $contents = shift; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AccelTable.cpp | 55 // Figure out how many buckets we need, then compute the bucket contents and in finalize() 61 // Compute bucket contents and final ordering. in finalize() 69 // Sort the contents of the buckets by hash value so that hash collisions end in finalize() 83 const AccelTableBase &Contents; ///< Data to emit. member in __anon2660ec280311::AccelTableWriter 97 AccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AccelTableWriter() argument 99 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) { in AccelTableWriter() 156 AppleAccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AppleAccelTableWriter() argument 158 : AccelTableWriter(Asm, Contents, true), in AppleAccelTableWriter() 159 Header(Contents.getBucketCount(), Contents.getUniqueHashCount(), in AppleAccelTableWriter() 235 AsmPrinter *Asm, const AccelTableBase &Contents, [all …]
|
/freebsd/crypto/krb5/src/kdc/ |
H A D | cammac.c | 36 /* Encode enc_tkt with contents as the authdata field, for use in KDC 39 encode_kdcver_encpart(krb5_enc_tkt_part *enc_tkt, krb5_authdata **contents, in encode_kdcver_encpart() argument 45 ck_enctkt.authorization_data = contents; in encode_kdcver_encpart() 50 * Create a CAMMAC for contents, using enc_tkt and tgt_key for the KDC 58 krb5_keyblock *tgt_key, krb5_authdata **contents, in cammac_create() argument 74 /* Checksum the reply with contents as authdata for the KDC verifier. */ in cammac_create() 75 ret = encode_kdcver_encpart(enc_tkt, contents, &der_enctkt); in cammac_create() 88 ret = encode_krb5_authdata(contents, &der_authdata); in cammac_create() 100 cammac.elements = contents; in cammac_create() 113 ad.contents = (uint8_t *)der_cammac->data; in cammac_create()
|
H A D | fast_util.c | 154 scratch.data = (char *) fast_padata->contents; in kdc_find_fast() 333 pa[0].contents = (unsigned char *) encrypted_reply->data; in kdc_fast_response_handle_padata() 352 if (finish.ticket_checksum.contents) in kdc_fast_response_handle_padata() 399 pa[0].contents = (unsigned char *) encoded_fx_error->data; in kdc_fast_handle_error() 415 pa[0].contents = (unsigned char *) encrypted_reply->data; in kdc_fast_handle_error() 449 /* Create a pa-data entry with the specified type and contents. */ 451 make_padata(krb5_preauthtype pa_type, const void *contents, size_t len, in make_padata() argument 456 memcpy((*out)->contents, contents, len); in make_padata() 540 * Locate and decode the FAST cookie in req, storing its contents in state for 542 * KRB5KDC_ERR_PREAUTH_EXPIRED if its contents are relevant to req, and ignore [all …]
|
/freebsd/tools/tools/makeroot/ |
H A D | makeroot.sh | 140 ./etc/group type=file uname=root gname=wheel mode=0644 contents=${tmpdir}/group 141 ./etc/master.passwd type=file uname=root gname=wheel mode=0600 contents=${tmpdir}/master.passwd 142 ./etc/passwd type=file mode=0644 uname=root gname=wheel contents=${tmpdir}/passwd 143 ./etc/pwd.db type=file mode=0644 uname=root gname=wheel contents=${tmpdir}/pwd.db 144 ./etc/spwd.db type=file mode=0600 uname=root gname=wheel contents=${tmpdir}/spwd.db 179 # For each extras file, add contents keys relative to the directory the 181 # contents keys relative to ./ to be relative to the same directory. 192 if ($0 !~ /contents=/) { 193 printf ("%s contents=%s\n", $0, $1) 199 sed -e "s|contents=\./|contents=${extradir}/|" >> ${manifest} [all …]
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBDataExtensions.i | 147 …8, None, doc='''A read only property that returns an array with all the contents of this SBData re… 148 …6, None, doc='''A read only property that returns an array with all the contents of this SBData re… 149 …2, None, doc='''A read only property that returns an array with all the contents of this SBData re… 150 …4, None, doc='''A read only property that returns an array with all the contents of this SBData re… 151 …8, None, doc='''A read only property that returns an array with all the contents of this SBData re… 152 …6, None, doc='''A read only property that returns an array with all the contents of this SBData re… 153 …2, None, doc='''A read only property that returns an array with all the contents of this SBData re… 154 …4, None, doc='''A read only property that returns an array with all the contents of this SBData re… 155 …t, None, doc='''A read only property that returns an array with all the contents of this SBData re… 156 …e, None, doc='''A read only property that returns an array with all the contents of this SBData re…
|