Home
last modified time | relevance | path

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

/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c27 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
86 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
88 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
118 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
120 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); in audio_vbuffer_read()
Dext_pcm.c35 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
100 unsigned int byteCount = MIN(count, in mixer_pipeline_write()
/device/linaro/dragonboard/qcom/rmtfs/
Dutil.h4 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
Dutil.c23 linelen = MIN(16, len - i); in print_hex_dump()
Dstorage.c16 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
204 n = MIN(nbyte, rmtfd->shadow_len - offset); in storage_pread()
/device/generic/goldfish/radio/libril/
Dril_internal.h38 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro
Dril_service.cpp1740 int digitLimit= MIN((rcsm.sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in constructCdmaSms()
1749 digitLimit= MIN((rcsm.sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in constructCdmaSms()
1755 digitLimit= MIN((rcsm.uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in constructCdmaSms()
7513 int digitLimit = MIN((rilMsg->sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in cdmaNewSmsInd()
7520 digitLimit= MIN((rilMsg->sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in cdmaNewSmsInd()
7523 digitLimit = MIN((rilMsg->uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in cdmaNewSmsInd()
7691 int num = MIN(recordsRil->numberOfInfoRecs, RIL_CDMA_MAX_NUMBER_OF_INFO_RECS); in cdmaInfoRecInd()
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.h51 #define MIN(a, b) ((a) < (b)) ? (a) : (b) macro
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp22 #ifndef MIN
23 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
90 *ptr = MIN(*ptr, GLClientState::MAX_TEXTURE_UNITS); in s_glGetIntegerv()
134 *ptr = MIN(*ptr, (GLfloat)GLClientState::MAX_TEXTURE_UNITS); in s_glGetFloatv()
173 *ptr = MIN(*ptr, GLClientState::MAX_TEXTURE_UNITS << 16); in s_glGetFixedv()
/device/linaro/dragonboard/audio/
Daudio_hw.c120 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
128 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
130 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
156 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
158 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); in audio_vbuffer_read()
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c123 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
131 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
133 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
159 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
161 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); in audio_vbuffer_read()
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp1875 int digitLimit= MIN((rcsm.sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in constructCdmaSms()
1884 digitLimit= MIN((rcsm.sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in constructCdmaSms()
1890 digitLimit= MIN((rcsm.uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in constructCdmaSms()
3103 int intervalLow = static_cast<int>(::android::hardware::radio::V1_2::ScanIntervalRange::MIN); in prepareNetworkScanRequest_1_2()
3106 static_cast<int>(::android::hardware::radio::V1_2::MaxSearchTimeRange::MIN); in prepareNetworkScanRequest_1_2()
3110 static_cast<int>(::android::hardware::radio::V1_2::IncrementalResultsPeriodicityRange::MIN); in prepareNetworkScanRequest_1_2()
3617 int intervalLow = static_cast<int>(V1_2::ScanIntervalRange::MIN); in prepareNetworkScanRequest_1_5()
3619 int maxSearchTimeLow = static_cast<int>(V1_2::MaxSearchTimeRange::MIN); in prepareNetworkScanRequest_1_5()
3622 static_cast<int>(V1_2::IncrementalResultsPeriodicityRange::MIN); in prepareNetworkScanRequest_1_5()
8889 int digitLimit = MIN((rilMsg->sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in cdmaNewSmsInd()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp1906 int digitLimit= MIN((rcsm.sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in constructCdmaSms()
1915 digitLimit= MIN((rcsm.sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in constructCdmaSms()
1921 digitLimit= MIN((rcsm.uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in constructCdmaSms()
3134 int intervalLow = static_cast<int>(::android::hardware::radio::V1_2::ScanIntervalRange::MIN); in prepareNetworkScanRequest_1_2()
3137 static_cast<int>(::android::hardware::radio::V1_2::MaxSearchTimeRange::MIN); in prepareNetworkScanRequest_1_2()
3141 static_cast<int>(::android::hardware::radio::V1_2::IncrementalResultsPeriodicityRange::MIN); in prepareNetworkScanRequest_1_2()
3774 int intervalLow = static_cast<int>(V1_2::ScanIntervalRange::MIN); in prepareNetworkScanRequest_1_5()
3776 int maxSearchTimeLow = static_cast<int>(V1_2::MaxSearchTimeRange::MIN); in prepareNetworkScanRequest_1_5()
3779 static_cast<int>(V1_2::IncrementalResultsPeriodicityRange::MIN); in prepareNetworkScanRequest_1_5()
9199 int digitLimit = MIN((rilMsg->sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in cdmaNewSmsInd()
[all …]
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp33 #ifndef MIN
34 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro