Home
last modified time | relevance | path

Searched refs:rename (Results 76 - 100 of 315) sorted by relevance

12345678910>>...13

/third_party/toybox/toys/other/
H A Dbzcat.c678 int outfd = 1, rename = 0, len = strlen(name); in do_bunzip2() local
697 rename++; in do_bunzip2()
708 if (rename) { in do_bunzip2()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Dmulti_ver_database_oper.cpp107 // rm old dir -> rename backup dir to prime dir -> rm ctrl file in CloseStorages()
213 int innerCode = rename(info.curValidFile.c_str(), info.backValidFile.c_str()); in BackupCurrentDatabase()
215 LOGE("Failed to rename the file after the backup:%d", errno); in BackupCurrentDatabase()
245 // rename the flag file. in ImportUnpackedDatabase()
246 int innerCode = rename(info.backValidFile.c_str(), info.curValidFile.c_str()); in ImportUnpackedDatabase()
248 LOGE("Failed to rename after the import operation:%d", errno); in ImportUnpackedDatabase()
H A Ddatabase_oper.cpp59 LOGE("ExecuteRekey rename status ctrl failed! errCode = [%d]", errCode); in ExecuteRekey()
128 // rm prime dir -> rename backup dir to prime dir -> rm ctrl file in RekeyRecover()
137 // rename backup dir to prime dir -> rm ctrl file in RekeyRecover()
138 if (rename(backupDir.c_str(), currentDir.c_str()) != E_OK) { in RekeyRecover()
314 int errCode = rename(orgCtrlFile.c_str(), newCtrlFile.c_str()); in RenameStatusCtrlFile()
470 if (rename(backupDir.c_str(), dir.c_str()) != E_OK) { in RecoverImportedBackFiles()
/third_party/libwebsockets/lib/tls/
H A Dtls.c451 * and rename "name".upd to "name" before reporting its existence.
460 * privs... in this case we rename any existing cert to have a backup name
465 * but we no longer have the privs needed to read or rename them. In this
491 /* rename the desired file */ in lws_tls_use_any_upgrade_check_extant()
495 if (!rename(name, buf)) in lws_tls_use_any_upgrade_check_extant()
499 lwsl_notice("unable to rename %s\n", name); in lws_tls_use_any_upgrade_check_extant()
505 /* desired file is out of the way, rename the updated file */ in lws_tls_use_any_upgrade_check_extant()
506 if (rename(buf, name)) { in lws_tls_use_any_upgrade_check_extant()
507 lwsl_notice("unable to rename %s to %s\n", buf, name); in lws_tls_use_any_upgrade_check_extant()
/third_party/python/Tools/scripts/
H A Dfixcid.py183 os.rename(filename, filename + '~')
188 os.rename(tempname, filename)
190 err(filename + ': rename failed (' + str(msg) + ')\n')
H A Dparse_html5_entities.py98 os.rename(temp_fname, fname)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DAutoUpgrade.cpp36 static void rename(GlobalValue *GV) { GV->setName(GV->getName() + ".old"); } in rename() function
49 rename(F); in UpgradePTESTIntrinsic()
65 rename(F); in UpgradeX86IntrinsicsWith8BitMask()
415 rename(F); in UpgradeX86IntrinsicFunction()
453 rename(F); in UpgradeX86IntrinsicFunction()
459 rename(F); in UpgradeX86IntrinsicFunction()
468 rename(F); in UpgradeX86IntrinsicFunction()
600 rename(F); in UpgradeIntrinsicFunction1()
606 rename(F); in UpgradeIntrinsicFunction1()
615 rename( in UpgradeIntrinsicFunction1()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/common/memory/
H A Dmem_proc.cpp65 rename(MEM_LOG_FILE_PATH, fullPath); in ClearUp()
/third_party/f2fs-tools/scripts/
H A Dspo_test.sh56 $F2FS_DIR/stress_test/fsstress/fsstress -z -f link=0 -f mkdir=3 -f mknod=3 -f rmdir=2 -f symlink=3 -f truncate=4 -f write=10 -f creat=10 -f unlink=5 -f rename=5 -f fsync=10 -p 10 -n 10000 -l 0 -d $MNT &
/third_party/eudev/src/udev/
H A Dudev-watch.c53 if (rename(UDEV_ROOT_RUN "/udev/watch", UDEV_ROOT_RUN "/udev/watch.old") == 0) { in udev_watch_restore()
H A Dudev-event.c835 log_debug("collision on rename of network interface %s to %s , retrying until timeout\n", in rename_netif_dev_fromname_toname()
916 /* rename a new network interface, if needed */
924 * the run the rename.
927 * but also on its own to check if a temp-rename is necessary when event->name exists.
929 * A temp-rename is necessary when:
947 /* have a conflict, rename to a temp name */
960 /* note, r > 0, which will skip the post-rename stuff if no rename occurs */
962 /* if sysname isn't already the tmpname (ie there is no numeric component), do the rename */
969 log_error("could not rename neti
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A Dvarsub.bat81 rename "$OUT.native2ascii", $OUT;
/third_party/ltp/testcases/kernel/syscalls/rename/
H A Drename14.c25 * rename14.c - create and rename files
28 * create, unlink, rename
165 rename("./rename14", "./rename14xyz"); in dochild2()
/third_party/toybox/toys/pending/
H A Duserdel.c83 rename(filenamesfx, filename); in update_groupfiles()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmoving_photo_processor.cpp440 int32_t ret = rename(compatExtraDataPath.c_str(), movingPhotoExtraDataPath.c_str()); in MoveMovingPhoto()
442 MEDIA_ERR_LOG("Failed to rename extraData, src: %{public}s, dest: %{public}s, errno: %{public}d", in MoveMovingPhoto()
446 ret = rename(compatVideoPath.c_str(), movingPhotoVideoPath.c_str()); in MoveMovingPhoto()
448 MEDIA_ERR_LOG("Failed to rename video, src: %{public}s, dest: %{public}s, errno: %{public}d", in MoveMovingPhoto()
452 ret = rename(compatImagePath.c_str(), path.c_str()); in MoveMovingPhoto()
454 MEDIA_ERR_LOG("Failed to rename image, src: %{public}s, dest: %{public}s, errno: %{public}d", in MoveMovingPhoto()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp207 // rename keypath/temp/ to keypath/version_xx/ in StoreKey()
209 LOGI("rename %{public}s to %{public}s", pathTemp.c_str(), candidate.c_str()); in StoreKey()
210 if (rename(pathTemp.c_str(), candidate.c_str()) == 0) { in StoreKey()
216 LOGE("rename fail return %{public}d, cleanup the temp dir", errno); in StoreKey()
378 if (rename(pathLatest.c_str(), in StoreKey()
385 // rename {candidate} to latest in StoreKey()
387 if (rename(candidate.c_str(), pathLatest.c_str()) != 0) { in StoreKey()
388 LOGE("rename candidate to latest fail return %{public}d", errno); in StoreKey()
391 if (rename(pathLatestBak.c_str(), in StoreKey()
401 LOGI("rename candidat in StoreKey()
[all...]
/third_party/elfutils/src/
H A Dar.c699 r = rename (tempfname, arhdr->ar_name); in do_oper_extract()
721 r = rename (tempfname, truncfname); in do_oper_extract()
727 cannot rename temporary file to %.*s"), in do_oper_extract()
811 if (rename (tmpfname, arfname) != 0) in do_oper_extract()
1064 if (rename (tmpfname, arfname) != 0) in do_oper_delete()
1550 if (rename (tmpfname, arfname) != 0) in do_oper_insert()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_file_utils.cpp144 return rename(oldFile, newFile) == 0; in RenameFile()
/foundation/multimodalinput/input/service/event_dump/src/
H A Devent_statistic.cpp122 if (rename(EVENT_FILE_NAME.c_str(), EVENT_FILE_NAME_HISTORY.c_str()) != FUNC_EXE_OK) { in WriteEventFile()
/third_party/eudev/src/libudev/
H A Dlibudev-device-private.c170 r = rename(filename_tmp, filename); in udev_device_update_db()
/third_party/NuttX/fs/vfs/
H A Dfs_rename.c219 * Name: rename
225 int rename(const char *oldpath, const char *newpath) in rename() function
/third_party/mbedtls/library/
H A Dpsa_its_file.c46 /* As rename fails on Windows if the new filepath already exists,
53 #define rename_replace_existing(oldpath, newpath) rename(oldpath, newpath)
/third_party/littlefs/scripts/
H A Dchangeprefix.py54 # rename any prefixes in file
76 os.rename(to_path, from_path)
104 # rename filename?
115 # rename contents
164 help="Don't rename files")
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_util.c169 if (rename(stage_name, final_name)) in lima_dump_free()
170 fprintf(stderr, "lima: failed to rename log %s to %s\n", stage_name, final_name); in lima_dump_free()
/third_party/mindspore/
H A Dbuild_helper.py32 os.rename(old_src_dir, new_src_dir)

Completed in 17 milliseconds

12345678910>>...13