Searched refs:SIZE_MAX (Results 1 - 25 of 64) sorted by relevance

123

/xsrc/external/mit/libFS/dist/src/
H A DFSQGlyphs.c91 #if SIZE_MAX <= UINT_MAX
92 if (reply.num_chars > SIZE_MAX / sizeof(FSOffset))
100 #if (SIZE_MAX >> 2) <= UINT_MAX
102 if (reply.length > (SIZE_MAX >> 2)) {
161 if (str_len > SIZE_MAX/SIZEOF(fsChar2b_version1))
181 #if SIZE_MAX <= UINT_MAX
182 if(reply.num_chars > SIZE_MAX/sizeof(FSOffset))
189 #if (SIZE_MAX >> 2) <= UINT_MAX
191 if (reply.length > (SIZE_MAX>>2)) {
H A Dreallocarray.c29 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
H A DFSGetCats.c77 #if (SIZE_MAX >> 2) <= UINT_MAX
78 && rep.num_catalogues <= SIZE_MAX/sizeof(char *)
79 && rep.length <= (SIZE_MAX >> 2)
H A DFSListExt.c77 #if (SIZE_MAX >> 2) <= UINT_MAX
78 && rep.nExtensions <= SIZE_MAX / sizeof(char *)
79 && rep.length <= (SIZE_MAX>>2)
H A DFSFtNames.c96 #if (SIZE_MAX >> 2) <= UINT_MAX
97 && rep.nFonts <= SIZE_MAX / sizeof(char *)
98 && rep.length <= (SIZE_MAX >> 2)
H A DFSListCats.c95 #if (SIZE_MAX >> 2) <= UINT_MAX
96 && rep.num_catalogues <= SIZE_MAX/sizeof(char *)
97 && rep.length <= (SIZE_MAX>>2)
H A DFSQXExt.c98 #if SIZE_MAX <= UINT_MAX
99 if (reply.num_extents > SIZE_MAX / sizeof(FSXCharInfo))
162 #if SIZE_MAX <= UINT_MAX
163 if (reply.num_extents > SIZE_MAX/sizeof(FSXCharInfo))
H A DFSQXInfo.c94 #if SIZE_MAX <= UINT_MAX
95 if (props->num_offsets > SIZE_MAX / sizeof(FSPropOffset))
H A DFSFontInfo.c124 if (reply.nReplies > SIZE_MAX - i - 1)
128 if (size > SIZE_MAX / sizeof(char *))
182 #if SIZE_MAX <= UINT_MAX
183 if (pi[i]->num_offsets > SIZE_MAX / sizeof(FSPropOffset))
H A DFSOpenServ.c156 if (setuplength > (SIZE_MAX>>2)
164 #if SIZE_MAX <= UINT_MAX
165 if (prefix.num_alternates > SIZE_MAX / sizeof(AlternateServer)) {
195 if (setuplength > (SIZE_MAX>>2)
/xsrc/external/mit/libXext/dist/src/
H A Dreallocarray.c29 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
/xsrc/external/mit/libXfont2/dist/src/util/
H A Dreallocarray.c29 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
/xsrc/external/mit/libXmu/dist/src/
H A Dreallocarray.c29 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
/xsrc/external/mit/libfontenc/dist/src/
H A Dreallocarray.c29 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
/xsrc/external/mit/xorg-server/dist/os/
H A Dreallocarray.c29 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
/xsrc/external/mit/libX11/dist/src/
H A Dreallocarray.c29 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
/xsrc/external/mit/libXt/dist/test/
H A DAlloc.c71 /* Square root of SIZE_MAX+1 */
233 #if UINT_MAX < SIZE_MAX
239 p = XtMalloc(SIZE_MAX);
251 p = XtMalloc(SIZE_MAX - 1);
263 p = XtMalloc(SIZE_MAX - 8);
374 #if UINT_MAX < SIZE_MAX
380 p = XtCalloc(2, SIZE_MAX);
517 #if UINT_MAX < SIZE_MAX
530 p2 = XtRealloc(p, SIZE_MAX);
542 p2 = XtRealloc(p, SIZE_MAX
[all...]
/xsrc/external/mit/libXpm/dist/src/
H A DRdFToBuf.c92 if (len < 0 || len >= SIZE_MAX) {
H A DXpmI.h95 #include <stdint.h> /* For SIZE_MAX */
98 #ifndef SIZE_MAX
100 # define SIZE_MAX ULONG_MAX macro
102 # define SIZE_MAX UINT_MAX macro
/xsrc/external/mit/libXt/dist/src/
H A DAlloc.c209 #if (SIZE_MAX / UINT_MAX) <= UINT_MAX
210 if ((num > 0) && (SIZE_MAX / num) < size)
221 # if (SIZE_MAX / UINT_MAX) <= UINT_MAX
222 if ((num > 0) && ((SIZE_MAX / num) < size))
441 #if (SIZE_MAX / UINT_MAX) <= UINT_MAX
442 if ((num > 0) && (SIZE_MAX / num) < size)
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-compiler.h65 #ifndef SIZE_MAX
66 # define SIZE_MAX ((size_t)-1) macro
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_async_debug.c52 new_max > SIZE_MAX / sizeof(*adbg->messages)) {
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_async_debug.c52 new_max > SIZE_MAX / sizeof(*adbg->messages)) {
/xsrc/external/mit/libXfont/dist/src/fc/
H A Dfslibos.h55 # ifndef SIZE_MAX
57 # define SIZE_MAX ULONG_MAX macro
59 # define SIZE_MAX UINT_MAX macro
/xsrc/external/mit/libXfont2/dist/src/fc/
H A Dfslibos.h55 # ifndef SIZE_MAX
57 # define SIZE_MAX ULONG_MAX macro
59 # define SIZE_MAX UINT_MAX macro

Completed in 16 milliseconds

123