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/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.go79 dst := filepath.Join(tmpDir, filepath.Base(src))
80 if _, err := copyFile(src, dst); err != nil {
81 ctx.Fatalf("failed to copy %q to %q: %v\n", src, dst, err)
83 metricsFiles[i] = dst
Dutil.go130 func copyFile(src, dst string) (int64, error) {
137 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/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/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/soong/ui/status/ninja_frontend/
Dfrontend.pb.go84 func (dst *Status) XXX_Merge(src proto.Message) {
85 xxx_messageInfo_Status.Merge(dst, src)
158 func (dst *Status_TotalEdges) XXX_Merge(src proto.Message) {
159 xxx_messageInfo_Status_TotalEdges.Merge(dst, src)
199 func (dst *Status_BuildStarted) XXX_Merge(src proto.Message) {
200 xxx_messageInfo_Status_BuildStarted.Merge(dst, src)
243 func (dst *Status_BuildFinished) XXX_Merge(src proto.Message) {
244 xxx_messageInfo_Status_BuildFinished.Merge(dst, src)
287 func (dst *Status_EdgeStarted) XXX_Merge(src proto.Message) {
288 xxx_messageInfo_Status_EdgeStarted.Merge(dst, src)
[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/
Dgenerate-self-extracting-archive.py87 def _pipe_bytes(src, dst): argument
92 dst.write(b)
/build/make/tools/zipalign/
DZipFile.cpp428 long dst = ftell(mZipFp) - startPosn; in addCommon() local
429 if (dst + (dst / 10) > src) { in addCommon()
431 src, dst); in addCommon()
1097 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) in filemove() argument
1099 if (dst == src || n <= 0) in filemove()
1104 if (dst < src) { in filemove()
1122 if (fseek(fp, (long) dst, SEEK_SET) != 0) { in filemove()
1123 ALOGD("filemove dst seek %ld failed\n", (long) dst); in filemove()
1129 (long) getSize, (long) dst); in filemove()
1134 dst += getSize; in filemove()
/build/make/tools/libhost/include/host/
DCopyFile.h23 int copyFile(const char* src, const char* dst, unsigned int options);
/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/android/
Dhooks.go102 dst := []interface{}{
108 err := proptools.AppendMatchingProperties(dst, src, nil)
Ddefaults.go256 dst := []interface{}{
263 err := proptools.PrependMatchingProperties(dst, defaultsProp, nil)
Dmutator.go310 dst := []interface{}{
316 err := proptools.AppendMatchingProperties(dst, src, nil)
Darch.go1177 dst interface{}, src reflect.Value, field, srcPrefix string) reflect.Value {
1208 err := proptools.ExtendMatchingProperties([]interface{}{dst}, src.Interface(), nil, order)
/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.py241 def symlinkIfNotExists(src, dst): argument
245 if os.path.exists(os.path.join(dst, filename)):
247 os.symlink(os.path.join(src, filename), os.path.join(dst, filename))
Dota_from_target_files.py1824 for src, dst in replace.items():
1826 'Missing {} in {}; {} cannot be written'.format(src, input_file, dst)
1828 common.ZipWrite(target_zip, unzipped_file, arcname=dst)
Dota_from_target_files1824 for src, dst in replace.items():
1826 'Missing {} in {}; {} cannot be written'.format(src, input_file, dst)
1828 common.ZipWrite(target_zip, unzipped_file, arcname=dst)
/build/soong/apex/
Dapex_test.go2116 var dst, src string
2124 dst = terms[len(terms)-1]
2132 dst = terms[len(terms)-1]
2138 if dst != "" {
2139 index := strings.Index(dst, imageApexDir)
2143 dstFile := dst[index+len(imageApexDir):]
/build/soong/java/
Dapp.go1368 dst interface{}, variantGroup reflect.Value, variant string) {
1374 …err := proptools.ExtendMatchingProperties([]interface{}{dst}, src.Interface(), nil, proptools.Orde…
/build/blueprint/
Dcontext.go1218 dst := reflect.ValueOf(newProperties[i])
1221 proptools.CopyProperties(dst, src)