Home
last modified time | relevance | path

Searched defs:f (Results 1 – 25 of 134) sorted by relevance

123456

/system/extras/libfec/
Dfec_open.cpp89 static int find_verity_offset(fec_handle *f, uint64_t *offset) in find_verity_offset()
99 static int parse_ecc_header(fec_handle *f, uint64_t offset) in parse_ecc_header()
198 static int parse_ecc(fec_handle *f, uint64_t offset) in parse_ecc()
220 static int get_squashfs_size(fec_handle *f, uint64_t *offset) in get_squashfs_size()
248 static int get_ext4_size(fec_handle *f, uint64_t *offset) in get_ext4_size()
275 static int get_fs_size(fec_handle *f, uint64_t *offset) in get_fs_size()
304 static int load_verity(fec_handle *f) in load_verity()
346 static int load_ecc(fec_handle *f) in load_ecc()
363 static int get_size(fec_handle *f) in get_size()
394 static void reset_handle(fec_handle *f) in reset_handle()
[all …]
Dfec_read.cpp69 static inline bool is_erasure(fec_handle *f, uint64_t offset, in is_erasure()
86 static inline bool is_zero(fec_handle *f, uint64_t offset) in is_zero()
107 static int __ecc_read(fec_handle *f, void *rs, uint8_t *dest, uint64_t offset, in __ecc_read()
208 static int ecc_init(fec_handle *f, rs_unique_ptr& rs, in ecc_init()
234 static ssize_t ecc_read(fec_handle *f, uint8_t *dest, size_t count, in ecc_read()
285 static ssize_t verity_read(fec_handle *f, uint8_t *dest, size_t count, in verity_read()
407 int fec_seek(struct fec_handle *f, int64_t offset, int whence) in fec_seek()
448 ssize_t fec_read(struct fec_handle *f, void *buf, size_t count) in fec_read()
520 ssize_t fec_pread(struct fec_handle *f, void *buf, size_t count, in fec_pread()
Dfec_verity.cpp181 bool hashtree_info::ecc_read_hashes(fec_handle *f, uint64_t hash_offset, in ecc_read_hashes()
204 int hashtree_info::verify_tree(const fec_handle *f, const uint8_t *root) { in verify_tree()
342 static int parse_table(fec_handle *f, uint64_t offset, uint32_t size, bool useecc) in parse_table()
468 static int rewrite_metadata(fec_handle *f, uint64_t offset) in rewrite_metadata()
496 static int validate_header(const fec_handle *f, const verity_header *header, in validate_header()
537 int verity_parse_header(fec_handle *f, uint64_t offset) in verity_parse_header()
627 int fec_verity_set_status(struct fec_handle *f, bool enabled) in fec_verity_set_status()
Davb_utils.cpp24 int parse_vbmeta_from_footer(fec_handle *f, std::vector<uint8_t> *vbmeta) { in parse_vbmeta_from_footer()
65 int parse_avb_image(fec_handle *f, const std::vector<uint8_t> &vbmeta) { in parse_avb_image()
Dfec_process.cpp22 fec_handle* f; member
40 ssize_t process(fec_handle* f, uint8_t* buf, size_t count, uint64_t offset, read_func func) { in process()
/system/vold/bench/
Dbenchgen.py188 fd, f, handle = extract_file(e, e.ret) variable
202 fd, f, handle = extract_file(e, e.args[0]) variable
208 fd, f, handle = extract_file(e, e.args[0]) variable
213 fd, f, handle = extract_file(e, e.args[0]) variable
218 fd, f, handle = extract_file(e, e.args[0]) variable
227 fd, f, handle = extract_file(e, e.args[0]) variable
236 fd, f, handle = extract_file(e, e.args[0]) variable
244 fd, f, handle = extract_file(e, e.args[0]) variable
252 fd, f, handle = extract_file(e, e.args[0]) variable
258 fd, f, handle = extract_file(e, e.args[0]) variable
[all …]
/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py66 def create_svg_node(process, callsite, depth, f, total_weight, height, color_scheme, nav): argument
122 def render_svg_nodes(process, flamegraph, depth, f, total_weight, height, color_scheme): argument
146 def render_search_node(f): argument
154 def render_unzoom_node(f): argument
164 def render_info_node(f): argument
176 def render_percent_node(f): argument
185 def render_svg(process, flamegraph, f, color_scheme): argument
/system/core/libutils/binder/
DErrors_test.cpp36 auto f = [](bool success, int* val) -> status_t { in TEST() local
54 auto f = [](bool success) -> Result<std::string, StatusT> { in TEST() local
70 auto f = [](bool success) -> Result<int, StatusT> { in TEST() local
92 auto f = [](bool success) -> Result<std::string, StatusT> { in TEST() local
114 auto f = [&](bool success) -> Result<size_t, StatusT> { in TEST() local
128 auto f = [&](bool success) -> Result<bool, StatusT> { in TEST() local
142 auto f = [&](bool success) -> Result<unsigned char, StatusT> { in TEST() local
162 auto f = [&](bool success) -> Result<IntContainer, StatusT> { in TEST() local
/system/media/audio_utils/include/audio_utils/
Dsafe_math.h47 inline constexpr unsigned float_as_unsigned(float f) { in float_as_unsigned()
59 inline constexpr bool safe_isnan(float f) { in safe_isnan()
69 inline constexpr bool safe_isinf(float f) { in safe_isinf()
Dprimitives.h779 static inline int16_t clamp16_from_float(float f) in clamp16_from_float()
824 static inline uint8_t clamp8_from_float(float f) in clamp8_from_float()
885 static inline int32_t clamp24_from_float(float f) in clamp24_from_float()
935 static inline int32_t clampq4_27_from_float(float f) in clampq4_27_from_float()
961 static inline int32_t clamp32_from_float(float f) in clamp32_from_float()
1040 static inline uint32_t u4_28_from_float(float f) in u4_28_from_float()
1064 static inline uint16_t u4_12_from_float(float f) in u4_12_from_float()
/system/librustutils/
Dinherited_fd.rs185 let f = fixture.open_new_file()?; in access_non_inherited_fd() localVariable
209 let f = fixture.fds[0]; in access_without_init_once() localVariable
217 let f = fixture.fds[0]; in double_ownership() localVariable
237 let f = fixture.fds[0]; in take_drop_retake() localVariable
255 let f = fixture.fds[0]; in cloexec() localVariable
/system/libbase/
Dfunction_ref_benchmark.cpp55 std::function<Func> f(testFunc); in BM_StdFunction() local
63 function_ref<Func> f(testFunc); in BM_FunctionRef() local
87 std::function<Func> f(bigFunc); in BM_BigStdFunction() local
95 function_ref<Func> f(bigFunc); in BM_BigFunctionRef() local
Dparsedouble_test.cpp46 float f; in TEST() local
/system/extras/tests/workloads/
Dpowerave.py24 f = open(argvrem[2], "r") variable
26 f = sys.stdin variable
/system/libbase/include/android-base/
Dscopeguard.h29 constexpr ScopeGuard(F f) : f_(std::move(f)), active_(true) {} in ScopeGuard()
63 auto make_scope_guard(F&& f) { in make_scope_guard()
/system/media/audio_utils/tests/
Dsample_tests.cpp27 static constexpr int signum(float f) in signum()
46 const float f = float_from_sample(in); in TEST() local
/system/timezone/input_tools/version/src/main/com/android/timezone/version/tools/
DCreateTzVersion.java61 File f = new File(args[0]); in main() local
98 private static Properties loadProperties(File f) throws IOException { in loadProperties()
/system/extras/verity/
Dgenerate_verity_key.c64 FILE *f = NULL; in convert_x509() local
124 FILE *f = NULL; in generate_key() local
/system/core/debuggerd/libdebuggerd/
Dgwp_asan.cpp151 BacktraceFrame* f = heap_object->add_allocation_backtrace(); in AddCauseProtos() local
160 BacktraceFrame* f = heap_object->add_deallocation_backtrace(); in AddCauseProtos() local
Dscudo.cpp123 BacktraceFrame* f = heap_object->add_allocation_backtrace(); in FillInCause() local
132 BacktraceFrame* f = heap_object->add_deallocation_backtrace(); in FillInCause() local
/system/chre/util/tests/
Dcopyable_fixed_size_vector_test.cc70 Foo f; in TEST() local
92 Foo f; in TEST() local
/system/extras/latencytop/
Dlatencytop.c175 FILE* f; in read_global_stats() local
233 FILE* f; in read_thread_stats() local
302 FILE* f; in set_latencytop() local
315 static struct latency_entry* read_latency_file(FILE* f, struct latency_entry* list) { in read_latency_file()
/system/core/debuggerd/test_permissive_mte/
Dmte_crash.cpp21 volatile char* f = (char*)malloc(1); in main() local
/system/core/libutils/include/utils/
DAndroidThreads.h99 inline bool createThread(thread_func_t f, void *a) { in createThread()
/system/memory/libmemunreachable/
DHeapWalker.h123 inline void HeapWalker::ForEachPtrInRange(const Range& range, F&& f) { in ForEachPtrInRange()
138 inline void HeapWalker::ForEachAllocation(F&& f) { in ForEachAllocation()

123456