Home
last modified time | relevance | path

Searched refs:BUF_SIZE (Results 1 - 14 of 14) sorted by relevance

/base/hiviewdfx/hiview/base/running_status_logger/
H A Drunning_status_logger.cpp32 constexpr size_t BUF_SIZE = 2000; member
33 char errMsg[BUF_SIZE] = { 0 };
44 strerror_r(errno, errMsg, BUF_SIZE); in Log()
103 strerror_r(errno, errMsg, BUF_SIZE); in GetLogWroteDestFile()
123 strerror_r(errno, errMsg, BUF_SIZE); in GetLogWroteDestFile()
/base/update/updater/test/unittest/flow_update/update_bin/
H A Dbin_flow_update_unittest.cpp30 constexpr int BUF_SIZE = 4 * 1024 * 1024; member
81 BinFlowUpdate binFlowUpdate(BUF_SIZE); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan/
H A Dgwpasan_collector.cpp48 constexpr unsigned BUF_SIZE = 128; member
171 char path[BUF_SIZE] = { 0 }; in GetNameByPid()
176 char cmdline[BUF_SIZE] = { 0 }; in GetNameByPid()
182 while (i < (BUF_SIZE - 1)) { in GetNameByPid()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
H A Dzip_helper.h24 constexpr unsigned BUF_SIZE = 1024; member
/base/hiviewdfx/hiview/interfaces/js/napi/src/
H A Dhiview_napi_util.cpp30 constexpr int32_t BUF_SIZE = 1024; member
113 char buf[BUF_SIZE] = {0}; in ParseStringValue()
115 if (napi_get_value_string_utf8(env, value, buf, BUF_SIZE - 1, &bufLength) != napi_ok) { in ParseStringValue()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
H A Dos_event_listener.cpp39 constexpr int BUF_SIZE = 2048; member
187 char buffer[BUF_SIZE] = {0}; in HandleDirEvent()
194 int len = read(inotifyFd_, buffer, BUF_SIZE); in HandleDirEvent()
/base/security/selinux_adapter/framework/policycoreutils/src/
H A Dparam_checker.c26 #define BUF_SIZE 512 macro
/base/telephony/core_service/frameworks/cj/telephony_radio/src/
H A Dtelephony_radio_utils.h31 constexpr int BUF_SIZE = 32; member
H A Dtelephony_radio_impl.cpp392 if (operatorName.size() > BUF_SIZE) { in GetOperatorName()
393 operatorName = operatorName.substr(0, BUF_SIZE); in GetOperatorName()
/base/telephony/core_service/frameworks/js/network_search/include/
H A Dnapi_radio.h42 constexpr int BUF_SIZE = 32; member
218 char operatorName[BUF_SIZE + 1] = { 0 };
/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_utils_test.cpp34 const int BUF_SIZE = 2401; member
69 unsigned char encodeData[BUF_SIZE]; in HWTEST_F()
76 EXPECT_GE(TextCoder::Instance().Utf8ToGsm7bit(pDestText, BUF_SIZE, const_cast<uint8_t *>(pMsgText), 0, langId), 0); in HWTEST_F()
123 unsigned char encodeData[BUF_SIZE]; in HWTEST_F()
H A Dzero_branch_sms_test.cpp60 const uint16_t BUF_SIZE = 2401; member
773 unsigned char encodeData[BUF_SIZE]; in HWTEST_F()
774 char addressData[BUF_SIZE]; in HWTEST_F()
792 unsigned char encodeData[BUF_SIZE] = { 0 }; in HWTEST_F()
1321 unsigned char encodeData[BUF_SIZE]; in HWTEST_F()
1323 char addressData[BUF_SIZE]; in HWTEST_F()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
H A Dnapi_hisysevent_util.cpp41 constexpr uint32_t BUF_SIZE = 1024 * 11; // 11k member
174 char buf[BUF_SIZE] = {0}; in ParseStringValue()
176 napi_status status = napi_get_value_string_utf8(env, value, buf, BUF_SIZE - 1, &bufLength); in ParseStringValue()
512 char buf[BUF_SIZE] = {0}; in GetObjectTypeAttribute()
514 napi_get_value_string_utf8(env, key, buf, BUF_SIZE - 1, &valueLen); in GetObjectTypeAttribute()
/base/telephony/core_service/frameworks/js/network_search/src/
H A Dnapi_radio.cpp787 char chars[BUF_SIZE] = { 0 }; in GetStringProperty()
789 napi_status getStringStatus = napi_get_value_string_utf8(env, value, chars, BUF_SIZE, &charLength); in GetStringProperty()
1366 context->operatorNameLength = (operatorName.size() < BUF_SIZE) ? operatorName.size() : BUF_SIZE; in NativeGetOperatorName()

Completed in 21 milliseconds