Home
last modified time | relevance | path

Searched refs:power (Results 1 – 25 of 594) sorted by relevance

12345678910>>...24

/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Drealloc_unittest.cc70 int power = 1; in NextSize() local
71 while (power < size) { in NextSize()
72 power <<= 1; in NextSize()
76 if (size < power-1) { in NextSize()
77 return power-1; in NextSize()
78 } else if (size == power-1) { in NextSize()
79 return power; in NextSize()
81 assert(size == power); in NextSize()
82 return power+1; in NextSize()
Dmemalign_unittest.cc80 int power = 1; in NextSize() local
81 while (power < size) { in NextSize()
82 power <<= 1; in NextSize()
86 if (size < power-1) { in NextSize()
87 return power-1; in NextSize()
88 } else if (size == power-1) { in NextSize()
89 return power; in NextSize()
91 assert(size == power); in NextSize()
92 return power+1; in NextSize()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Drealloc_unittest.cc70 int power = 1; in NextSize() local
71 while (power < size) { in NextSize()
72 power <<= 1; in NextSize()
76 if (size < power-1) { in NextSize()
77 return power-1; in NextSize()
78 } else if (size == power-1) { in NextSize()
79 return power; in NextSize()
81 assert(size == power); in NextSize()
82 return power+1; in NextSize()
Dmemalign_unittest.cc80 int power = 1; in NextSize() local
81 while (power < size) { in NextSize()
82 power <<= 1; in NextSize()
86 if (size < power-1) { in NextSize()
87 return power-1; in NextSize()
88 } else if (size == power-1) { in NextSize()
89 return power; in NextSize()
91 assert(size == power); in NextSize()
92 return power+1; in NextSize()
/external/icu/icu4c/source/layout/
DOpenTypeUtilities.cpp62 le_int32 power = 1 << bit; in getTagOffset() local
63 le_int32 extra = recordCount - power; in getTagOffset()
64 le_int32 probe = power; in getTagOffset()
101 le_int32 power = 1 << bit; in getGlyphRangeIndex() local
102 le_int32 extra = recordCount - power; in getGlyphRangeIndex()
103 le_int32 probe = power; in getGlyphRangeIndex()
131 le_int32 power = 1 << highBit(count); in search() local
132 le_int32 extra = count - power; in search()
133 le_int32 probe = power; in search()
153 le_int32 power = 1 << highBit(count); in search() local
[all …]
DCoverageTables.cpp46 le_uint16 power = 1 << bit; in getGlyphCoverage() local
47 le_uint16 extra = count - power; in getGlyphCoverage()
48 le_uint16 probe = power; in getGlyphCoverage()
/external/chromium_org/extensions/browser/api/power/
Dpower_api_manager.cc19 LevelToPowerSaveBlockerType(core_api::power::Level level) { in LevelToPowerSaveBlockerType()
21 case core_api::power::LEVEL_SYSTEM: in LevelToPowerSaveBlockerType()
23 case core_api::power::LEVEL_DISPLAY: // fallthrough in LevelToPowerSaveBlockerType()
24 case core_api::power::LEVEL_NONE: in LevelToPowerSaveBlockerType()
48 core_api::power::Level level) { in AddRequest()
75 current_level_(core_api::power::LEVEL_SYSTEM) { in PowerApiManager()
87 core_api::power::Level new_level = core_api::power::LEVEL_SYSTEM; in UpdatePowerSaveBlocker()
90 if (it->second == core_api::power::LEVEL_DISPLAY) in UpdatePowerSaveBlocker()
Dpower_api.cc13 scoped_ptr<core_api::power::RequestKeepAwake::Params> params( in RunSync()
14 core_api::power::RequestKeepAwake::Params::Create(*args_)); in RunSync()
16 EXTENSION_FUNCTION_VALIDATE(params->level != core_api::power::LEVEL_NONE); in RunSync()
Dpower_api_manager.h43 core_api::power::Level level);
86 core_api::power::Level current_level_;
90 typedef std::map<std::string, core_api::power::Level> ExtensionLevelMap;
/external/webrtc/src/common_audio/vad/
Dvad_filterbank.c132 int16_t power = 0; in WebRtcVad_get_features() local
164 WebRtcVad_LogOfEnergy(hp_60, length, kOffsetVector[5], &power, in WebRtcVad_get_features()
168 WebRtcVad_LogOfEnergy(lp_60, length, kOffsetVector[4], &power, in WebRtcVad_get_features()
183 WebRtcVad_LogOfEnergy(hp_60, length, kOffsetVector[3], &power, in WebRtcVad_get_features()
198 WebRtcVad_LogOfEnergy(hp_120, length, kOffsetVector[2], &power, in WebRtcVad_get_features()
213 WebRtcVad_LogOfEnergy(hp_60, length, kOffsetVector[1], &power, in WebRtcVad_get_features()
220 WebRtcVad_LogOfEnergy(hp_120, length, kOffsetVector[0], &power, in WebRtcVad_get_features()
223 return power; in WebRtcVad_get_features()
229 int16_t* power, in WebRtcVad_LogOfEnergy() argument
269 if (*power <= MIN_ENERGY) { in WebRtcVad_LogOfEnergy()
[all …]
/external/chromium_org/components/
Dpower.gypi8 'target_name': 'power',
18 'power/origin_power_map.cc',
19 'power/origin_power_map.h',
20 'power/origin_power_map_factory.cc',
21 'power/origin_power_map_factory.h',
/external/chromium_org/third_party/leveldatabase/src/util/
Dcoding_test.cc29 for (int power = 0; power <= 63; power++) { in TEST() local
30 uint64_t v = static_cast<uint64_t>(1) << power; in TEST()
37 for (int power = 0; power <= 63; power++) { in TEST() local
38 uint64_t v = static_cast<uint64_t>(1) << power; in TEST()
108 const uint64_t power = 1ull << k; in TEST() local
109 values.push_back(power); in TEST()
110 values.push_back(power-1); in TEST()
111 values.push_back(power+1); in TEST()
/external/ppp/pppd/plugins/pppoatm/
Dtext2qos.c31 int power; in __t2q_get_rate() local
38 power = fract = 0; in __t2q_get_rate()
42 if (--power == -9) break; in __t2q_get_rate()
49 power += 3; in __t2q_get_rate()
54 while (power && fract) in __t2q_get_rate()
55 if (power < 0) { in __t2q_get_rate()
57 power++; in __t2q_get_rate()
61 power--; in __t2q_get_rate()
/external/chromium_org/components/power/
Dorigin_power_map.cc11 namespace power { namespace
28 void OriginPowerMap::AddPowerForOrigin(const GURL& url, double power) { in AddPowerForOrigin() argument
29 DCHECK_GE(power, 0); in AddPowerForOrigin()
34 origin_map_[origin] += power; in AddPowerForOrigin()
35 total_consumed_ += power; in AddPowerForOrigin()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DReverb.cpp63 float power = 0; in calculateNormalizationScale() local
68 power += channelPower; in calculateNormalizationScale()
71 power = sqrt(power / (numberOfChannels * length)); in calculateNormalizationScale()
74 if (std::isinf(power) || std::isnan(power) || power < MinPower) in calculateNormalizationScale()
75 power = MinPower; in calculateNormalizationScale()
77 float scale = 1 / power; in calculateNormalizationScale()
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
Dfast-dtoa.cc244 uint32_t* power, in BiggestPowerTen() argument
253 *power = kTen9; in BiggestPowerTen()
261 *power = kTen8; in BiggestPowerTen()
269 *power = kTen7; in BiggestPowerTen()
278 *power = kTen6; in BiggestPowerTen()
286 *power = kTen5; in BiggestPowerTen()
294 *power = kTen4; in BiggestPowerTen()
303 *power = 1000; in BiggestPowerTen()
311 *power = 100; in BiggestPowerTen()
319 *power = 10; in BiggestPowerTen()
[all …]
Dfixed-dtoa.cc86 int DivModPowerOf2(int power) { in DivModPowerOf2() argument
87 if (power >= 64) { in DivModPowerOf2()
88 int result = static_cast<int>(high_bits_ >> (power - 64)); in DivModPowerOf2()
89 high_bits_ -= static_cast<uint64_t>(result) << (power - 64); in DivModPowerOf2()
92 uint64_t part_low = low_bits_ >> power; in DivModPowerOf2()
93 uint64_t part_high = high_bits_ << (64 - power); in DivModPowerOf2()
96 low_bits_ -= part_low << power; in DivModPowerOf2()
/external/chromium_org/v8/src/
Dfast-dtoa.cc222 uint32_t* power, in BiggestPowerTen() argument
229 *power = kTen9; in BiggestPowerTen()
237 *power = kTen8; in BiggestPowerTen()
245 *power = kTen7; in BiggestPowerTen()
254 *power = kTen6; in BiggestPowerTen()
262 *power = kTen5; in BiggestPowerTen()
270 *power = kTen4; in BiggestPowerTen()
279 *power = 1000; in BiggestPowerTen()
287 *power = 100; in BiggestPowerTen()
295 *power = 10; in BiggestPowerTen()
[all …]
Dfixed-dtoa.cc64 int DivModPowerOf2(int power) { in DivModPowerOf2() argument
65 if (power >= 64) { in DivModPowerOf2()
66 int result = static_cast<int>(high_bits_ >> (power - 64)); in DivModPowerOf2()
67 high_bits_ -= static_cast<uint64_t>(result) << (power - 64); in DivModPowerOf2()
70 uint64_t part_low = low_bits_ >> power; in DivModPowerOf2()
71 uint64_t part_high = high_bits_ << (64 - power); in DivModPowerOf2()
74 low_bits_ -= part_low << power; in DivModPowerOf2()
/external/chromium_org/extensions/common/api/
Dpower.idl5 // Use the <code>chrome.power</code> API to override the system's power
7 namespace power {
18 // Requests that power management be temporarily disabled. |level|
19 // describes the degree to which power management should be disabled.
/external/tcpdump/tests/
Dieee802.11_exthdr.out3 10017245us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0*…
6 10086042us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0*…
9 10286542us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0*…
12 10352092us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0*…
15 10419253us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0*…
18 10487602us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0*…
21 13339435us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Authentication (Open System)-2:
24 13344925us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Assoc Response AID(1) :: Success…
/external/chromium_org/third_party/tlslite/tlslite/utils/
Dcryptomath.py202 def powMod(base, power, modulus): argument
204 power = gmpy.mpz(power)
206 result = pow(base, power, modulus)
210 def powMod(base, power, modulus): argument
211 if power < 0:
212 result = pow(base, power*-1, modulus)
216 return pow(base, power, modulus)
/external/chromium_org/chrome/browser/chromeos/policy/
Dauto_enrollment_client.cc346 int power = NextPowerOf2(modulus); in OnBucketDownloadRequestCompletion() local
347 if ((GG_INT64_C(1) << power) != modulus) { in OnBucketDownloadRequestCompletion()
350 << "(" << modulus << " vs 2^" << power << ")"; in OnBucketDownloadRequestCompletion()
355 << power; in OnBucketDownloadRequestCompletion()
356 } else if (power > power_limit_) { in OnBucketDownloadRequestCompletion()
358 << "modulus than the client accepts (" << power << " vs " in OnBucketDownloadRequestCompletion()
362 if (power <= current_power_) { in OnBucketDownloadRequestCompletion()
364 << power << ") that isn't larger than the first used (" in OnBucketDownloadRequestCompletion()
369 current_power_ = power; in OnBucketDownloadRequestCompletion()
/external/llvm/test/CodeGen/XCore/
Dfloat-intrinsics.ll109 define double @pow(double %F, double %power) {
112 %result = call double @llvm.pow.f64(double %F, double %power)
118 define float @powf(float %F, float %power) {
121 %result = call float @llvm.pow.f32(float %F, float %power)
125 define double @powi(double %F, i32 %power) {
128 %result = call double @llvm.powi.f64(double %F, i32 %power)
134 define float @powif(float %F, i32 %power) {
137 %result = call float @llvm.powi.f32(float %F, i32 %power)
/external/chromium_org/tools/perf/benchmarks/
Drobohornet_pro.py9 from metrics import power
22 power.PowerMetric.CustomizeBrowserOptions(options)
25 self._power_metric = power.PowerMetric(platform)

12345678910>>...24