Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Djs_fwk_common.cpp396 size_t secLength = strlen(sec); in AppendTwoPath() local
397 if ((secLength >= PATH_LENGTH_MAX) || (destSize - startIndex < 0) || in AppendTwoPath()
398 (secLength > (size_t)(destSize - startIndex))) { in AppendTwoPath()
404 if (memcpy_s(first, destSize, sec, secLength) != 0) { in AppendTwoPath()
407 first[secLength] = 0; in AppendTwoPath()
408 return secLength; in AppendTwoPath()
421 if (secLength > 1) { in AppendTwoPath()
427 copiedLength = copiedLength + (secLength - 1); in AppendTwoPath()
428 startIndex = startIndex + (secLength - 1); in AppendTwoPath()
436 copiedLength = copiedLength + secLength; in AppendTwoPath()
[all …]