Home
last modified time | relevance | path

Searched refs:maxwidth (Results 1 – 25 of 33) sorted by relevance

12

/third_party/boost/libs/spirit/test/karma/
Dmaxwidth.cpp30 BOOST_TEST(test("0123456789", maxwidth[lit("0123456789")])); in main()
31 BOOST_TEST(test("012345678", maxwidth[lit("012345678")])); in main()
32 BOOST_TEST(test("0123456789", maxwidth[lit("01234567890")])); in main()
34 BOOST_TEST(test("0123456789", maxwidth[string], "0123456789")); in main()
35 BOOST_TEST(test("012345678", maxwidth[string], "012345678")); in main()
36 BOOST_TEST(test("0123456789", maxwidth[string], "01234567890")); in main()
40 BOOST_TEST(test("01234567", maxwidth(8)[lit("01234567")])); in main()
41 BOOST_TEST(test("0123456", maxwidth(8)[lit("0123456")])); in main()
42 BOOST_TEST(test("01234567", maxwidth(8)[lit("012345678")])); in main()
44 BOOST_TEST(test("01234567", maxwidth(8)[string], "01234567")); in main()
[all …]
DJamfile99 run maxwidth.cpp ;
/third_party/boost/boost/spirit/home/karma/directive/
Dmaxwidth.hpp40 struct use_directive<karma::domain, tag::maxwidth>
46 , terminal_ex<tag::maxwidth, fusion::vector1<T> > >
51 struct use_lazy_directive<karma::domain, tag::maxwidth, 1>
59 , terminal_ex<tag::maxwidth, fusion::vector2<T, RestIter> > >
66 struct use_lazy_directive<karma::domain, tag::maxwidth, 2>
75 using spirit::maxwidth;
105 unsigned int const maxwidth, Rest& restdest) in maxwidth_generate() argument
123 return r && buffering.buffer_copy(maxwidth) && in maxwidth_generate()
124 buffer_copy_rest(buffering, maxwidth, restdest); in maxwidth_generate()
182 struct make_directive<tag::maxwidth, Subject, Modifiers>
[all …]
/third_party/glib/gio/
Dgapplication-tool.c107 guint maxwidth; in app_help() local
118 maxwidth = 0; in app_help()
121 maxwidth = MAX(maxwidth, strlen (_(substvars[i].var))); in app_help()
125 g_string_append_printf (string, " %-*.*s %s\n", maxwidth, maxwidth, in app_help()
132 guint maxwidth; in app_help() local
138 maxwidth = 0; in app_help()
140 maxwidth = MAX(maxwidth, strlen (topics[i].command)); in app_help()
143 g_string_append_printf (string, " %-*.*s %s\n", maxwidth, maxwidth, in app_help()
/third_party/boost/boost/spirit/home/karma/detail/
Doutput_iterator.hpp230 bool copy(OutputIterator_& sink, std::size_t maxwidth) const in copy()
237 buffer.begin() + (std::min)(buffer.size(), maxwidth); in copy()
578 bool buffer_copy(std::size_t maxwidth = std::size_t(-1) in buffer_copy()
583 return buffer_data.copy(sink, maxwidth) && sink.good(); in buffer_copy()
602 , std::size_t maxwidth = std::size_t(-1)) const in buffer_copy_to()
604 return buffer_data.copy(sink, maxwidth); in buffer_copy_to()
/third_party/flutter/glfw/src/
Dwindow.c185 window->maxwidth = GLFW_DONT_CARE; in glfwCreateWindow()
506 int maxwidth, int maxheight) in glfwSetWindowSizeLimits() argument
524 if (maxwidth != GLFW_DONT_CARE && maxheight != GLFW_DONT_CARE) in glfwSetWindowSizeLimits()
526 if (maxwidth < 0 || maxheight < 0 || in glfwSetWindowSizeLimits()
527 maxwidth < minwidth || maxheight < minheight) in glfwSetWindowSizeLimits()
531 maxwidth, maxheight); in glfwSetWindowSizeLimits()
538 window->maxwidth = maxwidth; in glfwSetWindowSizeLimits()
546 maxwidth, maxheight); in glfwSetWindowSizeLimits()
Dwl_window.c75 else if (window->maxwidth != GLFW_DONT_CARE && width > window->maxwidth) in handleConfigure()
76 width = window->maxwidth; in handleConfigure()
510 int maxwidth, int maxheight) in _glfwPlatformSetWindowSizeLimits() argument
Dinternal.h361 int maxwidth, maxheight; member
672 …SetWindowSizeLimits(_GLFWwindow* window, int minwidth, int minheight, int maxwidth, int maxheight);
Dwin32_window.c770 if (window->maxwidth != GLFW_DONT_CARE && in windowProc()
773 mmi->ptMaxTrackSize.x = window->maxwidth + xoff; in windowProc()
1153 int maxwidth, int maxheight) in _glfwPlatformSetWindowSizeLimits() argument
1158 (maxwidth == GLFW_DONT_CARE || maxheight == GLFW_DONT_CARE)) in _glfwPlatformSetWindowSizeLimits()
Dcocoa_window.m1151 int maxwidth, int maxheight)
1158 if (maxwidth == GLFW_DONT_CARE || maxheight == GLFW_DONT_CARE)
1161 [window->ns.object setContentMaxSize:NSMakeSize(maxwidth, maxheight)];
1323 if (window->maxwidth != GLFW_DONT_CARE &&
1326 [window->ns.object setContentMaxSize:NSMakeSize(window->maxwidth,
/third_party/littlefs/scripts/
Dexplode_asserts.py137 def mkdecls(outf, maxwidth=16): argument
149 'maxwidth': maxwidth,
353 mkdecls(outf, maxwidth=args.maxwidth)
/third_party/boost/libs/spirit/doc/karma/
Ddirective.qbk15 `lower[]`), field width (`maxwidth[]`), buffering (`buffer[]`), splitting into
183 `maxwidth[]` directive, for instance:
185 maxwidth(8)[right_align(12)["1234567890"]]
685 [section:maxwidth Generator Directives Controlling the Maximum Field Width (`maxwidth[]`)]
689 The `maxwidth[]` directive allows to limit (truncate) the overall length of the
694 // forwards to <boost/spirit/home/karma/directive/maxwidth.hpp>
701 [[`boost::spirit::maxwidth // alias: boost::spirit::karma::maxwidth` ]]
722 [[`maxwidth[a]`] [Limit the overall length of the emitted output of
730 [[`maxwidth(num)[a]`] [Limit the overall length of the emitted output of
739 [note The `maxwidth[]` generator directive does not pad the generated output
[all …]
/third_party/python/Lib/tkinter/
Dsimpledialog.py237 maxwidth = w.winfo_vrootwidth()
244 x = min(x, vrootx + maxwidth - minwidth)
255 w.wm_maxsize(maxwidth, maxheight)
/third_party/gettext/gettext-runtime/doc/Admin/
DMatrix.java170 int maxwidth = 80 - 21 - 5 - Integer.toString(total).length(); in main() local
178 if (newwidth > maxwidth) { in main()
195 if (newwidth > maxwidth) { in main()
/third_party/boost/libs/spirit/example/karma/
Dreference.cpp429 using boost::spirit::karma::maxwidth; in main()
435 test_generator("01234", maxwidth(5)["0123456789"]); in main()
436 test_generator(" 012", maxwidth(5)[right_align(12)["0123456789"]]); in main()
437 test_generator("0123 ", maxwidth(8)[left_align(8)["0123"]]); in main()
/third_party/python/Lib/idlelib/
Dzoomheight.py78 maxwidth, maxheight, maxx, maxy = get_window_geometry(top)
/third_party/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp654 const auto maxwidth = tm.GetType(max->type_id())->AsInteger()->width(); in MakeSClampInst() local
656 assert(xwidth == maxwidth); in MakeSClampInst()
659 (void)maxwidth; in MakeSClampInst()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgraphics_robust_access_pass.cpp655 const auto maxwidth = tm.GetType(max->type_id())->AsInteger()->width(); in MakeSClampInst() local
657 assert(xwidth == maxwidth); in MakeSClampInst()
660 (void)maxwidth; in MakeSClampInst()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp655 const auto maxwidth = tm.GetType(max->type_id())->AsInteger()->width(); in MakeSClampInst() local
657 assert(xwidth == maxwidth); in MakeSClampInst()
660 (void)maxwidth; in MakeSClampInst()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c54 uint32_t maxwidth, maxheight; in vlVdpDecoderCreate() local
88 maxwidth = screen->get_video_param in vlVdpDecoderCreate()
102 if (width > maxwidth || height > maxheight) { in vlVdpDecoderCreate()
/third_party/python/Lib/test/
Dtest_pprint.py965 maxwidth = max(map(len, lines))
966 self.assertLessEqual(maxwidth, w)
967 self.assertGreater(maxwidth, w - 3)
/third_party/boost/boost/spirit/home/support/
Dcommon_terminals.hpp134 ( maxwidth, maxwidth_type )
/third_party/flutter/glfw/include/GLFW/
Dglfw3.h2098 GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minheight, int maxwidth,…
/third_party/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/
Dglfw3.h2084 GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minheight, int maxwidth,…
/third_party/flutter/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/
Dglfw3.h2084 GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minheight, int maxwidth,…

12