Searched defs:max (Results 1 - 25 of 136) sorted by relevance

123456

/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dminmax.h2 * min/max macros
33 #ifndef max
34 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dminmax.h2 * min/max macros
33 #ifndef max
34 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/
H A Dstrcpy.c50 PL_strncpy(char *dest, const char *src, PRUint32 max) argument
57 for( rv = dest; max && ((*dest = *src) != 0); dest++, src++, max-- )
62 while( --max )
70 PL_strncpyz(char *dest, const char *src, PRUint32 max) argument
76 if( 0 == max ) return (char *)0;
78 for( rv = dest, max--; max && ((*dest = *src) != 0); dest++, src++, max-- )
H A Dstrcat.c51 PL_strncat(char *dest, const char *src, PRUint32 max) argument
55 if( ((char *)0 == dest) || ((const char *)0 == src) || (0 == max) )
61 (void)PL_strncpy(dest, src, max);
66 PL_strcatn(char *dest, PRUint32 max, const char *src) argument
77 if( max <= dl ) return rv;
78 (void)PL_strncpyz(dest, src, max-dl);
H A Dstrcstr.c80 PL_strncasestr(const char *big, const char *little, PRUint32 max) argument
88 if( ll > max ) return (char *)0;
89 max -= ll;
90 max++;
92 for( ; max && *big; big++, max-- )
101 PL_strncaserstr(const char *big, const char *little, PRUint32 max) argument
111 for( p = big; max && *p; p++, max-- )
H A Dstrdup.c79 PL_strndup(const char *s, PRUint32 max) argument
87 l = PL_strnlen(s, max);
H A Dstrpbrk.c69 PL_strnpbrk(const char *s, const char *list, PRUint32 max) argument
75 for( ; max && *s; s++, max-- )
84 PL_strnprbrk(const char *s, const char *list, PRUint32 max) argument
91 for( r = s; max && *r; r++, max-- )
H A Dstrstr.c74 PL_strnstr(const char *big, const char *little, PRUint32 max) argument
82 if( ll > (size_t)max ) return (char *)0;
83 max -= (PRUint32)ll;
84 max++;
86 for( ; max && *big; big++, max-- )
95 PL_strnrstr(const char *big, const char *little, PRUint32 max) argument
105 for( p = big; max && *p; p++, max-- )
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/
H A Delfboot.c45 physaddr_t max; local
49 if ( ( rc = elf_load ( image, &entry, &max ) ) != 0 ) {
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dxferbuf.c94 size_t max; local
104 max = ( xferbuf->pos + len );
105 if ( ( rc = xferbuf_ensure_size ( xferbuf, max ) ) != 0 )
H A Ddownloader.c163 size_t max; local
173 max = ( downloader->pos + len );
174 if ( ( rc = downloader_ensure_size ( downloader, max ) ) != 0 )
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/core/
H A Drelocate.c45 unsigned long start, end, size, padded_size, max; local
61 max = MAX_ADDR;
62 if ( ix86->regs.ebp && ( ix86->regs.ebp < max ) ) {
63 max = ix86->regs.ebp;
64 DBG ( "Limiting relocation to [0,%lx)\n", max );
81 if ( region->start > max ) {
82 DBG ( "...starts after max=%lx\n", max );
86 if ( region->end > max ) {
87 DBG ( "...end truncated to max
[all...]
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Didpool.c17 GLuint max; member in struct:FreeElemRec
33 pool->freeList->max = CR_MAXUINT;
64 if (f->max - f->min + 1 >= (GLuint) count)
70 if (f->min == f->max)
131 if (!i->next && i->max == first)
135 if (i->max + 1 == first)
137 i->max += count;
138 if (i->next && i->max+1 >= i->next->min)
160 if (i->max + 1 >= i->next->min)
188 newelem->max
[all...]
H A Drand.c100 float crRandFloat(float min, float max) argument
103 return (float) (t*min + (1-t)*max);
106 /* return a random integer in [min, max] (inclusive). */
107 int crRandInt(int min, int max) argument
110 return min + (int) (t * (max - min + 1));
/vbox/src/VBox/GuestHost/OpenGL/spu_loader/
H A Dspuinit.c32 const char *max )
39 if (max && sscanf(max, "%d", &imax) == 1 && imax < i)
46 const char *max )
53 if (max && sscanf(max, "%f", &fmax) == 1 && fmax < f)
61 const char *max )
67 return validate_int( response, min, max );
69 return validate_float( response, min, max );
99 const char *max local
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A DtestAutomata.c133 int min, max; local
160 max = scanNumber(&ptr);
168 BAD_CAST ptr, min, max, NULL);
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsArrayEnumerator.cpp192 PRUint32 max = result->mArraySize = aArray.Count(); variable
193 for (i = 0; i<max; i++) {
/vbox/src/libs/zlib-1.2.6/contrib/infback9/
H A Dinftree9.c42 unsigned min, max; /* minimum and maximum code lengths */ local
116 for (max = MAXBITS; max >= 1; max--)
117 if (count[max] != 0) break;
118 if (root > max) root = max;
119 if (max == 0) return -1; /* no codes! */
131 if (left > 0 && (type == CODES || max != 1))
169 all codes of length max,
[all...]
/vbox/src/libs/zlib-1.2.6/
H A Dinftrees.c42 unsigned min, max; /* minimum and maximum code lengths */ local
114 for (max = MAXBITS; max >= 1; max--)
115 if (count[max] != 0) break;
116 if (root > max) root = max;
117 if (max == 0) { /* no symbols to code at all */
126 for (min = 1; min < max; min++)
137 if (left > 0 && (type == CODES || max !
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/axtls/
H A Dbigint_impl.h125 #define max(a,b) ((a)>(b)?(a):(b)) /**< Find the maximum of 2 numbers. */ macro
/vbox/src/VBox/Main/include/
H A DPerformanceImpl.h43 #undef max macro
98 : period(0), count(0), min(0), max(0)
109 LONG max; member in struct:PerformanceMetric::Data
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dsmbios.h59 uint16_t max; member in struct:smbios_entry
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_map.c42 dtrace_id_t max; local
47 while (id >= (max = VBDTCAST(dtrace_id_t)dtp->dt_maxprobe) || dtp->dt_pdesc == NULL) {
48 dtrace_id_t new_max = max ? (max << 1) : 1;
63 size_t osize = max * sizeof (void *);
293 dtrace_id_t max; local
297 while (id >= (max = VBDTCAST(dtrace_id_t)dtp->dt_maxagg) || dtp->dt_aggdesc == NULL) {
298 dtrace_id_t new_max = max ? (max << 1) : 1;
309 max * sizeo
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/swrast_setup/
H A Dss_tritmp.h144 const GLfloat max = ctx->DrawBuffer->_DepthMaxF; local
162 oz0 = CLAMP(v[0]->attrib[FRAG_ATTRIB_WPOS][2] + offset, 0.0, max);
163 oz1 = CLAMP(v[1]->attrib[FRAG_ATTRIB_WPOS][2] + offset, 0.0, max);
164 oz2 = CLAMP(v[2]->attrib[FRAG_ATTRIB_WPOS][2] + offset, 0.0, max);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcnetdb.cpp149 PRIntn index = 0, max; local
157 for (max = 0, index = 0;; ++max)
162 if (max > 0)
164 vector = new RCNetAddr[max];
165 while (--max > 0)
175 max_index = max;
189 PRIntn index = 0, max; local
197 for (max = 0, index = 0;; ++max)
[all...]

Completed in 60 milliseconds

123456