/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | hap_byte_buffer.cpp | 27 HapByteBuffer::HapByteBuffer() : buffer(nullptr), position(0), limit(0), capacity(0) in HapByteBuffer() 31 HapByteBuffer::HapByteBuffer(int32_t bufferCapacity) : buffer(nullptr), position(0), limit(0), capa… in HapByteBuffer() 36 HapByteBuffer::HapByteBuffer(const HapByteBuffer& other) : buffer(nullptr), position(0), limit(0), … in HapByteBuffer() 45 limit = other.GetLimit(); in HapByteBuffer() 59 limit = bufferCapacity; in Init() 81 limit = other.GetLimit(); in operator =() 98 if (getDataLast > static_cast<long long>(limit)) { in CheckInputForGettingData() 100 position, index, limit); in CheckInputForGettingData() 204 if (buffer != nullptr && offset >= 0 && limit - offset >= static_cast<int32_t>(sizeof(value))) { in PutInt32() 205 if (memcpy_s((buffer.get() + offset), (limit - offset), &value, sizeof(value)) != EOK) { in PutInt32() [all …]
|
/base/update/updater/services/diffpatch/diff/ |
D | image_diff.h | 39 …ImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldParser) in ImageDiff() argument 40 : limit_(limit), newParser_(newParser), oldParser_(oldParser) {} in ImageDiff() 66 CompressedImageDiff(size_t limit, in CompressedImageDiff() argument 68 : ImageDiff(limit, newParser, oldParser), type_(type) {} in CompressedImageDiff() 86 …ZipImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldPar… in ZipImageDiff() argument 87 : CompressedImageDiff(limit, newParser, oldParser, BLOCK_DEFLATE) {} in ZipImageDiff() 105 …Lz4ImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldPar… in Lz4ImageDiff() argument 106 : CompressedImageDiff(limit, newParser, oldParser, BLOCK_LZ4) {} in Lz4ImageDiff() 126 …GZipImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldPa… in GZipImageDiff() argument 127 : ZipImageDiff(limit, newParser, oldParser) {} in GZipImageDiff()
|
D | update_diff.h | 54 …UpdateDiff(size_t limit, bool blockDiff) : limit_(limit * IGMDIFF_LIMIT_UNIT), blockDiff_(blockDif… in UpdateDiff() argument 59 static int32_t DiffImage(size_t limit, const std::string &oldFileName,
|
D | update_diff.cpp | 186 int32_t UpdateDiff::DiffImage(size_t limit, const std::string &oldFileName, in DiffImage() argument 189 auto updateDiff = std::make_unique<UpdateDiff>(limit, false); in DiffImage()
|
/base/web/webview/ohos_adapter/hiviewdfx_adapter/src/ |
D | hitrace_adapter_impl.cpp | 29 void HiTraceAdapterImpl::StartTrace(const std::string& value, float limit) in StartTrace() argument 31 ::StartTrace(HITRACE_TAG_NWEB, value, limit); in StartTrace() 39 void HiTraceAdapterImpl::StartAsyncTrace(const std::string& value, int32_t taskId, float limit) in StartAsyncTrace() argument 41 ::StartAsyncTrace(HITRACE_TAG_NWEB, value, taskId, limit); in StartAsyncTrace()
|
/base/update/updater/services/diffpatch/ |
D | diff_main.cpp | 23 int limit; member 46 diffParams.limit = atoi(optarg); in main() 62 diffParams.limit, in main()
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hitrace_meter_wrapper/src/ |
D | hitrace_meter_wrapper.cpp | 23 void HksTraceMeterStart(uint64_t label, const char *value, float limit) in HksTraceMeterStart() argument 26 StartTrace(label, valueString, limit); in HksTraceMeterStart()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
D | running_status_log_util.h | 29 static void LogTooManyWatchers(const int limit); 31 static void LogTooManyEvents(const int limit);
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | running_status_log_util.cpp | 71 void RunningStatusLogUtil::LogTooManyWatchers(const int limit) in LogTooManyWatchers() argument 74 info.append(std::to_string(limit)); in LogTooManyWatchers() 78 void RunningStatusLogUtil::LogTooManyEvents(const int limit) in LogTooManyEvents() argument 81 info.append(std::to_string(limit)); in LogTooManyEvents()
|
/base/hiviewdfx/hiview/base/event_store/dao/ |
D | sys_event_query_wrapper.cpp | 56 void QueryStatusLogUtil::LogTooManyConcurrentQueries(const int limit, bool innerQuery) in LogTooManyConcurrentQueries() argument 60 info.append(std::to_string(limit)); in LogTooManyConcurrentQueries() 101 ResultSet SysEventQueryWrapper::Execute(int limit, DbQueryTag tag, QueryProcessInfo callerInfo, in Execute() argument 107 if (!IsQueryCntLimitValid(tag, limit, queryCallback) || in Execute() 115 resultSet = SysEventQuery::Execute(limit, tag, callerInfo, queryCallback); in Execute() 138 bool SysEventQueryWrapper::IsQueryCntLimitValid(const DbQueryTag& tag, const int limit, in IsQueryCntLimitValid() argument 142 if (limit > queryLimit) { in IsQueryCntLimitValid() 143 QueryStatusLogUtil::LogQueryCountOverLimit(limit, this->ToString(), tag.isInnerQuery); in IsQueryCntLimitValid()
|
D | sys_event_query.cpp | 484 ResultSet SysEventQuery::Execute(int limit, DbQueryTag tag, QueryProcessInfo callerInfo, in Execute() argument 487 limit_ = limit; in Execute() 504 if (resultNum > limit && tag.isInnerQuery) { in Execute() 505 resultNum = limit; in Execute()
|
/base/web/webview/ohos_adapter/interfaces/ |
D | hitrace_adapter.h | 24 virtual void StartTrace(const std::string& value, float limit = -1) = 0; 28 virtual void StartAsyncTrace(const std::string& value, int32_t taskId, float limit = -1) = 0;
|
/base/web/webview/ohos_adapter/hiviewdfx_adapter/include/ |
D | hitrace_adapter_impl.h | 28 void StartTrace(const std::string& value, float limit = -1) override; 32 void StartAsyncTrace(const std::string& value, int32_t taskId, float limit = -1) override;
|
/base/hiviewdfx/hiview/base/event_store/include/ |
D | sys_event_query_wrapper.h | 37 static void LogTooManyConcurrentQueries(const int limit, bool innerQuery = true); 57 virtual ResultSet Execute(int limit, DbQueryTag tag, QueryProcessInfo callerInfo, 62 …bool IsQueryCntLimitValid(const DbQueryTag& tag, const int limit, const DbQueryCallback& callback);
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hitrace_meter_wrapper/include/ |
D | hitrace_meter_wrapper.h | 25 void HksTraceMeterStart(uint64_t label, const char *value, float limit);
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter/ |
D | hitrace_meter.h | 111 void StartTrace(uint64_t label, const std::string& value, float limit = -1); 112 void StartTraceDebug(bool isDebug, uint64_t label, const std::string& value, float limit = -1); 126 void StartAsyncTrace(uint64_t label, const std::string& value, int32_t taskId, float limit = -1); 127 …aceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId, float limit = -1);
|
/base/security/selinux_adapter/sepolicy/base/public/ |
D | hap_domain.te | 85 #limit hap access vendor. 91 #limit hap access dev file. 102 #limit hap use kobject netlink. 112 #file acess limit. 135 #limit access to system_core_hap_data_file 140 #limit access to system_basic_hap_data_file 145 #limit access to normal_hap_data_file_attr 173 # limit access to /data/(*)? first level.todo
|
D | domain.te | 209 # fs operation limit 267 #limit domain access to sh_exec 272 #limit execmem use 277 # limit capability use. 326 #limit domain has exec_no_sign and exec_anon_mem permission
|
/base/update/updater/test/unittest/diffpatch/ |
D | diffpatch_unittest.cpp | 62 int ImgageDiffPatchFileTest(size_t limit, const std::string &oldFile, in ImgageDiffPatchFileTest() argument 65 int32_t ret = UpdatePatch::UpdateDiff::DiffImage(limit, TEST_PATH_FROM + oldFile, in ImgageDiffPatchFileTest() 115 int ImgageDiffPatchFileTest2(size_t limit, const std::string &oldFile, in ImgageDiffPatchFileTest2() argument 118 int32_t ret = UpdatePatch::UpdateDiff::DiffImage(limit, TEST_PATH_FROM + oldFile, in ImgageDiffPatchFileTest2()
|
/base/startup/init/services/init/ |
D | init_common_cmds.c | 526 struct rlimit limit; in DoSetrlimit() local 528 limit.rlim_cur = RLIM_INFINITY; in DoSetrlimit() 530 limit.rlim_cur = (rlim_t)atoi(ctx->argv[1]); in DoSetrlimit() 533 limit.rlim_max = RLIM_INFINITY; in DoSetrlimit() 535 limit.rlim_max = (rlim_t)atoi(ctx->argv[rlimMaxPos]); in DoSetrlimit() 548 INIT_CHECK_ONLY_ELOG(setrlimit(rcs, &limit) == 0, "Failed setrlimit err=%d", errno); in DoSetrlimit()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
D | hitrace_meter.cpp | 252 void StartTrace(uint64_t label, const string& value, float limit UNUSED_PARAM) in StartTrace() 257 void StartTraceDebug(bool isDebug, uint64_t label, const string& value, float limit UNUSED_PARAM) in StartTraceDebug() 310 void StartAsyncTrace(uint64_t label, const string& value, int32_t taskId, float limit UNUSED_PARAM) in StartAsyncTrace() 321 …eDebug(bool isDebug, uint64_t label, const string& value, int32_t taskId, float limit UNUSED_PARAM) in StartAsyncTraceDebug()
|
/base/security/appverify/interfaces/innerkits/appverify/include/common/ |
D | hap_byte_buffer.h | 76 int32_t limit; variable
|
/base/startup/init/test/benchmark/ |
D | benchmark_fwk.cpp | 220 for (int limit : limits) { in GetArgs() local 221 args.push_back( {size, limit, value} ); in GetArgs()
|
/base/hiviewdfx/faultloggerd/docs/ |
D | usage.md | 157 toybox prlimit -c -H unlimited -P [pid of target process] \\ 设置Hard limit 158 toybox prlimit -c -S unlimited -P [pid of target process] \\ 设置Soft limit
|
/base/request/request/services/service/rust/src/ |
D | task_manager.rs | 388 limit: u32, in reach_maximum_running_limit() 404 if count >= limit { in reach_maximum_running_limit() 427 let limit = if task.conf.version == Version::API10 { in start_common() localVariable 432 if self.reach_maximum_running_limit(uid, task.conf.version, limit, &guard) { in start_common()
|