Home
last modified time | relevance | path

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

/build/make/tools/libhost/
DCopyFile.c50 static int copyFileRecursive(const char* src, const char* dst, bool isCmdLine, unsigned int options…
98 static void printCopyMsg(const char* src, const char* dst, unsigned int options) in printCopyMsg() argument
101 printf(" '%s' --> '%s'\n", src, dst); in printCopyMsg()
104 static void printNotNewerMsg(const char* src, const char* dst, unsigned int options) in printNotNewerMsg() argument
108 printf(" '%s' is up-to-date\n", dst); in printNotNewerMsg()
116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd) in copyFileContents() argument
136 "acp: failed writing '%s': %s\n", dst, strerror(errno)); in copyFileContents()
141 dst, writeCount, readCount); in copyFileContents()
160 static int setPermissions(const char* dst, const struct stat* pSrcStat, unsigned int options) in setPermissions() argument
173 if (utime(dst, &ut) != 0) { in setPermissions()
[all …]
/build/make/tools/zipalign/tests/src/
Dalign_test.cpp20 const std::string dst = GetTestPath("unaligned_out.zip"); in TEST() local
22 int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096); in TEST()
25 int verified = verify(dst.c_str(), 4, true, false); in TEST()
34 const std::string dst = GetTestPath("holes_out.zip"); in TEST() local
36 int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096); in TEST()
39 int verified = verify(dst.c_str(), 4, false, true); in TEST()
46 const std::string dst = GetTestPath("diffOrders_out.zip"); in TEST() local
48 int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096); in TEST()
51 int verified = verify(dst.c_str(), 4, false, true); in TEST()
/build/soong/ui/build/
Dutil_test.go67 dst := filepath.Join(tmpDir, "dst.txt")
69 l, err := copyFile(src, dst)
78 dstData, err := ioutil.ReadFile(dst)
80 t.Fatalf("got %v, expecting nil error reading dst %q file", err, dst)
84 t.Errorf("got %q, expecting data %q from dst %q text file", string(data), string(dstData), dst)
103 dst string
107 dst: "/dst/not/exist",
111 dst: "/dst/not/exist",
116 if _, err := copyFile(tt.src, tt.dst); err == nil {
Dupload.go103 dst := filepath.Join(tmpDir, filepath.Base(src))
104 if _, err := copyFile(src, dst); err != nil {
105 ctx.Fatalf("failed to copy %q to %q: %v\n", src, dst, err)
107 metricsFiles[i] = dst
Dutil.go132 func copyFile(src, dst string) (int64, error) {
139 destination, err := os.Create(dst)
/build/make/tools/acp/
Dacp.c116 char* dst; in process() local
141 dst = malloc(stripDestLen +1 + srcNameLen +1); in process()
142 memcpy(dst, stripDest, stripDestLen); in process()
143 dst[stripDestLen] = FSSEP; in process()
144 memcpy(dst + stripDestLen+1, srcName, srcNameLen+1); in process()
147 dst = stripDest; in process()
153 copyResult = copyFile(src, dst, options); in process()
159 if (dst != stripDest) in process()
160 free(dst); in process()
/build/make/core/
Ddistdir.mk41 $(eval dst := $(call word-colon,2,$(file))) \
42 $(if $(dst),,$(eval dst := $$(notdir $$(src)))) \
43 $(eval _all_dist_src_dst_pairs += $$(src):$$(dst)) \
45 $(eval _all_dist_goal_output_pairs += $$(goal):$$(dst))))
/build/blueprint/proptools/
Dextend.go36 func AppendProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc) error {
37 return extendProperties(dst, src, filter, OrderAppend)
54 func PrependProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc) error {
55 return extendProperties(dst, src, filter, OrderPrepend)
74 func AppendMatchingProperties(dst []interface{}, src interface{},
76 return extendMatchingProperties(dst, src, filter, OrderAppend)
95 func PrependMatchingProperties(dst []interface{}, src interface{},
97 return extendMatchingProperties(dst, src, filter, OrderPrepend)
118 func ExtendProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc,
120 return extendProperties(dst, src, filter, order)
[all …]
/build/make/packaging/
Ddistdir.mk40 $(eval dst := $(DIST_DIR)/$(call word-colon,2,$(pair))) \
41 $(eval $(call copy-one-dist-file,$(src),$(dst))))
/build/make/tools/libhost/include/host/
DCopyFile.h23 int copyFile(const char* src, const char* dst, unsigned int options);
/build/make/tools/
Dgenerate-self-extracting-archive.py87 def _pipe_bytes(src, dst): argument
92 dst.write(b)
/build/make/tools/atree/
Dfs.h10 int copy_file(const string& src, const string& dst);
Dfs.cpp136 copy_file(const string& src, const string& dst) in copy_file() argument
140 err = copyFile(src.c_str(), dst.c_str(), in copy_file()
/build/soong/bp2build/
Dsymlink_forest.go85 func symlinkIntoForest(topdir, dst, src string) { argument
86 err := os.Symlink(shared.JoinPath(topdir, src), shared.JoinPath(topdir, dst))
88 fmt.Fprintf(os.Stderr, "Cannot create symlink at '%s' pointing to '%s': %s", dst, src, err)
/build/make/tools/zipalign/
DZipFile.cpp436 long dst = ftell(mZipFp) - startPosn; in addCommon() local
437 if (dst + (dst / 10) > src) { in addCommon()
439 src, dst); in addCommon()
1136 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) in filemove() argument
1138 if (dst == src || n <= 0) in filemove()
1143 if (dst < src) { in filemove()
1167 if (fseek(fp, (long) dst, SEEK_SET) != 0) { in filemove()
1169 (long) dst, strerror(errno)); in filemove()
1175 getSize, (long) dst, strerror(errno)); in filemove()
1180 dst += getSize; in filemove()
/build/soong/android/
Dhooks.go102 dst := []interface{}{
108 err := proptools.AppendMatchingProperties(dst, src, nil)
Ddefaults.go243 dst := []interface{}{
250 err := proptools.PrependMatchingProperties(dst, defaultsProp, nil)
Darch.go1028 func mergePropertyStruct(ctx ArchVariantContext, dst interface{}, srcValue reflect.Value) {
1045 err := proptools.ExtendMatchingProperties([]interface{}{dst}, src, nil, order)
1936 func (m *ModuleBase) GetTargetProperties(dst interface{}) map[OsType]interface{} {
1992 dstClone := reflect.New(reflect.ValueOf(dst).Elem().Type()).Interface()
/build/soong/cc/
Dcmakelists.go108 dst := strings.Replace(path, cLionAggregateProjectsDirectory, cLionOutputProjectsDirectory, 1)
111 os.MkdirAll(dst, os.ModePerm)
114 os.Remove(dst)
115 os.Symlink(path, dst)
/build/make/tools/releasetools/
Dvalidate_target_files.py242 def symlinkIfNotExists(src, dst): argument
246 if os.path.exists(os.path.join(dst, filename)):
248 os.symlink(os.path.join(src, filename), os.path.join(dst, filename))
Dota_from_target_files.py921 for src, dst in replace.items():
923 'Missing {} in {}; {} cannot be written'.format(src, input_file, dst)
925 common.ZipWrite(target_zip, unzipped_file, arcname=dst)
/build/soong/filesystem/
Dfilesystem.go187 dst := rootDir.Join(ctx, name)
189 builder.Command().Text("mkdir -p").Text(filepath.Dir(dst.String()))
190 builder.Command().Text("ln -sf").Text(proptools.ShellEscape(target)).Text(dst.String())
/build/soong/java/
Dapp_import.go136 dst interface{}, variantGroup reflect.Value, variant string) {
142 …err := proptools.ExtendMatchingProperties([]interface{}{dst}, src.Interface(), nil, proptools.Orde…
/build/soong/apex/
Dapex_test.go3042 var dst, src string
3050 dst = terms[len(terms)-1]
3058 dst = terms[len(terms)-1]
3064 if dst != "" {
3065 index := strings.Index(dst, imageApexDir)
3069 dstFile := dst[index+len(imageApexDir):]
/build/blueprint/
Dcontext.go1297 dst := reflect.ValueOf(newProperties[i])
1300 proptools.CopyProperties(dst, src)