Searched refs:upper (Results 1 - 25 of 67) sorted by relevance

123

/haiku/src/system/kernel/util/
H A Dring_buffer.cpp61 size_t upper = buffer->size - buffer->first; local
62 size_t lower = length - upper;
65 if (user_memcpy(data, buffer->buffer + buffer->first, upper) < B_OK
66 || user_memcpy(data + upper, buffer->buffer, lower) < B_OK)
69 memcpy(data, buffer->buffer + buffer->first, upper);
70 memcpy(data + upper, buffer->buffer, lower);
104 size_t upper = buffer->size - position; local
105 size_t lower = length - upper;
108 if (user_memcpy(buffer->buffer + position, data, upper) < B_OK
109 || user_memcpy(buffer->buffer, data + upper, lowe
260 size_t upper = buffer->size - offset; local
293 size_t upper = buffer->size - buffer->first; local
[all...]
/haiku/src/kits/debugger/dwarf/
H A DBaseUnit.cpp96 int upper = fEntries.Count() - 1; local
97 while (lower < upper) {
98 int mid = (lower + upper + 1) / 2;
100 upper = mid - 1;
/haiku/src/apps/debuganalyzer/model/
H A DThreadModel.cpp105 int32 upper = CountSchedulingEvents() - 1; local
107 while (lower < upper) {
108 int32 mid = (lower + upper) / 2;
115 upper = mid;
/haiku/src/kits/debugger/model/
H A DFileSourceCode.cpp137 int32 upper = fSourceLocations.Size();
138 while (lower < upper) {
139 int32 mid = (lower + upper) / 2;
141 upper = mid;
H A DType.cpp53 BVariant upper = subrangeType->UpperBound(); local
55 if (!lower.IsInteger(&isSigned) || !upper.IsInteger())
59 ? upper.ToInt64() - lower.ToInt64() + 1
60 : upper.ToUInt64() - lower.ToUInt64() + 1;
/haiku/src/servers/registrar/
H A DPriorityMessageQueue.cpp119 int32 upper = fMessages.CountItems(); local
120 while (lower < upper) {
121 int32 mid = (lower + upper) / 2;
126 upper = mid;
H A DEventQueue.cpp303 int32 upper = fEvents.CountItems(); local
304 // invariant: lower-1:time <= time < upper:time (ignoring invalid indices)
305 while (lower < upper) {
306 int32 mid = (lower + upper) / 2;
309 upper = mid; // time < mid:time => time < upper:time
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPCapabilityExtractor.h49 double lower, double upper, double defaultValue,
52 int upper, int defaultValue,
55 int lower, int upper, int defaultValue,
H A DGPParameterVisitor.cpp242 double upper = description->bounds.dbl.upper; local
244 if (lower <= defaultValue && defaultValue <= upper)
245 DoubleParameter(name, text, lower, upper, defaultValue, parameterClass);
256 int upper = description->bounds.integer.upper; local
258 if (lower <= defaultValue && defaultValue <= upper)
259 IntParameter(name, text, lower, upper, defaultValue, parameterClass);
270 double upper = description->bounds.dimension.upper; local
[all...]
H A DGPParameterVisitor.h69 double lower, double upper, double defaultValue,
72 int lower, int upper, int defaultValue,
76 int upper, int defaultValue,
H A DGPCapabilityExtractor.cpp231 const char* displayName, double lower, double upper, double defaultValue,
237 DoubleRangeCap* capability = new DoubleRangeCap(displayName, lower, upper,
246 int lower, int upper, int defaultValue,
252 IntRangeCap* capability = new IntRangeCap(displayName, lower, upper,
261 const char* displayName, int lower, int upper, int defaultValue,
267 IntRangeCap* capability = new IntRangeCap(displayName, lower, upper,
230 DoubleParameter(const char* name, const char* displayName, double lower, double upper, double defaultValue, stp_parameter_class_t parameterClass) argument
245 IntParameter(const char* name, const char* displayName, int lower, int upper, int defaultValue, stp_parameter_class_t parameterClass) argument
260 DimensionParameter(const char* name, const char* displayName, int lower, int upper, int defaultValue, stp_parameter_class_t parameterClass) argument
/haiku/src/tests/system/kernel/
H A Dmtrr_power_test.c8 nearest_powers(uint64 value, uint64 *lower, uint64 *upper) argument
18 if (upper)
19 *upper = power;
/haiku/src/bin/debug/profile/
H A DSharedImage.cpp103 int32 upper = fSymbolCount; local
105 while (lower < upper) {
106 int32 mid = (lower + upper) / 2;
110 upper = mid;
/haiku/src/add-ons/kernel/generic/tty/
H A Dline_buffer.cpp112 size_t upper = buffer.size - buffer.first; local
113 size_t lower = length - upper;
115 if (user_memcpy(data, buffer.buffer + buffer.first, upper) != B_OK
116 || user_memcpy(data + upper, buffer.buffer, lower) != B_OK)
/haiku/src/apps/debuganalyzer/gui/
H A DListSelectionModel.cpp178 int32 upper = fSelectedItems.Count(); local
180 while (lower < upper) {
181 int32 mid = (lower + upper) / 2;
186 upper = mid;
/haiku/src/bin/network/ftpd/
H A Dextern.h70 void upper(char *);
/haiku/src/apps/mediaplayer/support/
H A DEventQueue.cpp129 int32 upper = fEvents.CountItems(); local
130 while (lower < upper) {
131 int32 mid = (lower + upper) / 2;
134 upper = mid;
/haiku/src/apps/mediaplayer/supplier/
H A DSubTitlesSRT.cpp188 int32 upper = fSubTitles.CountItems(); local
189 while (lower < upper) {
190 int32 mid = (lower + upper) / 2;
194 upper = mid;
/haiku/src/tests/system/network/tcptester/
H A Dtcptester.cpp55 int upper, lower = number(ctx); local
58 upper = number(ctx);
60 upper = lower + 50;
64 return lower + rand() % (upper - lower + 1);
/haiku/src/system/libroot/posix/crypt/
H A Dcrypt.cpp54 const uint8 upper = n >> 4; local
57 assert(lower < 16 && upper < 16);
58 outBuffer[outIndex++] = kHexAlphabet[upper];
/haiku/src/add-ons/kernel/debugger/qrencode/
H A Dmodule.cpp63 bool upper = qrcode_bit(qrCode, x, y); local
65 if (upper == lower)
66 kputs(upper ? "\x11" : " ");
68 kputs(upper ? "\x12" : "\x13");
/haiku/src/libs/print/libprint/
H A DPrinterCap.cpp222 IntRangeCap::IntRangeCap(const string& label, int lower, int upper, argument
227 fUpper(upper),
254 DoubleRangeCap::DoubleRangeCap(const string& label, double lower, double upper, argument
259 fUpper(upper),
/haiku/src/tests/system/libroot/posix/
H A Dtest_wctype.c52 wctype_t bit_upper = wctype("upper");
71 TEST (upper);
/haiku/headers/private/shared/
H A DRangeArray.h273 int32 upper = CountRanges(); local
275 while (lower < upper) {
276 int32 mid = (lower + upper) / 2;
281 upper = mid;
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageFamilySyntaxHighlightInfo.cpp89 int upper = (sizeof(kLanguageKeywords)/sizeof(char*)) - 1; local
91 while (lower < upper) {
92 int mid = (lower + upper + 1) / 2;
98 upper = mid - 1;

Completed in 338 milliseconds

123