Home
last modified time | relevance | path

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

12

/foundation/CastEngine/castengine_wifi_display/tests/demo/rtp/
H A Dts_rtp_dec_demo.cpp30 #define BUF_SIZE 2 * 1024 macro
57 char buf[BUF_SIZE] = {0}; in StartRtpServer()
67 memset(buf, 0, BUF_SIZE); in StartRtpServer()
68 byte = recvfrom(listenfd, buf, BUF_SIZE, 0, (struct sockaddr *)&clientaddr, &len); in StartRtpServer()
H A Dh264_rtp_dec_demo.cpp31 #define BUF_SIZE 2 * 1024 macro
58 char buf[BUF_SIZE] = {0}; in StartRtpServer()
68 memset(buf, 0, BUF_SIZE); in StartRtpServer()
69 byte = recvfrom(listenfd, buf, BUF_SIZE, 0, (struct sockaddr *)&clientaddr, &len); in StartRtpServer()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_time_picker.h323 static constexpr uint8_t BUF_SIZE = 3; member in OHOS::UITimePicker
339 char selectedHour_[BUF_SIZE];
340 char selectedMinute_[BUF_SIZE];
341 char selectedSecond_[BUF_SIZE];
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_time_picker.cpp168 GetValueByIndex(selectedHour_, BUF_SIZE, hourSelect, TIME_START, HOUR_END); in TimeSelectedCallback()
169 GetValueByIndex(selectedMinute_, BUF_SIZE, minSelect, TIME_START, MIN_END); in TimeSelectedCallback()
177 GetValueByIndex(selectedSecond_, BUF_SIZE, secSelect, TIME_START, SEC_END); in TimeSelectedCallback()
216 if (sscanf_s(value, "%[^:]%*c%[^:]%*c%[^\n]", selectedHour_, BUF_SIZE, in SetSelected()
217 selectedMinute_, BUF_SIZE, selectedSecond_, BUF_SIZE) < 3) { // 3: three variables in SetSelected()
221 if (sscanf_s(value, "%[^:]%*c%[^\n]", selectedHour_, BUF_SIZE, in SetSelected()
222 selectedMinute_, BUF_SIZE) < 2) { // 2: two variables in SetSelected()
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_loader.cpp92 constexpr size_t BUF_SIZE = 256; in LoadCJModule() local
93 char nameBuf[BUF_SIZE]; in LoadCJModule()
94 size_t realSize = BUF_SIZE; in LoadCJModule()
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/
H A Dsetacl.cpp28 constexpr int BUF_SIZE = 400; variable
215 char buf[BUF_SIZE] = { 0 }; in AclFromFile()
216 ssize_t len = getxattr(file.c_str(), ACL_XATTR_ACCESS, buf, BUF_SIZE); in AclFromFile()
218 acl.DeSerialize(buf, BUF_SIZE); in AclFromFile()
/foundation/distributeddatamgr/kv_store/databaseutils/src/
H A Dacl.cpp151 char buf[BUF_SIZE] = { 0 }; in AclFromDefault()
152 ssize_t len = getxattr(path_.c_str(), ACL_XATTR_DEFAULT, buf, BUF_SIZE); in AclFromDefault()
154 DeSerialize(buf, BUF_SIZE); in AclFromDefault()
/foundation/filemanagement/user_file_service/interfaces/kits/native/recent/
H A Drecent_n_exporter.h49 constexpr int BUF_SIZE = 1024; member
H A Drecent_n_exporter.cpp255 auto buf = CreateUniquePtr<char[]>(BUF_SIZE); in GetListFileResult()
267 auto readLinkRes = readlink(recentFilePath.c_str(), buf.get(), BUF_SIZE); in GetListFileResult()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_file_observer.cpp30 const int BUF_SIZE = 1024; member
55 char eventBuf[BUF_SIZE] = {0}; in AddInotifyEvents()
/foundation/communication/ipc/services/dbinder/test/distributedtest/include/
H A Ddbinder_service_test_helper.h28 const int BUF_SIZE = 1024 * 4; variable
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dacl.cpp42 constexpr int BUF_SIZE = 400; member
393 char buf[BUF_SIZE] = { 0 }; in AclFromFile()
394 ssize_t len = getxattr(file.c_str(), ACL_XATTR_ACCESS, buf, BUF_SIZE); in AclFromFile()
396 acl.DeSerialize(buf, BUF_SIZE); in AclFromFile()
/foundation/arkui/napi/test/unittest/jsvm/
H A Dtest_jsvm.cpp32 #define BUF_SIZE 256 macro
44 char stackStr[BUF_SIZE]; in PrintException()
45 OH_JSVM_GetValueStringUtf8(env, stack, stackStr, BUF_SIZE, nullptr); in PrintException()
50 char messageStr[BUF_SIZE]; in PrintException()
51 OH_JSVM_GetValueStringUtf8(env, stack, messageStr, BUF_SIZE, nullptr); in PrintException()
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_service_test_helper.cpp42 char buf[BUF_SIZE]; in GetPidByName()
65 if (fgets(buf, BUF_SIZE - 1, fp) == nullptr) { in GetPidByName()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/
H A Dwatcher_entity.h35 constexpr int BUF_SIZE = 1024; member
H A Dwatcher_entity.cpp172 char buf[BUF_SIZE] = {0}; in ReadNotifyEvent()
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_config_observer.cpp219 const uint32_t BUF_SIZE = 1024; in NotifyStringChanged()
220 char buf[BUF_SIZE] = {0}; in NotifyStringChanged()
221 napi_get_value_string_utf8(callbackInfo->env_, callResult, buf, BUF_SIZE, &result); in NotifyStringChanged()
260 const uint32_t BUF_SIZE = 1024; in NotifyStringVectorChanged()
261 char buf[BUF_SIZE] = {0}; in NotifyStringVectorChanged()
262 napi_get_value_string_utf8(callbackInfo->env_, callResult, buf, BUF_SIZE, &result); in NotifyStringVectorChanged()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dcommon_basics.h214 * @brief BUF_SIZE
216 const float BUF_SIZE = 1024.0f; member
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dwatcher_impl.h32 constexpr int BUF_SIZE = 1024; member
H A Dwatcher_impl.cpp151 char buf[BUF_SIZE] = {0}; in ReadNotifyEvent()
/foundation/distributeddatamgr/kv_store/databaseutils/include/
H A Dacl.h142 static constexpr int32_t BUF_SIZE = 400; member in OHOS::DATABASE_UTILS::Acl
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_math_stroke.h61 strokeWidthPercentDivision_(ALPHA_HALF / BUF_SIZE), in GeometryMathStroke()
402 strokeWidthPercentDivision_ = strokeWidth_ / BUF_SIZE; in SetWidth()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_randomaccessfile/
H A Drandomaccessfile_n_exporter.cpp29 const int BUF_SIZE = 1024; member
433 auto buf = CreateUniquePtr<char[]>(BUF_SIZE); in CreateStream()
434 int readLinkRes = readlink(path.c_str(), buf.get(), BUF_SIZE); in CreateStream()
/foundation/communication/netstack/frameworks/js/napi/tls/src/
H A Dtls_socket.cpp43 constexpr int BUF_SIZE = 2048; member
1589 char subNameBuf[BUF_SIZE] = {0}; in CheckServerIdentityLegal()
1590 X509_NAME_oneline(subjectName, subNameBuf, BUF_SIZE); in CheckServerIdentityLegal()
1602 char subAltNameBuf[BUF_SIZE] = {0}; in CheckServerIdentityLegal()
1603 OBJ_obj2txt(subAltNameBuf, BUF_SIZE, obj, 0); in CheckServerIdentityLegal()
H A Dtls_socket_server.cpp45 constexpr int BUF_SIZE = 2048; member
1195 char subNameBuf[BUF_SIZE] = {0}; in CheckServerIdentityLegal()
1196 X509_NAME_oneline(subjectName, subNameBuf, BUF_SIZE); in CheckServerIdentityLegal()
1207 char subAltNameBuf[BUF_SIZE] = {0}; in CheckServerIdentityLegal()
1208 OBJ_obj2txt(subAltNameBuf, BUF_SIZE, obj, 0); in CheckServerIdentityLegal()

Completed in 18 milliseconds

12