/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></…
|
H A D | test_08.X.out | 1 …contents><item><name key="key">gum</name><count>1412</count></item><item><name key="key">rope</nam…
|
H A D | test_08.XP.out | 3 <contents> 24 </contents> 27 <contents> 48 </contents> 51 <contents> 73 </contents> 76 <contents> 163 </contents>
|
/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/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 | 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 …]
|
/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/usr.bin/mkimg/ |
H A D | mkimg.1 | 52 utility creates a disk image from the raw partition contents specified with 70 block contents with the 75 The contents of such a boot partition is provided like any other partition 283 the contents of the disk image. 298 <type> ':' <kind> <contents> 309 the interpretation of the contents specification: 312 contents holds the size of an empty partition, 318 contents holds the name of a file to read 320 contents holds a command to run; the output of which is the contents 324 .It Cm contents [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…
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugSubsectionRecord.cpp | 56 const DebugSubsectionRecord &Contents) in DebugSubsectionRecordBuilder() argument 57 : Contents(Contents) {} in DebugSubsectionRecordBuilder() 61 : Contents.getRecordData().getLength(); in calculateSerializedLength() 73 Header.Kind = uint32_t(Subsection ? Subsection->kind() : Contents.kind()); in commit() 77 : Contents.getRecordData().getLength(); in commit() 86 if (auto EC = Writer.writeStreamRef(Contents.getRecordData())) in commit()
|