/external/iptables/extensions/ |
libxt_limit.c | 108 static const struct rates struct 112 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 121 for (i = 1; i < ARRAY_SIZE(rates); ++i) 122 if (period > rates[i].mult 123 || rates[i].mult/period < rates[i].mult%period) 126 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
libxt_hashlimit.c | 311 static const struct rates struct 315 } rates[] = { { "day", XT_HASHLIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 324 for (i = 1; i < ARRAY_SIZE(rates); ++i) 325 if (period > rates[i].mult 326 || rates[i].mult/period < rates[i].mult%period) 329 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
/external/chromium_org/media/audio/cras/ |
cras_input_unittest.cc | 190 const unsigned int rates[] = local 193 for (unsigned int i = 0; i < ARRAY_SIZE(rates); i++) { 194 SCOPED_TRACE(testing::Message() << "Mono " << rates[i] << "Hz"); 197 rates[i], 203 for (unsigned int i = 0; i < ARRAY_SIZE(rates); i++) { 204 SCOPED_TRACE(testing::Message() << "Stereo " << rates[i] << "Hz"); 207 rates[i],
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
aac_rom.h | 97 extern const int rates[8];
|
/external/iproute2/misc/ |
ifstat.c | 221 double *rates = n->rate; local 229 rates = h1->rate; 237 fprintf(fp, "%llu %u ", vals[i], (unsigned)rates[i]); 247 void format_rate(FILE *fp, unsigned long long *vals, double *rates, int i) 257 if (rates[i] > mega) { 258 sprintf(temp, "%uM", (unsigned)(rates[i]/mega)); 260 } else if (rates[i] > kilo) { 261 sprintf(temp, "%uK", (unsigned)(rates[i]/kilo)); 264 fprintf(fp, "%-6u ", (unsigned)rates[i]);
|
/external/tcpdump/ |
print-802_11.c | 72 for (z = 0; z < p.rates.length ; z++) { \ 73 PRINT_RATE(sep, p.rates.rate[z], \ 74 (p.rates.rate[z] & 0x80 ? "*" : "")); \ 77 if (p.rates.length != 0) \ 122 "data rates in BSSBasicRateSet parameter", /* 18 */ 219 memcpy(&(pbody->rates), p + offset, 2); 221 if (pbody->rates.length != 0) { 222 if (pbody->rates.length > sizeof pbody->rates.rate) 224 if (!TTEST2(*(p + offset), pbody->rates.length) [all...] |
ieee802_11.h | 242 struct rates_t rates; member in struct:mgmt_body_t
|
/external/chromium_org/third_party/opus/src/tests/ |
test_opus_encode.c | 243 int rates[13]={6000,12000,48000,16000,32000,48000,64000,512000,13000,24000,48000,64000,96000}; local 245 rate=rates[j]+fast_rand()%rates[j]; 256 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed(); 298 int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,48000,88000}; local 302 rate=rates[j]+fast_rand()%rates[j];
|
/external/wpa_supplicant_8/wpa_supplicant/ |
bss.h | 126 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
bss.c | 1118 * wpa_bss_get_bit_rates - Get legacy TX rates supported in a BSS 1120 * @rates: Buffer for returning a pointer to the rates list (units of 500 kbps) 1121 * Returns: number of legacy TX rates or -1 on failure 1126 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates) 1148 *rates = r;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
aacenc.c | 378 for (i = 0; rates[i]; i++) 380 if (rates[i] >= bitrate) 445 for (i = 0; rates[i]; i++) 447 if (rates[i] >= bitrate)
|
/external/wpa_supplicant_8/src/drivers/ |
driver_test.c | [all...] |
driver_hostap.c | 1115 mode->rates = os_zalloc(rlen); 1116 if (mode->channels == NULL || mode->rates == NULL) { 1118 os_free(mode->rates); 1131 mode->rates[0] = 10; 1132 mode->rates[1] = 20; 1133 mode->rates[2] = 55; 1134 mode->rates[3] = 110;
|
driver_nl80211.c | 4333 struct nlattr *rates; local 6223 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
driver.h | 108 * num_rates - Number of entries in the rates array 113 * rates - Array of supported rates in 100 kbps units 115 int *rates; member in struct:hostapd_hw_modes 324 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes 326 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11 327 * Mbps from the support rates element(s) in the Probe Request frames 328 * and not to transmit the frames at any of those rates. 653 * basic_rates: -1 terminated array of basic rates in 100 kbps [all...] |
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 99 for (int[] rates : frameRates) { 100 logMessage(rates[0] + "-" + rates[1]);
|
/external/wpa_supplicant_8/src/ap/ |
hw_features.c | 41 os_free(hw_features[i].rates); 127 return 0; /* No basic rates for 11ad */ 158 mode->rates[i])) 162 rate->rate = mode->rates[i]; 174 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic " 756 * Sets up the hardware mode, channel, rates, and passive scanning
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ac97_codec.h | 401 /* rates indexes */ 495 unsigned int rates[6]; /* see AC97_RATES_* defines */ member in struct:snd_ac97 620 unsigned int rates; /* available rates */ member in struct:ac97_pcm 626 } r[2]; /* 0 = standard rates, 1 = double rates */
|
soc.h | 220 unsigned int rates; /* SNDRV_PCM_RATE_* */ member in struct:snd_soc_pcm_stream
|
pcm.h | 46 unsigned int rates; /* SNDRV_PCM_RATE_* */ member in struct:snd_pcm_hardware 106 /* If you change this don't forget to change rates[] table in pcm_native.c */ 122 #define SNDRV_PCM_RATE_KNOT (1<<31) /* supports more non-continuos rates */ [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ac97_codec.h | 401 /* rates indexes */ 495 unsigned int rates[6]; /* see AC97_RATES_* defines */ member in struct:snd_ac97 620 unsigned int rates; /* available rates */ member in struct:ac97_pcm 626 } r[2]; /* 0 = standard rates, 1 = double rates */
|
soc.h | 220 unsigned int rates; /* SNDRV_PCM_RATE_* */ member in struct:snd_soc_pcm_stream
|
pcm.h | 46 unsigned int rates; /* SNDRV_PCM_RATE_* */ member in struct:snd_pcm_hardware 106 /* If you change this don't forget to change rates[] table in pcm_native.c */ 122 #define SNDRV_PCM_RATE_KNOT (1<<31) /* supports more non-continuos rates */ [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 932 int rates[] = {Integer.MAX_VALUE, 0, 1000}; field in class:RadioInfo.CellInfoListRateHandler [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
wlioctl.h | 125 uint count; /* # rates in this set */ 126 uint8 rates[16]; /* rates in 500kbps units w/hi bit set if basic */ member in struct:wl_bss_info_107::__anon32679 127 } rateset; /* supported rates */ 158 uint count; /* # rates in this set */ 159 uint8 rates[16]; /* rates in 500kbps units w/hi bit set if basic */ member in struct:wl_bss_info_108::__anon32680 160 } rateset; /* supported rates */ 200 uint count; /* # rates in this set */ 201 uint8 rates[16]; /* rates in 500kbps units w/hi bit set if basic * member in struct:wl_bss_info::__anon32681 489 uint8 rates[WL_MAXRATES_IN_SET]; \/* rates in 500kbps units w\/hi bit set if basic *\/ member in struct:wl_rateset 494 uint8 rates[WL_MAXRATES_IN_SET]; \/* rates in 500kbps units w\/hi bit set if basic *\/ member in struct:wl_rateset_args 4704 uint16 rates; \/* Main Rates *\/ member in struct:__anon32753 [all...] |