Searched refs:get (Results 1 – 11 of 11) sorted by relevance
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 267 if (!android::base::WriteStringToFd(s, mapfd.get())) { in produce_block_map() 307 if (ioctl(fd.get(), FIBMAP, &block) != 0) { in produce_block_map() 313 if (write_at_offset(buffers[head].data(), sb.st_blksize, wfd.get(), in produce_block_map() 326 if (!android::base::ReadFully(fd.get(), buffers[tail].data(), to_read)) { in produce_block_map() 343 if (ioctl(fd.get(), FIBMAP, &block) != 0) { in produce_block_map() 349 if (write_at_offset(buffers[head].data(), sb.st_blksize, wfd.get(), in produce_block_map() 359 android::base::StringPrintf("%zu\n", ranges.size() / 2), mapfd.get())) { in produce_block_map() 365 android::base::StringPrintf("%d %d\n", ranges[i], ranges[i+1]), mapfd.get())) { in produce_block_map() 371 if (fsync(mapfd.get()) == -1) { in produce_block_map() 375 if (close(mapfd.get()) == -1) { in produce_block_map() [all …]
|
D | bootloader_message_writer.cpp | 67 if (fd.get() == -1) { in write_bootloader_message() 72 if (!android::base::WriteFully(fd.get(), &boot, sizeof(boot))) { in write_bootloader_message() 78 if (fsync(fd.get()) == -1) { in write_bootloader_message()
|
/bootable/recovery/ |
D | verifier.cpp | 272 sig_der_length, key.rsa.get())) { in verify_file() 283 sig_der_length, key.ec.get())) { in verify_file() 342 std::reverse((uint8_t*)modulus.get(), in parse_rsa_key() 343 (uint8_t*)(modulus.get() + key_len_words)); in parse_rsa_key() 366 key->n = BN_bin2bn((uint8_t*)modulus.get(), in parse_rsa_key() 399 if (key_len_bytes != BN_num_bytes(EC_GROUP_get0_order(group.get()))) { in parse_ec_key() 421 point[i].reset(BN_bin2bn(bytes.get(), key_len_bytes, nullptr)); in parse_ec_key() 437 if (!key || !EC_KEY_set_group(key.get(), group.get()) || in parse_ec_key() 438 !EC_KEY_set_public_key_affine_coordinates(key.get(), point[0].get(), in parse_ec_key() 439 point[1].get())) { in parse_ec_key() [all …]
|
D | unique_fd.h | 39 int get() { in get() function
|
D | bootloader.cpp | 195 if (fd.get() == -1) { in set_bootloader_message_block() 204 ssize_t wrote = TEMP_FAILURE_RETRY(write(fd.get(), start + written, total - written)); in set_bootloader_message_block() 213 if (fsync(fd.get()) == -1) { in set_bootloader_message_block()
|
D | interlace-frames.py | 74 num_frames = int(img.info.get('Frames', 1))
|
D | screen_ui.cpp | 482 while ((de = readdir(dir.get())) != nullptr) { in LoadAnimation()
|
/bootable/recovery/applypatch/ |
D | freecache.cpp | 44 while ((de = readdir(d.get())) != 0) { in EliminateOpenFiles() 57 while ((fdde = readdir(fdd.get())) != 0) { in EliminateOpenFiles() 90 while ((de = readdir(d.get())) != 0) { in FindExpendableFiles()
|
/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/ |
D | Main.java | 211 Bitmap b = savedBitmaps.get(loc); 220 countByLanguage.put(lang, countByLanguage.get(lang)+1); 233 Bitmap bm = savedBitmaps.get(loc); 279 if (countByLanguage.get(lang) > 1) { 280 countByLanguage.put(lang, countByLanguage.get(lang)-1);
|
/bootable/recovery/updater/ |
D | install.cpp | 1218 patch_shas.emplace_back(arg_values.get()[i], FreeValue); in ApplyPatchFn() 1219 patches.emplace_back(arg_values.get()[i+1], FreeValue); in ApplyPatchFn() 1237 patch_ptrs.push_back(patches[i].get()); in ApplyPatchFn() 1367 args.emplace_back(arg_values.get()[i], FreeValue); in Sha1CheckFn()
|
D | blockimg.cpp | 497 while ((item = readdir(directory.get())) != nullptr) { in EnumerateStash()
|