| /xsrc/external/mit/libXmu/dist/include/X11/Xmu/ |
| H A D | Misc.h | 58 #define Max(x, y) (((x) > (y)) ? (x) : (y)) macro
|
| /xsrc/external/mit/freetype/dist/src/base/ |
| H A D | fterrors.c | 29 error_code >= FT_ERR_CAT( FT_ERR_PREFIX, Max ) )
|
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_internal.h | 483 ImVec2 Max; // Lower-right member in struct:ImRect 485 ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} 486 ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} 487 ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} 488 ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} 490 ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + Max.y) * 0.5f); } 491 ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } 492 float GetWidth() const { return Max [all...] |
| H A D | imgui_widgets.cpp | 154 if (text_pos.y <= clip_rect.Max.y) 194 line_rect.Max.y += line_height; 330 RenderTextClipped(value_bb.Min, value_bb.Max, value_text_begin, value_text_end, NULL, ImVec2(0.0f,0.5f)); 332 RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); 575 RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); 576 RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_size, style.ButtonTextAlign, &bb); 649 RenderFrame(bb.Min, bb.Max, col, true, g.Style.FrameRounding); 740 ? ImRect(window->Pos.x + border_size, window_rect.Max.y - style.ScrollbarSize, window_rect.Max.x - other_scrollbar_size_w - border_size, window_rect.Max [all...] |
| H A D | imgui.cpp | 145 - Our origin are on the top-left. In axis aligned bounding boxes, Min = top-left, Max = bottom-right. 302 // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) 2336 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max; 2479 window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); 2480 window->DrawList->AddRect(display_rect.Min + ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), display_rect.Max - ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), GetColorU32(ImGuiCol_NavHighlight), rounding, ImDrawCornerFlags_All, THICKNESS); 2486 window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavHighlight), rounding, ~0, 1.0f); 2598 const int r_rel[4] = { (int)(r_abs.Min.x - Pos.x), (int)(r_abs.Min.y - Pos.y), (int)(r_abs.Max.x - Pos.x), (int)(r_abs.Max [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_internal.h | 483 ImVec2 Max; // Lower-right member in struct:ImRect 485 ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} 486 ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} 487 ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} 488 ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} 490 ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + Max.y) * 0.5f); } 491 ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } 492 float GetWidth() const { return Max [all...] |
| H A D | imgui_widgets.cpp | 154 if (text_pos.y <= clip_rect.Max.y) 194 line_rect.Max.y += line_height; 330 RenderTextClipped(value_bb.Min, value_bb.Max, value_text_begin, value_text_end, NULL, ImVec2(0.0f,0.5f)); 332 RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); 575 RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); 576 RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_size, style.ButtonTextAlign, &bb); 649 RenderFrame(bb.Min, bb.Max, col, true, g.Style.FrameRounding); 740 ? ImRect(window->Pos.x + border_size, window_rect.Max.y - style.ScrollbarSize, window_rect.Max.x - other_scrollbar_size_w - border_size, window_rect.Max [all...] |
| H A D | imgui.cpp | 145 - Our origin are on the top-left. In axis aligned bounding boxes, Min = top-left, Max = bottom-right. 302 // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) 2336 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max; 2479 window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); 2480 window->DrawList->AddRect(display_rect.Min + ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), display_rect.Max - ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), GetColorU32(ImGuiCol_NavHighlight), rounding, ImDrawCornerFlags_All, THICKNESS); 2486 window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavHighlight), rounding, ~0, 1.0f); 2598 const int r_rel[4] = { (int)(r_abs.Min.x - Pos.x), (int)(r_abs.Min.y - Pos.y), (int)(r_abs.Max.x - Pos.x), (int)(r_abs.Max [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/ |
| H A D | addrlib2.cpp | 180 localIn.width = Max(pIn->width, 1u); 181 localIn.height = Max(pIn->height, 1u); 182 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); 183 localIn.numSlices = Max(pIn->numSlices, 1u); 184 localIn.numSamples = Max(pIn->numSamples, 1u); 228 localIn.width = Max(localIn.width, 1u); 229 localIn.height = Max(localIn.height, 1u); 356 localIn.unalignedWidth = Max(pIn->unalignedWidth, 1u); 357 localIn.unalignedHeight = Max(pIn->unalignedHeight, 1u); 358 localIn.numMipLevels = Max(pI [all...] |
| H A D | addrcommon.h | 417 * Max 423 static inline UINT_32 Max( function in namespace:Addr 432 * Max 438 static inline INT_32 Max( function in namespace:Addr 905 index = Max(index, static_cast<UINT_32>(pChanSet[i].index)); 968 return Max(a >> b, 1u);
|
| H A D | addrlib2.h | 487 fmaskBpp = Max(8u, fmaskBpp * sample); 813 return (Max((numSlices >> mipId), 1u) > slice); 869 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->numSlices) + 1); 872 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->height) + 1); 875 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->width) + 1); 958 // Max number of swizzle mode supported for equation 960 // Max number of resource type (2D/3D) supported for equation 962 // Max number of bpp (8bpp/16bpp/32bpp/64bpp/128bpp)
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/ |
| H A D | addrlib2.cpp | 156 localIn.width = Max(pIn->width, 1u); 157 localIn.height = Max(pIn->height, 1u); 158 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); 159 localIn.numSlices = Max(pIn->numSlices, 1u); 160 localIn.numSamples = Max(pIn->numSamples, 1u); 204 localIn.width = Max(localIn.width, 1u); 205 localIn.height = Max(localIn.height, 1u); 329 localIn.unalignedWidth = Max(pIn->unalignedWidth, 1u); 330 localIn.unalignedHeight = Max(pIn->unalignedHeight, 1u); 331 localIn.numMipLevels = Max(pI [all...] |
| H A D | addrlib2.h | 389 fmaskBpp = Max(8u, fmaskBpp * sample); 684 return (Max((numSlices >> mipId), 1u) > slice); 755 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->numSlices) + 1); 758 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->height) + 1); 761 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->width) + 1);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/core/ |
| H A D | addrlib2.cpp | 156 localIn.width = Max(pIn->width, 1u); 157 localIn.height = Max(pIn->height, 1u); 158 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); 159 localIn.numSlices = Max(pIn->numSlices, 1u); 160 localIn.numSamples = Max(pIn->numSamples, 1u); 204 localIn.width = Max(localIn.width, 1u); 205 localIn.height = Max(localIn.height, 1u); 329 localIn.unalignedWidth = Max(pIn->unalignedWidth, 1u); 330 localIn.unalignedHeight = Max(pIn->unalignedHeight, 1u); 331 localIn.numMipLevels = Max(pI [all...] |
| H A D | addrlib2.h | 389 fmaskBpp = Max(8u, fmaskBpp * sample); 684 return (Max((numSlices >> mipId), 1u) > slice); 755 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->numSlices) + 1); 758 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->height) + 1); 761 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->width) + 1);
|
| /xsrc/external/mit/xf86-video-vboxvideo/dist/src/ |
| H A D | VBoxVideoIPRT.h | 141 #define RT_CLAMP(Value, Min, Max) ( (Value) > (Max) ? (Max) : (Value) < (Min) ? (Min) : (Value) )
|
| /xsrc/external/mit/freetype/dist/include/freetype/ |
| H A D | fterrors.h | 175 #define FT_ERROR_END_LIST FT_ERR_CAT( FT_ERR_PREFIX, Max ) };
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/gfx9/ |
| H A D | gfx9addrlib.cpp | 186 numCompressBlkPerMetaBlkLog2 = m_seLog2 + m_rbPerSeLog2 + Max(10u, m_pipeInterleaveLog2); 236 align = Max(align, metaBlkSize); 240 align = Max(align, GetBlockSize(pIn->swizzleMode)); 249 INT_32 rbMaskPadding = Max(0, htileCachelineSizeLog2 - (metaBlkSizeLog2 - maxNumOfRbMaskBits)); 302 numCompressBlkPerMetaBlkLog2 = m_seLog2 + m_rbPerSeLog2 + Max(10u, m_pipeInterleaveLog2); 309 numCompressBlkPerMetaBlkLog2 = Max(numCompressBlkPerMetaBlkLog2, 13u); 339 UINT_32 numMetaBlkZ = Max(pIn->numSlices, 1u); 345 sizeAlign = Max(sizeAlign, GetBlockSize(pIn->swizzleMode)); 352 pOut->baseAlign = Max(numCompressBlkPerMetaBlk >> 1, sizeAlign); 520 mipWidth = Max(mipWidt [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/gfx10/ |
| H A D | gfx10addrlib.cpp | 187 pOut->baseAlign = Max(metaBlkSize, 1u << (m_pipesLog2 + 11u)); 435 const UINT_32 numFragLog2 = Log2(Max(pIn->numFrags, 1u)); 452 pOut->depth = PowTwoAlign(Max(pIn->numSlices, 1u), metaBlk.d); 593 input.unalignedWidth = Max(pIn->unalignedWidth, 1u); 594 input.unalignedHeight = Max(pIn->unalignedHeight, 1u); 595 input.numSlices = Max(pIn->numSlices, 1u); 666 input.unalignedWidth = Max(pIn->unalignedWidth, 1u); 667 input.unalignedHeight = Max(pIn->unalignedHeight, 1u); 668 input.numSlices = Max(pIn->numSlices, 1u); 1207 const INT_32 maxSizeLog2 = Max(compSizeLog [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/gfx9/ |
| H A D | gfx9addrlib.cpp | 181 numCompressBlkPerMetaBlkLog2 = m_seLog2 + m_rbPerSeLog2 + Max(10u, m_pipeInterleaveLog2); 231 align = Max(align, metaBlkSize); 235 align = Max(align, GetBlockSize(pIn->swizzleMode)); 244 INT_32 rbMaskPadding = Max(0, htileCachelineSizeLog2 - (metaBlkSizeLog2 - maxNumOfRbMaskBits)); 296 numCompressBlkPerMetaBlkLog2 = m_seLog2 + m_rbPerSeLog2 + Max(10u, m_pipeInterleaveLog2); 303 numCompressBlkPerMetaBlkLog2 = Max(numCompressBlkPerMetaBlkLog2, 13u); 333 UINT_32 numMetaBlkZ = Max(pIn->numSlices, 1u); 339 sizeAlign = Max(sizeAlign, GetBlockSize(pIn->swizzleMode)); 346 pOut->baseAlign = Max(numCompressBlkPerMetaBlk >> 1, sizeAlign); 558 mipWidth = Max(mipWidt [all...] |
| /xsrc/external/mit/libXfont/dist/src/bitmap/ |
| H A D | fontink.c | 158 #define Max(a,b) ((a)>(b)?(a):(b)) macro 191 y_min = Max(-pSrc->metrics.ascent, -pDst->metrics.ascent); 193 x_min = Max(pSrc->metrics.leftSideBearing, pDst->metrics.leftSideBearing);
|
| /xsrc/external/mit/libXfont2/dist/src/bitmap/ |
| H A D | fontink.c | 159 #define Max(a,b) ((a)>(b)?(a):(b)) macro 192 y_min = Max(-pSrc->metrics.ascent, -pDst->metrics.ascent); 194 x_min = Max(pSrc->metrics.leftSideBearing, pDst->metrics.leftSideBearing);
|
| /xsrc/external/mit/bdftopcf/dist/ |
| H A D | fontink.c | 153 #define Max(a,b) ((a)>(b)?(a):(b)) macro 177 y_min = Max(-pSrc->metrics.ascent, -pDst->metrics.ascent); 179 x_min = Max(pSrc->metrics.leftSideBearing, pDst->metrics.leftSideBearing);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_compiler_util.c | 508 unsigned int Max; member in struct:max_data 521 if (file == d->File && (!d->HasFileType || index > d->Max)) { 522 d->Max = index; 537 data.Max = 0; 549 return data.Max;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_compiler_util.c | 508 unsigned int Max; member in struct:max_data 521 if (file == d->File && (!d->HasFileType || index > d->Max)) { 522 d->Max = index; 537 data.Max = 0; 549 return data.Max;
|