/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.sh | 487 # @param contents The contents of the Makefile template to put the list of 1865 contents=$(cat "$scriptdir/bcl.pc.in") 1867 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1868 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") 1869 contents=$(replace "$contents" "VERSION" "$version") 1871 printf '%s\n' "$contents" > "$scriptdir/bcl.pc" 2019 contents=$(cat "$scriptdir/Makefile.in") 2024 contents=$(replace "$contents" "$needle" "$replacement") 2026 # The contents are edited to have the list of files to build. 2027 contents=$(gen_file_list "$contents" $unneeded) [all …]
|
H A D | configure | 487 # @param contents The contents of the Makefile template to put the list of 1865 contents=$(cat "$scriptdir/bcl.pc.in") 1867 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1868 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") 1869 contents=$(replace "$contents" "VERSION" "$version") 1871 printf '%s\n' "$contents" > " [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 | 84 uint64_t osize, const void *contents) in expect_write() argument 86 FuseTest::expect_write(ino, offset, isize, osize, 0, 0, contents); in expect_write() 91 const void *contents) in maybe_expect_write() argument 104 0 == bcmp(buf, contents, size)); in maybe_expect_write() 153 uint64_t osize, const void *contents) in expect_write() argument 156 contents); in expect_write() 239 const char *CONTENTS = "abcdefgh"; in TEST_F() local 243 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 248 expect_write(ino, offset, bufsize, bufsize, CONTENTS); in TEST_F() 255 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/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/crypto/krb5/doc/html/appdev/refs/api/ |
H A D | krb5_free_keytab_entry_contents.html | 9 …<title>krb5_free_keytab_entry_contents - Free the contents of a key table entry. — MIT Kerbe… 22 …<link rel="prev" title="krb5_free_keyblock_contents - Free the contents of a krb5_keyblock structu… 32 <a href="../../../index.html" title="Full Table of Contents" 33 accesskey="C">Contents</a> | 34 …e_keyblock_contents.html" title="krb5_free_keyblock_contents - Free the contents of a krb5_keybloc… 42 ….edu?subject=Documentation__krb5_free_keytab_entry_contents - Free the contents of a key table en… 55 <section id="krb5-free-keytab-entry-contents-free-the-contents-of-a-key-table-entry"> 56 …_contents - Free the contents of a key table entry.<a class="headerlink" href="#krb5-free-keytab-… 65 <p><strong>[in]</strong> <strong>entry</strong> - Key table entry whose contents are to be freed</p> 91 <li><a class="reference internal" href="#">krb5_free_keytab_entry_contents - Free the contents of … [all …]
|
H A D | krb5_free_keyblock_contents.html | 9 …<title>krb5_free_keyblock_contents - Free the contents of a krb5_keyblock structure. — MIT K… 21 …<link rel="next" title="krb5_free_keytab_entry_contents - Free the contents of a key table entry."… 32 <a href="../../../index.html" title="Full Table of Contents" 33 accesskey="C">Contents</a> | 36 …_entry_contents.html" title="krb5_free_keytab_entry_contents - Free the contents of a key table en… 42 …@mit.edu?subject=Documentation__krb5_free_keyblock_contents - Free the contents of a krb5_keybloc… 55 <section id="krb5-free-keyblock-contents-free-the-contents-of-a-krb5-keyblock-structure"> 56 …ontents - Free the contents of a krb5_keyblock structure.<a class="headerlink" href="#krb5-free-k… 68 <p>This function frees the contents of <em>key</em> , but not the structure itself.</p> 81 <li><a class="reference internal" href="#">krb5_free_keyblock_contents - Free the contents of a kr… [all …]
|
H A D | krb5_free_cred_contents.html | 9 …<title>krb5_free_cred_contents - Free the contents of a krb5_creds structure. — MIT Kerberos… 32 <a href="../../../index.html" title="Full Table of Contents" 33 accesskey="C">Contents</a> | 42 …bugs@mit.edu?subject=Documentation__krb5_free_cred_contents - Free the contents of a krb5_creds s… 55 <section id="krb5-free-cred-contents-free-the-contents-of-a-krb5-creds-structure"> 56 …ed_contents - Free the contents of a krb5_creds structure.<a class="headerlink" href="#krb5-free-… 65 <p><strong>[in]</strong> <strong>val</strong> - Credential structure to free contents of</p> 68 <p>This function frees the contents of <em>val</em> , but not the structure itself.</p> 81 <li><a class="reference internal" href="#">krb5_free_cred_contents - Free the contents of a krb5_c… 85 <h2>Table of contents</h2> [all …]
|
H A D | krb5_free_data_contents.html | 9 …<title>krb5_free_data_contents - Free the contents of a krb5_data structure and zero the data fiel… 32 <a href="../../../index.html" title="Full Table of Contents" 33 accesskey="C">Contents</a> | 42 …bugs@mit.edu?subject=Documentation__krb5_free_data_contents - Free the contents of a krb5_data st… 55 …<section id="krb5-free-data-contents-free-the-contents-of-a-krb5-data-structure-and-zero-the-data-… 56 …- Free the contents of a krb5_data structure and zero the data field.<a class="headerlink" href="… 65 <p><strong>[in]</strong> <strong>val</strong> - Data structure to free contents of</p> 68 <p>This function frees the contents of <em>val</em> , but not the structure itself. It sets the str… 81 <li><a class="reference internal" href="#">krb5_free_data_contents - Free the contents of a krb5_d… 85 <h2>Table of contents</h2> [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/krb5/src/tests/ |
H A D | adata.c | 35 * [ad-type ad-contents ...] 130 /* Parse typestr and contents into an authdata element. */ 132 make_authdata(const char *typestr, const char *contents) in make_authdata() argument 137 inner_ad = make_authdata(typestr + 1, contents); in make_authdata() 139 free(inner_ad->contents); in make_authdata() 148 ad->length = strlen(contents); in make_authdata() 149 ad->contents = (unsigned char *)strdup(contents); in make_authdata() 150 assert(ad->contents != NULL); in make_authdata() 186 check(krb5_pac_parse(ctx, ad->contents, ad->length, &pac)); in display_pac() 232 for (p = ad->contents; p < ad->contents + ad->length; p++) { in display_binary_or_ascii() [all …]
|
/freebsd/crypto/openssl/util/ |
H A D | find-doc-nits | 283 my $contents = shift; 286 return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms; 323 return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms; 426 my $contents = shift; 430 return unless $contents =~ /=head1 $section/ 431 and $contents =~ /=head1 $before/; 433 if $contents =~ /=head1 $before.*=head1 $section/ms; 442 my $contents = shift; 446 foreach my $line ( split /\n+/, $contents ) { 535 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 …]
|