/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | hap_byte_buffer.cpp | 28 HapByteBuffer::HapByteBuffer() : buffer(nullptr), position(0), limit(0), capacity(0) in HapByteBuffer() 32 HapByteBuffer::HapByteBuffer(int bufferCapacity) : buffer(nullptr), position(0), limit(0), capacity… in HapByteBuffer() 37 HapByteBuffer::HapByteBuffer(const HapByteBuffer& other) : buffer(nullptr), position(0), limit(0), … in HapByteBuffer() 46 limit = other.GetLimit(); in HapByteBuffer() 60 limit = bufferCapacity; in Init() 82 limit = other.GetLimit(); in operator =() 99 if (getDataLast > static_cast<long long>(limit)) { in CheckInputForGettingData() 101 position, index, limit); in CheckInputForGettingData() 195 if (buffer != nullptr && offset >= 0 && limit - offset >= static_cast<int>(sizeof(value))) { in PutInt32() 196 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() 65 CompressedImageDiff(size_t limit, in CompressedImageDiff() argument 67 : ImageDiff(limit, newParser, oldParser), type_(type) {} in CompressedImageDiff() 81 …ZipImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldPar… in ZipImageDiff() argument 82 : CompressedImageDiff(limit, newParser, oldParser, BLOCK_DEFLATE) {} in ZipImageDiff() 99 …Lz4ImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldPar… in Lz4ImageDiff() argument 100 : CompressedImageDiff(limit, newParser, oldParser, BLOCK_LZ4) {} in Lz4ImageDiff() 118 …GZipImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldPa… in GZipImageDiff() argument 119 : ZipImageDiff(limit, newParser, oldParser) {} in GZipImageDiff()
|
D | update_diff.h | 56 …UpdateDiff(size_t limit, bool blockDiff) : limit_(limit * IGMDIFF_LIMIT_UNIT), blockDiff_(blockDif… in UpdateDiff() argument 61 static int32_t DiffImage(size_t limit, const std::string &oldFileName,
|
D | update_diff.cpp | 153 int32_t UpdateDiff::DiffImage(size_t limit, const std::string &oldFileName, in DiffImage() argument 156 std::unique_ptr<UpdateDiff> updateDiff(new UpdateDiff(limit, false)); in DiffImage()
|
/base/compileruntime/js_util_module/util/ |
D | js_textdecoder.cpp | 76 size_t limit = GetMinByteSize() * length; in Decode() local 77 size_t len = limit * sizeof(UChar); in Decode() 79 if (limit > 0) { in Decode() 80 arr = new UChar[limit + 1]; in Decode() 95 DecodeArr decArr(target, tarStartPos, limit); in Decode()
|
/base/hiviewdfx/hiview/adapter/dbstore/ |
D | data_query.cpp | 129 std::string DataQuery::ToDelString(int limit) const in ToDelString() 131 if (limit <= 0) { in ToDelString() 134 return sql_.str() + " | del | limit " + std::to_string(limit) + " count"; in ToDelString()
|
D | doc_store.cpp | 141 ux.limit = 0; in Delete() 247 ux.limit = 0; in GetEntryDuringQuery()
|
/base/update/updater/test/unittest/diffpatch/ |
D | diffpatch_unittest.cpp | 65 int ImgageDiffPatchFileTest(size_t limit, const std::string &oldFile, in ImgageDiffPatchFileTest() argument 68 int32_t ret = updatepatch::UpdateDiff::DiffImage(limit, TEST_PATH_FROM + oldFile, in ImgageDiffPatchFileTest() 108 int ImgageDiffPatchFileTest2(size_t limit, const std::string &oldFile, in ImgageDiffPatchFileTest2() argument 111 int32_t ret = updatepatch::UpdateDiff::DiffImage(limit, TEST_PATH_FROM + oldFile, in ImgageDiffPatchFileTest2()
|
/base/startup/init_lite/services/init/ |
D | init_common_cmds.c | 510 struct rlimit limit; in DoSetrlimit() local 512 limit.rlim_cur = RLIM_INFINITY; in DoSetrlimit() 514 limit.rlim_cur = (rlim_t)atoi(ctx->argv[1]); in DoSetrlimit() 517 limit.rlim_max = RLIM_INFINITY; in DoSetrlimit() 519 limit.rlim_max = (rlim_t)atoi(ctx->argv[rlimMaxPos]); in DoSetrlimit() 532 INIT_CHECK_ONLY_ELOG(setrlimit(rcs, &limit) == 0, "DoSetrlimit failed : %d", errno); in DoSetrlimit()
|
/base/security/appverify/interfaces/innerkits/appverify/include/common/ |
D | hap_byte_buffer.h | 75 int limit; variable
|
/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/hiviewdfx/hiview/base/event_store/ |
D | sys_event_query.cpp | 791 void SysEventQuery::BuildDataQuery(DataQuery &dataQuery, int limit) in BuildDataQuery() argument 802 dataQuery.Limit(limit); in BuildDataQuery() 805 ResultSet SysEventQuery::Execute(int limit) in Execute() argument 808 BuildDataQuery(dataQuery, limit); in Execute() 837 int SysEventQuery::ExecuteWithCallback(SysEeventCallBack callback, int limit) in ExecuteWithCallback() argument 840 BuildDataQuery(dataQuery, limit); in ExecuteWithCallback()
|
/base/hiviewdfx/hiview/base/event_store/include/ |
D | sys_event_query.h | 200 ResultSet Execute(int limit = 100); 201 int ExecuteWithCallback(SysEeventCallBack callback, int limit = 100); 209 void BuildDataQuery(DataQuery &dataQuery, int limit);
|
/base/hiviewdfx/hiview/adapter/dbstore/include/ |
D | data_query.h | 162 std::string ToDelString(int limit = 0) const;
|
/base/compileruntime/js_sys_module/ |
D | README.md | 77 … send a signal killsignal after timeout is exceeded. Maxbuffer is used to limit the maximum stdout…
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestGZipModeImagePatch.old.gz |
|