Searched refs:lower (Results 1 - 25 of 55) sorted by relevance

123

/haiku/src/apps/debuganalyzer/model/
H A DThreadModel.cpp104 int32 lower = 0; local
107 while (lower < upper) {
108 int32 mid = (lower + upper) / 2;
113 lower = mid + 1;
120 if (lower > 0) {
121 const system_profiler_event_header* header = SchedulingEventAt(lower);
125 lower--;
128 return lower;
H A DModel.cpp360 size_t lower = 0; local
362 while (lower < upper) {
363 size_t mid = (lower + upper) / 2;
367 lower = mid + 1;
372 return lower;
667 size_t lower = 0; local
669 while (lower < upper) {
670 size_t mid = (lower + upper) / 2;
687 lower = mid;
694 lower
[all...]
/haiku/src/kits/debugger/dwarf/
H A DBaseUnit.cpp95 int lower = 0; local
97 while (lower < upper) {
98 int mid = (lower + upper + 1) / 2;
102 lower = mid;
105 return fEntryOffsets[lower] == offset ? fEntries[lower] : NULL;
/haiku/src/kits/debugger/model/
H A DFileSourceCode.cpp136 int32 lower = 0;
138 while (lower < upper) {
139 int32 mid = (lower + upper) / 2;
143 lower = mid + 1;
146 _foundMatch = lower < fSourceLocations.Size()
147 && location == fSourceLocations[lower];
148 return lower;
H A DType.cpp52 BVariant lower = subrangeType->LowerBound(); local
55 if (!lower.IsInteger(&isSigned) || !upper.IsInteger())
59 ? upper.ToInt64() - lower.ToInt64() + 1
60 : upper.ToUInt64() - lower.ToUInt64() + 1;
/haiku/src/bin/debug/profile/
H A DSharedImage.cpp100 int32 lower = 0; local
103 while (lower < upper) {
104 int32 mid = (lower + upper) / 2;
106 lower = mid + 1;
111 if (lower == fSymbolCount)
114 const Symbol* symbol = fSymbols[lower];
116 return lower;
/haiku/src/tests/system/kernel/
H A Dmtrr_power_test.c8 nearest_powers(uint64 value, uint64 *lower, uint64 *upper) argument
11 if (lower)
12 *lower = power;
14 if (lower)
15 *lower = power;
/haiku/src/servers/registrar/
H A DPriorityMessageQueue.cpp118 int32 lower = 0; local
120 while (lower < upper) {
121 int32 mid = (lower + upper) / 2;
124 lower = mid + 1;
128 return lower;
H A DEventQueue.cpp302 int32 lower = 0; local
304 // invariant: lower-1:time <= time < upper:time (ignoring invalid indices)
305 while (lower < upper) {
306 int32 mid = (lower + upper) / 2;
311 lower = mid + 1; // mid:time <= time => lower-1:time <= time
313 return lower;
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPCapabilityExtractor.h49 double lower, double upper, double defaultValue,
51 void IntParameter(const char* name, const char* displayName, int lower,
55 int lower, int upper, int defaultValue,
H A DGPParameterVisitor.cpp241 double lower = description->bounds.dbl.lower; local
244 if (lower <= defaultValue && defaultValue <= upper)
245 DoubleParameter(name, text, lower, upper, defaultValue, parameterClass);
255 int lower = description->bounds.integer.lower; local
258 if (lower <= defaultValue && defaultValue <= upper)
259 IntParameter(name, text, lower, upper, defaultValue, parameterClass);
269 double lower = description->bounds.dimension.lower; local
[all...]
H A DGPParameterVisitor.h69 double lower, double upper, double defaultValue,
72 int lower, int upper, int defaultValue,
75 const char* displayName, int lower,
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/system/kernel/util/
H A Dring_buffer.cpp62 size_t lower = length - upper; local
66 || user_memcpy(data + upper, buffer->buffer, lower) < B_OK)
70 memcpy(data + upper, buffer->buffer, lower);
105 size_t lower = length - upper; local
109 || user_memcpy(buffer->buffer, data + upper, lower) < B_OK)
113 memcpy(buffer->buffer, data + upper, lower);
261 size_t lower = length - upper; local
264 memcpy((uint8*)data + upper, buffer->buffer, lower);
294 size_t lower = buffer->in - upper; local
299 vecs[1].iov_len = lower;
[all...]
/haiku/src/apps/debuganalyzer/gui/
H A DListSelectionModel.cpp177 int32 lower = 0; local
180 while (lower < upper) {
181 int32 mid = (lower + upper) / 2;
184 lower = mid + 1;
189 return lower;
/haiku/src/apps/mediaplayer/support/
H A DEventQueue.cpp128 int32 lower = 0; local
130 while (lower < upper) {
131 int32 mid = (lower + upper) / 2;
136 lower = mid + 1;
138 fEvents.AddItem(event, lower);
/haiku/src/apps/mediaplayer/supplier/
H A DSubTitlesSRT.cpp187 int32 lower = 0; local
189 while (lower < upper) {
190 int32 mid = (lower + upper) / 2;
196 lower = mid + 1;
198 return lower;
/haiku/src/tests/system/network/tcptester/
H A Dtcptester.cpp55 int upper, lower = number(ctx); local
60 upper = lower + 50;
61 lower -= 50;
64 return lower + rand() % (upper - lower + 1);
/haiku/headers/private/kernel/util/
H A DVectorSet.h436 int32 lower = 0; local
438 while (lower < upper) {
439 int32 mid = (lower + upper) / 2;
442 lower = mid + 1;
446 exists = (lower < Count() && fCompare(value, fElements[lower]) == 0);
447 return lower;
H A DVectorMap.h659 int32 lower = 0; local
661 while (lower < upper) {
662 int32 mid = (lower + upper) / 2;
666 lower = mid + 1;
670 exists = (lower < Count() && fEntryStrategy.Compare(key,
671 fEntryStrategy.GetKey(fElements[lower])) == 0);
672 return lower;
/haiku/headers/private/shared/
H A DRangeArray.h272 int32 lower = 0; local
275 while (lower < upper) {
276 int32 mid = (lower + upper) / 2;
279 lower = mid + 1;
284 return lower;
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageFamilySyntaxHighlightInfo.cpp88 int lower = 0; local
91 while (lower < upper) {
92 int mid = (lower + upper + 1) / 2;
100 lower = mid;
103 return token.string.Compare(kLanguageKeywords[lower]) == 0;
/haiku/src/system/libroot/posix/crypt/
H A Dcrypt.cpp55 const uint8 lower = n & 0x0f; local
57 assert(lower < 16 && upper < 16);
59 outBuffer[outIndex++] = kHexAlphabet[lower];
163 // Set a lower bound on N_log2: below 12 scrypt is weaker than bcrypt.
/haiku/src/libs/print/libprint/
H A DPrinterCap.cpp222 IntRangeCap::IntRangeCap(const string& label, int lower, int upper, argument
226 fLower(lower),
254 DoubleRangeCap::DoubleRangeCap(const string& label, double lower, double upper, argument
258 fLower(lower),
/haiku/src/tests/system/libroot/posix/
H A Dtest_wctype.c48 wctype_t bit_lower = wctype("lower");
67 TEST (lower);

Completed in 212 milliseconds

123