Home
last modified time | relevance | path

Searched refs:arr (Results 1 - 11 of 11) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/datastructure/
H A Dsegment_header_test.cpp62 std::vector<int8_t> arr = { 1, 1, 1, 1 }; in HWTEST_F() local
63 std::unique_ptr<SegmentHeader> ptr = segmentHeader.FromByteArray(arr); in HWTEST_F()
65 EXPECT_EQ(arr.size(), 4); in HWTEST_F()
79 std::vector<int8_t> arr; in HWTEST_F() local
80 segmentHeader.ToByteArray(arr); in HWTEST_F()
81 std::unique_ptr<SegmentHeader> ptr = segmentHeader.FromByteArray(arr); in HWTEST_F()
83 EXPECT_NE(arr.size(), 0); in HWTEST_F()
97 std::vector<int8_t> arr; in HWTEST_F() local
98 segmentHeader.ToByteArray(arr); in HWTEST_F()
99 std::unique_ptr<SegmentHeader> ptr = segmentHeader.FromByteArray(arr); in HWTEST_F()
[all...]
H A Delf_sign_block_test.cpp48 std::vector<int8_t> arr; in HWTEST_F() local
49 elfSignBlock.ToByteArray(arr); in HWTEST_F()
51 bool flag = elfSignBlock.FromByteArray(arr, block); in HWTEST_F()
70 std::vector<int8_t> arr; in HWTEST_F() local
71 elfSignBlock.ToByteArray(arr); in HWTEST_F()
72 arr[24] = 0; in HWTEST_F()
74 bool flag = elfSignBlock.FromByteArray(arr, block); in HWTEST_F()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/fsverity/
H A Dfs_verity_descriptor_test.cpp172 std::vector<int8_t> arr; in HWTEST_F() local
173 fsVerityDescriptor.ToByteArray(arr); in HWTEST_F()
203 std::vector<int8_t> arr; in HWTEST_F() local
204 fsVerityDescriptor.ToByteArray(arr); in HWTEST_F()
205 int32_t size = arr.size(); in HWTEST_F()
235 std::vector<int8_t> arr; in HWTEST_F() local
236 fsVerityDescriptor.ToByteArray(arr); in HWTEST_F()
237 FsVerityDescriptor fromArr = FsVerityDescriptor::FromByteArray(arr); in HWTEST_F()
267 std::vector<int8_t> arr; in HWTEST_F() local
268 fsVerityDescriptor.ToByteArray(arr); in HWTEST_F()
300 std::vector<int8_t> arr; HWTEST_F() local
[all...]
/developtools/profiler/hidebug/interfaces/cj/
H A Dhidebug_ffi.cpp174 ThreadCpuUsageArr arr{ .head = nullptr, .size = 0}; in FfiHidebugGetAppThreadCpuUsage()
178 return arr; in FfiHidebugGetAppThreadCpuUsage()
183 return arr; in FfiHidebugGetAppThreadCpuUsage()
185 arr.head = static_cast<CThreadCpuUsage *>(malloc(sizeof(CThreadCpuUsage) * size)); in FfiHidebugGetAppThreadCpuUsage()
186 if (arr.head == nullptr) { in FfiHidebugGetAppThreadCpuUsage()
188 return arr; in FfiHidebugGetAppThreadCpuUsage()
192 arr.head[idx] = CThreadCpuUsage{ .threadId = id, .cpuUsage = usage }; in FfiHidebugGetAppThreadCpuUsage()
195 return arr; in FfiHidebugGetAppThreadCpuUsage()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/sign/
H A Dbc_signeddata_generator_test.cpp62 std::vector<int8_t> arr = { 70, 83, 86, 101, 114, 105, 116, 121, 1, 0, 32, 0, -61, -44, in HWTEST_F() local
65 std::string signed_data(arr.begin(), arr.end()); in HWTEST_F()
146 std::vector<int8_t> arr = { 70, 83, 86, 101, 114, 105, 116, 121, 1, 0, 32, 0, -61, -44, in HWTEST_F() local
149 std::string signed_data(arr.begin(), arr.end()); in HWTEST_F()
/developtools/hiperf/demo/cpp/
H A Dhiperf_example_cmd.cpp126 int *arr = static_cast<int *>( in LoopMmap() local
129 int *ptr = arr; in LoopMmap()
138 munmap(arr, getpagesize()); in LoopMmap()
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dbyte_buffer.h60 DLL_EXPORT ByteBuffer(const char* arr, int32_t length);
/developtools/hapsigner/hapsigntool_cpp/common/src/
H A Dbyte_buffer.cpp50 ByteBuffer::ByteBuffer(const char* arr, int32_t length) : buffer(nullptr), position(0), limit(0), capacity(0) in ByteBuffer() argument
53 PutData(0, arr, length); in ByteBuffer()
/developtools/hdc/src/common/
H A Dbase.h110 string Convert2HexStr(uint8_t arr[], int length);
H A Dbase.cpp1839 string Convert2HexStr(uint8_t arr[], int length) in Convert2HexStr() argument
1845 << static_cast<int>(arr[i]); in Convert2HexStr()
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h5655 const struct kparam_array *arr; member
123792 const struct value_name_pair *arr; global() member
157356 struct sock *arr[0]; global() member
[all...]

Completed in 407 milliseconds