Home
last modified time | relevance | path

Searched refs:rename (Results 51 - 75 of 268) sorted by relevance

1234567891011

/third_party/ffmpeg/libavformat/
H A Dos_support.h303 ret = rename(src_utf8, dest_utf8); in win32_rename()
309 #define rename win32_rename macro
/third_party/NuttX/fs/nfs/
H A Drpc.h358 struct RENAME3args rename; member
478 struct RENAME3resok rename; member
/third_party/python/Tools/scripts/
H A Dmailerdaemon.py190 os.rename(fn, ','+fn)
220 os.rename(fn, ','+fn)
H A Duntabify.py45 os.rename(filename, backup)
H A Dfixcid.py183 os.rename(filename, filename + '~')
188 os.rename(tempname, filename)
190 err(filename + ': rename failed (' + str(msg) + ')\n')
/third_party/python/Lib/test/
H A Dtest_unicode_file_functions.py2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir
162 os.rename(name, "tmp")
163 os.rename("tmp", name)
H A Dtest_unicode_file.py41 # Copy/rename etc tests using the same filename
58 # Should be able to rename the file using either name.
60 os.rename(filename1, filename2 + ".new")
63 os.rename(filename1 + ".new", filename2)
77 # it tries a rename first. This only fails on Windows when on
/third_party/ltp/testcases/kernel/syscalls/rename/
H A Drename02.c42 * TEST TITLE : Basic test for rename(2)
62 * 1.) rename(2) returns...(See Description)
90 * This is a Phase I test for the rename(2) system call. It is intended
93 * rename(2).
141 * Call rename(2) in main()
143 TEST(rename(fname, mname)); in main()
147 tst_resm(TFAIL, "rename(%s, %s) Failed, errno=%d : %s", in main()
151 tst_resm(TPASS, "rename(%s, %s) returned %ld", in main()
H A Drename12.c11 * Verify that rename() fails with EPERM or EACCES when the directory
46 TEST(rename(TEMP_FILE1, TEMP_FILE2)); in run()
48 tst_res(TPASS | TTERRNO, "rename() failed as expected"); in run()
50 tst_res(TFAIL, "rename() succeeded unexpectedly"); in run()
52 tst_res(TFAIL | TTERRNO, "rename() failed, but not with expected errno"); in run()
H A Drename09.c53 TST_EXP_FAIL(rename(SRCFILE, DESTFILE), EACCES, "rename()"); in run()
/third_party/skia/third_party/externals/spirv-cross/
H A Dmain.cpp903 "\t[--rename-entry-point <old> <new> <stage>]:\n\t\tRenames an entry point from what is declared in SPIR-V to code output.\n" in print_help_common()
905 "\t[--rename-interface-variable <in|out> <location> <new_variable_name>]:\n\t\tRename an interface variable based on location decoration.\n" in print_help_common()
1184 for (auto &rename : args.entry_point_rename) in compile_iteration()
1185 compiler->rename_entry_point(rename.old_name, rename.new_name, rename.execution_model); in compile_iteration()
1378 for (auto &rename : args.interface_variable_renames) in compile_iteration()
1380 if (rename.storageClass == StorageClassInput) in compile_iteration()
1381 spirv_cross_util::rename_interface_variable(*compiler, res.stage_inputs, rename.location, in compile_iteration()
1382 rename in compile_iteration()
[all...]
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapps.c54 # define rename(from,to) WIN32_rename((from),(to)) macro
1589 if (rename(serialfile, buf[1]) < 0 && errno != ENOENT in rotate_serial()
1595 "Unable to rename %s to %s\n", serialfile, buf[1]); in rotate_serial()
1599 if (rename(buf[0], serialfile) < 0) { in rotate_serial()
1601 "Unable to rename %s to %s\n", buf[0], serialfile); in rotate_serial()
1603 rename(buf[1], serialfile); in rotate_serial()
1805 if (rename(dbfile, buf[1]) < 0 && errno != ENOENT in rotate_index()
1810 BIO_printf(bio_err, "Unable to rename %s to %s\n", dbfile, buf[1]); in rotate_index()
1814 if (rename(buf[0], dbfile) < 0) { in rotate_index()
1815 BIO_printf(bio_err, "Unable to rename in rotate_index()
[all...]
/third_party/openssl/apps/lib/
H A Dapps.c54 # define rename(from,to) WIN32_rename((from),(to)) macro
1587 if (rename(serialfile, buf[1]) < 0 && errno != ENOENT in rotate_serial()
1593 "Unable to rename %s to %s\n", serialfile, buf[1]); in rotate_serial()
1597 if (rename(buf[0], serialfile) < 0) { in rotate_serial()
1599 "Unable to rename %s to %s\n", buf[0], serialfile); in rotate_serial()
1601 rename(buf[1], serialfile); in rotate_serial()
1800 if (rename(dbfile, buf[1]) < 0 && errno != ENOENT in rotate_index()
1805 BIO_printf(bio_err, "Unable to rename %s to %s\n", dbfile, buf[1]); in rotate_index()
1809 if (rename(buf[0], dbfile) < 0) { in rotate_index()
1810 BIO_printf(bio_err, "Unable to rename in rotate_index()
[all...]
/third_party/toybox/kconfig/
H A Dconfdata.c561 rename(newname, dirname); in conf_write()
562 if (rename(tmpname, newname)) in conf_write()
793 if (rename(".tmpconfig.h", name)) in conf_write_autoconf()
802 if (rename(".tmpconfig", name)) in conf_write_autoconf()
H A Dutil.c51 rename("..config.tmp", name); in file_write_dep()
/third_party/libcoap/src/
H A Dcoap_subscribe.c466 (void)rename(new, (const char *)ctx->observe_save_file->s); in coap_op_observe_load_disk()
549 (void)rename(new, (const char *)session->context->observe_save_file->s); in coap_op_observe_added()
626 (void)rename(new, (const char *)session->context->observe_save_file->s); in coap_op_observe_deleted()
742 (void)rename(new, (const char *)context->obs_cnt_save_file->s); in coap_op_obs_cnt_track_observe()
805 (void)rename(new, (const char *)context->obs_cnt_save_file->s); in coap_op_obs_cnt_deleted()
1026 (void)rename(new, (const char *)context->dyn_resource_save_file->s); in coap_op_dyn_resource_added()
1097 (void)rename(new, (const char *)context->dyn_resource_save_file->s); in coap_op_resource_deleted()
/third_party/ltp/testcases/kernel/mce-test/stress/tools/fs-metadata/
H A Dk-tree-trav.c60 rename(f2, f1); in k_tree_trav()
/third_party/littlefs/scripts/
H A Dprefix.py51 os.rename(newname+'~', newname)
/third_party/node/deps/v8/src/compiler/
H A Dloop-variable-optimizer.cc338 Node* rename = in ChangeToPhisAndInsertGuards() local
341 induction_var->effect_phi()->ReplaceInput(1, rename); in ChangeToPhisAndInsertGuards()
342 induction_var->phi()->ReplaceInput(1, rename); in ChangeToPhisAndInsertGuards()
/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()
/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...]
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/
H A Dmove-file.js30 await fs.rename(source, destination)
/third_party/toybox/toys/posix/
H A Dln.c79 rc = rename(new, oldnew); in ln_main()
/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/eudev/src/udev/
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...]

Completed in 26 milliseconds

1234567891011