/freebsd/contrib/bc/ |
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...] |
H A D | configure.sh | 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") 2027 contents=$(gen_file_list "$contents" $unneeded) 2044 contents=$(replace "$contents" "ROOTDIR" "$scriptdir") 2045 contents=$(replace "$contents" "BUILDDIR" "$builddir") [all …]
|
/freebsd/libexec/tftpd/tests/ |
H A D | functional.c | 64 #define RECV(hdr, contents, contents_len) do { \ argument 73 require_bufeq((const char *) (contents), (contents_len), \ 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() 500 char contents[] = "small"; variable 504 write_all(fd, contents, strlen(contents) + 1); 508 recv_data(1, contents, strlen(contents) + 1); 518 char contents[] = "small"; variable [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 …]
|
H A D | check-format.pl | 154 my $contents; # contents of current line (without blinding) 303 my $contents = shift; 307 print "$ARGV:$line:$msg:$contents" unless $self_test; 319 report_flexibly($line, $msg, $contents); 341 my $stmt_desc = $contents =~ 359 …($alt_desc, $alt_indent) = ("leading '$1'", $ref_indent + INDENT_LEVEL) if $contents =~ m/^[\s@]*(… 428 length($contents) == MAX_LINE_LENGTH + length("\n"); 546 $contents = $_; 668 …$_ = "$1 $2" if $contents =~ m/^(\s*extern\s*"C"\s*)\{(\s*)$/; # ignore opening brace in 'extern "… 752 my $contents = shift; # reference line [all …]
|
H A D | mkpod2html.pl | 48 my $contents = ''; 51 $contents = <F>; 56 $contents =~ 60 print F $contents;
|
/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>
|
H A D | test_09.E.out | 4 op open_container: [contents] [] [0x810] 12 op close_container: [contents] [] [0] 13 op open_container: [contents] [] [0x810] 21 op close_container: [contents] [] [0] 22 op open_container: [contents] [] [0x810] 36 op close_container: [contents] [] [0]
|
H A D | test_08.J.out | 1 …contents": {"item": [{"name":"gum","count":1412}, {"name":"rope","count":85}, {"name":"ladder","co…
|
H A D | test_08.JP.out | 4 "contents": { 30 "contents": { 56 "contents": { 83 "contents": {
|
H A D | test_08.JPu.out | 4 "contents": { 30 "contents": { 56 "contents": { 83 "contents": {
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_gtar_sparse.c | 27 struct contents { 33 struct contents archive_contents_sparse[] = { 39 struct contents archive_contents_sparse2[] = { 142 struct contents archive_contents_nonsparse[] = { 164 struct contents *contents; 178 struct contents expect; in verify_archive_file() 180 struct contents actual; in verify_archive_file() 193 struct contents *cts = ac->contents; in verify_archive_file() 29 struct contents { global() struct 35 dcontents global() argument 166 struct contents *contents; global() member [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/openssl/util/perl/OpenSSL/Util/ |
H A D | Pod.pm | 101 my $contents; 112 $contents = <$input>; 125 foreach (map { /\G((?:(?!\n\n).)*\n+|.+\z)/sg } $contents) { 189 contents => $contents,
|
/freebsd/share/examples/tests/tests/plain/ |
H A D | printf_test.c | 81 const char *contents = "This is a message\n"; in fprintf__simple_string() local 84 if (fprintf(file, "%s", contents) <= 0) in fprintf__simple_string() 88 if (length != strlen(contents)) in fprintf__simple_string() 93 if (strcmp(buffer, contents) != 0) in fprintf__simple_string()
|
/freebsd/lib/libc/tests/stdio/ |
H A D | open_memstream2_test.c | 43 assert_stream(const char *contents) in assert_stream() argument 45 if (strlen(contents) != len) in assert_stream() 46 printf("bad length %zd for \"%s\"\n", len, contents); in assert_stream() 47 else if (strncmp(buf, contents, strlen(contents)) != 0) in assert_stream() 48 printf("bad buffer \"%s\" for \"%s\"\n", buf, contents); in assert_stream()
|
H A D | open_wmemstream_test.c | 43 assert_stream(const wchar_t *contents) in assert_stream() argument 45 if (wcslen(contents) != len) in assert_stream() 46 printf("bad length %zd for \"%ls\"\n", len, contents); in assert_stream() 47 else if (wcsncmp(buf, contents, wcslen(contents)) != 0) in assert_stream() 48 printf("bad buffer \"%ls\" for \"%ls\"\n", buf, contents); in assert_stream()
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | directory_test.cpp | 93 std::set< fs::directory_entry > contents; in ATF_TEST_CASE_BODY() local 97 contents.insert(*iter); in ATF_TEST_CASE_BODY() 106 ATF_REQUIRE_EQ(exp_contents, contents); in ATF_TEST_CASE_BODY() 120 std::set< fs::directory_entry > contents; in ATF_TEST_CASE_BODY() local 124 contents.insert(*iter); in ATF_TEST_CASE_BODY() 137 ATF_REQUIRE_EQ(exp_contents, contents); in ATF_TEST_CASE_BODY()
|
/freebsd/share/examples/tests/tests/tap/ |
H A D | printf_test.c | 132 const char *contents = "This is a message\n"; in fprintf__simple_string() local 135 if (fprintf(file, "%s", contents) <= 0) { in fprintf__simple_string() 143 if (length != strlen(contents)) { in fprintf__simple_string() 152 if (strcmp(buffer, contents) != 0) in fprintf__simple_string()
|
/freebsd/contrib/llvm-project/lldb/tools/driver/ |
H A D | Driver.h | 54 InitialCmdEntry(std::string contents, bool in_is_file, 56 : contents(std::move(contents)), is_file(in_is_file), in contents() function 59 std::string contents; member
|