/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/make/tools/zipalign/tests/src/ |
D | align_test.cpp | 20 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/ |
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 | 103 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
|
D | util.go | 132 func copyFile(src, dst string) (int64, error) { 139 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/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/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/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/libhost/include/host/ |
D | CopyFile.h | 23 int copyFile(const char* src, const char* dst, unsigned int options);
|
/build/make/tools/ |
D | generate-self-extracting-archive.py | 87 def _pipe_bytes(src, dst): argument 92 dst.write(b)
|
/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/bp2build/ |
D | symlink_forest.go | 85 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/ |
D | ZipFile.cpp | 436 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/ |
D | hooks.go | 102 dst := []interface{}{ 108 err := proptools.AppendMatchingProperties(dst, src, nil)
|
D | defaults.go | 243 dst := []interface{}{ 250 err := proptools.PrependMatchingProperties(dst, defaultsProp, nil)
|
D | arch.go | 1028 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/ |
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 | 242 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))
|
D | ota_from_target_files.py | 921 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/ |
D | filesystem.go | 187 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/ |
D | app_import.go | 136 dst interface{}, variantGroup reflect.Value, variant string) { 142 …err := proptools.ExtendMatchingProperties([]interface{}{dst}, src.Interface(), nil, proptools.Orde…
|
/build/soong/apex/ |
D | apex_test.go | 3042 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/ |
D | context.go | 1297 dst := reflect.ValueOf(newProperties[i]) 1300 proptools.CopyProperties(dst, src)
|