/base/customization/config_policy/interfaces/inner_api/include/ |
D | config_policy_utils.h | 83 char *GetOneCfgFileEx(const char *pathSuffix, char *buf, unsigned int bufLength, int followMode, co… 89 char *GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength);
|
/base/powermgr/battery_manager/test/unittest/src/ |
D | battery_config_mock_test.cpp | 26 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
/base/customization/config_policy/frameworks/config_policy/src/ |
D | config_policy_utils.c | 421 char *GetOneCfgFileEx(const char *pathSuffix, char *buf, unsigned int bufLength, int followMode, co… in GetOneCfgFileEx() argument 423 if (pathSuffix == NULL || buf == NULL || bufLength < MAX_PATH_LEN) { in GetOneCfgFileEx() 440 … snprintf_s(buf, bufLength, bufLength - 1, "%s/%s/%s", dirs->paths[i - 1], result->segs[j - 1], in GetOneCfgFileEx() 450 … if (snprintf_s(buf, bufLength, bufLength - 1, "%s/%s", dirs->paths[i - 1], pathSuffix) > 0 && in GetOneCfgFileEx() 461 char *GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument 463 return GetOneCfgFileEx(pathSuffix, buf, bufLength, FOLLOWX_MODE_DEFAULT, NULL); in GetOneCfgFile()
|
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/ |
D | vibrator_napi_utils.cpp | 98 size_t bufLength = 0; in GetStringValue() local 99 ret = napi_get_value_string_utf8(env, value, nullptr, 0, &bufLength); in GetStringValue() 104 bufLength = bufLength > STRING_LENGTH_MAX ? STRING_LENGTH_MAX : bufLength; in GetStringValue() 107 ret = napi_get_value_string_utf8(env, value, str, bufLength + 1, &strLen); in GetStringValue()
|
/base/web/webview/ohos_adapter/audio_adapter/src/ |
D | audio_capturer_adapter_impl.cpp | 188 bufferDesc.bufLength = bufDesc.bufLength; in GetBufferDesc() 201 bufDesc.bufLength = bufferDesc.bufLength; in Enqueue()
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_set_mode_test.cpp | 39 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_service_death_test.cpp | 28 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
D | stats_service_test.cpp | 41 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
/base/web/webview/ohos_adapter/interfaces/ |
D | audio_capturer_adapter.h | 43 size_t bufLength; member
|
/base/hiviewdfx/hiview/interfaces/js/napi/src/ |
D | hiview_napi_util.cpp | 114 size_t bufLength = 0; in ParseStringValue() local 115 if (napi_get_value_string_utf8(env, value, buf, BUF_SIZE - 1, &bufLength) != napi_ok) { in ParseStringValue()
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
D | napi_hitrace_js.cpp | 43 size_t bufLength = 0; in ParseStringParam() local 44 napi_get_value_string_utf8(env, origin, buf, BUF_SIZE_64, &bufLength); in ParseStringParam()
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_service_test.cpp | 51 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_util.cpp | 129 size_t bufLength = 0; in ParseStringValue() local 130 napi_status status = napi_get_value_string_utf8(env, value, buf, BUF_SIZE - 1, &bufLength); in ParseStringValue()
|