Searched refs:left (Results 276 - 300 of 687) sorted by relevance

<<11121314151617181920>>

/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapBilinear.h55 const int32 left = (int32)destinationRect.left; local
65 const int32 x1 = max_c(baseRenderer.xmin(), left);
80 const int32 xIndexL = x1 - left - filterData.fIndexOffsetX;
81 const int32 xIndexR = x2 - left - filterData.fIndexOffsetX;
109 // left and right of top row
114 // left and right of bottom row
150 // left and right of top row
156 // left and right of bottom row
352 // Only the left an
[all...]
/haiku/src/tests/servers/app/newerClipping/drawing/
H A DDrawingEngine.cpp74 if (rect.left <= x &&
100 int32 i = max_c(rect.left, x1);
203 return (a.right < b.left);
288 sortedRectList[nextSortedIndex].left = (int32)n->rect.left;
H A DAccelerantHWInterface.cpp672 params[i].src_left = (uint16)sortedRectList[i].left;
675 params[i].dest_left = (uint16)sortedRectList[i].left + xOffset;
679 params[i].width = (uint16)(sortedRectList[i].right - sortedRectList[i].left);
848 (*params)[i].left = (uint16)r.left;
/haiku/headers/libs/alm/
H A DALMLayout.h98 Column* AddColumn(XTab* left, XTab* right);
110 void SetInsets(float left, float top, float right,
112 void GetInsets(float* left, float* top, float* right,
136 virtual Area* AddView(BView* view, XTab* left, YTab* top,
142 virtual Area* AddItem(BLayoutItem* item, XTab* left,
/haiku/src/kits/storage/mime/
H A DSnifferRules.cpp74 /*! \brief Returns true if \a left's priority is greater than \a right's
77 operator<() sorts in ascending order, we say "left < right"
78 if "left.priority > right.priority" to get them sorted in
90 bool operator<(const SnifferRules::sniffer_rule &left, const SnifferRules::sniffer_rule &right) argument
92 if (left.rule && right.rule) {
93 double leftPriority = left.rule->Priority();
96 return true; // left < right
98 return false; // right < left
100 return left.type > right.type;
102 } else if (left
[all...]
/haiku/src/tests/apps/miniterminal/
H A DViewBuffer.cpp165 int32 left = x + width;
166 if (left > fColumns)
167 left = fColumns;
174 for (int32 x2 = x; x2 < left; x2++) {
204 int32 startX = max_c(0, (int32)(updateRect.left / CHAR_WIDTH));
269 // copy from right to left
273 // copy from left to right
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DDriver.cpp92 int left = -1; local
94 while ((right - left) > 1) {
95 int i = (left + right) / 2;
96 ((gSupportedDevices[i].Key() < id) ? left : right) = i;
115 TRACE_ALWAYS("Search for %#x failed %d-%d.\n", id, left, right);
/haiku/src/apps/screenshot/
H A DScreenshot.cpp341 fUtility->activeWindowFrame.left = windowInfo->window_left;
351 if (fUtility->activeWindowFrame.left < screenFrame.left)
352 fUtility->activeWindowFrame.left = screenFrame.left;
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_fphex.c338 if (!info->left && width > 0)
350 if (info->left && width > 0)
529 if (!info->left && info->pad != '0' && width > 0)
545 if (!info->left && info->pad == '0' && width > 0)
573 if (info->left && info->pad != '0' && width > 0)
H A Dvfprintf.c723 if (!left) \
817 left: left, \
866 left: left, \
974 if (!left) \
981 if (left) \
989 if (!left) \
995 if (left) \
1078 if (!left) \
1349 int left = 0; /* Left-justify output. */ local
1786 int left = specs[nspecs_done].info.left; local
[all...]
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DInode.h352 hashLowerBound(T* entry, int& left, int& right, uint32 hashValueOfRequest) argument
361 while (left < right) {
362 mid = (left + right) / 2;
369 left = mid+1;
371 TRACE("left:(%" B_PRId32 "), right:(%" B_PRId32 ")\n", left, right);
H A DLeafAttribute.cpp289 int left = 0; local
294 hashLowerBound<AttrLeafEntry>(entry, left, right, hashValueOfRequest);
296 while (B_BENDIAN_TO_HOST_INT32(entry[left].hashval) == hashValueOfRequest) {
298 uint32 offset = B_BENDIAN_TO_HOST_INT16(entry[left].nameidx);
303 if (entry[left].flags & XFS_ATTR_LOCAL) {
322 left++;
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dpcm.c826 /* left channel */
831 sound->left.adc_source = line; // record line left
835 sound->left.adc_source = aux1; // record CD left ??
839 sound->left.adc_source = mic; // record mic left
843 sound->left.adc_source = loopback;
847 sound->left.adc_gain = u&15;
850 sound->left
[all...]
/haiku/src/kits/tracker/
H A DPose.cpp350 rect.left += poseView->ListOffset();
351 rect.right = rect.left + iconSize;
355 rect.left = location.x;
357 rect.right = rect.left + iconSize;
500 rect.left += (poseView->IconSizeInt() - textWidth) / 2;
501 rect.right = rect.left + textWidth;
924 rect.left = loc.x;
949 rect.left = location.x;
950 rect.right = rect.left + poseView->IconSizeInt();
956 rect.left
[all...]
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp129 rect.right = rect.left + ceilf(be_plain_font->StringWidth(string)) + 4;
130 if (rect.left < 0)
131 rect.OffsetBy(-rect.left, 0);
311 drawBounds.left = fDivider;
412 drawBounds.left = fDivider;
499 drawBounds.left = fDivider;
849 fSizeRect.left = fDivider + 2;
864 fSizeRect.right = fSizeRect.left + StringWidth(tmpString.String())
868 fSizeRect.right = fSizeRect.left + StringWidth(fSizeString.String()) + 3;
927 fPathRect.left
[all...]
/haiku/src/apps/haikudepot/ui/
H A DPackageListView.cpp401 x = rect.left + sTextMargin;
408 width = (x - rect.left - (2 * sTextMargin));
409 r.Set(rect.left, rect.top, rect.left + width, rect.bottom);
476 rect.left += kDefaultTextMargin;
479 rect.left = rect.left + (width - stringWidth) / 2.0f;
483 rect.left = rect.right - (stringWidth + kDefaultTextMargin);
487 rect.left = floorf(rect.left);
[all...]
/haiku/src/kits/interface/
H A DMenuItem.cpp420 : fSuper->Frame().Width() - padding.left - padding.right;
512 return BPoint(fBounds.left + padding.left, fBounds.top + padding.top);
718 r.right = r.left + leftMargin - gap;
719 r.left += gap / 3;
721 BPoint center(floorf((r.left + r.right) / 2.0),
727 r.left = floorf(center.x - size / 2 + 0.5);
814 rect.left = rect.right - symbolSize;
818 symbolRect.OffsetTo(BPoint(rect.left,
H A DScrollView.cpp308 scrollCorner.left = min_c(
322 rect.left += fPreviousWidth - border;
328 rect.left = rect.right - border;
572 Invalidate(BRect(bounds.left, bounds.top, bounds.right, bounds.top));
573 Invalidate(BRect(bounds.left, bounds.top + 1, bounds.left,
577 Invalidate(BRect(bounds.left, bounds.bottom, bounds.right, bounds.bottom));
745 fTarget->MoveTo(innerFrame.left, innerFrame.top);
881 // the scrollbar draws part of the surrounding frame on the left
882 rect.left
[all...]
H A DSplitLayout.cpp253 SetInsets(insets.left, insets.top, insets.right, insets.bottom);
269 BSplitLayout::SetInsets(float left, float top, float right, float bottom) argument
271 fLeftInset = left;
281 BSplitLayout::GetInsets(float* left, float* top, float* right, argument
284 if (left)
285 *left = fLeftInset;
1139 float left = splitterFrame.left + baseOffset; local
1141 left,
1143 left
[all...]
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp873 // the left bound is determined by the space taken up by the actual
875 float left = _GetAddressDisplayWidth(); local
876 float width = Bounds().Width() - left;
885 fTextLeft = left + hexWidth;
886 fHexLeft = left;
890 fHexRight = left + hexWidth;
892 fHexLeft = left;
893 fHexRight = left + width;
896 fTextLeft = left;
897 fTextRight = left
[all...]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c194 int left, moff, noff, len, hdrlen; local
244 left = m0->m_pkthdr.len - moff;
246 while (left > 0) {
248 /* nothing left to copy from m */
259 if (left >= MINCLSIZE - IEEE80211_TKIP_TAILLEN) {
264 if (n->m_len > left)
265 n->m_len = left;
276 left -= len;
365 int hdrlen, left, moff, noff, len; local
425 left
[all...]
/haiku/src/servers/app/stackandtile/
H A DSATWindow.cpp91 fWindowArea->LeftTopCrossing()->VerticalTab()->SetPosition(frame.left);
177 fOldTabLocatiom = decorator->TabRect(fWindow->PositionInStack()).left;
322 frame.left -= decorator->BorderWidth();
513 && mousePosition.x >= frame.left + decorator->BorderWidth()) {
516 float deltaX = mousePosition.x - (tabRect.left + oldOffset);
523 if (x != 0 && mousePosition.x > frame.left
/haiku/src/system/kernel/debug/
H A Ddebug_commands.cpp136 size_t left = fBuffer + fBufferSize - line; local
138 if (left == fBufferCapacity) {
141 left = 0;
144 if (left > 0)
145 memmove(fBuffer, line, left);
147 fBufferSize = left;
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h364 rect.left = floorf(rect.left);
379 rect.left = floorf(rect.left);
407 rect.left = floorf(rect.left);
/haiku/headers/private/file_systems/
H A DQueryParser.h305 Operator(Term<QueryPolicy>* left, int8 op,
991 Operator<QueryPolicy>::Operator(Term<QueryPolicy>* left, int8 op,
995 fLeft(left),
998 if (left)
999 left->SetParent(this);
1242 Term<QueryPolicy>* left = ParseEquation(expr);
1243 if (left == NULL)
1251 || (newParent = new(std::nothrow) Operator<QueryPolicy>(left,
1253 delete left;
1258 left
[all...]

Completed in 194 milliseconds

<<11121314151617181920>>