Searched refs:bufsize (Results 1 – 4 of 4) sorted by relevance
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/ |
D | fuse_mock.cpp | 48 typedef size_t (*FuseAddDirentryT)(fuse_req_t req, char *buf, size_t bufsize, 269 size_t fuse_add_direntry(fuse_req_t req, char *buf, size_t bufsize, in fuse_add_direntry() argument 275 … return (*reinterpret_cast<FuseAddDirentryT>(rawFunc))(req, buf, bufsize, name, stbuf, off); in fuse_add_direntry() 284 return (*func)(req, buf, bufsize, name, stbuf, off); in fuse_add_direntry()
|
D | fuse_daemon_test.cpp | 77 size_t FuseAddDirentryMockCurDirFail(fuse_req_t req, char *buf, size_t bufsize, in FuseAddDirentryMockCurDirFail() argument 82 (void)bufsize; in FuseAddDirentryMockCurDirFail() 89 size_t FuseAddDirentryMockUpperDirFail(fuse_req_t req, char *buf, size_t bufsize, in FuseAddDirentryMockUpperDirFail() argument 94 (void)bufsize; in FuseAddDirentryMockUpperDirFail() 103 size_t FuseAddDirentryMockTestFileFail(fuse_req_t req, char *buf, size_t bufsize, in FuseAddDirentryMockTestFileFail() argument 108 (void)bufsize; in FuseAddDirentryMockTestFileFail()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
D | napi_util.h | 44 std::string GetString(const napi_env env, const napi_value value, size_t bufsize = 100); // 100 mea… 45 …tStrings(const napi_env env, const napi_value arr, std::vector<std::string>& strs, size_t bufsize);
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_util.cpp | 201 std::string GetString(const napi_env env, const napi_value value, size_t bufsize) in GetString() argument 203 char strValue[bufsize + 1]; // 1 for '\0' in GetString() 205 if (napi_get_value_string_utf8(env, value, strValue, bufsize, &result) != napi_ok) { in GetString() 212 …etStrings(const napi_env env, const napi_value arr, std::vector<std::string>& strs, size_t bufsize) in GetStrings() argument 220 strs.push_back(GetString(env, element, bufsize)); in GetStrings()
|