Home
last modified time | relevance | path

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

/developtools/global_resource_tool/src/
H A Dselect_compile_parse.cpp38 vector<string> limit; in ParseTargetConfig() local
39 ResourceUtil::Split(it, limit, "["); in ParseTargetConfig()
40 if (limit.size() != 2) { // 2 means the size of the valid parameter after split by '[' in ParseTargetConfig()
43 ResourceUtil::RemoveSpaces(limit.back()); in ParseTargetConfig()
44 if (limit.size() < 2 || limit.back().back() != ']') { // 2 means characters other than ']' in ParseTargetConfig()
47 limit.back().pop_back(); in ParseTargetConfig()
49 ResourceUtil::Split(limit.back(), limitValues, ","); in ParseTargetConfig()
53 auto &limitType = limit.front(); in ParseTargetConfig()
95 void SelectCompileParse::InitMccmnc(vector<KeyParam> &limit) in InitMccmnc() argument
110 IsSelectableMccmnc(vector<KeyParam> &keyParams, size_t &index, vector<KeyParam> &limit) IsSelectableMccmnc() argument
125 InitLocale(vector<KeyParam> &limit) InitLocale() argument
144 IsSelectableLocale(vector<KeyParam> &keyParams, size_t &index, vector<KeyParam> &limit) IsSelectableLocale() argument
166 IsSelectableOther(vector<KeyParam> &keyParams, size_t &index, vector<KeyParam> &limit) IsSelectableOther() argument
[all...]
H A Dresource_append.cpp208 cerr << "Error: invalid limit key '" << limitKey << "'."; in ScanLimitKey()
318 cerr << "Error: invalid limit key." << NEW_LINE_PATH << filePath << endl; in ScanSingleFile()
412 bool ResourceAppend::ScanRawFilesOrResFiles(const string &path, const string &outputPath, const string &limit) in ScanRawFilesOrResFiles() argument
427 ret = WriteRawFilesOrResFiles(child->GetFilePath().GetPath(), outputPath, limit); in ScanRawFilesOrResFiles()
429 ret = ScanRawFilesOrResFiles(child->GetFilePath().GetPath(), outputPath, limit); in ScanRawFilesOrResFiles()
439 bool ResourceAppend::WriteRawFilesOrResFiles(const string &filePath, const string &outputPath, const string &limit) in WriteRawFilesOrResFiles() argument
441 string::size_type pos = filePath.find(limit); in WriteRawFilesOrResFiles()
450 auto iter = g_copyFileMap.find(limit); in WriteRawFilesOrResFiles()
530 // limit key in LoadResourceItemFromMem()
/developtools/hapsigner/hapsigntool_cpp/common/src/
H A Dbyte_buffer.cpp41 ByteBuffer::ByteBuffer() : buffer(nullptr), position(0), limit(0), capacity(0) in ByteBuffer()
45 ByteBuffer::ByteBuffer(int32_t bufferCapacity) : buffer(nullptr), position(0), limit(0), capacity(0) in ByteBuffer()
50 ByteBuffer::ByteBuffer(const char* arr, int32_t length) : buffer(nullptr), position(0), limit(0), capacity(0) in ByteBuffer()
56 ByteBuffer::ByteBuffer(const ByteBuffer& other) : buffer(nullptr), position(0), limit(0), capacity(0) in ByteBuffer()
65 limit = other.GetLimit(); in ByteBuffer()
81 limit = bufferCapacity; in Init()
103 limit = other.GetLimit(); in operator =()
120 if (getDataLast > static_cast<int64_t>(limit)) { in CheckInputForGettingData()
121 SIGNATURE_TOOLS_LOGE("position: %d, index: %d, limit: %d", position, index, limit); in CheckInputForGettingData()
[all...]
/developtools/global_resource_tool/include/
H A Dselect_compile_parse.h30 static bool IsSelectableMccmnc(std::vector<KeyParam> &keyParams, size_t &index, std::vector<KeyParam> &limit);
31 static bool IsSelectableLocale(std::vector<KeyParam> &keyParams, size_t &index, std::vector<KeyParam> &limit);
32 static bool IsSelectableOther(std::vector<KeyParam> &keyParams, size_t &index, std::vector<KeyParam> &limit);
33 static void InitMccmnc(std::vector<KeyParam> &limit);
34 static void InitLocale(std::vector<KeyParam> &limit);
H A Dresource_append.h55 bool ScanRawFilesOrResFiles(const std::string &path, const std::string &outputPath, const std::string &limit);
56 bool WriteRawFilesOrResFiles(const std::string &filePath, const std::string &outputPath, const std::string &limit);
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
H A DByteBufferZipDataInput.java61 int limit = position + size; in createByteBuffer()
64 buffer.limit(limit); in createByteBuffer()
H A DRandomAccessFileZipDataInput.java119 int originalLimit = buffer.limit(); in copyTo()
121 buffer.limit(buffer.position() + size); in copyTo()
132 buffer.limit(originalLimit); in copyTo()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/utils/
H A DHapUtils.java373 int limit = source.limit(); in sliceBuffer()
376 if ((targetLimit < position) || (targetLimit > limit)) { in sliceBuffer()
381 source.limit(targetLimit); in sliceBuffer()
387 source.limit(limit); in sliceBuffer()
397 int limit = source.limit(); in sliceBuffer()
401 source.limit(endPos); in sliceBuffer()
407 source.limit(limi in sliceBuffer()
[all...]
/developtools/profiler/hidebug/interfaces/cj/
H A Dhidebug_ffi.cpp245 CMemoryLimit limit{.rssLimit = 0, .vssLimit = 0}; in FfiHidebugGetAppMemoryLimit()
249 return limit; in FfiHidebugGetAppMemoryLimit()
255 return limit; in FfiHidebugGetAppMemoryLimit()
257 limit.rssLimit = memoryLimit->rssLimit; in FfiHidebugGetAppMemoryLimit()
258 limit.vssLimit = memoryLimit->vssLimit; in FfiHidebugGetAppMemoryLimit()
260 return limit; in FfiHidebugGetAppMemoryLimit()
/developtools/packing_tool/adapter/ohos/
H A DUtility.java790 public void setMainModuleLimit(String limit) { in setMainModuleLimit() argument
791 this.mainModuleLimit = limit; in setMainModuleLimit()
802 public void setNormalModuleLimit(String limit) { in setNormalModuleLimit() argument
803 this.normalModuleLimit = limit; in setNormalModuleLimit()
810 public void setTotalLimit(String limit) { in setTotalLimit() argument
811 this.totalLimit = limit; in setTotalLimit()
H A DHapVerifyInfo.java448 public void setEntrySizeLimit(int limit) { in setEntrySizeLimit() argument
449 this.entrySizeLimit = limit; in setEntrySizeLimit()
/developtools/profiler/device/plugins/native_daemon/include/
H A Ddebug_logger.h183 static int limit = first; \
184 if (limit > 0) { \
186 if (--limit == 0) { \
/developtools/hiperf/include/
H A Ddebug_logger.h212 static int limit = first; \
213 if (limit > 0) { \
215 if (--limit == 0) { \
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dhap_verify_info.cpp273 void HapVerifyInfo::SetEntrySizeLimit(const int32_t& limit) in SetEntrySizeLimit() argument
275 entrySizeLimit_ = limit; in SetEntrySizeLimit()
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dbyte_buffer.h45 * Bool hasRemaining(); Is there any data between position and limit
46 * Uint32_t remaining() const; Return the number of bytes between position and limit
48 * 2. Set ByteBuffer from writer state to read state: limit is set to position value, position is set to zero
52 * Void clear()// Reset to initial state: mark=-1, position=0, limit=capacity
53 * Void compact()// Copy the data between position and limit to the starting position at index 0,
54 * then move the position to the next position of this data segment and set the limit value to capacity
128 int32_t limit = 0; member in OHOS::SignatureTools::ByteBuffer
/developtools/hiperf/interfaces/innerkits/native/include/
H A Dhiperf_client.h102 * Set the limit process id of the collection target.
112 * Set the limit thread id of the collection target.
150 * If '-g dwarf' is used, to break the 64k stack limit, callstack is merged by default
161 void SetDataLimit(const std::string &limit);
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Dhap_verify_info.h87 void SetEntrySizeLimit(const int32_t& limit);
/developtools/profiler/host/smartperf/client/client_command/include/
H A Dsp_task.h187 record_args: "-f 1000 -a --cpu-limit 100 -e hw-cpu-cycles,sched:sched_waking )";
/developtools/hiperf/interfaces/innerkits/native/src/
H A Dhiperf_client.cpp55 static const std::string ARG_CPU_PERCENT = "--cpu-limit";
62 static const std::string ARG_DATA_LIMIT = "--data-limit";
289 void RecordOption::SetDataLimit(const std::string &limit) in SetDataLimit() argument
291 SetOption(ARG_DATA_LIMIT, limit); in SetDataLimit()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
H A DMerkleTreeBuilder.java142 tempBuffer.limit(end); in slice()
/developtools/integration_verification/DeployDevice/src/aw/Download/
H A DDownload.py101 --max-download-limit=50M --bt-stop-timeout=120 %s" % (version_path, download_torrent)
H A DDownloadold.py101 --max-download-limit=50M --bt-stop-timeout=120 %s" % (version_path, download_torrent)
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
H A Dftrace_writeback_event_formatter.cpp33 "balance_dirty_pages: bdi %s: limit=%" PRIu64 " setpoint=%" PRIu64 " dirty=%" PRIu64
37 msg.bdi().c_str(), msg.limit(), msg.setpoint(), msg.dirty(), msg.bdi_setpoint(), msg.bdi_dirty(),
74 " limit=%" PRIu64 " dirtied=%" PRIu64 " written=%" PRIu64 "",
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/hap_verify_utils_test/
H A Dhap_verify_utils_test.cpp1417 int32_t limit = 100; in HWTEST_F() local
1418 info.SetEntrySizeLimit(limit); in HWTEST_F()
1421 EXPECT_EQ(ret, limit); in HWTEST_F()
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h5789 long unsigned int limit; member
11203 unsigned int limit; member
11623 u32 limit; member
14657 long unsigned int limit; member
16287 u8 limit: 1; member
16320 struct acpi_processor_limit limit; member
26430 atomic64_t limit; member
37505 unsigned int limit; member
40147 long unsigned int limit; member
47354 __le16 limit; member
50066 sector_t limit; global() member
61193 int limit; global() member
65788 size_t limit; global() member
66376 int limit[21]; global() member
151021 enum devlink_reload_limit limit; global() member
151940 __u32 limit; global() member
160385 u16 limit; global() member
[all...]

Completed in 437 milliseconds