Home
last modified time | relevance | path

Searched refs:dstname (Results 1 - 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/io/ltp-aiodio/
H A Daiocp.c33 static const char *dstname = "dstfile.bin"; variable
277 dstfd = SAFE_OPEN(dstname, dstflags | O_WRONLY | 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()
293 SAFE_STAT(dstname, &st); in run()
301 dstfd = SAFE_OPEN(dstname, O_RDONLY, 0666); in run()
/third_party/python/Doc/includes/
H A Dtzinfo_examples.py112 def __init__(self, hours, reprname, stdname, dstname):
116 self.dstname = dstname
123 return self.dstname
/third_party/python/Lib/ctypes/test/
H A Dtest_find.py92 dstname = os.path.join(d, 'lib%s.so' % libname)
97 cmd = ['gcc', '-o', dstname, '--shared',
100 self.assertTrue(os.path.exists(dstname))
/third_party/mesa3d/src/freedreno/rnn/
H A Dheadergen2.c443 char *dstname = malloc(strlen(db->files[i]) + 3); in main() local
445 strcpy(dstname, db->files[i]); in main()
446 strcat(dstname, ".h"); in main()
447 struct fout f = { db->files[i], fopen(dstname, "w") }; in main()
449 perror(dstname); in main()
452 free(dstname); in main()
/third_party/python/Lib/
H A Dshutil.py467 dstname = os.path.join(dst, srcentry.name)
483 os.symlink(linkto, dstname)
484 copystat(srcobj, dstname, follow_symlinks=not symlinks)
491 copytree(srcobj, dstname, symlinks, ignore,
495 copy_function(srcobj, dstname)
497 copytree(srcobj, dstname, symlinks, ignore, copy_function,
501 copy_function(srcobj, dstname)
507 errors.append((srcname, dstname, str(why)))
/third_party/icu/icu4c/source/tools/tzcode/
H A Dlocaltime.c928 const char * dstname; in tzparse() local
937 INITIALIZE(dstname); in tzparse()
969 dstname = ++name; in tzparse()
973 dstlen = name - dstname; in tzparse()
976 dstname = name; in tzparse()
978 dstlen = name - dstname; /* length of DST zone name */ in tzparse()
1163 (void) strncpy(cp, dstname, dstlen); in tzparse()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dlocaltime.c926 const char * dstname; in tzparse() local
935 INITIALIZE(dstname); in tzparse()
967 dstname = ++name; in tzparse()
971 dstlen = name - dstname; in tzparse()
974 dstname = name; in tzparse()
976 dstlen = name - dstname; /* length of DST zone name */ in tzparse()
1161 (void) strncpy(cp, dstname, dstlen); in tzparse()
/third_party/tzdata/
H A Dlocaltime.c1091 const char * dstname; in tzparse() local
1134 dstname = ++name; in tzparse()
1138 dstlen = name - dstname; in tzparse()
1141 dstname = name; in tzparse()
1143 dstlen = name - dstname; /* length of DST abbr. */ in tzparse()
1352 memcpy(cp, dstname, dstlen); in tzparse()
/third_party/libdrm/intel/
H A Dintel_decode.c621 /** Sets the string dstname to describe the destination of the PS instruction */
623 i915_get_instruction_dst(uint32_t *data, int i, char *dstname, int do_mask) in i915_get_instruction_dst() argument
661 sprintf(dstname, "R%d%s%s", dst_nr, dstmask, sat); in i915_get_instruction_dst()
666 sprintf(dstname, "oC%s%s", dstmask, sat); in i915_get_instruction_dst()
671 sprintf(dstname, "oD%s%s", dstmask, sat); in i915_get_instruction_dst()
676 sprintf(dstname, "U%d%s%s", dst_nr, dstmask, sat); in i915_get_instruction_dst()
679 sprintf(dstname, "RESERVED"); in i915_get_instruction_dst()
/third_party/python/Lib/test/
H A Dtest_shutil.py136 dstname = None
144 dstname = dst.name
156 if dstname is not None:
157 os_helper.unlink(dstname)
2467 dstname = TESTFN + 'dst'
2469 self.addCleanup(lambda: os_helper.unlink(dstname))
2474 with open(dstname, "wb") as dst:
2477 self.assertEqual(read_file(dstname, binary=True), b"")
H A Ddatetimetester.py5054 def __init__(self, hours, reprname, stdname, dstname):
5058 self.dstname = dstname
5065 return self.dstname
5475 def __init__(self, hours, reprname, stdname, dstname):
5479 self.dstname = dstname
5486 return self.dstname
H A Dtest_tarfile.py1383 dstname = os.path.abspath(tmpname)
1386 self.assertEqual(tar.name, dstname,
1388 tar.add(dstname)
1393 tar.add(dstname)

Completed in 34 milliseconds