Searched defs:src (Results 1 - 4 of 4) sorted by relevance

/build/tools/acp/
H A Dacp.c116 char* src; local
123 src = malloc(srcLen+1);
124 memcpy(src, argv[i], srcLen+1);
126 if (src[srcLen-1] == FSSEP)
127 src[--srcLen] = '\0';
130 srcName = strrchr(src, FSSEP);
132 srcName = src;
139 /* concatenate dest dir and src name */
154 copyResult = copyFile(src, dst, options);
159 free(src);
[all...]
/build/tools/atree/
H A Dfs.cpp143 copy_file(const string& src, const string& dst) argument
147 err = copyFile(src.c_str(), dst.c_str(),
/build/libs/host/
H A DCopyFile.c51 static int copyFileRecursive(const char* src, const char* dst, bool isCmdLine, unsigned int options);
99 static void printCopyMsg(const char* src, const char* dst, unsigned int options) argument
102 printf(" '%s' --> '%s'\n", src, dst);
105 static void printNotNewerMsg(const char* src, const char* dst, unsigned int options) argument
116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd) argument
128 "acp: failed reading '%s': %s\n", src, strerror(errno));
209 static int copyRegular(const char* src, const char* dst, const struct stat* pSrcStat, unsigned int options) argument
214 DBUG(("--- copying regular '%s' to '%s'\n", src, dst));
230 src, dst);
235 DBUG(("--- source is not newer: '%s'\n", src));
351 copySymlink(const char* src, const char* dst, const struct stat* pSrcStat, unsigned int options) argument
431 copyDirectory(const char* src, const char* dst, const struct stat* pSrcStat, unsigned int options) argument
530 copyFileRecursive(const char* src, const char* dst, bool isCmdLine, unsigned int options) argument
640 copyFile(const char* src, const char* dst, unsigned int options) argument
[all...]
/build/tools/zipalign/
H A DZipFile.cpp427 long src = inputFp ? ftell(inputFp) : size; local
429 if (dst + (dst / 10) > src) {
430 ALOGD("insufficient compression (src=%ld dst=%ld), storing\n",
431 src, dst);
641 * Copy all of the bytes in "src" to "dst".
672 * Copy all of the bytes in "src" to "dst".
694 * Copy some of the bytes in "src" to "dst".
1049 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) argument
1051 if (dst == src || n <= 0)
1056 if (dst < src) {
[all...]

Completed in 254 milliseconds