Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 14 of 14) sorted by relevance

/system/extras/partition_tools/
Dlpdump.cc299 std::unique_ptr<LpMetadata> pt; in LpdumpMain() local
303 pt = ReadMetadata(opener, file, slot); in LpdumpMain()
304 if (!pt && !IsBlockDevice(file)) { in LpdumpMain()
305 pt = ReadFromImageFile(file); in LpdumpMain()
310 pt = ReadMetadata(GetSuperPartionName(), slot_number); in LpdumpMain()
318 return PrintJson(pt.get(), cout, cerr); in LpdumpMain()
321 if (!pt) { in LpdumpMain()
326 cout << "Metadata version: " << pt->header.major_version << "." << pt->header.minor_version in LpdumpMain()
328 cout << "Metadata size: " << (pt->header.header_size + pt->header.tables_size) << " bytes\n"; in LpdumpMain()
329 cout << "Metadata max size: " << pt->geometry.metadata_max_size << " bytes\n"; in LpdumpMain()
[all …]
Dlpflash.cc43 std::unique_ptr<LpMetadata> pt = ReadFromImageFile(argv[2]); in main() local
44 if (!pt) { in main()
49 if (!FlashPartitionTable(argv[1], *pt.get())) { in main()
/system/core/libsync/
Dsync.c290 struct sync_pt_info *pt; in legacy_fence_info_to_sync_file_info() local
295 pt = NULL; in legacy_fence_info_to_sync_file_info()
297 while ((pt = sync_pt_info(legacy_info, pt)) != NULL) in legacy_fence_info_to_sync_file_info()
311 pt = NULL; in legacy_fence_info_to_sync_file_info()
313 while ((pt = sync_pt_info(legacy_info, pt)) != NULL) { in legacy_fence_info_to_sync_file_info()
314 strlcpy(fence->obj_name, pt->obj_name, sizeof(fence->obj_name)); in legacy_fence_info_to_sync_file_info()
315 strlcpy(fence->driver_name, pt->driver_name, in legacy_fence_info_to_sync_file_info()
317 fence->status = pt->status; in legacy_fence_info_to_sync_file_info()
318 fence->timestamp_ns = pt->timestamp_ns; in legacy_fence_info_to_sync_file_info()
/system/keymaster/key_blob_utils/
Docb.c920 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt() argument
930 const block* ptp = (block*)pt; in ae_encrypt()
1132 int ad_len, void* pt, const void* tag, int final) { in ae_decrypt() argument
1141 block* ptp = (block*)pt; in ae_decrypt()
1354 ALIGN(16) char pt[128];
1358 for (i=0; i < 128; i++) pt[i] = i;
1359 i = ae_encrypt(ctx,nonce,pt,len,pt,len,ct,NULL,AE_FINALIZE);
1361 i = ae_encrypt(ctx,nonce,pt,0,pt,len,ct,NULL,AE_FINALIZE);
1363 i = ae_encrypt(ctx,nonce,pt,len,pt,0,ct,NULL,AE_FINALIZE);
1369 ALIGN(16) char pt[1024];
[all …]
/system/keymaster/include/keymaster/key_blob_utils/
Dae.h94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad,
125 int ad_len, void* pt, const void* tag, int final);
/system/nfc/src/nfc/nci/
Dnci_hmsgs.cc142 uint8_t num = 0, ulen, len, *pt; in nci_snd_core_set_config() local
156 pt = p_param_tlvs; in nci_snd_core_set_config()
159 pt++; in nci_snd_core_set_config()
161 ulen = *pt++; in nci_snd_core_set_config()
162 pt += ulen; in nci_snd_core_set_config()
548 uint8_t num = 0, ulen, len, *pt; in nci_snd_parameter_update_cmd() local
562 pt = p_param_tlvs; in nci_snd_parameter_update_cmd()
565 pt++; in nci_snd_parameter_update_cmd()
567 ulen = *pt++; in nci_snd_parameter_update_cmd()
568 pt += ulen; in nci_snd_parameter_update_cmd()
/system/core/libsync/tests/
Dsync_test.cpp255 struct sync_pt_info* pt = sync_pt_info(legacy, NULL); in CheckModernLegacyInfoMatch() local
257 while (fenceIdx < modern->num_fences && pt != NULL) { in CheckModernLegacyInfoMatch()
258 EXPECT_STREQ(fences[fenceIdx].obj_name, pt->obj_name); in CheckModernLegacyInfoMatch()
259 EXPECT_STREQ(fences[fenceIdx].driver_name, pt->driver_name); in CheckModernLegacyInfoMatch()
260 EXPECT_EQ(fences[fenceIdx].status, pt->status); in CheckModernLegacyInfoMatch()
261 EXPECT_EQ(fences[fenceIdx].timestamp_ns, pt->timestamp_ns); in CheckModernLegacyInfoMatch()
264 pt = sync_pt_info(legacy, pt); in CheckModernLegacyInfoMatch()
267 EXPECT_EQ(NULL, pt); in CheckModernLegacyInfoMatch()
/system/bt/stack/smp/
Dp_256_ecc_pp.cc249 bool ECC_ValidatePoint(const Point& pt) { in ECC_ValidatePoint() argument
257 multiprecision_mersenns_squa_mod(y2_mod, (uint32_t*)pt.y, kl); in ECC_ValidatePoint()
261 multiprecision_mersenns_squa_mod(rhs, (uint32_t*)pt.x, kl); in ECC_ValidatePoint()
265 multiprecision_mersenns_mult_mod(rhs, rhs, (uint32_t*)pt.x, kl); in ECC_ValidatePoint()
Dsmp_act.cc687 Point pt; in smp_process_pairing_public_key() local
688 memcpy(pt.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_process_pairing_public_key()
689 memcpy(pt.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_process_pairing_public_key()
691 if (!ECC_ValidatePoint(pt)) { in smp_process_pairing_public_key()
/system/bt/stack/avdt/
Davdt_scb_act.cc312 AVDT_REPORT_TYPE pt; in avdt_scb_hdl_report() local
327 pt = *p++; in avdt_scb_hdl_report()
331 switch (pt) { in avdt_scb_hdl_report()
408 AVDT_TRACE_ERROR("Bad Report pkt - packet type: %d", pt); in avdt_scb_hdl_report()
413 (*p_scb->stream_config.p_report_cback)(avdt_scb_to_hdl(p_scb), pt, in avdt_scb_hdl_report()
/system/timezone/input_data/android/
Dcountryzones.txt2510 isoCode:"pt"
/system/extras/simpleperf/scripts/inferno/
Dinferno.b641 …SGMNELA06F/fDXSUqdXD2Ra9Z6vtno+Nbslm/P/0AhLCgm+YQrBTBuhL8AgFOE8BcAAAAAgCHc/pt/VZd+5U9Jkk/nL77kZ2a+…
/system/core/libprocinfo/testdata/
Dmaps1339 …0-70e9b7f000 r--s 00000000 fc:00 1145 /system/usr/hyphen-data/hyph-pt.hyb
/system/core/libmeminfo/testdata1/
Dsmaps45638 …000-7007f9e40000 r--s 00000000 fe:00 1016 /system/usr/hyphen-data/hyph-pt.hyb