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

12345

/haiku/headers/posix/sys/
H A Dparam.h17 #ifndef MIN
18 # define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
/haiku/src/system/libnetwork/netresolv/
H A Dport_after.h10 #ifndef MIN
11 #define MIN(x,y) (((x) <= (y)) ? (x) : (y)) macro
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dsettings.c31 max_vnodes = MIN(max_vnodes, 1000000);
36 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));
H A Dparse_duckduckgo_html.c116 itemlen = MIN(itemlen, p - item - strlen(G_END_URL));
128 //itemlen = MIN(GR_MAX_NAME-1, itemlen);
129 itemlen = MIN(GR_MAX_NAME*4-1, itemlen);
171 itemlen = MIN(GR_MAX_URL-1, itemlen);
212 itemlen = MIN(GR_MAX_URL-1, itemlen);
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dbitops.h74 ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
/haiku/src/system/libroot/posix/unistd/
H A Dnice.c15 #include <sys/param.h> /* MAX(), MIN() */
31 priority = MIN(priority, NZERO - 1);
/haiku/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/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIHelper.cpp44 int requestSize = MIN(allocationLength, ccb->data_length) - offset;
50 bytes = MIN(size, requestSize);
51 bytes = MIN(bytes, sgList->size);
/haiku/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.cpp159 actualLength = MIN(sizeof(usb_port_status),
171 actualLength = MIN(sizeof(usb_port_status), transfer->DataLength());
194 actualLength = MIN(sizeof(usb_device_descriptor),
203 actualLength = MIN(sizeof(xhci_root_hub_configuration_s),
217 actualLength = MIN(sXHCIRootHubStrings[index].length,
226 actualLength = MIN(sizeof(usb_hub_descriptor),
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_vht.c376 val = MIN(val1, val2);
392 val = MIN(val1, val2);
403 val = MIN(val1, val2);
413 val = MIN(val1, val2);
423 val = MIN(val1, val2);
449 val = MIN(val1, val2);
463 val = MIN(val1, val2);
493 val = MIN(val1, val2);
504 val = MIN(val1, val2);
515 val = MIN(val
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/
H A Dsample.h119 #ifndef MIN
120 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
234 cw = MIN(WIFI_CW_MAX, (cw + 1) * 2);
/haiku/src/system/boot/platform/u-boot/
H A Dconsole.cpp90 x = MIN(80, MAX(1, x));
91 y = MIN(25, MAX(1, y));
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dmpa.h67 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
/haiku/src/apps/soundrecorder/
H A DVolumeSlider.cpp144 fVolume = MIN(MAX(point.x, 11), fRight);
146 fVolume = MAX(MIN(fVolume,1), 0);
/haiku/src/system/libroot/posix/glibc/misc/
H A Defgcvt_r.c104 n = __snprintf (buf, len, "%.*" FLOAT_FMT_FLAG "f", MIN (ndigit, NDIGIT_MAX),
209 if (APPEND (FUNC_PREFIX, fcvt_r) (value, MIN (ndigit, NDIGIT_MAX) - 1,
H A Defgcvt.c102 sprintf (buf, "%.*" FLOAT_FMT_FLAG "g", MIN (ndigit, NDIGIT_MAX), value);
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.h51 #ifndef MIN
52 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
/haiku/src/system/boot/platform/next_m68k/
H A Dconsole.cpp113 x = MIN(79,MAX(0,x));
114 y = MIN(24,MAX(0,y));
/haiku/src/kits/tracker/
H A DSelectionWindow.cpp192 = MAX(20, MIN(screen.Frame().right - 20 - Frame().Width(),
195 MIN(screen.Frame().bottom - 20 - Frame().Height(), windowPosition.y));
/haiku/src/system/boot/platform/atari_m68k/
H A Dconsole.cpp110 x = MIN(79,MAX(0,x));
111 y = MIN(24,MAX(0,y));

Completed in 462 milliseconds

12345