Searched refs:MIN (Results 1 - 25 of 152) sorted by relevance

1234567

/haiku-fatelf/headers/posix/sys/
H A Dparam.h17 #ifndef MIN
18 # define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/
H A Dsettings.c38 max_vnodes = MIN(max_vnodes, 1000000);
43 max_results = MIN(max_results, 1000);
H A Dringbuff.c63 towrite = MIN(len, towrite);
67 len = MIN(len, towrite);
73 len = MIN(towrite, rb_can_write(rb));
90 toread = MIN(len, toread);
94 len = MIN(len, toread);
101 len = MIN(toread, rb_can_read(rb));
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dbitops.h72 ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
/haiku-fatelf/src/add-ons/kernel/bus_managers/ata/
H A DATAHelper.cpp43 int requestSize = MIN(allocationLength, ccb->data_length) - offset;
49 bytes = MIN(size, requestSize);
50 bytes = MIN(bytes, sgList->size);
H A DATARequest.cpp123 size_t senseLength = MIN(sizeof(fCCB->sense), sizeof(sense));
159 fCCB->data_resid = fCCB->data_length - MIN(MIN(sizeof(sense),
/haiku-fatelf/src/add-ons/kernel/busses/usb/
H A Dehci_rh.cpp148 actualLength = MIN(sizeof(usb_port_status),
160 actualLength = MIN(sizeof(usb_port_status), transfer->DataLength());
183 actualLength = MIN(sizeof(usb_device_descriptor),
192 actualLength = MIN(sizeof(ehci_root_hub_configuration_s),
206 actualLength = MIN(sEHCIRootHubStrings[index].length,
215 actualLength = MIN(sizeof(usb_hub_descriptor),
H A Dohci_rh.cpp150 actualLength = MIN(sizeof(usb_port_status),
162 actualLength = MIN(sizeof(usb_port_status), transfer->DataLength());
185 actualLength = MIN(sizeof(usb_device_descriptor),
194 actualLength = MIN(sizeof(ohci_root_hub_configuration_s),
208 actualLength = MIN(sOHCIRootHubStrings[index].length,
217 actualLength = MIN(sizeof(usb_hub_descriptor),
H A Duhci_rh.cpp149 actualLength = MIN(sizeof(usb_port_status),
161 actualLength = MIN(sizeof(usb_port_status), transfer->DataLength());
184 actualLength = MIN(sizeof(usb_device_descriptor),
193 actualLength = MIN(sizeof(uhci_root_hub_configuration_s),
206 actualLength = MIN(sUHCIRootHubStrings[index].length,
215 actualLength = MIN(sizeof(usb_hub_descriptor),
H A Dxhci_rh.cpp168 actualLength = MIN(sizeof(usb_port_status),
180 actualLength = MIN(sizeof(usb_port_status), transfer->DataLength());
203 actualLength = MIN(sizeof(usb_device_descriptor),
212 actualLength = MIN(sizeof(xhci_root_hub_configuration_s),
226 actualLength = MIN(sXHCIRootHubStrings[index].length,
235 actualLength = MIN(sizeof(usb_hub_descriptor),
/haiku-fatelf/src/bin/coreutils/lib/
H A Dsame.c43 #ifndef MIN
44 # define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
69 size_t min_baselen = MIN (source_baselen, dest_baselen);
H A Dmbsalign.c30 #ifndef MIN
31 # define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
221 dest = mempcpy(dest, str_to_print, MIN (n_used_bytes, dest_end - dest));
H A Drandread.c52 #ifndef MIN
53 # define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
164 setvbuf (source, s->buf.c, _IOFBF, MIN (sizeof s->buf.c, bytes_bound));
/haiku-fatelf/src/bin/diffutils/lib/
H A Dcmpbuf.c74 #undef MIN macro
75 #define MIN(a, b) ((a) <= (b) ? (a) : (b)) macro
92 size_t bytes_to_read = MIN (buflim - bp, readlim);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dsame.c45 #ifndef MIN
46 # define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
71 size_t min_baselen = MIN (source_baselen, dest_baselen);
/haiku-fatelf/src/bin/bc/h/
H A Dnumber.h66 #ifdef MIN
67 #undef MIN macro
71 #define MIN(a,b) ((a)>(b)?(b):(a)) macro
/haiku-fatelf/src/libs/pdflib/libs/png/
H A Dpngrio.c71 #define MIN(a,b) (a <= b ? a : b) macro
102 read = MIN(NEAR_BUF_SIZE, remaining);
/haiku-fatelf/src/system/boot/platform/cfe/
H A Dconsole.cpp64 x = MIN(79,MAX(0,x));
65 y = MIN(24,MAX(0,y));
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/
H A Dsample.h103 #ifndef MIN
104 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
219 cw = MIN(WIFI_CW_MAX, (cw + 1) * 2);
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dfvwrite.c74 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
94 w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ));
137 COPY(w); /* copy MIN(fp->_w,len), */
170 * that the amount to write is MIN(len,nldist).
181 s = MIN(len, nldist);
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dpoll.c32 #define MIN(x, y) ((x) > (y) ? (y) : (x)) macro
143 fds[i] = MIN(pair[0], pair[1]);
148 target = MIN(optr + optw, optn);
H A Dselect.c32 #define MIN(x, y) ((x) > (y) ? (y) : (x)) macro
143 fds[i] = MIN(pair[0], pair[1]);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wwan/usb_beceemwmx/
H A DBeceemNVM.h69 #ifndef MIN
70 #define MIN(_a, _b) ((_a) < (_b)? (_a): (_b)) macro
/haiku-fatelf/src/system/boot/platform/u-boot/
H A Dconsole.cpp98 x = MIN(79,MAX(0,x));
99 y = MIN(24,MAX(0,y));
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A Dmpa.h67 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro

Completed in 292 milliseconds

1234567