Home
last modified time | relevance | path

Searched refs:tmpname (Results 1 – 25 of 32) sorted by relevance

12

/OK3568_Linux_fs/kernel/fs/isofs/
H A Ddir.c84 char *tmpname, struct iso_directory_record *tmpde) in do_isofs_readdir() argument
208 len = get_rock_ridge_filename(de, tmpname, inode); in do_isofs_readdir()
210 p = tmpname; in do_isofs_readdir()
217 len = get_joliet_filename(de, tmpname, inode); in do_isofs_readdir()
218 p = tmpname; in do_isofs_readdir()
222 len = get_acorn_filename(de, tmpname, inode); in do_isofs_readdir()
223 p = tmpname; in do_isofs_readdir()
226 len = isofs_name_translate(de, tmpname, inode); in do_isofs_readdir()
227 p = tmpname; in do_isofs_readdir()
254 char *tmpname; in isofs_readdir() local
[all …]
H A Dnamei.c38 char *tmpname, struct iso_directory_record *tmpde) in isofs_find_entry() argument
110 ((i = get_rock_ridge_filename(de, tmpname, dir)))) { in isofs_find_entry()
112 dpnt = tmpname; in isofs_find_entry()
115 dlen = get_joliet_filename(de, tmpname, dir); in isofs_find_entry()
116 dpnt = tmpname; in isofs_find_entry()
119 dlen = get_acorn_filename(de, tmpname, dir); in isofs_find_entry()
120 dpnt = tmpname; in isofs_find_entry()
122 dlen = isofs_name_translate(de, tmpname, dir); in isofs_find_entry()
123 dpnt = tmpname; in isofs_find_entry()
/OK3568_Linux_fs/u-boot/scripts/dtc/
H A Dfstree.c40 char *tmpname; in read_fstree() local
46 tmpname = join_path(dirname, de->d_name); in read_fstree()
48 if (lstat(tmpname, &st) < 0) in read_fstree()
49 die("stat(%s): %s\n", tmpname, strerror(errno)); in read_fstree()
55 pfile = fopen(tmpname, "rb"); in read_fstree()
59 tmpname, strerror(errno)); in read_fstree()
70 newchild = read_fstree(tmpname); in read_fstree()
75 free(tmpname); in read_fstree()
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dfstree.c25 char *tmpname; in read_fstree() local
31 tmpname = join_path(dirname, de->d_name); in read_fstree()
33 if (stat(tmpname, &st) < 0) in read_fstree()
34 die("stat(%s): %s\n", tmpname, strerror(errno)); in read_fstree()
40 pfile = fopen(tmpname, "rb"); in read_fstree()
44 tmpname, strerror(errno)); in read_fstree()
56 newchild = read_fstree(tmpname); in read_fstree()
61 free(tmpname); in read_fstree()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A D0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch11 tmpname. Don't unlink the file directly, instead tag it for removal
53 - char const *tmpname;
61 - tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
64 - pfatal ("Can't create temporary file %s", quotearg (tmpname));
69 - pfatal ("Can't open stream for file %s", quotearg (tmpname));
78 - pfatal ("Can't rewind to the beginning of file %s", quotearg (tmpname));
88 - safe_unlink (tmpname);
H A D0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch42 + char const *tmpname;
54 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
56 + pfatal ("Can't create temporary file %s", quotearg (tmpname));
59 + pfatal ("Can't open stream for file %s", quotearg (tmpname));
115 + pfatal ("Can't rewind to the beginning of file %s", quotearg (tmpname));
150 + safe_unlink (tmpname);
/OK3568_Linux_fs/external/xserver/xkb/
H A DddxLoad.c107 char tmpname[PATH_MAX]; in RunXkbComp() local
108 const char *xkmfile = tmpname; in RunXkbComp()
118 strcpy(tmpname, Win32TempDir()); in RunXkbComp()
119 strcat(tmpname, "\\xkb_XXXXXX"); in RunXkbComp()
120 (void) mktemp(tmpname); in RunXkbComp()
161 out = fopen(tmpname, "w"); in RunXkbComp()
178 unlink(tmpname); in RunXkbComp()
188 unlink(tmpname); in RunXkbComp()
195 LogMessage(X_ERROR, "Could not open file %s\n", tmpname); in RunXkbComp()
/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A Dxwayland-shm.c74 create_tmpfile_cloexec(char *tmpname) in create_tmpfile_cloexec() argument
79 fd = mkostemp(tmpname, O_CLOEXEC); in create_tmpfile_cloexec()
81 unlink(tmpname); in create_tmpfile_cloexec()
83 fd = mkstemp(tmpname); in create_tmpfile_cloexec()
86 unlink(tmpname); in create_tmpfile_cloexec()
/OK3568_Linux_fs/buildroot/package/patch/
H A D0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch43 + char const *tmpname;
55 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
57 + pfatal ("Can't create temporary file %s", quotearg (tmpname));
60 + pfatal ("Can't open stream for file %s", quotearg (tmpname));
116 + pfatal ("Can't rewind to the beginning of file %s", quotearg (tmpname));
151 + safe_unlink (tmpname);
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/php/php/
H A D0001-ext-opcache-config.m4-enable-opcache.patch193 - char tmpname[4096];
195 - sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid());
196 - if (mktemp(tmpname) == NULL) {
199 - fd = shm_open(tmpname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
205 - shm_unlink(tmpname);
213 - shm_unlink(tmpname);
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0003-rarpd.c-bug-fix.patch201 + char tmpname[IFNAMSIZ];
234 + strncpy(tmpname, ifl->name, IFNAMSIZ);
235 + tmpname[IFNAMSIZ-1] = 0;
237 + sprintf(tmpname, "if%d", sll.sll_ifindex);
238 + syslog(LOG_INFO, "RARP request from %s on %s", tmpbuf, tmpname);
248 + inet_ntoa(*(struct in_addr *)&rmap->ipaddr), tmpname);
/OK3568_Linux_fs/kernel/scripts/kconfig/
H A Dconfdata.c830 char tmpname[PATH_MAX + 1], oldname[PATH_MAX + 1]; in conf_write() local
853 *tmpname = 0; in conf_write()
856 snprintf(tmpname, sizeof(tmpname), "%s.%d.tmp", in conf_write()
858 out = fopen(tmpname, "w"); in conf_write()
918 if (*tmpname) { in conf_write()
919 if (is_same(name, tmpname)) { in conf_write()
921 unlink(tmpname); in conf_write()
928 if (rename(tmpname, name)) in conf_write()
/OK3568_Linux_fs/kernel/sound/synth/emux/
H A Demux_seq.c59 char tmpname[64]; in snd_emux_init_seq() local
86 sprintf(tmpname, "%s Port %d", emu->name, i); in snd_emux_init_seq()
87 p = snd_emux_create_port(emu, tmpname, MIDI_CHANNELS, in snd_emux_init_seq()
H A Demux_oss.c101 char tmpname[64]; in snd_emux_open_seq_oss() local
114 sprintf(tmpname, "%s OSS Port", emu->name); in snd_emux_open_seq_oss()
115 p = snd_emux_create_port(emu, tmpname, 32, in snd_emux_open_seq_oss()
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dconfdata.c746 char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1]; in conf_write() local
774 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write()
775 out = fopen(tmpname, "w"); in conf_write()
777 *tmpname = 0; in conf_write()
824 if (*tmpname) { in conf_write()
828 if (rename(tmpname, newname)) in conf_write()
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dconfdata.c747 char dirname[PATH_MAX+1], tmpname[PATH_MAX+20], newname[PATH_MAX+1]; in conf_write() local
778 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write()
779 out = fopen(tmpname, "w"); in conf_write()
781 *tmpname = 0; in conf_write()
828 if (*tmpname) { in conf_write()
832 if (rename(tmpname, newname)) in conf_write()
/OK3568_Linux_fs/kernel/kernel/
H A Drelay.c421 char *tmpname; in relay_create_buf_file() local
423 tmpname = kzalloc(NAME_MAX + 1, GFP_KERNEL); in relay_create_buf_file()
424 if (!tmpname) in relay_create_buf_file()
426 snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); in relay_create_buf_file()
429 dentry = chan->cb->create_buf_file(tmpname, chan->parent, in relay_create_buf_file()
435 kfree(tmpname); in relay_create_buf_file()
/OK3568_Linux_fs/external/xserver/dix/
H A Ddixfonts.c627 char *tmpname; in doListFontsAndAliases() local
631 ((void *) c->client, fpe, &name, &namelen, &tmpname, in doListFontsAndAliases()
644 memmove(resolved, tmpname, resolvedlen + 1); in doListFontsAndAliases()
676 char *tmpname; in doListFontsAndAliases() local
679 tmpname = 0; in doListFontsAndAliases()
681 ((void *) c->client, fpe, &tmpname, &tmpnamelen, in doListFontsAndAliases()
682 &tmpname, &tmpnamelen, c->current.private); in doListFontsAndAliases()
913 char *tmpname; in doListFontsWithInfo() local
917 tmpname = 0; in doListFontsWithInfo()
920 (client, fpe, &tmpname, &tmpnamelen, &tmpFontInfo, in doListFontsWithInfo()
/OK3568_Linux_fs/u-boot/common/
H A Dlrz.c1461 char *tmpname; in procheader() local
1515 tmpname=alloca(namelen+5); in procheader()
1516 memcpy(tmpname,name,namelen); in procheader()
1517 ptr=tmpname+namelen; in procheader()
1524 } while (i<1000 && stat(tmpname,&sta)==0); in procheader()
1528 name_static=malloc(strlen(tmpname)+1); in procheader()
1531 strcpy(name_static,tmpname); in procheader()
/OK3568_Linux_fs/u-boot/tools/patman/
H A Dpatchstream.py455 handle, tmpname = tempfile.mkstemp()
467 shutil.move(tmpname, fname)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/xorg-app/xterm/
H A DCVE-2022-45063.patch268 char *tmpname = NULL;
289 - if ((tmpname = x_strdup(myfonts.f_n)) == 0)
292 + if ((tmpname = x_strdup(new_fnames.f_n)) == 0)
514 free(tmpname);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A Dnouveau_drm.c1084 char name[32], tmpname[TASK_COMM_LEN]; in nouveau_drm_open() local
1094 get_task_comm(tmpname, current); in nouveau_drm_open()
1095 snprintf(name, sizeof(name), "%s[%d]", tmpname, pid_nr(fpriv->pid)); in nouveau_drm_open()
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dpolicy_unpack.c677 const char *tmpname, *tmpns = NULL, *name = NULL; in unpack_profile() local
697 tmpname = aa_splitn_fqname(name, strlen(name), &tmpns, &ns_len); in unpack_profile()
704 name = tmpname; in unpack_profile()
/OK3568_Linux_fs/buildroot/support/kconfig/patches/
H A D14-support-out-of-tree-config.patch43 char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1];
/OK3568_Linux_fs/kernel/sound/pci/hda/
H A Dhda_generic.c3618 char tmpname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; in add_single_cap_ctl() local
3628 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl()
3631 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl()
3633 knew = add_control(spec, type, tmpname, idx, in add_single_cap_ctl()
3644 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl()
3647 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl()
3649 knew = add_control(spec, type, tmpname, idx, in add_single_cap_ctl()

12