/build/make/tools/libhost/ |
D | CopyFile.c | 50 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/ |
D | util_test.go | 67 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 {
|
D | upload.go | 79 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
|
D | util.go | 130 func copyFile(src, dst string) (int64, error) { 137 destination, err := os.Create(dst)
|
/build/make/tools/acp/ |
D | acp.c | 116 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/ |
D | extend.go | 36 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/ |
D | distdir.mk | 41 $(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/ |
D | frontend.pb.go | 84 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/ |
D | distdir.mk | 40 $(eval dst := $(DIST_DIR)/$(call word-colon,2,$(pair))) \ 41 $(eval $(call copy-one-dist-file,$(src),$(dst))))
|
/build/make/tools/ |
D | generate-self-extracting-archive.py | 87 def _pipe_bytes(src, dst): argument 92 dst.write(b)
|
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 428 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/ |
D | CopyFile.h | 23 int copyFile(const char* src, const char* dst, unsigned int options);
|
/build/make/tools/atree/ |
D | fs.h | 10 int copy_file(const string& src, const string& dst);
|
D | fs.cpp | 136 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/ |
D | hooks.go | 102 dst := []interface{}{ 108 err := proptools.AppendMatchingProperties(dst, src, nil)
|
D | defaults.go | 256 dst := []interface{}{ 263 err := proptools.PrependMatchingProperties(dst, defaultsProp, nil)
|
D | mutator.go | 310 dst := []interface{}{ 316 err := proptools.AppendMatchingProperties(dst, src, nil)
|
D | arch.go | 1177 dst interface{}, src reflect.Value, field, srcPrefix string) reflect.Value { 1208 err := proptools.ExtendMatchingProperties([]interface{}{dst}, src.Interface(), nil, order)
|
/build/soong/cc/ |
D | cmakelists.go | 108 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/ |
D | validate_target_files.py | 241 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))
|
D | ota_from_target_files.py | 1824 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)
|
D | ota_from_target_files | 1824 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/ |
D | apex_test.go | 2116 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/ |
D | app.go | 1368 dst interface{}, variantGroup reflect.Value, variant string) { 1374 …err := proptools.ExtendMatchingProperties([]interface{}{dst}, src.Interface(), nil, proptools.Orde…
|
/build/blueprint/ |
D | context.go | 1218 dst := reflect.ValueOf(newProperties[i]) 1221 proptools.CopyProperties(dst, src)
|