Home
last modified time | relevance | path

Searched refs:calc (Results 1 – 15 of 15) sorted by relevance

/aosp12/system/update_engine/common/
H A Dhash_calculator_unittest.cc48 HashCalculator calc; in TEST_F() local
49 calc.Update("hi", 2); in TEST_F()
50 calc.Finalize(); in TEST_F()
57 HashCalculator calc; in TEST_F() local
58 calc.Update("h", 1); in TEST_F()
59 calc.Update("i", 1); in TEST_F()
60 calc.Finalize(); in TEST_F()
67 HashCalculator calc; in TEST_F() local
68 calc.Update("h", 1); in TEST_F()
70 calc.Finalize(); in TEST_F()
[all …]
H A Dhash_calculator.cc86 HashCalculator calc; in RawHashOfBytes() local
87 TEST_AND_RETURN_FALSE(calc.Update(data, length)); in RawHashOfBytes()
88 TEST_AND_RETURN_FALSE(calc.Finalize()); in RawHashOfBytes()
89 *out_hash = calc.raw_hash(); in RawHashOfBytes()
106 HashCalculator calc; in RawHashOfFile() local
107 off_t res = calc.UpdateFile(name, length); in RawHashOfFile()
111 if (!calc.Finalize()) { in RawHashOfFile()
114 *out_hash = calc.raw_hash(); in RawHashOfFile()
/aosp12/art/test/530-checker-lse-ctor-fences/src/
H A DMain.java132 CalcCircleAreaOrCircumference calc = in calcCircleAreaOrCircumference() local
139 calc.value = Math.PI * Math.PI * radius; in calcCircleAreaOrCircumference()
142 calc.value = 2 * Math.PI * radius; in calcCircleAreaOrCircumference()
145 return calc.value; in calcCircleAreaOrCircumference()
/aosp12/system/update_engine/payload_generator/
H A Dpayload_signer.cc197 HashCalculator calc; in CalculateHashFromPayload() local
198 TEST_AND_RETURN_FALSE(calc.Update(payload.data(), metadata_size)); in CalculateHashFromPayload()
201 TEST_AND_RETURN_FALSE(calc.Update( in CalculateHashFromPayload()
204 TEST_AND_RETURN_FALSE(calc.Finalize()); in CalculateHashFromPayload()
205 *out_hash_data = calc.raw_hash(); in CalculateHashFromPayload()
/aosp12/hardware/google/pixel/vibrator/cs40l25/
H A DVibrator.cpp1078 auto calc = [](float intst, std::array<uint32_t, 2> v) -> uint32_t { in intensityToVolLevel() local
1083 volLevel = calc(intensity, mTickEffectVol); in intensityToVolLevel()
1088 volLevel = calc(intensity, mLongEffectVol); in intensityToVolLevel()
1099 volLevel = calc(intensity, mClickEffectVol); in intensityToVolLevel()
/aosp12/hardware/google/pixel/vibrator/cs40l26/
H A DVibrator.cpp1334 auto calc = [](float intst, std::array<uint32_t, 2> v) -> uint32_t { in intensityToVolLevel() local
1340 volLevel = calc(intensity, mTickEffectVol); in intensityToVolLevel()
1345 volLevel = calc(intensity, mLongEffectVol); in intensityToVolLevel()
1356 volLevel = calc(intensity, mClickEffectVol); in intensityToVolLevel()
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
H A Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
H A Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
H A Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
H A Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
H A Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
H A Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...