Home
last modified time | relevance | path

Searched refs:hookVec (Results 1 – 1 of 1) sorted by relevance

/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp362 bool Getdata(BufferSplitter& totalbuffer, std::vector<std::string>& hookVec, char delimiter) in Getdata() argument
369 hookVec.push_back(curWord); in Getdata()
422 std::vector<std::string> hookVec; variable
429 Getdata(totalbuffer, hookVec, delimiter);
431 if (hookVec[0] == "malloc" && !isFirstHook) {
433 EXPECT_TRUE(Getdata(totalbuffer, hookVec, delimiter));
436 EXPECT_TRUE(Getdata(totalbuffer, hookVec, delimiter));
437 ASSERT_EQ(static_cast<int>(hookVec.size()), MALLOC_VEC_SIZE);
438 …ASSERT_EQ(atoi(hookVec[4].c_str()), DEFAULT_MALLOC_SIZE); // 4: fifth hook data, default malloc si…
440 addr = hookVec[addrPos];
[all …]