Home
last modified time | relevance | path

Searched refs:tmp_file (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/scripts/
H A Dtools-support-relr.sh4 tmp_file=$(mktemp)
5 trap "rm -f $tmp_file.o $tmp_file $tmp_file.bin" EXIT
7 cat << "END" | $CC -c -x c - -o $tmp_file.o >/dev/null 2>&1
10 $LD $tmp_file.o -shared -Bsymbolic --pack-dyn-relocs=relr \
11 --use-android-relr-tags -o $tmp_file
15 test -z "$($NM $tmp_file 2>&1 >/dev/null)"
17 $OBJCOPY -O binary $tmp_file $tmp_file.bin
H A Dleaking_addresses.pl223 my $tmp_file = "";
230 my $tmp_file = "/tmp/tmpkconf";
232 if (system("gunzip < /proc/config.gz > $tmp_file")) {
236 @config_files = ($tmp_file);
252 if ($tmp_file ne "") {
253 system("rm -f $tmp_file");
H A Drecordmcount.c319 char tmp_file[strlen(fname) + 4]; in write_file() local
325 sprintf(tmp_file, "%s.rc", fname); in write_file()
332 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode); in write_file()
352 if (rename(tmp_file, fname) < 0) { in write_file()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dreverse.c18 FILE * tmp_file; member
25 p->tmp_file = lsx_tmpfile(); in start()
26 if (p->tmp_file == NULL) { in start()
37 if (fwrite(ibuf, sizeof(*ibuf), *isamp, p->tmp_file) != *isamp) { in flow()
51 fflush(p->tmp_file); in drain()
52 p->pos = ftello(p->tmp_file); in drain()
60 fseeko(p->tmp_file, (off_t)(p->pos * sizeof(sox_sample_t)), SEEK_SET); in drain()
61 if (fread(obuf, sizeof(sox_sample_t), *osamp, p->tmp_file) != *osamp) { in drain()
76 fclose(p->tmp_file); /* auto-deleted by lsx_tmpfile */ in stop()
H A Drepeat.c24 FILE * tmp_file; member
46 if (!(p->tmp_file = lsx_tmpfile())) { in start()
66 if (fwrite(ibuf, sizeof(*ibuf), len, p->tmp_file) != len) { in flow()
87 rewind(p->tmp_file); in drain()
90 if ((fread(obuf + odone, sizeof(*obuf), n, p->tmp_file)) != n) { in drain()
104 fclose(p->tmp_file); /* auto-deleted by lsx_tmpfile */ in stop()
H A Dgain.c31 FILE * tmp_file; member
87 p->tmp_file = lsx_tmpfile(); in start()
88 if (p->tmp_file == NULL) { in start()
107 if (fwrite(ibuf, sizeof(*ibuf), *isamp, p->tmp_file) != *isamp) { in flow()
155 rewind(q->tmp_file); in start_drain()
176 rewind(q->tmp_file); in start_drain()
190 rewind(p->tmp_file); in start_drain()
205 len = fread(obuf, sizeof(*obuf), *osamp, p->tmp_file); in drain()
206 if (len != *osamp && !feof(p->tmp_file)) { in drain()
226 fclose(p->tmp_file); /* auto-deleted by lsx_tmpfile */ in stop()
/OK3568_Linux_fs/kernel/tools/testing/selftests/
H A Dkselftest_deps.sh64 tmp_file=$(mktemp).c
65 trap "rm -f $tmp_file.o $tmp_file $tmp_file.bin" EXIT
77 cat << "EOF" > $tmp_file
213 $CC -o $tmp_file.bin $lib $tmp_file > /dev/null 2>&1
/OK3568_Linux_fs/kernel/tools/time/
H A Dudelay_test.sh19 tmp_file=`mktemp`
26 tee -a $tmp_file < $UDELAY_PATH
31 if [ -f $tmp_file ]; then
32 rm $tmp_file
53 count=`grep -c FAIL $tmp_file`
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dcompression.py25 tmp_file = self.tmpdir / "compressed"
27 with self.do_open(tmp_file, mode="w" + mode_suffix) as f:
30 with self.do_open(tmp_file, mode="r" + mode_suffix) as f:
58 tmp_file = self.tmpdir / "compressed"
59 with tmp_file.open("wb") as f:
63 with self.do_open(tmp_file, mode="rb", stderr=subprocess.DEVNULL) as f:
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dreproducible.py189 tmp_file = "%s.new" % epochfile
190 with open(tmp_file, 'w') as f:
192 os.rename(tmp_file, epochfile)
/OK3568_Linux_fs/buildroot/package/ftop/
H A D0001-overflow.patch17 file_info *tmp_file;
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/
H A D05_gcc.diff28 : tmp_file(WvString::null)
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py177 tmp_file = os.path.join(root, f).replace(localpath, "")
178 dst_file = os.path.join(remotepath, tmp_file.lstrip("/"))
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dsanity.bbclass314 with tempfile.NamedTemporaryFile(prefix='TmP', dir=path) as tmp_file:
315 if os.path.exists(tmp_file.name.lower()):