Home
last modified time | relevance | path

Searched refs:hz (Results 1 – 25 of 221) sorted by relevance

123456789

/external/fdlibm/
De_fmod.c35 int n,hx,hy,hz,ix,iy,sx,i; local
103 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
104 if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;}
106 if((hz|lz)==0) /* return sign(x)*0 */
108 hx = hz+hz+(lz>>31); lx = lz+lz;
111 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
112 if(hz>=0) {hx=hz;lx=lz;}
Dk_cos.c71 double a,hz,z,r,qx; local
88 hz = 0.5*z-qx;
90 return a - (hz - (z*r-x*y));
/external/python/cpython2/Modules/cjkcodecs/
D_codecs_cn.c15 #undef hz
315 ENCODER_INIT(hz) in ENCODER_INIT() argument
321 ENCODER_RESET(hz) in ENCODER_RESET() argument
331 ENCODER(hz) in ENCODER() argument
374 DECODER_INIT(hz) in DECODER_INIT() argument
380 DECODER_RESET(hz) in DECODER_RESET() argument
386 DECODER(hz) in DECODER() argument
444 CODEC_STATEFUL(hz)
/external/python/cpython3/Modules/cjkcodecs/
D_codecs_cn.c15 #undef hz
336 ENCODER_INIT(hz) in ENCODER_INIT() argument
342 ENCODER_RESET(hz) in ENCODER_RESET() argument
352 ENCODER(hz) in ENCODER() argument
398 DECODER_INIT(hz) in DECODER_INIT() argument
404 DECODER_RESET(hz) in DECODER_RESET() argument
410 DECODER(hz) in DECODER() argument
467 CODEC_STATEFUL(hz)
/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp47 float hz = (p0.z() + p1.z()) * 0.5f; in drawQuadWithVaoBuffers() local
51 p0.x(), p1.y(), hz, 1.0f, in drawQuadWithVaoBuffers()
52 p1.x(), p0.y(), hz, 1.0f, in drawQuadWithVaoBuffers()
117 float hz = (p0.z() + p1.z()) * 0.5f; in drawQuadWithClientPointers() local
121 p0.x(), p1.y(), hz, 1.0f, in drawQuadWithClientPointers()
122 p1.x(), p0.y(), hz, 1.0f, in drawQuadWithClientPointers()
/external/ltp/testcases/kernel/syscalls/adjtimex/
Dadjtimex02.c17 static int hz; /* HZ from sysconf */ variable
51 buf->tick = 900000 / hz - 1; in verify_adjtimex()
55 buf->tick = 1100000 / hz + 1; in verify_adjtimex()
96 hz = SAFE_SYSCONF(_SC_CLK_TCK); in setup()
/external/rust/crates/libm/src/math/
Dk_cos.rs59 let hz = 0.5 * z; in k_cos() localVariable
60 let w = 1.0 - hz; in k_cos()
61 w + (((1.0 - w) - hz) + (z * r - x * y)) in k_cos()
/external/ltp/testcases/kernel/syscalls/clock_adjtime/
Dclock_adjtime02.c60 static long hz; variable
188 hz = SAFE_SYSCONF(_SC_CLK_TCK); in setup()
194 tc[i].highlimit /= hz; in setup()
195 tc[i].lowlimit /= hz; in setup()
Dclock_adjtime01.c59 static long hz; variable
180 hz = SAFE_SYSCONF(_SC_CLK_TCK); in setup()
187 tc[i].highlimit /= hz; in setup()
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Ddfs.h42 uint32_t ddr_set_rate(uint32_t hz);
43 uint32_t ddr_round_rate(uint32_t hz);
/external/webrtc/modules/audio_coding/codecs/
Dbuiltin_audio_decoder_factory_unittest.cc150 for (int hz : {8000, 16000, 32000, 48000}) { in TEST()
157 const bool good = (hz == 48000 && channels == 2 && in TEST()
161 SdpAudioFormat("opus", hz, channels, std::move(params)), in TEST()
/external/flac/src/utils/loudness/
Dloudness.sci82 hz=iir(2,'hp','butt',[150/fs,0],[1e-3 1e-3]);
83 b2=numer(hz); // b2=b2($:-1:1);
84 a2=denom(hz); // a2=a2($:-1:1);
/external/libwebsockets/lib/misc/
Dspawn.c120 long hz = sysconf(_SC_CLK_TCK); /* accounting Hz */ in lws_spawn_reap() local
184 lsp->accounting[0] = ((uint64_t)tms.tms_cstime * 1000000) / hz; in lws_spawn_reap()
185 lsp->accounting[1] = ((uint64_t)tms.tms_cutime * 1000000) / hz; in lws_spawn_reap()
186 lsp->accounting[2] = ((uint64_t)tms.tms_stime * 1000000) / hz; in lws_spawn_reap()
187 lsp->accounting[3] = ((uint64_t)tms.tms_utime * 1000000) / hz; in lws_spawn_reap()
/external/iproute2/bridge/
Dfdb.c242 int hz = get_user_hz(); in print_fdb() local
246 ci->ndm_used/hz); in print_fdb()
248 ci->ndm_updated/hz); in print_fdb()
250 fprintf(fp, "used %d/%d ", ci->ndm_used/hz, in print_fdb()
251 ci->ndm_updated/hz); in print_fdb()
/external/autotest/client/profilers/powertop/src/
Dcpufreqstats.c65 static char *HzToHuman(unsigned long hz) in HzToHuman() argument
71 Hz = hz; in HzToHuman()
/external/llvm-project/llvm/utils/benchmark/src/
Dsysinfo.cc514 unsigned long long hz = 0; in GetCPUCyclesPerSecond()
516 if (GetSysctl(FreqStr, &hz)) return hz * 1000000; in GetCPUCyclesPerSecond()
518 if (GetSysctl(FreqStr, &hz)) return hz; in GetCPUCyclesPerSecond()
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc554 unsigned long long hz = 0; in GetCPUCyclesPerSecond()
556 if (GetSysctl(FreqStr, &hz)) return hz * 1000000; in GetCPUCyclesPerSecond()
558 if (GetSysctl(FreqStr, &hz)) return hz; in GetCPUCyclesPerSecond()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dsysinfo.cc554 unsigned long long hz = 0; in GetCPUCyclesPerSecond()
556 if (GetSysctl(FreqStr, &hz)) return hz * 1000000; in GetCPUCyclesPerSecond()
558 if (GetSysctl(FreqStr, &hz)) return hz; in GetCPUCyclesPerSecond()
/external/libpcap/
Dpcap-dpdk.c176 uint64_t hz; member
258 pd->ts_helper.hz = rte_get_timer_hz(); in dpdk_init_timer()
259 if (pd->ts_helper.hz == 0){ in dpdk_init_timer()
270 cur_time.tv_sec = (time_t)(cycles/helper->hz); in calculate_timestamp()
271 cur_time.tv_usec = (suseconds_t)((cycles%helper->hz)*1e6/helper->hz); in calculate_timestamp()
/external/iproute2/ip/
Dipneigh.c297 int hz = get_user_hz(); in print_neigh() local
301 fprintf(fp, " used %d/%d/%d", ci->ndm_used/hz, in print_neigh()
302 ci->ndm_confirmed/hz, ci->ndm_updated/hz); in print_neigh()
/external/bzip2/
Dblocksort.c80 #define fpush(lz,hz) { stackLo[sp] = lz; \ argument
81 stackHi[sp] = hz; \
84 #define fpop(lz,hz) { sp--; \ argument
86 hz = stackHi[sp]; }
596 #define mpush(lz,hz,dz) { stackLo[sp] = lz; \ argument
597 stackHi[sp] = hz; \
601 #define mpop(lz,hz,dz) { sp--; \ argument
603 hz = stackHi[sp]; \
/external/google-benchmark/src/
Dsysinfo.cc616 unsigned long long hz = 0; in GetCPUCyclesPerSecond()
618 if (GetSysctl(FreqStr, &hz)) return hz * 1000000; in GetCPUCyclesPerSecond()
620 if (GetSysctl(FreqStr, &hz)) return hz; in GetCPUCyclesPerSecond()
/external/usrsctp/usrsctplib/
Duser_environment.h54 extern int hz;
/external/python/cpython2/Lib/plat-sunos5/
DTYPES.py275 def TICK_TO_SEC(tick): return ((tick) / hz)
277 def SEC_TO_TICK(sec): return ((sec) * hz)
/external/arm-trusted-firmware/drivers/st/spi/
Dstm32_qspi.c364 static int stm32_qspi_set_speed(unsigned int hz) in stm32_qspi_set_speed() argument
375 if (hz > 0U) { in stm32_qspi_set_speed()
376 prescaler = div_round_up(qspi_clk, hz) - 1U; in stm32_qspi_set_speed()

123456789