Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 1198) sorted by relevance

12345678910>>...48

/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dethtool.sh76 for speed in "${speeds_arr[@]}"; do
78 ethtool_set $h1 speed $speed autoneg off
79 ethtool_set $h2 speed $speed autoneg off
84 check_err $? "speed $speed autoneg off"
86 log_info "speed = $speed"
103 ethtool_set $h1 speed $speed1 autoneg off
104 ethtool_set $h2 speed $speed2 autoneg off
124 for speed in "${speeds_arr[@]}"; do
126 ethtool_set $h1 speed $speed autoneg off
131 check_err $? "h1-speed=$speed autoneg off, h2 autoneg on"
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dusbd_desc.c135 uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
136 uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
137 uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
138 uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
139 uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
140 uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
141 uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
144 uint8_t * USBD_FS_USRStringDesc(USBD_SpeedTypeDef speed, uint8_t idx, uint16_t *length);
148 uint8_t * USBD_FS_USR_BOSDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
273 uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) in USBD_FS_DeviceDescriptor() argument
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dusbd_desc.c135 uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
136 uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
137 uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
138 uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
139 uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
140 uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
141 uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
144 uint8_t * USBD_FS_USRStringDesc(USBD_SpeedTypeDef speed, uint8_t idx, uint16_t *length);
148 uint8_t * USBD_FS_USR_BOSDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
273 uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) in USBD_FS_DeviceDescriptor() argument
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DPlaybackParameters.java33 public final float speed; field in PlaybackParameters
42 public PlaybackParameters(float speed) { in PlaybackParameters() argument
43 Assertions.checkArgument(speed > 0); in PlaybackParameters()
44 this.speed = speed; in PlaybackParameters()
45 scaledUsPerMs = Math.round(speed * 1000f); in PlaybackParameters()
68 return this.speed == other.speed; in equals()
73 return Float.floatToRawIntBits(speed); in hashCode()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DSonicAudioProcessor.java57 private float speed; field in SonicAudioProcessor
77 speed = 1f; in SonicAudioProcessor()
96 public float setSpeed(float speed) { in setSpeed() argument
97 speed = Util.constrainValue(speed, MINIMUM_SPEED, MAXIMUM_SPEED); in setSpeed()
98 if (this.speed != speed) { in setSpeed()
99 this.speed = speed; in setSpeed()
102 return speed; in setSpeed()
134 return (long) ((double) speed * duration); in scaleDurationForSpeedup()
157 && (Math.abs(speed - 1f) >= CLOSE_THRESHOLD in isActive()
217 speed, in flush()
[all …]
DSonic.java37 private final float speed; field in Sonic
66 public Sonic(int inputSampleRateHz, int channelCount, float speed, int outputSampleRateHz) { in Sonic() argument
69 this.speed = speed; in Sonic()
120 outputFrameCount + (int) ((remainingFrameCount / speed + pitchFrameCount) / rate + 0.5f); in queueEndOfStream()
388 private int skipPitchPeriod(short[] samples, int position, float speed, int period) { in skipPitchPeriod() argument
391 if (speed >= 2.0f) { in skipPitchPeriod()
392 newFrameCount = (int) (period / (speed - 1.0f)); in skipPitchPeriod()
395 remainingInputToCopyFrameCount = (int) (period * (2.0f - speed) / (speed - 1.0f)); in skipPitchPeriod()
411 private int insertPitchPeriod(short[] samples, int position, float speed, int period) { in insertPitchPeriod() argument
414 if (speed < 0.5f) { in insertPitchPeriod()
[all …]
/external/lz4/tests/
DREADME.md7 - `fullbench` : Precisely measure speed for each lz4 inner functions
9 - `test-lz4-speed.py` : script for testing lz4 speed difference between commits
20 #### `test-lz4-speed.py` - script for testing lz4 speed difference between commits
23 Then it compiles all branches of lz4 and performs a speed benchmark for a given list of files (the …
25 If a new commit is found it is compiled and a speed benchmark for this commit is performed.
26 The results of the speed benchmark are compared to the previous results.
27 …ression or decompression speed for one of lz4 levels is lower than `lowerLimit` (an optional param…
31 - To be sure that speed results are accurate the script should be run on a "stable" target system w…
32 - Using the script with virtual machines can lead to large variations of speed results
33 - The speed benchmark is not performed until computers' load average is lower than `maxLoadAvg` (an…
[all …]
/external/curl/docs/cmdline-opts/
Dspeed-limit.d1 Long: speed-limit
3 Arg: <speed>
7 If a download is slower than this given speed (in bytes per second) for
8 speed-time seconds it gets aborted. speed-time is set with --speed-time and is
Dspeed-time.d1 Long: speed-time
7 If a download is slower than speed-limit bytes per second during a speed-time
8 period, the download gets aborted. If speed-time is used, the default
9 speed-limit will be 1 unless set with --speed-limit.
/external/sonic/
DSonic.java22 private float speed; field in Sonic
99 return speed; in getSpeed()
104 float speed) in setSpeed() argument
106 this.speed = speed; in setSpeed()
204 speed = 1.0f; in Sonic()
460 float s = speed/pitch; in flushStream()
808 float speed, in skipPitchPeriod() argument
813 if(speed >= 2.0f) { in skipPitchPeriod()
814 newSamples = (int)(period/(speed - 1.0f)); in skipPitchPeriod()
817 remainingInputToCopy = (int)(period*(2.0f - speed)/(speed - 1.0f)); in skipPitchPeriod()
[all …]
Dsonic.c26 float speed; member
91 return stream->speed; in sonicGetSpeed()
97 float speed) in sonicSetSpeed() argument
99 stream->speed = speed; in sonicSetSpeed()
264 stream->speed = 1.0f; in sonicCreateStream()
551 float speed = stream->speed/stream->pitch; in sonicFlushStream() local
554 (int)((remainingSamples/speed + stream->numPitchSamples)/rate + 0.5f); in sonicFlushStream()
959 float speed, in skipPitchPeriod() argument
965 if(speed >= 2.0f) { in skipPitchPeriod()
966 newSamples = period/(speed - 1.0f); in skipPitchPeriod()
[all …]
Dmain.c20 float speed, in runSonic() argument
33 sonicSetSpeed(stream, speed); in runSonic()
77 float speed = 1.0f; in main() local
108 speed = atof(argv[xArg]); in main()
109 printf("Setting speed to %0.2fX\n", speed); in main()
134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality, in main()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_speed_features.c63 int speed) { in set_good_speed_feature_framesize_dependent() argument
98 if (speed >= 1) { in set_good_speed_feature_framesize_dependent()
129 if (speed >= 2) { in set_good_speed_feature_framesize_dependent()
161 if (speed >= 3) { in set_good_speed_feature_framesize_dependent()
180 if ((speed >= 1) && (cpi->oxcf.pass == 2) && in set_good_speed_feature_framesize_dependent()
186 if (speed >= 4) { in set_good_speed_feature_framesize_dependent()
196 if (speed >= 5) { in set_good_speed_feature_framesize_dependent()
207 int speed) { in set_good_speed_feature_framesize_independent() argument
240 if (speed >= 1) { in set_good_speed_feature_framesize_independent()
260 sf->tx_domain_thresh = tx_dom_thresholds[(speed < 6) ? speed : 5]; in set_good_speed_feature_framesize_independent()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dqos_lib.sh5 local speed=$1; shift
8 if (($(echo "$speed < 1024" | bc))); then
12 speed=$(echo "scale=1; $speed / 1024" | bc)
15 echo "$speed${unit}"
/external/zstd/tests/
DREADME.md6 - `fullbench` : Precisely measure speed for each zstd inner functions
9 - `test-zstd-speed.py` : script for testing zstd speed difference between commits
64 #### `test-zstd-speed.py` - script for testing zstd speed difference between commits
69 Then it compiles all branches of zstd and performs a speed benchmark for a given list of files (the…
71 If a new commit is found it is compiled and a speed benchmark for this commit is performed.
72 The results of the speed benchmark are compared to the previous results.
73 …ression or decompression speed for one of zstd levels is lower than `lowerLimit` (an optional para…
77 - To be sure that speed results are accurate the script should be run on a "stable" target system w…
78 - Using the script with virtual machines can lead to large variations of speed results
79 - The speed benchmark is not performed until computers' load average is lower than `maxLoadAvg` (an…
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/
Dusbd_def.h203 uint8_t *(*GetDeviceDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
204 uint8_t *(*GetLangIDStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
205 uint8_t *(*GetManufacturerStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
206 uint8_t *(*GetProductStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
207 uint8_t *(*GetSerialStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
208 uint8_t *(*GetConfigurationStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
209 uint8_t *(*GetInterfaceStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
211 uint8_t *(*GetBOSDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/
Dusbd_def.h203 uint8_t *(*GetDeviceDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
204 uint8_t *(*GetLangIDStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
205 uint8_t *(*GetManufacturerStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
206 uint8_t *(*GetProductStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
207 uint8_t *(*GetSerialStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
208 uint8_t *(*GetConfigurationStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
209 uint8_t *(*GetInterfaceStrDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
211 uint8_t *(*GetBOSDescriptor)( USBD_SpeedTypeDef speed , uint16_t *length);
/external/skia/tools/skpbench/
D_hardware_android.py129 speed = freqs[int((len(freqs)-1) * self.desiredClock)]
134 …ho {speed} > /sys/devices/system/cpu/cpu{id}/cpufreq/scaling_setspeed'''.format(id=i, speed=speed))
150 speed = freqs[int((len(freqs)-1) * self.desiredClock)]
156 echo {speed} > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq'''.format(speed=speed))
/external/toybox/lib/
Dtty.c64 void xsetspeed(struct termios *tio, int speed) in xsetspeed() argument
72 for (i = 0; i < ARRAY_LEN(speeds); i++) if (speeds[i] == speed) break; in xsetspeed()
73 if (i == ARRAY_LEN(speeds)) error_exit("unknown speed: %d", speed); in xsetspeed()
79 int set_terminal(int fd, int raw, int speed, struct termios *old) in set_terminal() argument
111 if (speed) { in set_terminal()
118 for (i = 0; i < ARRAY_LEN(speeds); i++) if (speeds[i] == speed) break; in set_terminal()
119 if (i == ARRAY_LEN(speeds)) error_exit("unknown speed: %d", speed); in set_terminal()
126 void xset_terminal(int fd, int raw, int speed, struct termios *old) in xset_terminal() argument
128 if (-1 != set_terminal(fd, raw, speed, old)) return; in xset_terminal()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dmisc-redundant-expression.rst25 (speed - speed + 1 == 12) // speed - speed is always zero
/external/libaom/libaom/av1/encoder/
Dspeed_features.c127 const AV1_COMP *const cpi, SPEED_FEATURES *const sf, int speed) { in set_good_speed_feature_framesize_dependent() argument
158 if (speed >= 1) { in set_good_speed_feature_framesize_dependent()
177 if (speed >= 2) { in set_good_speed_feature_framesize_dependent()
205 if (speed >= 3) { in set_good_speed_feature_framesize_dependent()
218 if (speed >= 4) { in set_good_speed_feature_framesize_dependent()
232 if (speed >= 5) { in set_good_speed_feature_framesize_dependent()
243 int speed) { in set_rt_speed_feature_framesize_dependent() argument
252 if (speed >= 6) sf->rt_sf.force_tx_search_off = 1; in set_rt_speed_feature_framesize_dependent()
253 if (speed >= 8) { in set_rt_speed_feature_framesize_dependent()
259 if (speed >= 7) { in set_rt_speed_feature_framesize_dependent()
[all …]
/external/vboot_reference/tests/
Dsha_benchmark.c32 double speed; in main() local
46 speed = ((TEST_BUFFER_SIZE / 10e6) in main()
50 hash_functions[i].description, msecs, speed); in main()
52 hash_functions[i].description, speed); in main()
/external/perfetto/test/
Dend_to_end_benchmark.cc237 for (int speed = min_speed; speed <= max_speed; speed *= 2) { in ConstantRateProducerArgs() local
238 b->Args({message_count, 128, speed}); in ConstantRateProducerArgs()
239 b->Args({message_count, 256, speed}); in ConstantRateProducerArgs()
254 for (int speed = min_speed; speed <= max_speed; speed *= 2) { in ConstantRateConsumerArgs() local
255 b->Args({2, speed}); in ConstantRateConsumerArgs()
256 b->Args({4, speed}); in ConstantRateConsumerArgs()
/external/openssh/openbsd-compat/
Dbsd-nextstep.c91 cfsetospeed(struct termios *t,int speed) in cfsetospeed() argument
93 t->c_ospeed = speed; in cfsetospeed()
98 cfsetispeed(struct termios *t, int speed) in cfsetispeed() argument
100 t->c_ispeed = speed; in cfsetispeed()
/external/skia/samplecode/
DSampleCusp.cpp33 static SkPath cusp(const SkPoint P[4], SkPoint PP[7], bool& split, int speed, SkScalar phase) { in cusp() argument
36 SkScalar t = (curTime % speed) / SkIntToFloat(speed); in cusp()
54 static SkScalar linearToLoop(int speed, SkScalar phase, SkScalar scale) { in linearToLoop() argument
56 SkScalar linear = (curTime % speed) / SkIntToFloat(speed); // 0 to 1 in linearToLoop()

12345678910>>...48