Searched refs:contents (Results 51 - 75 of 144) sorted by relevance

123456

/freebsd-current/usr.sbin/makefs/
H A Dmtree.c442 n->contents = global->contents;
520 if (strcmp(keyword, "contents") == 0) {
525 node->contents = estrdup(value);
733 if (node->contents != NULL) {
735 mtree_error("%s: both link and contents keywords "
746 /* the named path is the default contents */
747 node->contents = mtree_file_path(node);
763 if (node->contents == NULL)
766 name = mtree_resolve(node->contents,
[all...]
H A Dmsdos.c259 if (msdosfs_mkfile(cur->contents ? cur->contents : pbuf, dir,
/freebsd-current/tests/sys/fs/fusefs/
H A Dcopy_file_range.cc78 uint64_t osize, const void *contents)
89 0 == bcmp(buf, contents, isize));
285 const char *contents = "Hello, world!"; local
289 len = strlen(contents);
314 expect_read(ino1, start1, len, len, contents, 0);
315 expect_write(ino2, start2, len, len, contents);
702 const char *contents = "Hello, world!"; local
706 len = strlen(contents);
723 expect_read(ino1, start1, len, len, contents, 0);
724 expect_write(ino2, start2, len, len, contents);
77 expect_write(uint64_t ino, uint64_t offset, uint64_t isize, uint64_t osize, const void *contents) argument
[all...]
H A Dwrite.cc84 uint64_t osize, const void *contents)
86 FuseTest::expect_write(ino, offset, isize, osize, 0, 0, contents);
91 const void *contents)
104 0 == bcmp(buf, contents, size));
153 uint64_t osize, const void *contents)
156 contents);
660 char *contents; local
669 contents = new char[filesize]();
714 expect_write(ino, 0, filesize / 2, filesize / 2, contents);
718 ASSERT_EQ(filesize / 2, write(fd, contents, filesiz
83 expect_write(uint64_t ino, uint64_t offset, uint64_t isize, uint64_t osize, const void *contents) argument
90 maybe_expect_write(uint64_t ino, uint64_t offset, uint64_t size, const void *contents) argument
152 expect_write(uint64_t ino, uint64_t offset, uint64_t isize, uint64_t osize, const void *contents) argument
857 int *contents; local
[all...]
H A Dfsync.cc77 void expect_write(uint64_t ino, uint64_t size, const void *contents) argument
79 FuseTest::expect_write(ino, 0, size, size, 0, 0, contents);
/freebsd-current/usr.bin/posixmqcontrol/
H A Dposixmqcontrol.c85 contents = STAILQ_HEAD_INITIALIZER(contents); variable
186 STAILQ_INSERT_TAIL(&contents, n1, links);
296 bool valid = !STAILQ_EMPTY(&contents);
819 STAILQ_INIT(&contents);
871 STAILQ_FOREACH(itc, &contents, links) {
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c287 if (writenode->node->contents == NULL)
292 (writenode->node->contents != NULL) ?
293 writenode->node->contents : temp_file_name);
/freebsd-current/usr.sbin/etcupdate/tests/
H A Dfbsdid_test.sh230 # $2 - optional string that should match file contents
231 # $3 - optional MD5 of the flie contents, overrides $2 if present
234 local contents sum
240 contents=`cat $TEST/$1`
241 if [ "$contents" != "$2" ]; then
242 echo "File $1 has wrong contents"
248 echo "File $1 has wrong contents"
255 # $2 - optional MD5 of the conflict file contents
266 echo "Conflict $1 has wrong contents"
/freebsd-current/sys/amd64/linux32/
H A Dlinux.h322 l_uint contents:2; member in struct:l_user_desc
350 ((info)->contents << LINUX_ENTRY_B_CONTENTS) | \
361 (info)->contents == 0 && \
/freebsd-current/contrib/capsicum-test/
H A Dcopy_file_range.cc44 const char *contents = "lorem ipsum dolor sit amet"; local
47 EXPECT_OK(write(fd, contents, strlen(contents)));
H A Dopenat.cc20 static void CreateFile(const char *filename, const char *contents) { argument
23 EXPECT_OK(write(fd, contents, strlen(contents)));
/freebsd-current/contrib/kyua/store/
H A Dwrite_transaction_test.cpp265 const char contents[] = "This is a test!"; local
267 atf::utils::create_file("input.txt", contents);
284 const sqlite::blob blob = stmt.safe_column_blob("contents");
285 ATF_REQUIRE(std::strlen(contents) == static_cast< std::size_t >(blob.size));
286 ATF_REQUIRE(std::memcmp(contents, blob.memory, blob.size) == 0);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Derr.copyoutstrbadaddr.ksh4 * The contents of this file are subject to the terms of the
H A Derr.copyoutbadaddr.ksh4 * The contents of this file are subject to the terms of the
/freebsd-current/contrib/bmake/mk/
H A Dmanifest.mk25 # that provides the absolute path to the contents
67 ${${.TARGET}.DIRS:O:u:@d@${${.TARGET}.SRCS.$d:O:u:@f@echo '${s::=${STORE.$d/${f:T}:U$d/${f:T}}}$s contents="$f" type=file uid=${UID:${M_FILE_ATTR}} gid=${GID:${M_FILE_ATTR}} mode=${MODE:${M_FILE_ATTR}} ${FLAGS:${M_FILE_ATTR}}';@}@} \
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_malloc_mac.inc65 // Prevent the client app from overwriting the zone contents.
117 // Must return 0 if the contents were not purged since the last call to
/freebsd-current/crypto/openssl/crypto/pkcs7/
H A Dpk7_asn1.c129 ASN1_SIMPLE(PKCS7_SIGNED, contents, PKCS7),
230 ASN1_SIMPLE(PKCS7_DIGEST, contents, PKCS7),
H A Dpk7_doit.c253 os = PKCS7_get_octet_string(p7->d.sign->contents);
276 os = PKCS7_get_octet_string(p7->d.digest->contents);
437 * p7->d.sign->contents is a PKCS7 structure consisting of a contentType
442 data_body = PKCS7_get_octet_string(p7->d.sign->contents);
791 os = PKCS7_get_octet_string(p7->d.sign->contents);
793 if (PKCS7_type_is_data(p7->d.sign->contents) && p7->detached) {
796 p7->d.sign->contents->d.data = NULL;
801 os = PKCS7_get_octet_string(p7->d.digest->contents);
803 if (PKCS7_type_is_data(p7->d.digest->contents) && p7->detached) {
806 p7->d.digest->contents
[all...]
/freebsd-current/contrib/sendmail/contrib/
H A Dbuildvirtuser43 based on the contents of the directory /etc/mail/virtusers/. That
45 matching the virtual domain name and the contents containing a list of
/freebsd-current/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/Template/
H A DPreprocess.pm79 subroutine should modify the contents of C<$_> and return.
80 C<Text::Template::Preprocess> will then execute contents of C<$_> and
/freebsd-current/contrib/libarchive/test_utils/
H A Dtest_main.c1036 /* Verify that two files have the same contents. */
1113 /* Compare the contents of a file to a block of memory. */
1117 char *contents; local
1130 contents = malloc(s * 2);
1131 n = (int)fread(contents, 1, s * 2, f);
1133 if (n == s && memcmp(buff, contents, s) == 0) {
1134 free(contents);
1137 failure_start(filename, line, "File contents don't match");
1140 hexdump(contents, buff, n > 512 ? 512 : n, 0);
1142 logprintf(" File empty, contents shoul
1154 char *contents; local
1751 is_symlink(const char *file, int line, const char *pathname, const char *contents, int isdir) argument
1909 assertion_is_symlink(const char *file, int line, const char *path, const char *contents, int isdir) argument
1948 assertion_make_file(const char *file, int line, const char *path, int mode, int csize, const void *contents) argument
[all...]
/freebsd-current/usr.bin/mkimg/
H A Dmkimg.c224 * <type> ':' <kind> <contents>
227 * kind the interpretation of the contents specification
228 * ':' contents holds the size of an empty partition
229 * '=' contents holds the name of a file to read
230 * '-' contents holds a command to run; the output of
231 * which is the contents of the partition.
232 * contents the specification of a partition's contents
288 part->contents = strdup(spec);
289 if (part->contents
[all...]
/freebsd-current/crypto/openssl/util/perl/OpenSSL/
H A DOrdinals.pm91 contents => [], # Items, indexed by number
111 contents and is treated as read-only. The other database is an exact copy of
154 $self->{contents} = [ @tmp_contents ];
160 # Make a deep copy, allowing {contents} to be an independent work array
279 @l = $index ? @{$self->{contents}->[$index] // []} : ();
282 @l = $index ? @{$self->{contents}->[$index] // []} : ();
289 @{$self->{contents}};
381 $self->{contents}->[$items[0]->intnum()] = [ @items ];
666 foreach (@{$self->{contents}}) {
689 && @{$self->{contents}
[all...]
/freebsd-current/contrib/llvm-project/lld/COFF/
H A DPDB.cpp656 auto contents = local
659 BinaryStreamReader reader(contents, llvm::endianness::little);
660 exitOnErr(reader.readArray(subsections, contents.size()));
728 ArrayRef<uint8_t> contents = secChunk->getContents(); local
730 crc.update(contents);
756 // Note that we are processing the *unrelocated* section contents. They will
758 ArrayRef<uint8_t> contents = debugChunk->getContents(); local
759 contents = SectionChunk::consumeDebugMagic(contents, ".debug$S");
761 BinaryStreamReader reader(contents, llv
1773 ArrayRef<uint8_t> contents = local
[all...]
/freebsd-current/contrib/kyua/utils/fs/
H A Doperations.cpp742 std::set< fs::directory_entry > contents; local
747 contents.insert(*iter);
750 return contents;

Completed in 481 milliseconds

123456