/haiku/headers/posix/sys/ |
H A D | param.h | 17 #ifndef MIN 18 # define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
|
/haiku/headers/private/firewire/ |
H A D | firewirereg.h | 410 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
|
/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),
|
/haiku/src/add-ons/kernel/debugger/laplinkll/ |
H A D | laplinkll.cpp | 344 wanted = MIN(pktlen, *len);
|
/haiku/src/add-ons/kernel/drivers/bus/firewire/ |
H A D | fw_raw.c | 326 len = MIN(len, pbytes); 339 len = MIN(len, pbytes); 426 len = MIN(len, pbytes); 465 len = MIN(len, pbytes); 477 len = MIN(len, pbytes); 599 len = MIN(len, pbytes); 608 len = MIN(len, pbytes);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_aic.c | 443 MIN(MAX(rot_dir_path_att_db, ATH_AIC_MIN_ROT_DIR_ATT_DB), 446 MIN(MAX(rot_quad_path_att_db, ATH_AIC_MIN_ROT_QUAD_ATT_DB),
|
/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/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi.c | 3849 cmd.intval[i] = htole32(MIN(max, pmgt->intval[i])); 4059 return (MIN(dwell_time, bintval - WPI_CHANNEL_TUNE_TIME * 2)); 4178 nssid = MIN(ss->ss_nssid, WPI_SCAN_MAX_ESSIDS); 4181 essids[i].len = MIN(ss->ss_ssid[i].len, IEEE80211_NWID_LEN);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malohal.c | 460 blocksize = MIN(256, fw->datasize - count);
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | KLSI.cpp | 144 *numBytes = MIN(bytes, *numBytes - 2);
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | SuperBlock.cpp | 128 size_t len = MIN(sizeof(fCurrentData->s_label), bufferSize - 1);
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | RadeonProducer.cpp | 107 *value = MIN( *value, max_value );
|
/haiku/src/add-ons/screen_savers/butterfly/ |
H A D | Butterfly.cpp | 70 fScale = MIN(bounds.Width(), bounds.Height()) * 0.1f;
|
/haiku/src/apps/soundrecorder/ |
H A D | RecorderWindow.cpp | 619 fPlayLimit = MIN(fPlayFrames, 731 fPlayLimit = MIN(fPlayFrames, (off_t)(fTrackSlider->RightTime()
|
H A D | VolumeSlider.cpp | 144 fVolume = MIN(MAX(point.x, 11), fRight); 146 fVolume = MAX(MIN(fVolume,1), 0);
|
/haiku/src/bin/network/telnet/ |
H A D | ring.c | 72 #if !defined(MIN) 73 #define MIN(a,b) (((a)<(b))? (a):(b)) macro 74 #endif /* !defined(MIN) */ 282 i = MIN(count, ring_empty_consecutive(ring));
|
/haiku/src/bin/unzip/ |
H A D | fileio.c | 539 count = MIN(size, (unsigned)G.incnt); 1983 MIN(length, sizeof(G.autorun_command)-1)); 2033 MIN((unsigned)OUTBUFSIZ, comment_bytes_left))) == 0) 2203 MIN(length, 2 * AMIGA_FILENOTELEN - 1))) == 0)
|
H A D | list.c | 318 methnum = MIN(G.crec.compression_method, NUM_METHODS);
|
H A D | process.c | 653 ((error_in_archive = find_ecrec(__G__ MIN(G.ziplen,66000L))) != 0 || 1119 G.pInfo->hostnum = MIN(G.crec.version_made_by[1], NUM_HOSTS); 1120 /* extnum = MIN(crec.version_needed_to_extract[1], NUM_HOSTS); */
|
H A D | unzpriv.h | 2085 #ifndef MIN 2086 # define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
|