Home
last modified time | relevance | path

Searched refs:srcLen (Results 1 – 2 of 2) sorted by relevance

/build/tools/acp/
Dacp.c119 int srcLen; in process() local
122 srcLen = strlen(argv[i]); in process()
123 src = malloc(srcLen+1); in process()
124 memcpy(src, argv[i], srcLen+1); in process()
126 if (src[srcLen-1] == FSSEP) in process()
127 src[--srcLen] = '\0'; in process()
/build/libs/host/
DCopyFile.c485 int srcLen, dstLen, nameLen; in copyDirectory() local
498 srcLen = strlen(src); in copyDirectory()
501 srcFile = malloc(srcLen +1 + nameLen +1); in copyDirectory()
502 memcpy(srcFile, src, srcLen); in copyDirectory()
503 srcFile[srcLen] = FSSEP; in copyDirectory()
504 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); in copyDirectory()