/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsresize.c | 10 * This utility will resize an NTFS volume without data loss. 130 "* run 'chkdsk /f /r' on Windows and rebooot it TWICE! Then you can resize *\n" 344 " -c, --check Check to ensure that the device is ready for resize\n" in usage() 642 printf("You might resize at %lld bytes ", (long long)new_b); in print_advise() 709 static void collect_resize_constraints(ntfs_resize_t *resize, runlist *rl) in collect_resize_constraints() argument 719 inode = resize->ni->mft_no; in collect_resize_constraints() 720 flags = resize->ctx->attr->flags; in collect_resize_constraints() 721 atype = resize->ctx->attr->type; in collect_resize_constraints() 723 if ((ret = ntfs_inode_badclus_bad(inode, resize->ctx->attr)) != 0) { in collect_resize_constraints() 730 llcn = &resize in collect_resize_constraints() 776 collect_relocation_info(ntfs_resize_t *resize, runlist *rl) collect_relocation_info() argument 1105 build_resize_constraints(ntfs_resize_t *resize) build_resize_constraints() argument 1129 resize_constraints_by_attributes(ntfs_resize_t *resize) resize_constraints_by_attributes() argument 1143 set_resize_constraints(ntfs_resize_t *resize) set_resize_constraints() argument 1393 reload_mft(ntfs_resize_t *resize) reload_mft() argument 1443 record_mft_in_bitmap(ntfs_resize_t *resize) record_mft_in_bitmap() argument 1463 delayed_updates(ntfs_resize_t *resize) delayed_updates() argument 1543 replace_later(ntfs_resize_t *resize, runlist *rl, runlist *head_rl) replace_later() argument 1607 replace_attribute_runlist(ntfs_resize_t *resize, runlist *rl) replace_attribute_runlist() argument 1892 copy_clusters(ntfs_resize_t *resize, s64 dest, s64 src, s64 len) copy_clusters() argument 2008 relocate_run(ntfs_resize_t *resize, runlist **rl, int run) relocate_run() argument 2065 relocate_attribute(ntfs_resize_t *resize) relocate_attribute() argument 2105 is_mftdata(ntfs_resize_t *resize) is_mftdata() argument 2126 handle_mftdata(ntfs_resize_t *resize, int do_mftdata) handle_mftdata() argument 2160 relocate_attributes(ntfs_resize_t *resize, int do_mftdata) relocate_attributes() argument 2202 relocate_inode(ntfs_resize_t *resize, MFT_REF mref, int do_mftdata) relocate_inode() argument 2245 relocate_inodes(ntfs_resize_t *resize) relocate_inodes() argument 2356 advise_on_resize(ntfs_resize_t *resize) advise_on_resize() argument 2425 truncate_badclust_bad_attr(ntfs_resize_t *resize) truncate_badclust_bad_attr() argument 2465 realloc_bitmap_data_attr(ntfs_resize_t *resize, runlist **rl, s64 nr_bm_clusters) realloc_bitmap_data_attr() argument 2488 realloc_lcn_bitmap(ntfs_resize_t *resize, s64 bm_bsize) realloc_lcn_bitmap() argument 2503 truncate_bitmap_data_attr(ntfs_resize_t *resize) truncate_bitmap_data_attr() argument 2668 truncate_badclust_file(ntfs_resize_t *resize) truncate_badclust_file() argument 2685 truncate_bitmap_file(ntfs_resize_t *resize) truncate_bitmap_file() argument 2870 print_num_of_relocations(ntfs_resize_t *resize) print_num_of_relocations() argument 3005 set_disk_usage_constraint(ntfs_resize_t *resize) set_disk_usage_constraint() argument 3014 check_resize_constraints(ntfs_resize_t *resize) check_resize_constraints() argument 3904 ntfs_resize_t resize; update_runlist() local 4538 ntfs_resize_t resize; main() local [all...] |
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-array.c | 389 struct resize { struct 414 * 'old' refers to before the resize, 'new' after. 437 static int drop_blocks(struct resize *resize, unsigned begin_index, in drop_blocks() argument 444 r = dm_btree_remove(&resize->info->btree_info, resize->root, in drop_blocks() 445 &key, &resize->root); in drop_blocks() 465 static int shrink(struct resize *resize) in shrink() argument 475 if (resize in shrink() 505 grow_extend_tail_block(struct resize *resize, uint32_t new_nr_entries) grow_extend_tail_block() argument 522 grow_add_tail_block(struct resize *resize) grow_add_tail_block() argument 531 grow_needs_more_blocks(struct resize *resize) grow_needs_more_blocks() argument 558 grow(struct resize *resize) grow() argument 660 struct resize resize; array_resize() local [all...] |
/kernel/linux/linux-6.6/drivers/md/persistent-data/ |
H A D | dm-array.c | 387 struct resize { struct 412 * 'old' refers to before the resize, 'new' after. 435 static int drop_blocks(struct resize *resize, unsigned int begin_index, in drop_blocks() argument 443 r = dm_btree_remove(&resize->info->btree_info, resize->root, in drop_blocks() 444 &key, &resize->root); in drop_blocks() 464 static int shrink(struct resize *resize) in shrink() argument 474 if (resize in shrink() 504 grow_extend_tail_block(struct resize *resize, uint32_t new_nr_entries) grow_extend_tail_block() argument 521 grow_add_tail_block(struct resize *resize) grow_add_tail_block() argument 530 grow_needs_more_blocks(struct resize *resize) grow_needs_more_blocks() argument 557 grow(struct resize *resize) grow() argument 668 struct resize resize; array_resize() local [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | memory_io_test.cc | 38 test_buffer.resize(kTestBufferLen); in TestMemoryInputStream() 52 b.resize(7); in TestMemoryInputStream() 56 b.resize(17); in TestMemoryInputStream() 62 b.resize(10); in TestMemoryInputStream() 67 b.resize(10); in TestMemoryInputStream() 77 b.resize(10); in TestMemoryInputStream() 86 test_buffer.resize(kTestBufferLen); in TestMemoryOutputStream()
|
/third_party/python/PC/ |
H A D | python_uwp.cpp | 37 name.resize(nameLength); in get_package_family() 40 name.resize(nameLength - 1); in get_package_family() 46 name.resize(nameLength); in get_package_family() 51 name.resize(nameLength - 1); in get_package_family() 86 path.resize(pathLength); in get_package_home() 89 path.resize(pathLength - 1); in get_package_home() 95 path.resize(pathLength); in get_package_home() 100 path.resize(pathLength - 1); in get_package_home() 134 executable.resize(MAX_PATH); in set_process_name() 143 executable.resize(le in set_process_name() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 35 #define resize_hpt_debug(resize, ...) \ 37 printk(KERN_DEBUG "RESIZE HPT %p: ", resize); \ 41 #define resize_hpt_debug(resize, ...) \ 668 * instead let the guest retry after the resize operation is complete. in kvmppc_book3s_hv_page_fault() 1214 static int resize_hpt_allocate(struct kvm_resize_hpt *resize) in resize_hpt_allocate() argument 1218 rc = kvmppc_allocate_hpt(&resize->hpt, resize->order); in resize_hpt_allocate() 1222 resize_hpt_debug(resize, "resize_hpt_allocate(): HPT @ 0x%lx\n", in resize_hpt_allocate() 1223 resize->hpt.virt); in resize_hpt_allocate() 1228 static unsigned long resize_hpt_rehash_hpte(struct kvm_resize_hpt *resize, in resize_hpt_rehash_hpte() argument 1383 resize_hpt_rehash(struct kvm_resize_hpt *resize) resize_hpt_rehash() argument 1398 resize_hpt_pivot(struct kvm_resize_hpt *resize) resize_hpt_pivot() argument 1425 resize_hpt_release(struct kvm *kvm, struct kvm_resize_hpt *resize) resize_hpt_release() argument 1445 struct kvm_resize_hpt *resize = container_of(work, resize_hpt_prepare_work() local 1493 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_prepare() local 1559 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_commit() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 37 #define resize_hpt_debug(resize, ...) \ 39 printk(KERN_DEBUG "RESIZE HPT %p: ", resize); \ 43 #define resize_hpt_debug(resize, ...) \ 692 * instead let the guest retry after the resize operation is complete. in kvmppc_book3s_hv_page_fault() 1212 static int resize_hpt_allocate(struct kvm_resize_hpt *resize) in resize_hpt_allocate() argument 1216 rc = kvmppc_allocate_hpt(&resize->hpt, resize->order); in resize_hpt_allocate() 1220 resize_hpt_debug(resize, "%s(): HPT @ 0x%lx\n", __func__, in resize_hpt_allocate() 1221 resize->hpt.virt); in resize_hpt_allocate() 1226 static unsigned long resize_hpt_rehash_hpte(struct kvm_resize_hpt *resize, in resize_hpt_rehash_hpte() argument 1381 resize_hpt_rehash(struct kvm_resize_hpt *resize) resize_hpt_rehash() argument 1396 resize_hpt_pivot(struct kvm_resize_hpt *resize) resize_hpt_pivot() argument 1423 resize_hpt_release(struct kvm *kvm, struct kvm_resize_hpt *resize) resize_hpt_release() argument 1443 struct kvm_resize_hpt *resize = container_of(work, resize_hpt_prepare_work() local 1491 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_prepare() local 1557 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_commit() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 117 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String() 130 Out.resize(reinterpret_cast<char *>(Dst) - &Out[0]); in convertUTF16ToUTF8String() 161 // We resize down later so we don't have to worry that this over allocates. in convertUTF8ToUTF16String() 162 DstUTF16.resize(SrcUTF8.size()+1); in convertUTF8ToUTF16String() 175 DstUTF16.resize(Dst - &DstUTF16[0]); in convertUTF8ToUTF16String() 191 Result.resize(Source.size() + 1); in ConvertUTF8toWideInternal() 198 Result.resize(reinterpret_cast<wchar_t *>(ResultPtr) - &Result[0]); in ConvertUTF8toWideInternal() 221 Result.resize(Source.size()); in convertWideToUTF8() 233 Result.resize(UNI_MAX_UTF8_BYTES_PER_CODE_POINT * Source.size()); in convertWideToUTF8() 238 Result.resize(reinterpret_cas in convertWideToUTF8() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 116 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String() 129 Out.resize(reinterpret_cast<char *>(Dst) - &Out[0]); in convertUTF16ToUTF8String() 160 // We resize down later so we don't have to worry that this over allocates. in convertUTF8ToUTF16String() 161 DstUTF16.resize(SrcUTF8.size()+1); in convertUTF8ToUTF16String() 174 DstUTF16.resize(Dst - &DstUTF16[0]); in convertUTF8ToUTF16String() 190 Result.resize(Source.size() + 1); in ConvertUTF8toWideInternal() 197 Result.resize(reinterpret_cast<wchar_t *>(ResultPtr) - &Result[0]); in ConvertUTF8toWideInternal() 220 Result.resize(Source.size()); in convertWideToUTF8() 232 Result.resize(UNI_MAX_UTF8_BYTES_PER_CODE_POINT * Source.size()); in convertWideToUTF8() 237 Result.resize(reinterpret_cas in convertWideToUTF8() [all...] |
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | dePoolArray.cpp | 72 /* Test resize(). */ in intArrayTest() 73 arr.resize(1000); in intArrayTest() 74 arr16.resize(1000); in intArrayTest() 91 arr2.resize(1500); in intArrayTest() 146 /* Test resize(). */ in alignedIntArrayTest() 147 arr.resize(1000); in alignedIntArrayTest() 148 arr16.resize(1000); in alignedIntArrayTest() 163 arr.resize(0); in alignedIntArrayTest() 164 arr.resize(100, -123); in alignedIntArrayTest() 171 arr2.resize(150 in alignedIntArrayTest() [all...] |
H A D | dePoolString.cpp | 34 str.resize(size()); in toString() 43 resize(size()+len); in append() 51 resize(size()+str.length()); in append() 59 resize(size()+str.size()); in append()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
H A D | ValueList.h | 65 void resize(unsigned N) { in resize() function in llvm::BitcodeReaderValueList 66 ValuePtrs.resize(N); in resize() 67 FullTypes.resize(N); in resize() 94 ValuePtrs.resize(N); 95 FullTypes.resize(N);
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceLiveness.h | 87 resize(Index); in getLiveIn() 92 resize(Index); in getLiveOut() 98 resize(Index); in getLiveBegin() 103 resize(Index); in getLiveEnd() 130 void resize(SizeT Index) { in resize() function in Ice::Liveness 133 Nodes.resize(Index + 1); in resize()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | inlined_vector_benchmark.cc | 32 v.resize(0); // Use resize(0) as InlinedVector releases storage on clear(). in BM_InlinedVectorFill() 134 src.resize(len); in BM_InlinedVectorAssignments() 525 vector_batch[i].resize(ToSize); in BM_ConstructFromMove() 565 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->resize(FromSize); }, in BM_AssignSizeRef() 581 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->resize(FromSize); }, in BM_AssignRange() 596 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->resize(FromSize); }, in BM_AssignFromCopy() 615 vector_batch[i].resize(ToSize); in BM_AssignFromMove() 616 vec->resize(FromSize); in BM_AssignFromMove() 634 vec->resize(FromSiz in BM_ResizeSize() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | StackSlotColoring.cpp | 157 SSRefs.resize(MFI->getObjectIndexEnd()); in ScanForSpillSlotRefs() 201 AllColors.resize(1); in InitializeSlots() 202 UsedColors.resize(1); in InitializeSlots() 204 OrigAlignments.resize(LastFI); in InitializeSlots() 205 OrigSizes.resize(LastFI); in InitializeSlots() 206 AllColors[0].resize(LastFI); in InitializeSlots() 207 UsedColors[0].resize(LastFI); in InitializeSlots() 208 Assignments.resize(LastFI); in InitializeSlots() 235 AllColors.resize(StackID + 1); in InitializeSlots() 236 UsedColors.resize(StackI in InitializeSlots() [all...] |
H A D | SafeStackColoring.cpp | 67 InterestingAllocas.resize(NumAllocas); in collectMarkers() 110 BlockInfo.Begin.resize(NumAllocas); in collectMarkers() 111 BlockInfo.End.resize(NumAllocas); in collectMarkers() 112 BlockInfo.LiveIn.resize(NumAllocas); in collectMarkers() 113 BlockInfo.LiveOut.resize(NumAllocas); in collectMarkers() 213 Started.resize(NumAllocas); in calculateLiveIntervals() 214 Ended.resize(NumAllocas); in calculateLiveIntervals() 216 Start.resize(NumAllocas); in calculateLiveIntervals() 288 LiveRanges.resize(NumAllocas); in run()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | rj54n1cb0c.c | 164 unsigned short resize; /* Sensor * 1024 / resize = Output */ member 561 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 562 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 565 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection() 573 rj54n1->resize = ret; in rj54n1_set_selection() 630 * the output one, updates the window sizes and returns an error or the resize 638 unsigned int skip, resize, input_ in rj54n1_sensor_scale() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | rj54n1cb0c.c | 164 unsigned short resize; /* Sensor * 1024 / resize = Output */ member 561 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 562 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 565 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection() 573 rj54n1->resize = ret; in rj54n1_set_selection() 630 * the output one, updates the window sizes and returns an error or the resize 638 unsigned int skip, resize, input_ in rj54n1_sensor_scale() local [all...] |
/base/telephony/core_service/test/unittest/esim_parcel_gtest/ |
H A D | get_downloadable_profiles_result_parcel_test.cpp | 296 downloadableProfilesResult.downloadableProfiles_.resize(1); in HWTEST_F() 297 downloadableProfilesResult.downloadableProfiles_[0].accessRules_.resize(1); in HWTEST_F() 323 downloadableProfilesResult.downloadableProfiles_.resize(1); in HWTEST_F() 324 downloadableProfilesResult.downloadableProfiles_[0].accessRules_.resize(1); in HWTEST_F() 350 downloadableProfilesResult.downloadableProfiles_.resize(1); in HWTEST_F() 351 downloadableProfilesResult.downloadableProfiles_[0].accessRules_.resize(1); in HWTEST_F() 377 downloadableProfilesResult.downloadableProfiles_.resize(1); in HWTEST_F() 378 downloadableProfilesResult.downloadableProfiles_[0].accessRules_.resize(1); in HWTEST_F() 404 downloadableProfilesResult.downloadableProfiles_.resize(1); in HWTEST_F() 405 downloadableProfilesResult.downloadableProfiles_[0].accessRules_.resize( in HWTEST_F() [all...] |
/base/useriam/face_auth/test/fuzztest/iamfuzz/ |
H A D | iam_fuzz_test.cpp | 59 data.resize(len); in FillFuzzUint8Vector() 68 data.resize(len); in FillFuzzInt8Vector() 77 data.resize(len); in FillFuzzUint32Vector() 86 data.resize(len); in FillFuzzUint64Vector()
|
/base/useriam/pin_auth/test/fuzztest/utils_fuzz/ |
H A D | iam_fuzz_test.cpp | 59 data.resize(len); in FillFuzzUint8Vector() 68 data.resize(len); in FillFuzzInt8Vector() 77 data.resize(len); in FillFuzzUint32Vector() 86 data.resize(len); in FillFuzzUint64Vector()
|
/base/useriam/fingerprint_auth/test/fuzztest/iamfuzz/ |
H A D | iam_fuzz_test.cpp | 59 data.resize(len); in FillFuzzUint8Vector() 68 data.resize(len); in FillFuzzInt8Vector() 77 data.resize(len); in FillFuzzUint32Vector() 86 data.resize(len); in FillFuzzUint64Vector()
|
/base/useriam/user_auth_framework/common/test/ |
H A D | iam_fuzz_test.cpp | 59 data.resize(len); in FillFuzzUint8Vector() 68 data.resize(len); in FillFuzzInt8Vector() 77 data.resize(len); in FillFuzzUint32Vector() 86 data.resize(len); in FillFuzzUint64Vector()
|
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A D | vlun.c | 27 * marshal_virt_to_resize() - translate uvirtual to resize structure 29 * @resize: Destination structure for the translate/copy. 32 struct dk_cxlflash_resize *resize) in marshal_virt_to_resize() 34 resize->hdr = virt->hdr; in marshal_virt_to_resize() 35 resize->context_id = virt->context_id; in marshal_virt_to_resize() 36 resize->rsrc_handle = virt->rsrc_handle; in marshal_virt_to_resize() 37 resize->req_size = virt->lun_size; in marshal_virt_to_resize() 38 resize->last_lba = virt->last_lba; in marshal_virt_to_resize() 719 * @resize: Resize ioctl data structure. 731 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() 31 marshal_virt_to_resize(struct dk_cxlflash_uvirtual *virt, struct dk_cxlflash_resize *resize) marshal_virt_to_resize() argument 729 _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_resize *resize) _cxlflash_vlun_resize() argument 822 cxlflash_vlun_resize(struct scsi_device *sdev, struct dk_cxlflash_resize *resize) cxlflash_vlun_resize() argument 981 struct dk_cxlflash_resize resize; cxlflash_disk_virtual_open() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | vlun.c | 27 * marshal_virt_to_resize() - translate uvirtual to resize structure 29 * @resize: Destination structure for the translate/copy. 32 struct dk_cxlflash_resize *resize) in marshal_virt_to_resize() 34 resize->hdr = virt->hdr; in marshal_virt_to_resize() 35 resize->context_id = virt->context_id; in marshal_virt_to_resize() 36 resize->rsrc_handle = virt->rsrc_handle; in marshal_virt_to_resize() 37 resize->req_size = virt->lun_size; in marshal_virt_to_resize() 38 resize->last_lba = virt->last_lba; in marshal_virt_to_resize() 719 * @resize: Resize ioctl data structure. 731 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() 31 marshal_virt_to_resize(struct dk_cxlflash_uvirtual *virt, struct dk_cxlflash_resize *resize) marshal_virt_to_resize() argument 729 _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_resize *resize) _cxlflash_vlun_resize() argument 822 cxlflash_vlun_resize(struct scsi_device *sdev, struct dk_cxlflash_resize *resize) cxlflash_vlun_resize() argument 981 struct dk_cxlflash_resize resize; cxlflash_disk_virtual_open() local [all...] |