/third_party/lame/ACM/ |
H A D | AEncodeProperties.cpp | 791 const std::string * tmpname = iterateElmt->Attribute("location"); 792 if (tmpname != NULL) 794 DllLocation = *tmpname; 928 const std::string * tmpname = tmpNode->Attribute("name"); 929 if (tmpname->compare(config_name) == 0) 970 const std::string * tmpname = iterateElmt->Attribute("name"); 971 if ((tmpname != NULL) && (tmpname->compare(config_name) == 0)) 981 const std::string * tmpname; 987 tmpname [all...] |
/third_party/python/Lib/test/ |
H A D | test_tarfile.py | 49 tmpname = os.path.join(TEMPDIR, "tmp.tar") variable 242 with tarfile.open(tmpname, 'w') as tar: 249 with tarfile.open(tmpname) as tar: 360 with open(tmpname, "wb"): 364 self.assertFalse(tarfile.is_tarfile(tmpname)) 367 self.assertFalse(tarfile.is_tarfile(pathlib.Path(tmpname))) 370 with open(tmpname, "rb") as fobj: 408 with tarfile.open(tmpname, self.mode.replace("r", "w")): 411 tar = tarfile.open(tmpname, self.mode) 430 with open(tmpname, "w [all...] |
H A D | test_mailbox.py | 2164 tmpname = os.path.join(self._dir, "tmp", filename) 2166 with open(tmpname, "w", encoding="utf-8") as fp: 2167 self._msgfiles.append(tmpname) 2172 os.link(tmpname, newname) 2177 return tmpname
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress07.c | 43 static char *tmpname; variable 50 (void)unlink(tmpname); \ 81 (void)unlink(tmpname); in cleanup() 118 tmpname = argv[1]; 153 if ((rofd = open64(tmpname, O_RDONLY | O_CREAT, 0777)) == -1) { 155 if ((rofd = open(tmpname, O_RDONLY | O_CREAT, 0777)) == -1) { 161 if ((rwfd = open64(tmpname, O_RDWR)) == -1) { 163 if ((rwfd = open(tmpname, O_RDWR)) == -1) { 288 if (unlink(tmpname) == -1) {
|
H A D | mmapstress02.c | 44 #define CLEANERROR(M) (void)unlink(tmpname); ERROR(M) 51 static char tmpname[] = "fileXXXXXX"; variable 75 (void)unlink(tmpname); in cleanup() 98 if ((fd = mkstemp(tmpname)) == -1) { in main() 166 if (unlink(tmpname) == -1) { in main()
|
H A D | mmapstress05.c | 71 if (unlink(tmpname)) { \ 88 //static char *tmpname; 12/31/02 89 static char tmpname[] = "fileXXXXXX"; variable 100 (void)unlink(tmpname); in cleanup() 140 if ((fd = mkstemp(tmpname)) == -1) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl15.c | 43 static char tmpname[10] = "testfile"; variable 74 fd = SAFE_OPEN(tmpname, file_flag, file_mode); in lock_region_two() 87 fd = SAFE_OPEN(tmpname, file_flag, file_mode); in do_test() 126 fd[0] = SAFE_OPEN(tmpname, file_flag, file_mode); in run_test() 137 fd[1] = SAFE_OPEN(tmpname, file_flag, file_mode); in run_test() 170 SAFE_UNLINK(tmpname); in run_test()
|
H A D | fcntl16.c | 273 static char tmpname[40]; variable 420 sprintf(tmpname, "fcntl4.%d", parent); in setup() 455 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test() 470 unlink(tmpname); in run_test() 484 unlink(tmpname); in run_test() 555 unlink(tmpname); in run_test() 569 unlink(tmpname); in run_test() 642 unlink(tmpname); in run_test()
|
H A D | fcntl14.c | 539 static char tmpname[40]; variable 570 sprintf(tmpname, "fcntl2.%d", parent); in setup() 782 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test() 899 unlink(tmpname); in run_test() 1018 fd = SAFE_OPEN(cleanup, tmpname, O_CREAT | O_RDWR | O_TRUNC, in main() 1042 unlink(tmpname); in main() 1055 fd = SAFE_OPEN(cleanup, tmpname, O_CREAT | O_RDWR | O_TRUNC, in main() 1150 unlink(tmpname); in main()
|
/third_party/mesa3d/src/util/ |
H A D | anon_file.c | 73 create_tmpfile_cloexec(char *tmpname) in create_tmpfile_cloexec() argument 78 fd = mkostemp(tmpname, O_CLOEXEC); in create_tmpfile_cloexec() 80 fd = mkstemp(tmpname); in create_tmpfile_cloexec() 91 unlink(tmpname); in create_tmpfile_cloexec()
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
H A D | dh_meth.c | 71 char *tmpname = OPENSSL_strdup(name); in DH_meth_set1_name() local 73 if (tmpname == NULL) { in DH_meth_set1_name() 79 dhm->name = tmpname; in DH_meth_set1_name()
|
/third_party/openssl/crypto/dh/ |
H A D | dh_meth.c | 71 char *tmpname = OPENSSL_strdup(name); in DH_meth_set1_name() local 73 if (tmpname == NULL) { in DH_meth_set1_name() 79 dhm->name = tmpname; in DH_meth_set1_name()
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest02.c | 87 static char tmpname[MAXPATHLEN]; variable 127 sprintf(tmpname, "/ftest02.%d", getpid()); in main() 128 strcat(dirname, tmpname); in main() 130 sprintf(tmpname, "/ftest02h.%d", getpid()); in main() 131 strcat(homedir, tmpname); in main()
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | asn_mime.c | 852 char *tmpname = NULL, *tmpval = NULL, *p; in mime_hdr_new() local 855 if ((tmpname = OPENSSL_strdup(name)) == NULL) in mime_hdr_new() 857 for (p = tmpname; *p; p++) in mime_hdr_new() 869 mhdr->name = tmpname; in mime_hdr_new() 876 OPENSSL_free(tmpname); in mime_hdr_new() 884 char *tmpname = NULL, *tmpval = NULL, *p; in mime_hdr_addparam() local 888 tmpname = OPENSSL_strdup(name); in mime_hdr_addparam() 889 if (!tmpname) in mime_hdr_addparam() 891 for (p = tmpname; *p; p++) in mime_hdr_addparam() 903 mparam->param_name = tmpname; in mime_hdr_addparam() [all...] |
/third_party/openssl/crypto/asn1/ |
H A D | asn_mime.c | 846 char *tmpname = NULL, *tmpval = NULL, *p; in mime_hdr_new() local 849 if ((tmpname = OPENSSL_strdup(name)) == NULL) in mime_hdr_new() 851 for (p = tmpname; *p; p++) in mime_hdr_new() 863 mhdr->name = tmpname; in mime_hdr_new() 870 OPENSSL_free(tmpname); in mime_hdr_new() 878 char *tmpname = NULL, *tmpval = NULL, *p; in mime_hdr_addparam() local 882 tmpname = OPENSSL_strdup(name); in mime_hdr_addparam() 883 if (!tmpname) in mime_hdr_addparam() 885 for (p = tmpname; *p; p++) in mime_hdr_addparam() 897 mparam->param_name = tmpname; in mime_hdr_addparam() [all...] |
/third_party/node/deps/openssl/openssl/crypto/dsa/ |
H A D | dsa_meth.c | 72 char *tmpname = OPENSSL_strdup(name); in DSA_meth_set1_name() local 74 if (tmpname == NULL) { in DSA_meth_set1_name() 80 dsam->name = tmpname; in DSA_meth_set1_name()
|
/third_party/openssl/crypto/dsa/ |
H A D | dsa_meth.c | 72 char *tmpname = OPENSSL_strdup(name); in DSA_meth_set1_name() local 74 if (tmpname == NULL) { in DSA_meth_set1_name() 80 dsam->name = tmpname; in DSA_meth_set1_name()
|
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_meth.c | 71 char *tmpname = OPENSSL_strdup(name); in RSA_meth_set1_name() local 73 if (tmpname == NULL) { in RSA_meth_set1_name() 79 meth->name = tmpname; in RSA_meth_set1_name()
|
/third_party/openssl/crypto/rsa/ |
H A D | rsa_meth.c | 71 char *tmpname = OPENSSL_strdup(name); in RSA_meth_set1_name() local 73 if (tmpname == NULL) { in RSA_meth_set1_name() 79 meth->name = tmpname; in RSA_meth_set1_name()
|
/third_party/toybox/kconfig/ |
H A D | confdata.c | 403 char dirname[128], tmpname[128], newname[128]; in conf_write() local 435 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write() 436 out = fopen(tmpname, "w"); in conf_write() 438 *tmpname = 0; in conf_write() 558 if (*tmpname) { in conf_write() 562 if (rename(tmpname, newname)) in conf_write()
|
/third_party/alsa-utils/iecset/ |
H A D | iecset.c | 325 char tmpname[32]; in main() local 342 sprintf(tmpname, "hw:%d", i); in main() 343 dev = tmpname; in main()
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngcp.c | 2225 char *tmpname, tmpbuf[(sizeof dp->namebuf) + 4]; in cp_one_file() local 2237 tmpname = tmpbuf; in cp_one_file() 2241 tmpname = NULL; /* stdout */ in cp_one_file() 2246 write_png(dp, tmpname); in cp_one_file() 2256 if (destname != NULL && rename(tmpname, destname) != 0) in cp_one_file() 2257 display_log(dp, APP_ERROR, "rename %s %s failed (%s)", tmpname, in cp_one_file() 2264 else if (tmpname != NULL && unlink(tmpname) != 0) in cp_one_file() 2265 display_log(dp, APP_WARNING, "unlink %s failed (%s)", tmpname, in cp_one_file()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross.cpp | 1071 auto tmpname = name; in update_name_cache() local 1075 if (tmpname == "_") in update_name_cache() 1079 tmpname += "0"; in update_name_cache() 1081 else if (tmpname.back() == '_') in update_name_cache() 1093 name = tmpname + (use_linked_underscore ? "_" : "") + convert_to_string(counter); in update_name_cache()
|
/third_party/glfw/src/ |
H A D | wl_window.c | 58 static int createTmpfileCloexec(char* tmpname) in createTmpfileCloexec() argument 62 fd = mkostemp(tmpname, O_CLOEXEC); in createTmpfileCloexec() 64 unlink(tmpname); in createTmpfileCloexec()
|
/third_party/ffmpeg/ |
H A D | configure | 4494 tmpname="$tempprefix.${HOSTNAME}.${UID}" 4495 echo "$tmpname" 4496 mkdir "$tmpname" 4502 tmpname="${2%%XXX*}.${HOSTNAME}.${UID}.$$" 4503 echo "$tmpname" 4504 mkdir "$tmpname"
|