/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | TestView.cpp | 9 TestView::TestView(BSize minSize, BSize maxSize, BSize preferredSize) argument 12 fMaxSize(maxSize),
|
H A D | TestView.h | 14 TestView(BSize minSize, BSize maxSize,
|
/haiku/src/kits/network/libnetservices2/ |
H A D | HttpBuffer.cpp | 44 HttpBuffer::ReadFrom(BDataIO* source, std::optional<size_t> maxSize) argument 52 if (maxSize && maxSize.value() < remainingBufferSize) 53 remainingBufferSize = maxSize.value(); 87 HttpBuffer::WriteTo(HttpTransferFunction func, std::optional<size_t> maxSize) argument 93 if (maxSize.has_value() && *maxSize < size) 94 size = *maxSize;
|
H A D | HttpBuffer.h | 31 std::optional<size_t> maxSize = std::nullopt); 33 std::optional<size_t> maxSize = std::nullopt); 35 std::optional<size_t> maxSize = std::nullopt);
|
/haiku/src/kits/shared/ |
H A D | StatusView.cpp | 16 float maxSize = be_control_look->GetScrollBarWidth(); local 31 if (currentSize > maxSize)
|
/haiku/headers/os/locale/ |
H A D | NumberFormat.h | 27 ssize_t Format(char* string, size_t maxSize, const double value); 29 ssize_t Format(char* string, size_t maxSize, const int32 value); 34 ssize_t FormatMonetary(char* string, size_t maxSize, const double value); 37 ssize_t FormatPercent(char* string, size_t maxSize, const double value);
|
H A D | DateTimeFormat.h | 45 ssize_t Format(char* target, const size_t maxSize,
|
/haiku/src/tests/system/libroot/posix/ |
H A D | memalign_test.cpp | 45 allocate_random_no_alignment(int32 count, size_t maxSize) argument 50 sizes[i] = rand() % maxSize; 77 allocate_random_fixed_alignment(int32 count, size_t maxSize, size_t alignment) argument 82 sizes[i] = rand() % maxSize; 111 allocate_random_random_alignment(int32 count, size_t maxSize) argument 114 allocate_random_fixed_alignment(128, maxSize, 1 << (rand() % 18));
|
/haiku/src/kits/debugger/value/ |
H A D | ValueLoader.h | 37 size_t maxSize, void* _value); 40 size_t maxSize, BString& _value);
|
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | ChartAxis.h | 24 virtual BSize PreferredSize(BView* view, BSize maxSize) = 0;
|
/haiku/src/kits/debugger/value/value_nodes/ |
H A D | CStringValueNode.cpp | 72 size_t maxSize = 255; local 80 maxSize = dynamic_cast<ArrayType*>(fType) 90 error = valueLoader->LoadStringValue(addressData, maxSize, valueData); 107 error = valueLoader->LoadStringValue(addressData, maxSize, valueData);
|
/haiku/src/kits/interface/ |
H A D | LayoutUtils.cpp | 160 // to the available size specified by maxSize. 162 BLayoutUtils::AlignInFrame(BRect frame, BSize maxSize, BAlignment alignment) argument 165 if (maxSize.width < frame.Width() 167 frame.left += (int)((frame.Width() - maxSize.width) 169 frame.right = frame.left + maxSize.width; 171 if (maxSize.height < frame.Height() 173 frame.top += (int)((frame.Height() - maxSize.height) 175 frame.bottom = frame.top + maxSize.height; 186 BSize maxSize = view->MaxSize(); local 191 if (maxSize [all...] |
H A D | LayoutItem.cpp | 128 BSize maxSize = MaxSize(); local 134 if (maxSize.width < frame.Width() 136 frame.left += (int)((frame.Width() - maxSize.width) 138 frame.right = frame.left + maxSize.width; 146 maxSize.height = minHeight; 149 SetFrame(BLayoutUtils::AlignInFrame(frame, maxSize, alignment));
|
H A D | AbstractLayout.cpp | 69 maxSize(), 89 return maxSize; 94 maxSize = max; 143 err = archive->AddSize(kSizesField, maxSize); 160 err = archive->FindSize(kSizesField, 1, &maxSize); 174 BSize maxSize; member in struct:BAbstractLayout::DataProxy
|
H A D | ScrollBar.cpp | 1039 BSize maxSize; local 1040 GetPreferredSize(&maxSize.width, &maxSize.height); 1042 maxSize.width = B_SIZE_UNLIMITED; 1044 maxSize.height = B_SIZE_UNLIMITED; 1045 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), maxSize); 1186 float maxSize; local 1191 maxSize = bounds.Height(); 1194 maxSize = bounds.Width(); 1200 maxSize 1280 float maxSize; local [all...] |
/haiku/src/kits/locale/ |
H A D | NumberFormat.cpp | 39 size_t maxSize, const double value); 160 size_t maxSize, const double value) 167 return strlcpy(string, fullString.String(), maxSize); 220 BNumberFormat::Format(char* string, size_t maxSize, const double value) argument 227 return strlcpy(string, fullString.String(), maxSize); 251 BNumberFormat::Format(char* string, size_t maxSize, const int32 value) argument 258 return strlcpy(string, fullString.String(), maxSize); 305 BNumberFormat::FormatMonetary(char* string, size_t maxSize, const double value) argument 308 fPrivateData->GetCurrency(&fConventions), string, maxSize, value); 321 BNumberFormat::FormatPercent(char* string, size_t maxSize, cons argument 159 ApplyFormatter(NumberFormat* formatter, char* string, size_t maxSize, const double value) argument [all...] |
/haiku/src/servers/syslog_daemon/ |
H A D | syslog_output.cpp | 220 int maxSize = strtol(param, NULL, 0); local 222 maxSize *= 1024; 224 maxSize *= 1048576; 225 if (maxSize > 0) 226 sLogMaxSize = maxSize;
|
/haiku/src/kits/tracker/infowindow/ |
H A D | FilePermissionsView.cpp | 125 BSize ownerRightLabelSize, groupRightLabelSize, maxSize; local 130 maxSize.width = std::max(ownerRightLabelSize.width, 132 maxSize.width = std::max(maxSize.width, 135 maxSize.height = std::max(ownerRightLabel->ExplicitSize().height, 137 maxSize.height = std::max(maxSize.height, 142 ownerRightLabel->SetExplicitSize(maxSize); 143 groupRightLabel->SetExplicitSize(maxSize); 144 otherRightLabel->SetExplicitSize(maxSize); [all...] |
/haiku/src/add-ons/accelerants/et6x00/ |
H A D | ProposeDisplayMode.c | 91 size_t maxSize; local 99 maxSize = (((MODE_COUNT * 3) * sizeof(display_mode)) + (B_PAGE_SIZE-1)) & ~(B_PAGE_SIZE-1); 104 B_ANY_ADDRESS, maxSize, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
|
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | PhysicalMemoryAllocator.h | 21 size_t maxSize,
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | DirectoryIterator.cpp | 358 uint32 maxSize = _MaxSize(); local 366 if (fDisplacement == maxSize) { 370 } else if (fDisplacement > maxSize) { 457 uint32 maxSize = _MaxSize(); local 459 uint16 bestPos = maxSize; 460 uint16 bestLength = maxSize; 461 uint16 bestRealLength = maxSize; 464 while (pos < maxSize) { 492 if (bestPos == maxSize) 561 uint32 maxSize local 857 uint32 maxSize = fBlockSize; local 924 uint32 maxSize = fBlockSize; local [all...] |
H A D | HTreeEntryIterator.cpp | 106 uint32 maxSize = fBlockSize; local 108 maxSize -= sizeof(ext2_htree_tail); 110 if (fLimit != maxSize / sizeof(HTreeEntry) - fFirstEntry) { 113 (uint32)(maxSize / sizeof(HTreeEntry) - fFirstEntry), fBlockNum); 348 uint32 maxSize = fBlockSize; 350 maxSize -= sizeof(ext2_dir_entry_tail);
|
/haiku/src/tests/kits/mail/ |
H A D | header_test.cpp | 84 parse_fields(BPositionIO& input, size_t maxSize) argument 86 char* buffer = (char*)malloc(maxSize); 92 ssize_t bytesRead = input.Read(buffer, maxSize);
|
/haiku/src/tools/fs_shell/ |
H A D | partition_support.cpp | 140 fssh_off_t maxSize = restriction->endOffset - pos; local 141 if (size > maxSize) 142 size = maxSize;
|
/haiku/headers/posix/ |
H A D | time.h | 94 extern size_t strftime(char *buffer, size_t maxSize, const char *format, 96 extern size_t strftime_l(char *buffer, size_t maxSize, const char *format,
|