/system/libbase/include/android-base/ |
D | scopeguard.h | 26 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/ |
D | BiquadFilter.h | 61 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 …]
|
D | intrinsic_utils.h | 207 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 …]
|
D | TimestampVerifier.h | 34 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/ |
D | cbb3f32b.0 | 41 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
|
D | 073bfcc5.0 | 42 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
|
D | 2add47b6.0 | 43 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
|
D | e7c037b4.0 | 42 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
|
D | e48193cf.0 | 56 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
|
D | 5f9a69fa.0 | 45 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/ |
D | HeapWalker.h | 88 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/ |
D | access.h | 70 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/ |
D | parsers_formatters.rs | 29 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/ |
D | system_properties.rs | 111 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/ |
D | RuntimeInfo-target.cpp | 151 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()
|
D | VintfObjectUtils.h | 33 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/ |
D | utils.rs | 25 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/ |
D | tracing_subscriber_benchmark.rs | 26 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/ |
D | biquad_filter_benchmark.cpp | 419 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/ |
D | async_task.rs | 77 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()
|
D | raw_device.rs | 106 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()
|
D | gc.rs | 46 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/ |
D | apc_compat.rs | 152 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/ |
D | logging_splitters.h | 32 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/ |
D | android_keymaster_utils.h | 256 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()
|