/developtools/smartperf_host/trace_streamer/build/ |
H A D | build_base_func.sh | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 26 for var in "${enable_plugin_array[@]}"; do 30 for var in "${enable_extend_plugin_array[@]}"; do 36 for var in "${enable_plugin_array[@]}"; do 39 for var in "${enable_extend_plugin_array[@]}"; do 44 for enable_plugin in "${enable_plugin_array[@]}"; do 49 for enable_extend_plugin in "${enable_extend_plugin_array[@]}"; do 54 case "$OSTYPE" in
|
H A D | build_stanalone_plugins.sh | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 29 for plugin in "${plugins[@]}"; do 30 for enable_plugin in "${enable_plugin_array[@]}"; do 47 for plugin in "${plugins[@]}"; do 48 for enable_extend_plugin in "${enable_extend_plugin_array[@]}"; do
|
/developtools/hdc/hdc_rust/src/cffi/ |
H A D | serial_struct_define.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 278 static bool ReadByte(uint8_t &value, Reader &in) in ReadByte() argument 280 return in.Read(&value, 1) == 1; in ReadByte() 324 static bool ReadVarint(uint32_t &value, Reader &in) 331 if (!ReadByte(x, in)) { 343 static bool ReadVarint(uint64_t &value, Reader &in) in ReadVarint() argument 350 if (!ReadByte(x, in)) { in ReadVarint() 362 static bool ReadVarint(unsigned long &value, Reader &in) 365 if (ReadVarint(intermediateValue, in)) { [all...] |
/developtools/hdc/src/common/ |
H A D | serial_struct_define.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 275 static bool ReadByte(uint8_t &value, reader &in) in ReadByte() argument 277 return in.Read(&value, 1) == 1; in ReadByte() 321 static bool ReadVarint(uint32_t &value, reader &in) 328 if (!ReadByte(x, in)) { 340 static bool ReadVarint(uint64_t &value, reader &in) in ReadVarint() argument 347 if (!ReadByte(x, in)) { in ReadVarint() 359 static bool ReadVarint(unsigned long &value, reader &in) 362 if (ReadVarint(intermediateValue, in)) { [all...] |
/developtools/global_resource_tool/src/ |
H A D | resource_table.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 104 ifstream in(path, ios::binary); in LoadResTable() 105 if (!in.is_open()) { in LoadResTable() 110 in.seekg(0, ios::end); in LoadResTable() 111 int64_t length = in.tellg(); in LoadResTable() 113 in.close(); in LoadResTable() 116 in.seekg(0, ios::beg); in LoadResTable() 120 if (!ReadFileHeader(in, indexHeader, pos, static_cast<uint64_t>(length))) { in LoadResTable() 121 in in LoadResTable() 350 ReadFileHeader(ifstream &in, IndexHeader &indexHeader, uint64_t &pos, uint64_t length) const ReadFileHeader() argument 363 ReadLimitKeys(ifstream &in, map<int64_t, vector<KeyParam>> &limitKeys, uint32_t count, uint64_t &pos, uint64_t length) const ReadLimitKeys() argument 399 ReadIdTables(std::ifstream &in, std::map<int64_t, std::pair<int64_t, int64_t>> &datas, uint32_t count, uint64_t &pos, uint64_t length) const ReadIdTables() argument 433 ReadDataRecordPrepare(ifstream &in, RecordItem &record, uint64_t &pos, uint64_t length) const ReadDataRecordPrepare() argument 451 ReadDataRecordStart(std::ifstream &in, RecordItem &record, const std::map<int64_t, std::vector<KeyParam>> &limitKeys, const std::map<int64_t, std::pair<int64_t, int64_t>> &datas, std::map<int64_t, std::vector<ResourceItem>> &resInfos) const ReadDataRecordStart() argument [all...] |
H A D | resource_check.cpp | 4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
90 bool ResourceCheck::IsValidPngImage(FILE *&in) const
in IsValidPngImage() 93 if (fread(checkheader, 1, PNG_BYTRS_TO_CHECK, in) != PNG_BYTRS_TO_CHECK) {
in IsValidPngImage() 100 rewind(in);
in IsValidPngImage() 106 FILE *in = fopen(filePath.c_str(), "rb");
in GetPngWidthAndHeight() local 107 if (in == nullptr) {
in GetPngWidthAndHeight() 111 if (!IsValidPngImage(in)) {
in GetPngWidthAndHeight() 113 CloseFile(in);
in GetPngWidthAndHeight() 118 CloseFile(in);
in GetPngWidthAndHeight() [all...] |
H A D | resource_append.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 393 ifstream in(filePath, ifstream::in | ifstream::binary); in LoadResourceItem() 394 if (!in.is_open()) { in LoadResourceItem() 399 in.seekg(0, in.end); in LoadResourceItem() 400 int32_t length = in.tellg(); in LoadResourceItem() 401 in.seekg(0, in in LoadResourceItem() [all...] |
/developtools/global_resource_tool/include/ |
H A D | resource_table.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 77 bool ReadFileHeader(std::ifstream &in, IndexHeader &indexHeader, uint64_t &pos, uint64_t length) const; 78 bool ReadLimitKeys(std::ifstream &in, std::map<int64_t, std::vector<KeyParam>> &limitKeys, 80 bool ReadIdTables(std::ifstream &in, std::map<int64_t, std::pair<int64_t, int64_t>> &datas, 82 bool ReadDataRecordPrepare(std::ifstream &in, RecordItem &record, uint64_t &pos, uint64_t length) const; 83 bool ReadDataRecordStart(std::ifstream &in, RecordItem &record,
|
H A D | resource_check.h | 4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
44 bool IsValidPngImage(FILE *&in) const;
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
H A D | ZipUtils.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 73 * 2-bytes: Total number of entries in the central directory on this disk in findEocdInSearchBuffer() 74 * 2-bytes: Total number of entries in the central directory in findEocdInSearchBuffer() 76 * 4-bytes: offset of central directory in zip file in findEocdInSearchBuffer() 77 * 2-bytes: ZIP file comment length, the value n is in the range of [0, 65535] in findEocdInSearchBuffer() 104 * @param zipEocdOffset offset of the ZIP EOCD in the file. 187 * @param in zip file 192 public static ZipFileInfo findZipInfo(ZipDataInput in) throws IOException, HapFormatException { in findZipInfo() argument 193 Pair<Long, ByteBuffer> eocdOffsetAndBuffer = findEocdInHap(in); in findZipInfo() 219 findEocdInHap(ZipDataInput in) findEocdInHap() argument [all...] |
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/ |
H A D | SignHap.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 69 * @param in input hap-file which is opened as a jar-file. 76 public static void copyFiles(JarFile in, in copyFiles() argument 79 List<JarEntry> entryListStored = in.stream() in copyFiles() 82 // uncompressed special files and place in front in copyFiles() 111 offset = writeOutputStreamAndGetOffset(in, out, inEntry, offset); in copyFiles() 113 List<JarEntry> entryListNotStored = in.stream() in copyFiles() 126 writeOutputStream(in, out, firstEntry, buffer); in copyFiles() 129 copyFilesExceptStoredFile(entryListNotStored, in, ou in copyFiles() 176 writeOutputStream(JarFile in, JarOutputStream out, JarEntry firstEntry, byte[] buffer) writeOutputStream() argument 187 writeOutputStreamAndGetOffset(JarFile in, JarOutputStream out, JarEntry inEntry, long offset) writeOutputStreamAndGetOffset() argument 211 copyFilesExceptStoredFile(List<JarEntry> entryListNotStored, JarFile in, JarOutputStream out, long timestamp, boolean isAlignmentFlag) copyFilesExceptStoredFile() argument [all...] |
/developtools/hiperf/test/fuzztest/resource/ |
H A D | send_to_device.bat | 3 @rem you may not use this file except in compliance with the License. 8 @rem Unless required by applicable law or agreed to in writing, software 17 for /R %DIR% %%f in (testdata\*) do (
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/resource/ |
H A D | send_to_device.bat | 3 @rem you may not use this file except in compliance with the License. 8 @rem Unless required by applicable law or agreed to in writing, software 17 for /R %DIR% %%f in (testdata\*) do (
|
H A D | send_dwarf_to_device.bat | 3 @rem you may not use this file except in compliance with the License. 8 @rem Unless required by applicable law or agreed to in writing, software 17 for /R %DIR% %%f in (testdata\dwarf\*) do (
|
/developtools/hiperf/test/unittest/resource/ |
H A D | send_to_device.bat | 3 @rem you may not use this file except in compliance with the License. 8 @rem Unless required by applicable law or agreed to in writing, software 17 for /R %DIR% %%f in (testdata\*) do (
|
H A D | send_report_to_device.bat | 3 @rem you may not use this file except in compliance with the License. 8 @rem Unless required by applicable law or agreed to in writing, software 17 for /R %DIR% %%f in (testdata\report\*) do (
|
H A D | send_dwarf_to_device.bat | 3 @rem you may not use this file except in compliance with the License. 8 @rem Unless required by applicable law or agreed to in writing, software 17 for /R %DIR% %%f in (testdata\dwarf\*) do (
|
/developtools/hapsigner/hapsigntool_cpp/utils/src/ |
H A D | file_utils.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 264 auto readFunc = [&output, &writeFunc, &writeTasks, &result] (std::ifstream& in, int dataSize) { in WriteInputToOutPut() 265 while (in) { in WriteInputToOutPut() 272 in.read(buf, min); in WriteInputToOutPut() 273 dataSize -= in.gcount(); in WriteInputToOutPut() 296 std::ifstream in(input, std::ios::binary); in WriteInputToOutPut() 298 bool flag = (in.rdstate() != 0); in WriteInputToOutPut() 309 while (!in.eof()) { in WriteInputToOutPut() 310 in in WriteInputToOutPut() [all...] |
H A D | string_utils.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 127 bool StringUtils::CheckStringToint(const std::string& in, int& out) in CheckStringToint() argument 129 std::istringstream iss(in); in CheckStringToint() 133 SIGNATURE_TOOLS_LOGE("Cannot convert string:%s to integer", in.c_str()); in CheckStringToint()
|
/developtools/hiperf/test/unittest/common/native/ |
H A D | cpu_usage_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 82 std::ifstream in(fileName, std::ios::in); in GetVmRSSLine() 84 if (in.fail()) { in GetVmRSSLine() 87 while (getline(in, tmp)) { in GetVmRSSLine() 94 in.close(); in GetVmRSSLine()
|
/developtools/profiler/host/smartperf/client/client_command/include/ |
H A D | client_control.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 18 #include <netinet/in.h>
|
H A D | sp_server_socket.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 18 #include <netinet/in.h>
|
/developtools/hapsigner/hapsigntool_cpp/utils/include/ |
H A D | string_utils.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 41 static bool CheckStringToint(const std::string& in, int& out);
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/ |
H A D | ftrace_gpio_event_formatter.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 32 msg.in() ? "in" : "out", msg.err()); 34 PROFILER_LOG_WARN(LOG_CORE, "the contents of print event(gpio_direction) msg had be cut off in outfile"); 48 PROFILER_LOG_WARN(LOG_CORE, "the contents of print event(gpio_value) msg had be cut off in outfile");
|
/developtools/profiler/hiebpf/src/ |
H A D | utilities.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 26 std::ifstream inputString(fileName, std::ios::in); in ReadFileToString()
|