Home
last modified time | relevance | path

Searched refs:size_max (Results 1 - 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dmakepng.c395 png_uint_32 size_max = in generate_row() local
410 assert(y == 0 && rowbytes == 1 && size_max == 1); in generate_row()
416 assert(y == 0 && rowbytes == 1 && size_max == 3); in generate_row()
422 assert(y == 0 && rowbytes == 8 && size_max == 15); in generate_row()
440 assert(y == 0 && rowbytes == 256 && size_max == 255); in generate_row()
443 row[size_max] = 0xFFU & (size_max+1); in generate_row()
444 if (size_max == 0) in generate_row()
446 --size_max; in generate_row()
479 assert(rowbytes == 512 && size_max in generate_row()
[all...]
/third_party/ffmpeg/libavutil/
H A Dbprint.c41 if (buf->size == buf->size_max) in av_bprint_alloc()
46 new_size = buf->size > buf->size_max / 2 ? buf->size_max : buf->size * 2; in av_bprint_alloc()
48 new_size = FFMIN(buf->size_max, min_size); in av_bprint_alloc()
69 void av_bprint_init(AVBPrint *buf, unsigned size_init, unsigned size_max) in av_bprint_init() argument
74 if (size_max == 1) in av_bprint_init()
75 size_max = size_auto; in av_bprint_init()
78 buf->size = FFMIN(size_auto, size_max); in av_bprint_init()
79 buf->size_max = size_max; in av_bprint_init()
[all...]
H A Dbprint.h66 * The size_max field determines several possible behaviours:
68 * size_max = -1 (= UINT_MAX) or any large value will let the buffer be
71 * size_max = 0 prevents writing anything to the buffer: only the total
74 * (using size_init = size_max = len + 1).
76 * size_max = 1 is automatically replaced by the exact size available in the
86 unsigned size_max; /**< maximum allocated memory */
91 * Convenience macros for special values for av_bprint_init() size_max
103 * @param size_max maximum size;
111 void av_bprint_init(AVBPrint *buf, unsigned size_init, unsigned size_max);
158 * the bprint buffer is near the limit stated by the size_max optio
[all...]
/third_party/ltp/lib/
H A Dtst_res.c553 static const size_t size_max = 16; in tst_resm_hexd_() local
567 if (size > size_max || size == 0 || in tst_resm_hexd_()
580 if ((i + 1) % size_max == 0 || i + 1 == size) { in tst_resm_hexd_()
/third_party/skia/third_party/externals/harfbuzz/
H A Dgit.mk155 size_max.m4 \
/third_party/toybox/toys/pending/
H A Dxzcat.c1203 * size <= size_max
1242 uint32_t size_max; member
2250 s->dict.size_max = dict_max; in xz_dec_lzma2_create()
2266 if (s->dict.size > s->dict.size_max) in xz_dec_lzma2_reset()
/third_party/python/Lib/test/
H A Dtest_bytes.py1123 size_max = c_size_t(-1).value
1132 (b'%zu', c_size_t, size_max, str),
1133 (b'%p', c_char_p, size_max, ptr_formatter),
/third_party/mesa3d/src/imgui/
H A Dimgui.h273 IMGUI_API void SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback = NULL, void* custom_callback_data = NULL); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints.
H A Dimgui.cpp6195 void ImGui::SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback, void* custom_callback_user_data) in SetNextWindowSizeConstraints() argument
6199 g.NextWindowData.SizeConstraintRect = ImRect(size_min, size_max); in SetNextWindowSizeConstraints()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.h366 IMGUI_API void SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback = NULL, void* custom_callback_data = NULL); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Sizes will be rounded down. Use callback to apply non-trivial programmatic constraints.
H A Dimgui.cpp6986 void ImGui::SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback, void* custom_callback_user_data) in SetNextWindowSizeConstraints() argument
6990 g.NextWindowData.SizeConstraintRect = ImRect(size_min, size_max); in SetNextWindowSizeConstraints()

Completed in 69 milliseconds