Searched refs:dirPathLen (Results 1 – 2 of 2) sorted by relevance
350 static int32_t GetDirPath(const char *fullPath, char *dirPath, int32_t dirPathLen) in GetDirPath() argument368 if (dirLen >= dirPathLen) { in GetDirPath()369 …(TRANS_FILE, "dirLen >= dirPathLen. dirLen=%{public}d, dirPathLen=%{public}d", dirLen, dirPathLen); in GetDirPath()372 if (strncpy_s(dirPath, dirPathLen, fullPath, dirLen) != EOK) { in GetDirPath()
315 uint32_t dirPathLen = dirPath.length(); in CreateMultiDirectory() local316 if (dirPathLen > PATH_MAX) { in CreateMultiDirectory()320 for (uint32_t i = 0; i < dirPathLen; ++i) { in CreateMultiDirectory()