Searched refs:maxSize (Results 1 - 25 of 74) sorted by relevance

123

/haiku/headers/os/locale/
H A DNumberFormat.h25 ssize_t Format(char* string, size_t maxSize,
28 ssize_t Format(char* string, size_t maxSize,
32 ssize_t FormatMonetary(char* string, size_t maxSize,
H A DDateTimeFormat.h45 ssize_t Format(char* target, const size_t maxSize,
H A DTimeFormat.h32 ssize_t Format(char* string, size_t maxSize,
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DTestView.cpp9 TestView::TestView(BSize minSize, BSize maxSize, BSize preferredSize) argument
12 fMaxSize(maxSize),
H A DTestView.h14 TestView(BSize minSize, BSize maxSize,
/haiku/src/tests/system/libroot/posix/
H A Dmemalign_test.cpp45 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 DValueLoader.h37 size_t maxSize, void* _value);
40 size_t maxSize, BString& _value);
/haiku/src/apps/debuganalyzer/gui/chart/
H A DChartAxis.h24 virtual BSize PreferredSize(BView* view, BSize maxSize) = 0;
H A DLegendChartAxis.h28 virtual BSize PreferredSize(BView* view, BSize maxSize);
/haiku/src/kits/debugger/value/value_nodes/
H A DCStringValueNode.cpp72 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/add-ons/kernel/file_systems/ramfs/
H A DBlockAllocatorAreaBucket.h21 inline void SetSizeLimits(size_t minSize, size_t maxSize);
55 \param maxSize Maximal area size. Exlusively.
59 BlockAllocator::AreaBucket::SetSizeLimits(size_t minSize, size_t maxSize) argument
62 fMaxSize = maxSize;
/haiku/src/kits/interface/
H A DLayoutUtils.cpp160 // 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 DLayoutItem.cpp128 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 DAbstractLayout.cpp69 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
/haiku/src/servers/syslog_daemon/
H A Dsyslog_output.cpp220 int maxSize = strtol(param, NULL, 0); local
222 maxSize *= 1024;
224 maxSize *= 1048576;
225 if (maxSize > 0)
226 sLogMaxSize = maxSize;
/haiku/src/add-ons/accelerants/et6x00/
H A DProposeDisplayMode.c91 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 DPhysicalMemoryAllocator.h21 size_t maxSize,
/haiku/src/kits/locale/
H A DNumberFormat.cpp147 BNumberFormat::Format(char* string, size_t maxSize, const double value) argument
154 return strlcpy(string, fullString.String(), maxSize);
178 BNumberFormat::Format(char* string, size_t maxSize, const int32 value) argument
185 return strlcpy(string, fullString.String(), maxSize);
209 BNumberFormat::FormatMonetary(char* string, size_t maxSize, const double value) argument
216 return strlcpy(string, fullString.String(), maxSize);
/haiku/src/tests/kits/mail/
H A Dheader_test.cpp84 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 Dpartition_support.cpp140 fssh_off_t maxSize = restriction->endOffset - pos; local
141 if (size > maxSize)
142 size = maxSize;
/haiku/headers/os/drivers/
H A Dmidi_driver.h39 int (*parse)(uint32* state, uchar byte, size_t maxSize);
/haiku/headers/os/interface/
H A DSpaceLayoutItem.h13 BSpaceLayoutItem(BSize minSize, BSize maxSize,
H A DLayoutUtils.h40 static BRect AlignInFrame(BRect frame, BSize maxSize,
/haiku/headers/private/fs_shell/
H A Dfssh_time.h78 extern fssh_size_t fssh_strftime(char *buffer, fssh_size_t maxSize,
/haiku/headers/posix/
H A Dstdlib.h167 extern int mblen(const char *string, size_t maxSize);
168 extern int mbtowc(wchar_t *pwc, const char *string, size_t maxSize);
170 extern size_t mbstowcs(wchar_t *pwcs, const char *string, size_t maxSize);
171 extern size_t wcstombs(char *string, const wchar_t *pwcs, size_t maxSize);

Completed in 276 milliseconds

123