/external/llvm/unittests/Support/ |
BlockFrequencyTest.cpp | 12 BlockFrequency Freq(1); 14 Freq *= Prob; 15 EXPECT_EQ(Freq.getFrequency(), 0u); 17 Freq = BlockFrequency(1); 18 Freq *= Prob; 19 EXPECT_EQ(Freq.getFrequency(), 0u); 23 BlockFrequency Freq(1); 25 Freq *= Prob; 26 EXPECT_EQ(Freq.getFrequency(), 1u); 28 Freq = BlockFrequency(1) [all...] |
/external/compiler-rt/test/builtins/timing/ |
timing.h | 17 uint64_t freq = 0; 18 size_t freqSize = sizeof( freq ); 19 int err2 = sysctlbyname( "hw.cpufrequency", &freq, &freqSize, NULL, 0L ); 23 conversion = (double) freq * (1e-9 * (double) info.numer / (double) info.denom);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/attr/ |
test-record-period | 7 freq=0
|
test-record-count | 8 freq=0
|
/external/llvm/lib/Support/ |
BlockFrequency.cpp | 28 BlockFrequency Freq(Frequency); 29 Freq *= Prob; 30 return Freq; 39 BlockFrequency Freq(Frequency); 40 Freq /= Prob; 41 return Freq; 44 BlockFrequency &BlockFrequency::operator+=(const BlockFrequency &Freq) { 45 uint64_t Before = Freq.Frequency; 46 Frequency += Freq.Frequency; 57 BlockFrequency Freq(Frequency) [all...] |
/external/wpa_supplicant_8/src/ap/ |
dfs.h | 14 int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, 17 int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, 21 int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
|
dfs.c | 133 if (first_chan->freq + i * 20 != chan->freq) 430 static int set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state) 440 wpa_printf(MSG_DEBUG, "set_dfs_state 0x%X for %d MHz", state, freq); 443 if (chan->freq == freq) { 451 wpa_printf(MSG_WARNING, "Can't set DFS state for freq %d MHz", freq); 456 static int set_dfs_state(struct hostapd_iface *iface, int freq, int ht_enabled, 462 int frequency = freq; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
offchannel.h | 13 int offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, 17 unsigned int freq, const u8 *dst, 25 unsigned int freq, unsigned int duration); 27 unsigned int freq);
|
gas_query.h | 21 int freq); 36 int gas_query_req(struct gas_query *gas, const u8 *dst, int freq,
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
njd.h | 60 #define CALCULATE_HINDO(freq, base, high, div) \ 61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base))) 63 #define NORMALIZE_HINDO(freq, max, min) \ 64 (((freq) < (min)) ? (min) : (((freq) > (max)) ? (max) : (freq)))
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
EventRecurrenceTest.java | 38 verifyRecurType("FREQ=SECONDLY", 39 /* int freq */ EventRecurrence.SECONDLY, 59 verifyRecurType("FREQ=MINUTELY", 60 /* int freq */ EventRecurrence.MINUTELY, 80 verifyRecurType("FREQ=HOURLY", 81 /* int freq */ EventRecurrence.HOURLY, 101 verifyRecurType("FREQ=DAILY", 102 /* int freq */ EventRecurrence.DAILY, 122 verifyRecurType("FREQ=WEEKLY", 123 /* int freq */ EventRecurrence.WEEKLY [all...] |
RecurrenceSetTest.java | 38 + "RRULE:FREQ=DAILY;UNTIL=20080222T000000Z\n" 40 verifyPopulateContentValues(recurrence, "FREQ=DAILY;UNTIL=20080222T000000Z", null, 48 + "RRULE:FREQ=YEARLY;WKST=SU"; 49 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU", null, 57 + "RRULE:FREQ=YEARLY;WKST=SU"; 58 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU", null, 66 + "RRULE:FREQ=YEARLY;WKST=SU\n" 67 + "RRULE:FREQ=MONTHLY;COUNT=3\n" 69 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU\nFREQ=MONTHLY;COUNT=3", null, 92 + "RRULE:FREQ=YEARLY\n" [all...] |
RRuleTest.java | 151 "RRULE:FREQ=SECONDLY;BYSECOND=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14," + 162 runRecurrenceIteratorTest("RRULE:FREQ=DAILY", "20060120", 5, "20060120,20060121,20060122,20060123,20060124,..."); 167 runRecurrenceIteratorTest("RRULE:FREQ=WEEKLY", "20060120", 5, "20060120,20060127,20060203,20060210,20060217,..."); 172 runRecurrenceIteratorTest("RRULE:FREQ=MONTHLY", "20060120", 5, "20060120,20060220,20060320,20060420,20060520,..."); 177 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY", "20060120", 5, "20060120,20070120,20080120,20090120,20100120,...", null, "20120101", UTC); 183 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY;INTERVAL=2;BYMONTH=1;BYDAY=SU", "19970105", 8, "19970105,19970112,19970119,19970126," + "19990103,19990110,19990117,19990124,..."); 188 runRecurrenceIteratorTest("RRULE:FREQ=DAILY;COUNT=10;INTERVAL=2", "19970105", 11, "19970105,19970107,19970109,19970111,19970113," + "19970115,19970117,19970119,19970121,19970123"); 196 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10", "19970105", 5, "19971026,19981025,19991031,20001029,20011028,..."); 203 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4", "19970105", 5, "19970406,19980405,19990404,20000402,20010401,..."); 210 runRecurrenceIteratorTest("RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4;UNTIL=19980404T150000Z", "19970105", 5, "19970406") [all...] |
/external/chromium_org/tools/traceline/traceline/ |
rdtsc.h | 21 LARGE_INTEGER freq, now; local 22 if (QueryPerformanceFrequency(&freq) == 0) { 25 freq_ = freq.QuadPart;
|
/cts/suite/audio_quality/test_description/processing/ |
playback_sample.py | 48 freq = calc_freq(hostRecording, samplingRate) 49 print "Expected Freq ", signalFrequency, "Actual Freq ", freq, "Threshold % ", threshold 50 diff = abs(freq - signalFrequency) 55 outputData.append(freq)
|
/external/qemu/audio/ |
wavcapture.c | 9 int freq; member in struct:__anon32964 75 wav->freq, wav->bits, wav->nchannels, 84 int wav_start_capture (CaptureState *s, const char *path, int freq, 114 as.freq = freq; 129 le_store (hdr + 24, freq, 4); 130 le_store (hdr + 28, freq << shift, 4); 144 wav->freq = freq;
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
opj_clock.c | 44 LARGE_INTEGER freq , t ; local 45 /* freq is the clock speed of the CPU */ 46 QueryPerformanceFrequency(&freq) ; 47 /* cout << "freq = " << ((double) freq.QuadPart) << endl; */ 50 return ( t.QuadPart /(OPJ_FLOAT64) freq.QuadPart ) ;
|
/external/lzma/CPP/7zip/UI/Common/ |
Bench.h | 28 UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 freq, UInt64 size);
29 UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inSize, UInt32 numIterations);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
builtin-evlist.c | 39 OPT_BOOLEAN('F', "freq", &details.freq, "Show the sample frequency"), 55 if (details.event_group && (details.verbose || details.freq)) {
|
/external/lzma/C/ |
Ppmd7.c | 310 s->Freq = 1;
378 upState.Freq = ONE_STATE(c)->Freq;
384 cf = s->Freq - 1;
386 upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((2 * cf + 3 * s0 - 1) / (2 * s0))));
427 if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0)
434 if (s->Freq < 32)
435 s->Freq++;
443 if (s[0].Freq >= s[-1].Freq)
[all...] |
Ppmd.h | 35 UInt16 Summ; /* Freq */
36 Byte Shift; /* Speed of Freq change; low Shift is for fast change */
46 Byte Freq;
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_utils.c | 116 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) 119 if (freq >= 2412 && freq <= 2472) { 120 if ((freq - 2407) % 5) 124 *channel = (freq - 2407) / 5; 128 if (freq == 2484) { 134 if (freq >= 5180 && freq <= 5240) { 135 if ((freq - 5000) % 5) 139 *channel = (freq - 5000) / 5 292 int freq = p2p_channel_to_freq(op->reg_class, local 391 int freq = 0; local [all...] |
/external/deqp/framework/delibs/deutil/ |
deClock.c | 40 LARGE_INTEGER freq; local 43 QueryPerformanceFrequency(&freq); 44 DE_ASSERT(freq.LowPart != 0 || freq.HighPart != 0); 46 DE_ASSERT(freq.QuadPart >= 1000000); 47 return count.QuadPart / (freq.QuadPart / 1000000);
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
TimeUtils.cpp | 35 static LARGE_INTEGER freq; local 38 bNotInit = (QueryPerformanceFrequency( &freq ) == FALSE); 43 return currVal.QuadPart / (freq.QuadPart / 1000);
|
/external/qemu/util/ |
qemu-timer-common.c | 35 LARGE_INTEGER freq; local 37 ret = QueryPerformanceFrequency(&freq); 42 clock_freq = freq.QuadPart;
|