/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
FuzzerIO.h | 63 size_t Size; 64 bool operator<(const SizedFile &B) const { return Size < B.Size; }
|
FuzzerMerge.h | 36 // within the same size the inputs that have more new features. 54 size_t Size = 0;
|
FuzzerDictionary.h | 32 Size = S; 36 return Size == w.Size && 0 == memcmp(Data, w.Data, Size); 41 uint8_t size() const { return Size; } function in class:fuzzer::FixedWord 44 uint8_t Size = 0; 68 PrintASCII(W.data(), W.size()); 91 const DictionaryEntry *end() const { return begin() + Size; } 93 assert(Idx < Size); 102 size_t size() const { return Size; } function in class:fuzzer::Dictionary [all...] |
FuzzerIO.cpp | 67 fwrite(U.data(), sizeof(U[0]), U.size(), Out); 77 for (size_t i = 0; i < Files.size(); i++) { 82 Printf("Loaded %zd/%zd files from %s\n", NumLoaded, Files.size(), Path); 94 if (size_t Size = FileSize(File)) 95 V->push_back({File, Size});
|
/src/sys/external/bsd/compiler_rt/dist/test/profile/ |
instrprof-without-libc.c | 28 uint64_t Size = __llvm_profile_get_size_for_buffer(); 29 if (Size > MaxSize) 44 if (fwrite(Buffer, 1, Size, File) != Size)
|
/src/common/dist/zlib/contrib/dotzlib/DotZLib/ |
CircularBuffer.cs | 37 public int Size { get { return _size; } }
42 int trueCount = Math.Min(count, _capacity - Size);
53 if (Size == _capacity) // no room
63 int trueCount = Math.Min(count,Size);
74 if (Size == 0)
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_ignoreset.cc | 37 uptr IgnoreSet::Size() const {
|
tsan_mutexset.cc | 80 uptr MutexSet::Size() const {
|
tsan_mutexset.h | 38 uptr Size() const; 64 uptr MutexSet::Size() const { return 0; }
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_procmaps_bsd.cc | 70 uptr Size = 0; 71 int Err = internal_sysctl(Mib, ARRAY_SIZE(Mib), NULL, &Size, NULL, 0); 73 CHECK_GT(Size, 0); 76 size_t MmapedSize = Size * 4 / 3; 78 Size = MmapedSize; 79 Err = internal_sysctl(Mib, ARRAY_SIZE(Mib), VmMap, &Size, NULL, 0); 84 size_t MmapedSize = Size; 87 Size = 2 * Size + 10 * sizeof(struct kinfo_vmentry); 88 if (Size > 0x10000 [all...] |
sanitizer_vector.h | 46 uptr Size() const { 61 EnsureSize(Size() + 1); 68 EnsureSize(Size() + 1); 79 void Resize(uptr size) { 80 if (size == 0) { 84 uptr old_size = Size(); 85 if (size <= old_size) { 86 end_ = begin_ + size; 89 EnsureSize(size); 90 if (old_size < size) { [all...] |
sanitizer_allocator_size_class_map.h | 17 // SizeClassMap maps allocation sizes into size classes and back. 18 // Class 0 always corresponds to size 0. 25 // E.g. with kNumBits==3 all size classes after 2^kMidSizeLog 30 // Classes 1 - 16 correspond to sizes 16 to 256 (size = class_id * 16). 37 // This structure of the size class map gives us: 38 // - Efficient table-free class-to-size and size-to-class functions. 39 // - Difference between two consequent size classes is between 14% and 25% 43 // - kMaxNumCachedHint is a hint for maximal number of chunks per size class. 45 // - (1 << kMaxBytesCachedLog) is the maximal number of bytes per size class [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/ |
test_helpers.cc | 85 auto Size = atomic_load_relaxed(B.Extents); 87 createMetadataRecord<MetadataRecord::RecordKinds::BufferExtents>(Size); 90 Serialized.append(reinterpret_cast<const char *>(B.Data), Size);
|
/src/sys/external/bsd/gnu-efi/dist/lib/runtime/ |
rtstr.c | 74 UINTN Size = RtStrnLen(Src, Len); 75 if (Size != Len) 76 RtSetMem(Dest + Size, (Len - Size) * sizeof(CHAR16), '\0'); 77 RtCopyMem(Dest, Src, Size * sizeof(CHAR16)); 110 UINTN Size = RtStrnLen(Src, Len); 111 if (Size != Len) 112 RtSetMem(Dest + Size, (Len - Size) * sizeof(CHAR16), '\0'); 113 RtCopyMem(Dest, Src, Size * sizeof(CHAR16)) [all...] |
/src/sys/external/bsd/compiler_rt/dist/include/xray/ |
xray_log_interface.h | 161 /// - buffer size (unused) 164 /// - the size of the argument struct 313 size_t Size; 318 /// Iterator function returns an empty XRayBuffer (Data = nullptr, Size = 0), 322 /// XRayBuffer (Data = nullptr, Size = 0).
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_ring_buffer_test.cc | 32 EXPECT_EQ(RBlong->size(), 20U); 39 for (size_t Size : Sizes) { 40 RB = RingBuffer<T>::New(Size); 41 EXPECT_EQ(RB->size(), Size); 46 EXPECT_EQ(RB->size(), 4U);
|
/src/sys/external/bsd/acpica/dist/utilities/ |
utobject.c | 3 * Module Name: utobject - ACPI object create/delete/size/cache routines 195 * one-size-satisfies-any-request. This in itself may not be 357 * PARAMETERS: BufferSize - Size of buffer to be created 384 /* Create an actual buffer only if size > 0 */ 393 ACPI_ERROR ((AE_INFO, "Could not allocate size %u", 417 * PARAMETERS: StringSize - Size of string to be created. Does not 447 * Allocate the actual string buffer -- (Size + 1) for NULL terminator. 453 ACPI_ERROR ((AE_INFO, "Could not allocate size %u", 561 ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "%p Size %X\n", 625 ACPI_SIZE Size; [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_allocator.h | 47 Report("XRay Profiling: Failed to create VMO of size %zu: %s\n", 58 Report("XRay Profiling: Failed to map VMAR of size %zu: %s\n", sizeof(T), 70 "XRay Profiling: Failed to allocate memory of size %d; Error = %d.\n", 98 Report("XRay Profiling: Failed to create VMO of size %zu: %s\n", S, 108 Report("XRay Profiling: Failed to map VMAR of size %zu: %s\n", S, 119 "XRay Profiling: Failed to allocate memory of size %d; Error = %d.\n", 154 /// N is the lower-bound size of the block of memory to return from the 155 /// allocation function. N is used to compute the size of a block, which is 156 /// cache-line-size multiples worth of memory. We compute the size of a block b [all...] |
xray_fdr_log_writer.h | 33 constexpr auto Size = sizeof(std::get<Index>(T)); 34 internal_memcpy(Buffer, P, Size); 35 SerializerImpl<Index + 1>::serializeTo(Buffer + Size, 112 constexpr auto Size = sizeof(MetadataRecord) * N; 113 internal_memcpy(NextRecord, reinterpret_cast<const char *>(Recs), Size); 114 NextRecord += Size; 119 atomic_fetch_add(Buffer.Extents, Size, memory_order_acq_rel); 120 return Size;
|
/src/sys/external/bsd/gnu-efi/dist/inc/ |
romload.h | 16 UINT16 Size; 27 UINT16 Size;
|
/src/sys/external/bsd/gnu-efi/dist/lib/ |
str.c | 193 // string size 205 UINTN Size; 207 Size = StrSize(Src); 208 Dest = AllocatePool (Size); 210 CopyMem (Dest, Src, Size);
|
/src/sys/external/bsd/acpica/dist/compiler/ |
cvcompiler.c | 932 UINT32 Size = 0; 945 Size = strlen (ToAdd); 946 Size += strlen (InlineComment); 947 Str = UtLocalCacheCalloc (Size + 1); 951 Str[Size +1] = 0;
|
/src/sys/external/bsd/acpica/dist/debugger/ |
dbexec.c | 306 /* Prepare for a return object of arbitrary size */ 341 "buffer (size 0x%X needed 0x%X)", 964 UINT32 Size; 1027 Size = sizeof (ACPI_THREAD_ID) * AcpiGbl_DbMethodInfo.NumThreads; 1029 AcpiGbl_DbMethodInfo.Threads = AcpiOsAllocate (Size); 1038 memset (AcpiGbl_DbMethodInfo.Threads, 0, Size);
|
/src/sys/external/bsd/acpica/dist/namespace/ |
nsnames.c | 208 ACPI_SIZE Size; 221 Size = AcpiNsBuildNormalizedPath (Node, NULL, 0, FALSE); 222 return (Size); 314 /* Determine size required for the caller buffer */ 347 * PathSize - Size of returned path name buffer 355 * Note that if the size of 'FullPath' isn't large enough to 359 * to determine the buffer size of 'FullPath'. 380 #define ACPI_PATH_PUT8(Path, Size, Byte, Length) \ 382 if ((Length) < (Size)) \ 480 ACPI_SIZE Size; [all...] |
/src/sys/external/bsd/acpica/dist/tools/acpibin/ |
abcompare.c | 216 * Length - Size of the buffer 621 UINT32 Size; 635 /* Need file size to allocate a buffer */ 637 Size = CmGetFileSize (File); 638 if (Size == ACPI_UINT32_MAX) 640 printf ("Could not get file size (seek) for %s\n", Filename); 646 DataBuffer = calloc (Size, 1); 649 printf ("Could not allocate buffer of size %u\n", Size); 655 Actual = fread (DataBuffer, 1, Size, File) [all...] |