Home
last modified time | relevance | path

Searched refs:F (Results 1 – 25 of 188) sorted by relevance

12345678

/system/libbase/include/android-base/
Dscopeguard.h26 template <typename F>
29 constexpr ScopeGuard(F&& f) : f_(std::forward<F>(f)), active_(true) {} in ScopeGuard()
57 F f_;
61 template <typename F>
62 ScopeGuard<F> make_scope_guard(F&& f) { in make_scope_guard()
63 return ScopeGuard<F>(std::forward<F>(f)); in make_scope_guard()
/system/media/audio_utils/include/audio_utils/
DBiquadFilter.h61 template <typename T, typename F>
63 F coef_[5]; // these are stored with the denominator a's negated.
80 BiquadDirect2Transpose(const F& b0, const F& b1, const F& b2, const F& a1, const F& a2,
98 const F b0 = coef_[0]; // b0 in process()
99 const F b1 = coef_[1]; // b1 in process()
100 const F b2 = coef_[2]; // b2 in process()
101 const F negativeA1 = coef_[3]; // -a1 in process()
102 const F negativeA2 = coef_[4]; // -a2 in process()
233 template <typename T, typename F, bool SEPARATE_CHANNEL_OPTIMIZATION = false>
235 F coef_[5]; // these are stored as state-space converted.
[all …]
Dintrinsic_utils.h207 template<typename T, typename F>
208 static inline T vdupn(F f) { in vdupn()
244 template<typename T, typename F>
245 static inline T vld1(const F *f) { in vld1()
265 constexpr size_t subelements = sizeof(element_type) / sizeof(F); in vld1()
277 f += sizeof(r1) / sizeof(F); in vld1()
290 template<typename T, typename S, typename F>
291 static inline T vmla(T a, S b, F c) { in vmla()
299 template<typename T, typename F>
300 static inline T vmla(T a, T b, F c) { in vmla()
[all …]
DTimestampVerifier.h34 template <typename F /* frame count */, typename T /* time units */>
47 constexpr TimestampVerifier(const F (&frames)[N], const T (&timeNs)[N], uint32_t sampleRate) { in TimestampVerifier()
61 constexpr void add(F frames, T timeNs, uint32_t sampleRate) { in add()
139 const F newFrames = mTimestampEstimator.getYFromX((double)timeNs * 1e-9); in add()
251 using FrameTime = struct { F mFrames; T mTimeNs; }; // a "constexpr" pair
307 typename std::make_signed<F>::type, typename std::make_signed<T>::type>( in sub()
/system/ca-certificates/files/
Dcbb3f32b.041 keyid:89:8F:2F:A3:E8:2B:A0:14:54:7B:F3:56:B8:26:5F:67:38:0B:9C:D0
44 89:8F:2F:A3:E8:2B:A0:14:54:7B:F3:56:B8:26:5F:67:38:0B:9C:D0
54 SHA1 Fingerprint=9F:5F:D9:1A:54:6D:F5:0C:71:F0:EE:7A:BD:17:49:98:84:73:E2:39
D073bfcc5.042 keyid:A5:BB:4A:97:CE:B3:2B:7F:A4:31:DE:97:83:59:83:A6:6F:71:CB:DE
45 A5:BB:4A:97:CE:B3:2B:7F:A4:31:DE:97:83:59:83:A6:6F:71:CB:DE
55 SHA1 Fingerprint=57:73:A5:61:5D:80:B2:E6:AC:38:82:FC:68:07:31:AC:9F:B5:92:5A
D2add47b6.043 3D:E6:29:48:9B:EA:07:CA:21:44:4A:26:DE:6E:DE:D2:83:D0:9F:59
51 SHA1 Fingerprint=1F:24:C6:30:CD:A4:18:EF:20:69:FF:AD:4F:DD:5F:46:3A:1B:69:AA
De7c037b4.042 31:0A:90:8F:B6:C6:9D:D2:44:4B:80:B5:A2:E6:1F:B1:12:4F:1B:95
50 SHA1 Fingerprint=39:B4:6C:D5:FE:80:06:EB:E2:2F:4A:BB:08:33:A0:AF:DB:B9:DD:84
De48193cf.056 9D:93:C6:53:8B:5E:CA:AF:3F:9F:1E:0F:E5:99:95:BC:24:F6:94:8F
77 SHA1 Fingerprint=F9:B5:B6:32:45:5F:9C:BE:EC:57:5F:80:DC:E9:6E:2C:C7:B2:78:B7
D5f9a69fa.045 01:B9:2F:EF:BF:11:86:60:F2:4F:D0:41:6E:AB:73:1F:E7:D2:6E:49
53 SHA1 Fingerprint=62:FF:D9:9E:C0:65:0D:03:CE:75:93:D2:ED:3F:2D:32:C9:E3:E5:4A
/system/memory/libmemunreachable/
DHeapWalker.h88 template <class F>
89 void ForEachPtrInRange(const Range& range, F&& f);
91 template <class F>
92 void ForEachAllocation(F&& f);
122 template <class F>
123 inline void HeapWalker::ForEachPtrInRange(const Range& range, F&& f) { in ForEachPtrInRange()
137 template <class F>
138 inline void HeapWalker::ForEachAllocation(F&& f) { in ForEachAllocation()
/system/libziparchive/incfs_support/include/incfs_support/
Daccess.h70 template <class Ptr, class F>
71 auto access(Ptr ptr, F&& accessor) -> optional_result<Ptr, F> {
74 if constexpr (is_void_func<Ptr, F>) {
/system/librustutils/system_properties/
Dparsers_formatters.rs29 fn parse_list_with<T, F>(s: &str, f: F) -> Result<Vec<T>> in parse_list_with()
31 F: Fn(&str) -> Result<T>, in parse_list_with()
100 fn format_list_with<T, F>(v: &[T], f: F) -> String in format_list_with()
102 F: Fn(&T) -> String, in format_list_with()
/system/librustutils/
Dsystem_properties.rs111 pub fn read<T, F>(&mut self, mut f: F) -> Result<T> in read()
113 F: FnMut(&str, &str) -> anyhow::Result<T>, in read()
278 pub fn foreach<F>(mut f: F) -> Result<()> in foreach()
280 F: FnMut(&str, &str), in foreach()
282 extern "C" fn read_callback<F: FnMut(&str, &str)>( in foreach()
295 let ptr = res_p as *mut F; in foreach()
302 extern "C" fn foreach_callback<F: FnMut(&str, &str)>( in foreach()
311 Some(read_callback::<F>), in foreach()
321 Some(foreach_callback::<F>), in foreach()
/system/libvintf/
DRuntimeInfo-target.cpp151 using F = RuntimeInfo::FetchFlag; in fetchAllInformation() typedef
155 {F::CPU_VERSION | F::KERNEL_FCM, &RF::fetchVersion, "/proc/version"}, in fetchAllInformation()
156 {F::CONFIG_GZ, &RF::fetchKernelConfigs, "/proc/config.gz"}, in fetchAllInformation()
157 {F::CPU_INFO, &RF::fetchCpuInfo, "/proc/cpuinfo"}, in fetchAllInformation()
158 {F::POLICYVERS, &RF::fetchKernelSepolicyVers, "kernel sepolicy version"}, in fetchAllInformation()
159 {F::AVB, &RF::fetchAvb, "avb version"}, in fetchAllInformation()
DVintfObjectUtils.h33 template <typename T, typename F>
34 std::shared_ptr<const T> Get(const char* id, LockedSharedPtr<T>* ptr, const F& fetch,
/system/security/keystore2/src/database/
Dutils.rs25 pub fn with_rows_extract_one<'a, T, F>(rows: &mut Rows<'a>, row_extractor: F) -> Result<T> in with_rows_extract_one()
27 F: FnOnce(Option<&Row<'a>>) -> Result<T>, in with_rows_extract_one()
40 pub fn with_rows_extract_all<'a, F>(rows: &mut Rows<'a>, mut row_extractor: F) -> Result<()> in with_rows_extract_all()
42 F: FnMut(&Row<'a>) -> Result<()>, in with_rows_extract_all()
/system/extras/libatrace_rust/benchmark/src/
Dtracing_subscriber_benchmark.rs26 fn bench_with_subscriber<F>(c: &mut Criterion, name: &str, mut f: F) in bench_with_subscriber()
28 F: FnMut(), in bench_with_subscriber()
36 fn bench_with_filtering_subscriber<F>(c: &mut Criterion, name: &str, mut f: F) in bench_with_filtering_subscriber()
38 F: FnMut(), in bench_with_filtering_subscriber()
/system/media/audio_utils/benchmarks/
Dbiquad_filter_benchmark.cpp419 template <typename F>
425 std::vector<F> input(DATA_SIZE * channelCount); in BM_BiquadFilter()
426 std::vector<F> output(DATA_SIZE * channelCount); in BM_BiquadFilter()
427 std::array<F, android::audio_utils::kBiquadNumCoefs> coefs; in BM_BiquadFilter()
431 const F amplitude = isSubnormal ? std::numeric_limits<F>::min() * 0.1 : 1.; in BM_BiquadFilter()
441 F, true /* SAME_COEF_PER_CHANNEL */, StateSpaceChannelOptimizedOptions> in BM_BiquadFilter()
/system/security/keystore2/src/
Dasync_task.rs77 pub fn get_or_put_with<T: Any + Send, F>(&mut self, init: F) -> &mut T in get_or_put_with()
79 F: FnOnce() -> T, in get_or_put_with()
138 pub fn queue_hi<F>(&self, f: F) in queue_hi()
140 F: for<'r> FnOnce(&'r mut Shelf) + Send + 'static, in queue_hi()
149 pub fn queue_lo<F>(&self, f: F) in queue_lo()
151 F: FnOnce(&mut Shelf) + Send + 'static, in queue_lo()
158 pub fn add_idle<F>(&self, f: F) in add_idle()
160 F: Fn(&mut Shelf) + Send + Sync + 'static, in add_idle()
167 fn queue<F>(&self, f: F, hi_prio: bool) in queue() argument
169 F: for<'r> FnOnce(&'r mut Shelf) + Send + 'static, in queue()
Draw_device.rs106 pub fn create_and_store_key<F>( in create_and_store_key()
111 creator: F, in create_and_store_key() argument
114 F: FnOnce(&Strong<dyn IKeyMintDevice>) -> Result<KeyCreationResult, binder::Status>, in create_and_store_key()
175 pub fn lookup_or_generate_key<F>( in lookup_or_generate_key()
181 validate_characteristics: F, in lookup_or_generate_key() argument
184 F: FnOnce(&[KeyCharacteristics]) -> bool, in lookup_or_generate_key()
253 fn upgrade_keyblob_if_required_with<'a, T, F>( in upgrade_keyblob_if_required_with()
258 f: F, in upgrade_keyblob_if_required_with() argument
261 F: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_if_required_with()
Dgc.rs46 pub fn new_init_with<F>(async_task: Arc<AsyncTask>, init: F) -> Self in new_init_with()
48 F: FnOnce() -> ( in new_init_with()
/system/security/keystore2/apc_compat/
Dapc_compat.rs152 pub fn prompt_user_confirmation<F>( in prompt_user_confirmation()
158 cb: F, in prompt_user_confirmation() argument
161 F: FnOnce(u32, Option<&[u8]>, Option<&[u8]>) + 'static, in prompt_user_confirmation()
/system/libbase/
Dlogging_splitters.h32 template <typename F, typename... Args>
33 static void SplitByLines(const char* msg, const F& log_function, Args&&... args) { in SplitByLines()
48 template <typename F>
50 unsigned int line, const char* msg, const F& log_function) { in SplitByLogdChunks()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h256 template <class F> class final_action {
258 explicit final_action(F f) : f_(std::move(f)) {} in final_action()
262 F f_;
265 template <class F> inline final_action<F> finally(const F& f) { in finally()
266 return final_action<F>(f); in finally()

12345678