Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/system/tools/hidl/build/
DfqName.go36 func parseFqName(f string) (*fqName, error) {
37 matches := re_package.FindAllStringSubmatch(f, 3)
40 …return nil, errors.New("Poorly formed hal interface name: '" + f + "' must match '" + re_package.S…
52 func (f *fqName) inPackage(pkg string) bool {
55 if len(components) > len(f.packageComponents) {
60 if f.packageComponents[i] != v {
68 func (f *fqName) pkg() string {
69 return strings.Join(f.packageComponents, ".")
71 func (f *fqName) version() string {
72 return f.major + "." + f.minor
[all …]
/system/extras/libfec/
Dfec_open.cpp89 static int find_verity_offset(fec_handle *f, uint64_t *offset) in find_verity_offset() argument
91 check(f); in find_verity_offset()
94 return find_offset(f->data_size, 0, offset, get_verity_size, in find_verity_offset()
99 static int parse_ecc_header(fec_handle *f, uint64_t offset) in parse_ecc_header() argument
101 check(f); in parse_ecc_header()
102 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM); in parse_ecc_header()
103 check(f->size > sizeof(fec_header)); in parse_ecc_header()
107 if (offset > f->size - sizeof(fec_header)) { in parse_ecc_header()
115 if (!raw_pread(f->fd, &header, sizeof(fec_header), offset)) { in parse_ecc_header()
138 if (f->ecc.roots != (int)header.roots) { in parse_ecc_header()
[all …]
Dfec_read.cpp69 static inline bool is_erasure(fec_handle *f, uint64_t offset, in is_erasure() argument
72 if (unlikely(offset >= f->data_size)) { in is_erasure()
82 return !f->hashtree().check_block_hash_with_index(n, data); in is_erasure()
86 static inline bool is_zero(fec_handle *f, uint64_t offset) in is_zero() argument
88 auto hashtree = f->hashtree(); in is_zero()
90 if (hashtree.hash_data.empty() || unlikely(offset >= f->data_size)) { in is_zero()
107 static int __ecc_read(fec_handle *f, void *rs, uint8_t *dest, uint64_t offset, in __ecc_read() argument
111 ecc_info *e = &f->ecc; in __ecc_read()
122 check(!use_erasures || !f->hashtree().hash_data.empty()); in __ecc_read()
136 if (likely(interleaved < e->start) && !is_zero(f, interleaved)) { in __ecc_read()
[all …]
Dfec_verity.cpp181 bool hashtree_info::ecc_read_hashes(fec_handle *f, uint64_t hash_offset, in ecc_read_hashes() argument
184 check(f); in ecc_read_hashes()
187 fec_pread(f, hash, digest_length_, hash_offset) != digest_length_) { in ecc_read_hashes()
195 if (fec_pread(f, data, FEC_BLOCKSIZE, data_offset) != FEC_BLOCKSIZE) { in ecc_read_hashes()
204 int hashtree_info::verify_tree(const fec_handle *f, const uint8_t *root) { in verify_tree() argument
205 check(f); in verify_tree()
217 check(hash_start + hash_size <= f->data_size); in verify_tree()
223 if (!raw_pread(f->fd, data, FEC_BLOCKSIZE, hash_offset) || in verify_tree()
226 if (!ecc_read_hashes(const_cast<fec_handle *>(f), 0, nullptr, in verify_tree()
231 } else if (f->mode & O_RDWR && in verify_tree()
[all …]
Davb_utils.cpp24 int parse_vbmeta_from_footer(fec_handle *f, std::vector<uint8_t> *vbmeta) { in parse_vbmeta_from_footer() argument
25 if (f->size <= AVB_FOOTER_SIZE) { in parse_vbmeta_from_footer()
26 debug("file size not large enough to be avb images:" PRIu64, f->size); in parse_vbmeta_from_footer()
31 if (!raw_pread(f->fd, &footer_read, AVB_FOOTER_SIZE, in parse_vbmeta_from_footer()
32 f->size - AVB_FOOTER_SIZE)) { in parse_vbmeta_from_footer()
44 check(vbmeta_offset <= f->size - sizeof(footer) - vbmeta_size); in parse_vbmeta_from_footer()
48 if (!raw_pread(f->fd, vbmeta_data.data(), vbmeta_data.size(), in parse_vbmeta_from_footer()
65 int parse_avb_image(fec_handle *f, const std::vector<uint8_t> &vbmeta) { in parse_avb_image() argument
124 f->size - hashtree_descriptor.fec_size); in parse_avb_image()
126 f->data_size = hashtree_descriptor.fec_offset; in parse_avb_image()
[all …]
/system/ca-certificates/files/
D53a1b57a.047 00:f4:1e:7f:52:73:32:0c:73:e4:bd:13:74:a3:d4:
51 f9:e2:dc:2f:55:c8:37:3f:1f:a4:c0:9c:b3:e4:77:
53 bd:94:57:3a:ba:ec:79:e7:5f:7d:42:64:39:7a:26:
54 36:f7:24:f0:d5:2f:ba:95:98:11:66:ad:97:35:d6:
55 75:01:80:e0:af:f4:84:61:8c:0d:1e:5f:7c:87:96:
57 bb:da:1f:2a:dd:52:46:64:39:f3:42:ce:d9:9e:0c:
58 b3:b0:77:97:64:9c:c0:f4:a3:2e:1f:95:07:b0:17:
62 50:dc:03:8f:83:3f:b2:42:57:5a:db:6a:e9:11:97:
63 dd:85:28:bc:30:4c:ab:e3:c2:b1:45:44:47:1f:e0:
64 8a:16:07:96:d2:21:0f:53:c0:ed:a9:7e:d4:4e:ec:
[all …]
Dd16a5865.150 00:ca:96:6b:8e:ea:f8:fb:f1:a2:35:e0:7f:4c:da:
51 e0:c3:52:d7:7d:b6:10:c8:02:5e:b3:43:2a:c4:4f:
53 20:42:e4:8b:0f:e6:df:5b:a6:03:92:2f:f5:11:e4:
54 62:d7:32:71:38:d9:04:0c:71:ab:3d:51:7e:0f:07:
55 df:63:05:5c:e9:bf:94:6f:c1:29:82:c0:b4:da:51:
57 bf:c3:84:77:fd:a8:50:f4:b1:e7:c6:2f:d2:2d:59:
59 83:0c:37:1f:c9:92:37:7f:d7:81:2d:e5:c4:b9:e0:
61 0f:70:06:3e:20:18:5a:ce:f7:72:1b:25:6c:93:74:
62 14:93:a3:73:b1:0e:aa:87:10:23:59:5f:20:05:19:
64 cf:e1:5f:af:20:be:a0:76:7f:76:e5:ec:1a:86:61:
[all …]
D304d27c3.047 00:c5:e6:2b:6f:7c:ef:26:05:27:a3:81:24:da:6f:
52 7a:ec:77:93:a0:8f:23:ae:0e:1a:03:7f:be:d4:d0:
55 33:46:b6:54:11:a6:a5:2f:22:54:2a:58:0d:01:02:
56 f1:fa:15:51:67:6c:c0:fa:d7:b6:1b:7f:d1:56:88:
57 2f:1a:3a:8d:3b:bb:82:11:e0:47:00:d0:52:87:ab:
58 fb:86:7e:0f:24:6b:40:9d:34:67:bc:8d:c7:2d:86:
59 6f:79:3e:8e:a9:3c:17:4b:7f:b0:99:e3:b0:71:60:
63 8d:fa:32:23:b6:6f:b7:48:95:08:b1:44:4e:85:8c:
64 3a:02:54:20:2f:df:bf:57:4f:3b:3a:90:21:d7:c1:
65 26:35:54:20:ec:c7:3f:47:ec:ef:5a:bf:4b:7a:c1:
[all …]
D5f47b495.049 6f:51:3b:9f:0a:5a:c9:c2:48:38:0a:c2:1c:a0:18:
50 7f:91:b5:87:b9:40:3f:dd:1d:68:1f:08:83:d5:2d:
51 1e:88:a0:f8:8f:56:8f:6d:99:02:92:90:16:d5:5f:
53 4d:00:96:5a:6f:2f:c0:44:7e:a3:0e:e4:91:cd:58:
54 ee:dc:fb:c7:1e:45:47:dd:27:b9:08:01:9f:a6:21:
55 1d:f5:41:2d:2f:4c:fd:28:ad:e0:8a:ad:22:b4:56:
56 65:8e:86:54:8f:93:43:29:de:39:46:78:a3:30:23:
58 9f:80:5a:5b:3a:bd:c9:a7:22:3f:80:27:33:5b:0e:
60 c5:cc:cc:2e:8e:dd:2a:ed:b7:7d:66:0d:5f:61:51:
62 c8:5b:a1:cc:89:1b:e1:30:26:fc:a0:9b:1f:81:a7:
[all …]
Dc44cc0c0.051 cd:e7:a4:03:a9:3f:11:b4:d8:2f:89:16:fb:94:01:
52 3d:bb:2f:f8:13:05:a1:78:1c:8e:28:e0:45:e0:83:
55 dc:9f:31:77:5c:bf:27:a3:fc:27:ac:b7:2b:bd:74:
58 6d:93:e9:3f:3a:ee:3a:7c:9d:58:9d:f4:4e:8f:fc:
60 a7:29:54:80:cf:44:5b:4c:6f:30:9e:f3:cc:dd:1f:
61 94:43:9d:4d:7f:70:70:0d:d4:3a:d1:37:f0:6c:9d:
63 7f:e3:5c:e9:d5:0d:d5:e2:7c:10:62:aa:6b:f0:3d:
64 76:f3:3f:a3:e8:b0:c1:fd:ef:aa:57:4d:ac:86:a7:
66 5c:2f:f2:7f:ef:15:f4:0c:15:ac:0a:b0:f1:d3:0d:
67 4f:6a:4d:77:97:01:a0:f1:66:b7:b7:ce:ef:ce:ec:
[all …]
D5046c355.048 00:c4:f1:87:7f:d3:78:31:f7:38:c9:f8:c3:99:43:
49 bc:c7:f7:bc:37:e7:4e:71:ba:4b:8f:a5:73:1d:5c:
50 6e:98:ae:03:57:ae:38:37:43:2f:17:3d:1f:c8:ce:
55 92:cb:f0:49:92:fe:85:0a:05:3e:e6:d9:0b:e2:4f:
56 bb:dc:95:37:fc:91:e9:32:35:22:d1:1f:3a:4e:27:
59 4a:1f:36:67:bb:48:e4:83:b6:37:eb:48:3a:af:0f:
60 67:8f:17:07:e8:04:ca:ef:6a:31:87:d4:c0:b6:f9:
64 a9:c4:31:64:1f:86:83:0b:2a:f4:35:0a:78:c9:55:
65 cf:41:b0:47:e9:30:9f:99:be:61:a8:06:84:b9:28:
66 7a:5f:38:d9:1b:a9:38:b0:83:7f:73:c1:c3:3b:48:
[all …]
Dd16a5865.050 00:ca:96:6b:8e:ea:f8:fb:f1:a2:35:e0:7f:4c:da:
51 e0:c3:52:d7:7d:b6:10:c8:02:5e:b3:43:2a:c4:4f:
53 20:42:e4:8b:0f:e6:df:5b:a6:03:92:2f:f5:11:e4:
54 62:d7:32:71:38:d9:04:0c:71:ab:3d:51:7e:0f:07:
55 df:63:05:5c:e9:bf:94:6f:c1:29:82:c0:b4:da:51:
57 bf:c3:84:77:fd:a8:50:f4:b1:e7:c6:2f:d2:2d:59:
59 83:0c:37:1f:c9:92:37:7f:d7:81:2d:e5:c4:b9:e0:
61 0f:70:06:3e:20:18:5a:ce:f7:72:1b:25:6c:93:74:
62 14:93:a3:73:b1:0e:aa:87:10:23:59:5f:20:05:19:
64 cf:e1:5f:af:20:be:a0:76:7f:76:e5:ec:1a:86:61:
[all …]
D9282e51c.047 00:d7:5d:6b:cd:10:3f:1f:05:59:d5:05:4d:37:b1:
49 52:d7:51:64:70:16:c2:55:69:4d:8e:15:6d:9f:bf:
52 e9:5d:3d:ee:a1:2f:a3:f7:2a:3c:c9:23:1d:6a:ab:
53 1d:a1:a7:f1:f3:ec:a0:d5:44:cf:15:cf:72:2f:1d:
55 2e:49:df:90:cd:b8:5f:be:3f:de:a1:ca:4d:20:d4:
56 25:e8:84:29:53:b7:b1:88:1f:ff:fa:da:90:9f:0a:
57 a9:2d:41:3f:b1:f1:18:29:ee:16:59:2c:34:49:1a:
60 46:ac:c4:63:eb:6f:7f:36:2b:34:73:12:94:7f:df:
61 cc:26:9e:f1:72:5d:50:65:59:8f:69:b3:87:5e:32:
62 6f:c3:18:8a:b5:95:8f:b0:7a:37:de:5a:45:3b:c7:
[all …]
Dedcbddb5.052 02:3e:e6:63:61:df:f2:0f:82:63:ae:a3:f7:ac:73:
53 d1:7c:e7:b3:0b:af:08:00:09:59:7f:cd:29:2a:88:
54 93:87:17:18:80:ed:88:b2:b4:b6:10:1f:2d:d6:5f:
57 86:90:ae:8f:03:a5:dc:9f:88:28:cb:a3:92:49:0f:
58 ec:d0:0f:e2:6d:44:4f:80:6a:b2:d4:e7:a0:0a:53:
60 d6:7b:2f:5f:05:e8:2c:6d:11:f3:e7:b2:be:92:44:
62 8b:1a:59:7d:1f:68:58:dd:04:00:2c:96:f3:43:b3:
65 47:b3:c9:3e:b8:6a:e2:e7:e8:81:70:5e:42:8b:4f:
68 37:29:1b:99:13:8f:0c:c8:d6:2c:1c:fb:05:e8:08:
69 95:3d:65:46:dc:ee:cd:69:e2:4d:8f:87:28:4e:34:
[all …]
D93851c9e.050 01:9d:9c:0b:81:5f:73:49:ba:a7:ac:f3:04:4e:7b:
52 b8:9e:1d:7e:45:32:60:0f:07:e9:77:58:7e:9f:6a:
53 c8:61:4e:b6:26:c1:4c:8d:ff:4c:ef:34:b2:1f:65:
54 d8:b9:78:f5:ad:a9:71:b9:ef:4f:58:1d:a5:de:74:
58 a3:c8:0d:d2:97:2f:07:65:52:00:a7:6e:c8:af:68:
59 ec:f4:14:96:b6:57:1f:56:c3:39:9f:2b:6d:e4:f3:
60 3e:f6:35:64:da:0c:1c:a1:84:4b:2f:4b:4b:e2:2c:
61 24:9d:6d:93:40:eb:b5:23:8e:32:ca:6f:45:d3:a8:
62 89:7b:1e:cf:1e:fa:5b:43:8b:cd:cd:a8:0f:6a:ca:
63 0c:5e:b9:9e:47:8f:f0:d9:b6:0a:0b:58:65:17:33:
[all …]
D35105088.052 2d:64:09:dc:ce:89:9f:cc:3d:a9:ec:f6:cf:c1:dc:
54 19:b4:5f:a6:bd:7d:9d:a3:63:42:b6:76:f2:a9:3b:
55 2b:91:f8:e2:6f:d0:ec:16:20:90:09:3e:e2:e8:74:
56 c9:18:b4:91:d4:62:64:db:7f:a3:06:f1:88:18:6a:
57 90:22:3c:bc:fe:13:f0:87:14:7b:f6:e4:1f:8e:d4:
58 e4:51:c6:11:67:46:08:51:cb:86:14:54:3f:bc:33:
61 cc:f0:dc:bc:9e:4c:fe:af:05:96:35:1f:57:5a:b7:
63 ae:4c:8a:b7:5c:9a:b4:b7:20:3d:ca:7f:22:34:ae:
68 69:0f:1b:0f:f3:25:26:6b:33:6d:f7:6e:47:fa:73:
72 09:93:62:8e:b5:66:cf:25:88:cd:84:b8:b1:3f:a4:
[all …]
Ddc99f41e.050 00:c2:f8:a9:3f:1b:89:fc:3c:3c:04:5d:3d:90:36:
52 cf:7f:4d:23:53:b7:90:00:e3:13:2a:28:a6:31:f1:
53 91:00:e3:28:ec:ae:21:41:ce:1f:da:fd:7d:12:5b:
54 01:83:0f:b9:b0:5f:99:e1:f2:12:83:80:4d:06:3e:
59 db:3e:e8:f0:10:65:ed:74:e1:2f:a7:7c:af:27:34:
63 f4:1f:ff:b2:77:d5:87:2f:aa:6e:7d:24:27:e7:c6:
66 2c:fc:d9:70:52:4f:78:b8:bd:3c:2b:8b:95:98:f5:
67 b3:d1:68:cf:20:14:7e:4c:5c:5f:e7:8b:e5:f5:35:
71 70:47:dd:b5:9f:81:53:12:e5:b1:8c:48:5d:31:43:
73 5e:3c:ce:97:90:a5:7f:01:eb:9d:e0:f8:8b:89:dd:
[all …]
/system/timezone/input_tools/android/zone_compactor/main/java/
DZoneCompactor.java116 RandomAccessFile f = new RandomAccessFile(new File(outputDirectory, "tzdata"), "rw"); in ZoneCompactor() local
117 f.setLength(0); in ZoneCompactor()
127 f.write(toAscii(new byte[12], version)); in ZoneCompactor()
131 int index_offset_offset = (int) f.getFilePointer(); in ZoneCompactor()
132 f.writeInt(0); in ZoneCompactor()
133 int data_offset_offset = (int) f.getFilePointer(); in ZoneCompactor()
134 f.writeInt(0); in ZoneCompactor()
139 int final_offset_offset = (int) f.getFilePointer(); in ZoneCompactor()
140 f.writeInt(0); in ZoneCompactor()
142 int index_offset = (int) f.getFilePointer(); in ZoneCompactor()
[all …]
/system/tools/mkbootimg/
Dunpack_bootimg.py61 return f'{a}.{b}.{c}'
70 return f'{y:04d}-{m:02d}'
86 lines.append(f'boot magic: {self.boot_magic}')
89 lines.append(f'kernel_size: {self.kernel_size}')
91 f'kernel load address: {self.kernel_load_address:#010x}')
92 lines.append(f'ramdisk size: {self.ramdisk_size}')
94 f'ramdisk load address: {self.ramdisk_load_address:#010x}')
95 lines.append(f'second bootloader size: {self.second_size}')
97 f'second bootloader load address: '
98 f'{self.second_load_address:#010x}')
[all …]
/system/core/libutils/
DErrors_test.cpp36 auto f = [](bool success, int* val) -> status_t { in TEST() local
43 status_t s = f(true, &val); in TEST()
48 status_t q = f(false, &val); in TEST()
54 auto f = [](bool success) -> Result<std::string, StatusT> { in TEST() local
59 auto r = f(true); in TEST()
63 auto s = f(false); in TEST()
70 auto f = [](bool success) -> Result<int, StatusT> { in TEST() local
75 auto r = f(true); in TEST()
79 auto s = f(false); in TEST()
92 auto f = [](bool success) -> Result<std::string, StatusT> { in TEST() local
[all …]
/system/ca-certificates/wfa_certs/files/
D21125ccd.047 00:bf:81:fe:02:1f:15:a3:af:61:1c:92:d0:19:a4:
48 74:f8:cf:5c:85:61:92:0b:0f:76:55:aa:fc:f3:5c:
49 12:be:60:a8:d6:86:3b:20:67:6f:19:d5:5c:17:aa:
51 c2:56:0a:93:ed:3c:17:71:c7:04:3f:70:10:cf:2b:
52 8c:3e:fe:c0:ae:61:84:9d:76:53:0b:cf:06:7f:22:
55 db:c6:a6:09:36:a2:d5:67:30:8e:1d:dc:7f:66:5a:
58 32:be:a8:3a:88:21:46:38:59:14:59:1f:19:4e:68:
59 5d:bf:11:d2:08:1a:15:e5:7f:e5:65:af:5d:da:3e:
60 a3:8f:88:38:84:d3:ca:3e:18:04:73:4c:8a:7c:06:
62 bb:ce:60:49:14:75:23:1f:c2:ee:1a:18:e7:2e:39:
[all …]
D674b5f5b.048 06:a3:4f:47:62:eb:e7:10:1b:7b:00:56:f6:4b:c9:
52 1d:dd:80:49:4f:b7:6e:0c:c7:b9:f6:c4:33:c0:87:
53 db:7c:d8:74:e6:ba:c9:29:41:1a:ec:ca:0f:50:3e:
55 df:51:59:cc:1e:35:5f:ca:18:7d:6c:4f:07:26:94:
57 c1:89:80:09:4f:df:af:64:96:73:6a:b7:a5:22:0e:
58 17:a9:72:4b:6e:2a:91:e6:4a:f3:5e:97:e7:3f:c6:
59 ac:d1:d2:05:11:7d:49:d7:71:98:73:8f:34:bd:e1:
60 1c:79:3b:e0:8d:58:be:04:1a:22:6a:a8:a0:1f:93:
62 74:9d:a2:15:83:89:5f:77:87:1b:ef:7e:e8:1e:8f:
66 56:cc:8b:ec:4c:1f:99:48:36:cd:79:fb:6e:ac:d8:
[all …]
/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py66 def create_svg_node(process, callsite, depth, f, total_weight, height, color_scheme, nav): argument
89 f.write(
122 def render_svg_nodes(process, flamegraph, depth, f, total_weight, height, color_scheme): argument
141 create_svg_node(process, child, depth, f, total_weight, height, color_scheme, nav)
143 render_svg_nodes(process, child, depth + 1, f, total_weight, height, color_scheme)
146 def render_search_node(f): argument
147 f.write(
154 def render_unzoom_node(f): argument
155 f.write(
164 def render_info_node(f): argument
[all …]
/system/media/audio_utils/include/audio_utils/
Dprimitives.h779 static inline int16_t clamp16_from_float(float f) in clamp16_from_float() argument
792 float f; in clamp16_from_float()
796 u.f = f + offset; /* recenter valid range */ in clamp16_from_float()
807 return roundf(fmaxf(fminf(f * scale, scale - 1.f), -scale)); in clamp16_from_float()
824 static inline uint8_t clamp8_from_float(float f) in clamp8_from_float() argument
837 float f; in clamp8_from_float()
841 u.f = f + offset; /* recenter valid range */ in clamp8_from_float()
851 return roundf(fmaxf(fminf(f * 128.f + 128.f, 255.f), 0.f)); in clamp8_from_float()
885 static inline int32_t clamp24_from_float(float f) in clamp24_from_float() argument
892 if (f <= limneg) { in clamp24_from_float()
[all …]
/system/ca-certificates/google/files/
D35105088.052 2d:64:09:dc:ce:89:9f:cc:3d:a9:ec:f6:cf:c1:dc:
54 19:b4:5f:a6:bd:7d:9d:a3:63:42:b6:76:f2:a9:3b:
55 2b:91:f8:e2:6f:d0:ec:16:20:90:09:3e:e2:e8:74:
56 c9:18:b4:91:d4:62:64:db:7f:a3:06:f1:88:18:6a:
57 90:22:3c:bc:fe:13:f0:87:14:7b:f6:e4:1f:8e:d4:
58 e4:51:c6:11:67:46:08:51:cb:86:14:54:3f:bc:33:
61 cc:f0:dc:bc:9e:4c:fe:af:05:96:35:1f:57:5a:b7:
63 ae:4c:8a:b7:5c:9a:b4:b7:20:3d:ca:7f:22:34:ae:
68 69:0f:1b:0f:f3:25:26:6b:33:6d:f7:6e:47:fa:73:
72 09:93:62:8e:b5:66:cf:25:88:cd:84:b8:b1:3f:a4:
[all …]

12345678910>>...21