Home
last modified time | relevance | path

Searched refs:srcname (Results 1 – 18 of 18) sorted by relevance

/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c32 static const char *srcname = "srcfile.bin"; variable
250 tst_res(TINFO, "Fill %s with random data", srcname); in setup()
252 srcfd = SAFE_OPEN(srcname, (srcflags & ~O_DIRECT) | O_RDWR | O_CREAT, 0666); in setup()
276 srcfd = SAFE_OPEN(srcname, srcflags | O_RDWR | O_CREAT, 0666); in run()
279 tst_res(TINFO, "Copy %s -> %s", srcname, dstname); in run()
291 tst_res(TINFO, "Comparing %s with %s", srcname, dstname); in run()
300 srcfd = SAFE_OPEN(srcname, O_RDONLY, 0666); in run()
/third_party/python/Lib/ctypes/test/
Dtest_find.py90 srcname = os.path.join(d, 'dummy.c')
93 with open(srcname, 'wb') as f:
95 self.assertTrue(os.path.exists(srcname))
98 '-Wl,-soname,lib%s.so' % libname, srcname]
/third_party/mbedtls/scripts/
Decp_comb_table.py172 fd, srcname = tempfile.mkstemp(prefix="mbedtls", suffix=".c")
181 srcname,
192 os.unlink(srcname)
/third_party/toybox/porting/liteos_a/toys/posix/
Dcp.c342 char *srcname = toys.optargs[0]; in cp_main() local
356 ret = stat(srcname, &cst); in cp_main()
359 perror_msg("'%s'", srcname); in cp_main()
364 xprintf("cp %s error: Source file can't be a directory.\n", srcname); in cp_main()
/third_party/skia/tools/skpbench/
Dskpbench.cpp518 SkString srcname; in main() local
521 srcname = "warmup"; in main()
540 srcname = SkOSPath::Basename(srcfile.c_str()); in main()
547 srcname.c_str(), SkScalarCeilToInt(skp->cullRect().width()), in main()
640 print_result(samples, config->getTag().c_str(), srcname.c_str()); in main()
/third_party/libfuse/test/
Dtest_examples.py520 srcname = fullname
522 srcname = pjoin(src_dir, name)
523 with open(srcname, 'wb') as fh:
546 srcname = fullname
548 srcname = pjoin(src_dir, name)
549 os.mkdir(srcname)
/third_party/libdrm/intel/
Dintel_decode.c755 static void i915_get_instruction_src0(uint32_t *data, int i, char *srcname) in i915_get_instruction_src0() argument
766 i915_get_instruction_src_name((a0 >> 7) & 0x7, src_nr, srcname); in i915_get_instruction_src0()
770 strcat(srcname, swizzle); in i915_get_instruction_src0()
773 static void i915_get_instruction_src1(uint32_t *data, int i, char *srcname) in i915_get_instruction_src1() argument
784 i915_get_instruction_src_name((a1 >> 13) & 0x7, src_nr, srcname); in i915_get_instruction_src1()
788 strcat(srcname, swizzle); in i915_get_instruction_src1()
791 static void i915_get_instruction_src2(uint32_t *data, int i, char *srcname) in i915_get_instruction_src2() argument
801 i915_get_instruction_src_name((a2 >> 21) & 0x7, src_nr, srcname); in i915_get_instruction_src2()
805 strcat(srcname, swizzle); in i915_get_instruction_src2()
/third_party/python/Doc/library/
Dshutil.rst439 (*srcname*, *dstname*, *exception*).
482 srcname = os.path.join(src, name)
485 if symlinks and os.path.islink(srcname):
486 linkto = os.readlink(srcname)
488 elif os.path.isdir(srcname):
489 copytree(srcname, dstname, symlinks)
491 copy2(srcname, dstname)
494 errors.append((srcname, dstname, str(why)))
/third_party/python/Lib/
Dshutil.py464 srcname = os.path.join(src, srcentry.name)
466 srcobj = srcentry if use_srcentry else srcname
476 linkto = os.readlink(srcname)
504 errors.append((srcname, dstname, str(why)))
/third_party/python/Lib/test/
Dtest_shutil.py131 srcname = None
135 srcname = f.name
138 with open(srcname, "rb") as src:
150 if srcname is not None:
151 os_helper.unlink(srcname)
2407 srcname = TESTFN + 'src'
2409 self.addCleanup(lambda: os_helper.unlink(srcname))
2411 with open(srcname, "wb"):
2414 with open(srcname, "rb") as src:
/third_party/libabigail/
Dltmain.sh2971 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/third_party/skia/third_party/externals/microhttpd/
Dltmain.sh2991 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/third_party/curl/
Dltmain.sh4560 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/third_party/libevdev/build-aux/
Dltmain.sh4305 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/third_party/node/deps/cares/
Dltmain.sh4560 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/third_party/lame/
Dltmain.sh4312 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/third_party/skia/third_party/externals/libpng/
Dltmain.sh4312 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/third_party/node/deps/cares/config/
Dltmain.sh4560 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \