/haiku/headers/posix/sys/ |
H A D | param.h | 17 #ifndef MIN 18 # define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
|
/haiku/src/system/libnetwork/netresolv/ |
H A D | port_after.h | 10 #ifndef MIN 11 #define MIN(x,y) (((x) <= (y)) ? (x) : (y)) macro
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | settings.c | 31 max_vnodes = MIN(max_vnodes, 1000000); 36 max_results = MIN(max_results, 1000);
|
H A D | ringbuff.c | 63 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 D | parse_duckduckgo_html.c | 116 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 D | bitops.h | 74 ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | nice.c | 15 #include <sys/param.h> /* MAX(), MIN() */ 31 priority = MIN(priority, NZERO - 1);
|
/haiku/src/add-ons/kernel/bus_managers/ata/ |
H A D | ATAHelper.cpp | 43 int requestSize = MIN(allocationLength, ccb->data_length) - offset; 49 bytes = MIN(size, requestSize); 50 bytes = MIN(bytes, sgList->size);
|
H A D | ATARequest.cpp | 123 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 D | VirtioSCSIHelper.cpp | 44 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 D | ehci_rh.cpp | 148 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 D | ohci_rh.cpp | 150 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 D | uhci_rh.cpp | 149 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 D | xhci_rh.cpp | 159 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 D | ieee80211_vht.c | 376 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 D | sample.h | 119 #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 D | console.cpp | 90 x = MIN(80, MAX(1, x)); 91 y = MIN(25, MAX(1, y));
|
/haiku/src/system/libroot/posix/glibc/arch/generic/ |
H A D | mpa.h | 67 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
|
/haiku/src/apps/soundrecorder/ |
H A D | VolumeSlider.cpp | 144 fVolume = MIN(MAX(point.x, 11), fRight); 146 fVolume = MAX(MIN(fVolume,1), 0);
|
/haiku/src/system/libroot/posix/glibc/misc/ |
H A D | efgcvt_r.c | 104 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 D | efgcvt.c | 102 sprintf (buf, "%.*" FLOAT_FMT_FLAG "g", MIN (ndigit, NDIGIT_MAX), value);
|
/haiku/src/apps/poorman/libhttpd/ |
H A D | libhttpd.h | 51 #ifndef MIN 52 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
|
/haiku/src/system/boot/platform/next_m68k/ |
H A D | console.cpp | 113 x = MIN(79,MAX(0,x)); 114 y = MIN(24,MAX(0,y));
|
/haiku/src/kits/tracker/ |
H A D | SelectionWindow.cpp | 192 = 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 D | console.cpp | 110 x = MIN(79,MAX(0,x)); 111 y = MIN(24,MAX(0,y));
|