/device/google/contexthub/util/sensortest/ |
sensortest.cpp | 28 int32_t rate; member in struct:SensorConfig 125 .rate = atoi(argv[currArgumentIndex+2]), 133 .rate = atoi(argv[currArgumentIndex+2]), 158 .rate = atoi(argv[currArgumentIndex+2]), 166 .rate = atoi(argv[currArgumentIndex+2]), 217 mSensorConfigList[i].rate, mSensorConfigList[i].reportLatency) < 0) { 218 printf("Unable to register sensor %d with rate %d and report latency %" PRId64 "\n", 219 mSensorConfigList[i].listIndex, mSensorConfigList[i].rate,
|
/external/iproute2/tc/ |
q_fq.c | 56 fprintf(stderr, " [ maxrate RATE ] [ buckets NUMBER ]\n"); 218 unsigned int rate, quantum; local 266 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_MAX_RATE]); 268 if (rate != ~0U) 269 fprintf(f, "maxrate %s ", sprint_rate(rate, b1)); 273 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_DEFAULT_RATE]); 275 if (rate != 0) 276 fprintf(f, "defrate %s ", sprint_rate(rate, b1));
|
q_hfsc.c | 54 "SC := [ [ umax BYTE ] dmax SEC ] rate BPS\n" 58 " rate : rate\n" 340 unsigned int umax = 0, dmax = 0, rate = 0; local 360 if (matches(*argv, "rate") == 0) { 362 if (get_rate(&rate, *argv) < 0) { 363 explain1("rate"); 374 if (dmax != 0 && ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) { 381 sc->m2 = rate; 385 * is at dmax - umax / rate [all...] |
/external/kernel-headers/original/uapi/rdma/ |
ib_user_sa.h | 70 __u8 rate; member in struct:ib_user_path_rec
|
/external/netperf/src/ |
netcpu_kstat.c | 41 idle. The rate at which this increments during a test is compared 259 rate[MAXTIMES], local 287 rate[i] = (float)0.0; 329 if (temp_rate > rate[i]) rate[i] = temp_rate; 331 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 334 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
netcpu_perfstat.c | 43 idle. The rate at which this increments during a test is compared 125 rate[MAXTIMES], local 166 rate[i] = (float)0.0; 254 if (temp_rate > rate[i]) rate[i] = temp_rate; 256 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 259 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
netcpu_pstat.c | 34 idle. The rate at which this increments during a test is compared 95 cpu rate to the calling routine. */ 108 rate[MAXTIMES], local 139 rate[i] = 0.0; 201 if (temp_rate > rate[i]) rate[i] = temp_rate; 203 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 206 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
/external/openssh/ |
misc.h | 116 u_int64_t rate, thresh, lamt; member in struct:bwlimit
|
/external/sonic/ |
Main.java | 25 float rate, 40 sonic.setRate(rate); 65 float rate = 1.0f; local 79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality,
|
/external/tinyalsa/ |
tinycap.c | 62 unsigned int channels, unsigned int rate, 78 unsigned int rate = 44100; local 87 "[-r rate] [-b bits] [-p period_size] [-n n_periods]\n", argv[0]); 111 rate = atoi(*argv); 140 header.sample_rate = rate; 158 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; 184 unsigned int channels, unsigned int rate, 196 config.rate = rate; 220 printf("Capturing sample: %u ch, %u hz, %u bit\n", channels, rate, [all...] |
/external/tinycompress/ |
cplay.c | 209 unsigned int channels, rate, bits; local 221 if (parse_mp3_header(&header, &channels, &rate, &bits) == -1) { 229 codec.sample_rate = rate; 231 fprintf(stderr, "invalid sample rate %d\n", rate); 285 printf("Format %u Channels %u, %u Hz, Bit Rate %d\n", 286 SND_AUDIOCODEC_MP3, channels, rate, bits);
|
/external/tremolo/Tremolo/ |
ivorbiscodec.h | 54 long rate; member in struct:vorbis_info 60 implies a fixed rate bitstream 66 may also be set to give a nominal rate.
|
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioMix.java | 339 // FIXME Can we eliminate this? Will AudioMix work with an unspecified sample rate? 340 int rate = AudioSystem.getPrimaryOutputSamplingRate(); local 341 if (rate <= 0) { 342 rate = 44100; 344 mFormat = new AudioFormat.Builder().setSampleRate(rate).build();
|
/frameworks/base/media/tests/audiotests/ |
shared_mem_test.cpp | 77 long rate = 44100; local 84 f0 = pow(2., 32.) * freq / (float)rate; 99 rate,
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
RateEstimatorTest.java | 48 final float rate = mEstimator.getRate(mTestStartTime - 1000L); local 49 assertFalse(Float.isInfinite(rate)); 50 assertFalse(Float.isNaN(rate)); 63 final float rate = mEstimator.getRate(mTestStartTime); local 64 assertFalse(Float.isInfinite(rate)); 65 assertFalse(Float.isNaN(rate)); 73 final float rate = mEstimator.getRate(nextEventTime); local 74 assertLessThan("Rate", rate, 20f); 82 final float rate = mEstimator.getRate(nextEventTime) local 91 final float rate = mEstimator.getRate(nextEventTime); local 100 final float rate = mEstimator.getRate(nextEventTime); local 110 final float rate = mEstimator.getRate(nextEventTime + 5000L); \/\/ two seconds later local 119 final float rate = mEstimator.getRate(nextEventTime); local 125 final float rate = mEstimator.getRate(mTestStartTime); local 132 final float rate = mEstimator.getRate(mTestStartTime+1); local 155 final float rate = mEstimator.update(time); local [all...] |
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
multiclass_pa.cpp | 118 // Compute the learning rate according to PA-I. 123 float rate = loss / twice_norm_square; local 124 if (rate > aggressiveness_) { 125 rate = aggressiveness_; 127 // VLOG(1) << "loss = " << loss << " rate = " << rate; 131 parameters_[target][i] += rate * inputs[i]; 133 parameters_[other_class][i] -= rate * inputs[i]; 151 // Compute the learning rate according to PA-I. 156 float rate = loss / twice_norm_square local [all...] |
/hardware/intel/common/utils/ISV/profile/ |
isv_profile.cpp | 51 mFrcRates[i].rate = FRC_RATE_1X; 73 FRC_RATE rate = FRC_RATE_1X; local 78 rate = mFrcRates[i].rate; 82 return rate; 224 if (!strcmp(atts[attIndex], "input") && !strcmp(atts[attIndex + 2], "rate")) { 227 mFrcRates[mCurrentFrcTab].rate = FRC_RATE_2X; 229 mFrcRates[mCurrentFrcTab].rate = FRC_RATE_2_5X; 231 mFrcRates[mCurrentFrcTab].rate = FRC_RATE_4X; 233 mFrcRates[mCurrentFrcTab].rate = FRC_RATE_1X [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_qclient.cpp | 277 ALOGW("%s: Ignoring binder request to change refresh-rate", 280 uint32_t rate = roundOff(refresh_rate); local 281 if((rate >= mdpHw.getMinFpsSupported() && 282 rate <= mdpHw.getMaxFpsSupported())) { 283 setRefreshRate(ctx, dpy, rate); 285 ALOGE("%s: Requested refresh-rate should be between \ 288 mdpHw.getMaxFpsSupported(), rate);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/ |
pcm_extplug.h | 106 * rate hw parameter; filled after hw_params is caled 108 unsigned int rate; member in struct:snd_pcm_extplug
|
pcm_rate.h | 3 * \brief External Rate-Converter-Plugin SDK 7 * External Rate-Converter-Plugin SDK 11 * ALSA external PCM rate-converter plugin SDK (draft version) 46 unsigned int rate; member in struct:snd_pcm_rate_side_info 58 /** Callback table of rate-converter */ 124 * Define the object entry for external PCM rate-converter plugins
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
pcm_extplug.h | 106 * rate hw parameter; filled after hw_params is caled 108 unsigned int rate; member in struct:snd_pcm_extplug
|
pcm_rate.h | 3 * \brief External Rate-Converter-Plugin SDK 7 * External Rate-Converter-Plugin SDK 11 * ALSA external PCM rate-converter plugin SDK (draft version) 46 unsigned int rate; member in struct:snd_pcm_rate_side_info 58 /** Callback table of rate-converter */ 124 * Define the object entry for external PCM rate-converter plugins
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rdma/ |
ib_user_sa.h | 70 __u8 rate; member in struct:ib_user_path_rec
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6730/ |
poc.c | 75 __u32 rate; member in struct:drm_tegra_constraint
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6731/ |
poc.c | 75 __u32 rate; member in struct:drm_tegra_constraint
|