Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp321 size_t stringLen = elemStr.size(); in RenderHead() local
323 size_t right = columnWidths[i] - stringLen - left; in RenderHead()
359 size_t stringLen = 0; in PrintRows() local
361 if (stringLen > 0) { in PrintRows()
363 size_t right = columnWidths[j] - stringLen - left; in PrintRows()
388 size_t stringLen = 0; in GraphTable() local
389 GetStringAndStringWidth(env, element, stringLen); in GraphTable()
390 columnWidths[i] = stringLen; in GraphTable()
397 size_t stringLen = 0; in GraphTable() local
398 GetStringAndStringWidth(env, element, stringLen); in GraphTable()
[all …]
H A Dconsole.h73 static std::string GetStringAndStringWidth(napi_env env, napi_value element, size_t& stringLen);
/ohos5.0/foundation/ability/idl_tool/util/
H A Dstring.cpp341 int stringLen = strlen(string); in __anon5e4de09e0b02() local
342 int rightIndex = sourceLen - stringLen; in __anon5e4de09e0b02()
347 int stringLastIndex = stringLen - 1; in __anon5e4de09e0b02()
349 int min = stringLen - 1; in __anon5e4de09e0b02()
361 int start = j - (stringLen - 1); in __anon5e4de09e0b02()
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-about-string.md149 size_t stringLen;
151 napi_get_value_string_utf16(env, args[0], buffer, bufferSize, &stringLen);
153 napi_create_string_utf16(env, buffer, stringLen, &result);
/ohos5.0/foundation/communication/dsoftbus/core/common/security/permission/common/
H A Dpermission_entry.c145 size_t stringLen = strlen(string); in StrStartWith() local
147 if (stringLen == 0 || targetLen == 0 || stringLen < targetLen) { in StrStartWith()
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-about-string.md149 size_t stringLen;
151 napi_get_value_string_utf16(env, args[0], buffer, bufferSize, &stringLen);
153 napi_create_string_utf16(env, buffer, stringLen, &result);