Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 13 of 13) sorted by relevance

/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c28 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
87 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
89 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
119 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
121 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); in audio_vbuffer_read()
Dext_pcm.c39 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
120 const unsigned int byteCount = MIN(count - byteWritten, in mixer_pipeline_write()
/device/generic/goldfish/camera/
Dconverters.cpp47 #define CLAMP_SHIFT(X, MIN, MAX, S) \ argument
48 (((X) - (((X) > (MAX)) * ((X) - (MAX))) - (((X) < (MIN)) * ((MIN) - (X)))) >> (S))
/device/linaro/dragonboard/shared/utils/rmtfs/
Dstorage.c16 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
205 n = MIN((ssize_t)nbyte, (ssize_t)rmtfd->shadow_len - offset); in storage_pread()
Dutil.h4 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
Dutil.c23 linelen = MIN(16, len - i); in print_hex_dump()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_internal.h38 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro
Dril_service.cpp2157 int digitLimit= MIN((rcsm.sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in constructCdmaSms()
2166 digitLimit= MIN((rcsm.sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in constructCdmaSms()
2172 digitLimit= MIN((rcsm.uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in constructCdmaSms()
3409 int intervalLow = static_cast<int>(::android::hardware::radio::V1_2::ScanIntervalRange::MIN); in prepareNetworkScanRequest_1_2()
3412 static_cast<int>(::android::hardware::radio::V1_2::MaxSearchTimeRange::MIN); in prepareNetworkScanRequest_1_2()
3416 static_cast<int>(::android::hardware::radio::V1_2::IncrementalResultsPeriodicityRange::MIN); in prepareNetworkScanRequest_1_2()
4239 int intervalLow = static_cast<int>(V1_2::ScanIntervalRange::MIN); in prepareNetworkScanRequest_1_5()
4241 int maxSearchTimeLow = static_cast<int>(V1_2::MaxSearchTimeRange::MIN); in prepareNetworkScanRequest_1_5()
4244 static_cast<int>(V1_2::IncrementalResultsPeriodicityRange::MIN); in prepareNetworkScanRequest_1_5()
4321 ras_to.bands_length = MIN(geranBands.size(), MAX_BANDS); in prepareNetworkScanRequest_1_5()
[all …]
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/include/
DGoldfishAVCDec.h51 #define MIN(a, b) ((a) < (b)) ? (a) : (b) macro
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.h37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
DGoldfishH264Helper.cpp45 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.h37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
DGoldfishHevcHelper.cpp48 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro