Searched refs:BUF_LENGTH (Results 1 – 4 of 4) sorted by relevance
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_js.cpp | 21 static constexpr int BUF_LENGTH = 256; variable 27 char key[BUF_LENGTH] = { 0 }; 29 char value[BUF_LENGTH] = { 0 }; 102 BUF_LENGTH - 1, &asyncContext->keyLen); in Set() 105 BUF_LENGTH - 1, &asyncContext->valueLen); in Set() 137 char keyBuf[BUF_LENGTH] = { 0 }; in SetSync() 139 NAPI_CALL(env, napi_get_value_string_utf8(env, args[0], keyBuf, BUF_LENGTH - 1, &keySize)); in SetSync() 144 char valueBuf[BUF_LENGTH] = { 0 }; in SetSync() 146 NAPI_CALL(env, napi_get_value_string_utf8(env, args[1], valueBuf, BUF_LENGTH - 1, &valueSize)); in SetSync() 184 char keyBuf[BUF_LENGTH] = { 0 }; in GetSync() [all …]
|
D | native_parameters_watch.cpp | 23 static constexpr int BUF_LENGTH = 128; variable 31 char key[BUF_LENGTH] = { 0 }; 33 char value[BUF_LENGTH] = { 0 }; 46 char keyPrefix[BUF_LENGTH] = { 0 }; 159 asyncContext->keyLen = BUF_LENGTH - 1; in ParamWait() 160 asyncContext->valueLen = BUF_LENGTH - 1; in ParamWait() 345 watcher->keyLen = BUF_LENGTH; in GetWatcher() 363 size_t typeLen = BUF_LENGTH - 1; in GetWatcherInfo()
|
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
D | musl_log.h | 54 #define BUF_LENGTH 1024 macro 74 char buf[BUF_LENGTH] = {0}; in DfxLog()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | sa_dumper.cpp | 30 const int BUF_LENGTH = 1024; variable 115 char buffer[BUF_LENGTH]; in Execute() 117 if (fgets(buffer, BUF_LENGTH - 1, fp) != nullptr) { in Execute()
|