Home
last modified time | relevance | path

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

12

/developtools/smartperf_host/trace_streamer/test/unittest/pbreader/
H A Dproto_reader_test.cpp452 * @tc.desc: ParserData by Get
467 EXPECT_EQ(COUNT_01, typedProtoTest.Get(TestParser_Reader::kCountDataAreaNumber).ToInt32()); in HWTEST_F()
468 auto core = typedProtoTest.Get(TestParser_Reader::kCoresDataAreaNumber).ToBytes(); in HWTEST_F()
470 auto typtest = typedProtoCpuInfoTest.Get(CpuInfoTest_Reader::kTestDataAreaNumber).ToBytes(); in HWTEST_F()
472 EXPECT_EQ(NUMBER_01, typedProtoTestReader.Get(Test_Reader::kNumberDataAreaNumber).ToInt32()); in HWTEST_F()
473 EXPECT_EQ(TV_NSEC_01, typedProtoTestReader.Get(Test_Reader::kTvNsecDataAreaNumber).ToUint64()); in HWTEST_F()
474 EXPECT_EQ(NAME_01, typedProtoTestReader.Get(Test_Reader::kNameDataAreaNumber).ToStdString()); in HWTEST_F()
475 EXPECT_TRUE(typedProtoTestReader.Get(Test_Reader::kIsTestDataAreaNumber).ToBool()); in HWTEST_F()
476 EXPECT_EQ(::Test_State(0), typedProtoTestReader.Get(Test_Reader::kStateDataAreaNumber).ToInt32()); in HWTEST_F()
477 EXPECT_EQ(ALLOC_EVENT_01, typedProtoTestReader.Get(Test_Reade in HWTEST_F()
[all...]
/developtools/integration_verification/tools/fotff/utils/
H A Dini.go38 key := rt.Elem().Field(i).Tag.Get("key")
47 v = rt.Elem().Field(i).Tag.Get("default")
54 key := rt.Elem().Field(i).Tag.Get("key")
63 v = rt.Elem().Field(i).Tag.Get("default")
H A Druntime.go42 return runtimeCache.Get(sectionKey(section, k))
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/pack_info_test/
H A Dpack_info_test.cpp1203 EXPECT_TRUE(packInfo.GetDistroObjectByModuleObj(modulesObj->Get(0), distroObj)); in HWTEST_F()
1233 EXPECT_FALSE(packInfo.GetDistroObjectByModuleObj(modulesObj->Get(0), distroObj)); in HWTEST_F()
1329 EXPECT_TRUE(packInfo.GetExtensionAbilitiesObjByModuleObj(modulesObj->Get(0), extensionAbilitiesObj)); in HWTEST_F()
1359 EXPECT_FALSE(packInfo.GetExtensionAbilitiesObjByModuleObj(modulesObj->Get(0), extensionAbilitiesObj)); in HWTEST_F()
1375 EXPECT_TRUE(packInfo.GetExtensionAbilitiesObjByModuleObj(modulesObj->Get(0), extensionAbilitiesObj)); in HWTEST_F()
1377 EXPECT_TRUE(packInfo.GetFormsObjByExtensionAbilityObj(extensionAbilitiesObj->Get(0), formsObj)); in HWTEST_F()
1407 EXPECT_TRUE(packInfo.GetExtensionAbilitiesObjByModuleObj(modulesObj->Get(0), extensionAbilitiesObj)); in HWTEST_F()
1409 EXPECT_FALSE(packInfo.GetFormsObjByExtensionAbilityObj(extensionAbilitiesObj->Get(0), formsObj)); in HWTEST_F()
1425 EXPECT_TRUE(packInfo.GetExtensionAbilitiesObjByModuleObj(modulesObj->Get(0), extensionAbilitiesObj)); in HWTEST_F()
1427 EXPECT_FALSE(packInfo.GetFormsObjByExtensionAbilityObj(extensionAbilitiesObj->Get( in HWTEST_F()
[all...]
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dpack_info_utils.cpp63 LOGE("Get module node from srcPackInfo1 or srcPackInfo2 failed!"); in MergeTwoPackInfos()
71 if (!modulesObj1->Push(modulesObj2->Get(i))) { in MergeTwoPackInfos()
88 if (!packagesObj1->Push(packagesObj2->Get(i))) { in MergeTwoPackInfos()
136 LOGE("Get module node from srcPackInfo1 or srcPackInfo2 failed!"); in FindAndMergeModulesByPackagePair()
156 if (!modulesObj1->Push(modulesObj2->Get(i))) { in FindAndMergeModulesByPackagePair()
177 LOGE("Get package node from srcPackInfo1 or srcPackInfo2 failed!"); in FindAndMergePackagesByPackagePair()
187 if (!srcPackInfo2.GetNameByPackageObj(packagesObj2->Get(i), packageNameInPackageObj)) { in FindAndMergePackagesByPackagePair()
192 if (!packagesObj1->Push(packagesObj2->Get(i))) { in FindAndMergePackagesByPackagePair()
H A Dpack_info.cpp275 std::unique_ptr<PtJson> moduleObj = modulesObj->Get(moduleIndex); in GetDistroObjectByModulesObj()
318 std::unique_ptr<PtJson> moduleObj = modulesObj->Get(moduleIndex); in GetExtensionAbilitiesObjByModulesObj()
373 packageObj = packagesObj->Get(packageIndex); in GetPackageObject()
533 supportDimensions.push_back(supportDimensionsObj->Get(i)->GetString()); in GetSupportDimensionsByFormObj()
552 if (!GetDistroObjectByModuleObj(modulesObj->Get(i), distroObj)) { in GetFormNames()
562 if (!GetExtensionAbilitiesObjByModuleObj(modulesObj->Get(i), extensionAbilitiesObj)) { in GetFormNames()
583 if (!GetFormsObjByExtensionAbilityObj(extensionAbilitiesObj->Get(j), formsObj)) { in GetFormNamesByExtensionAbilitiesObj()
608 if (!GetNameByFormObj(formsObj->Get(k), formName) || formName.empty()) { in GetFormNamesByFormsObj()
612 if (!GetDefaultDimensionByFormObj(formsObj->Get(k), defaultDimension)) { in GetFormNamesByFormsObj()
616 if (!GetSupportDimensionsByFormObj(formsObj->Get( in GetFormNamesByFormsObj()
[all...]
H A Ddistro_filter.cpp55 value.push_back(valuesObj->Get(i)->GetString()); in ParseFromJson()
80 value.push_back(std::to_string(valuesObj->Get(i)->GetInt())); in ParseFromJsonApiVersion()
H A Dmodule_json.cpp541 std::unique_ptr<PtJson> moduleMetadataInfoObj = moduleMetadataInfosObj->Get(i); in GetModuleMetadatasByModuleObj()
603 std::unique_ptr<PtJson> abilityObj = abilitiesObj->Get(i); in GetAbilityNamesByAbilitiesObj()
684 std::unique_ptr<PtJson> proxyDataObj = proxyDatasObj->Get(i); in GetProxyDataUrisByProxyDatasObj()
717 std::unique_ptr<PtJson> extensionAbilityObj = extensionAbilitiesObj->Get(i); in GetExtensionAbilityNamesByExtensionAbilityObj()
810 std::unique_ptr<PtJson> dependencyItemObj = dependencyItemsObj->Get(i); in GetDependencyItemsByModuleObj()
893 std::unique_ptr<PtJson> preloadObj = preloadsObj->Get(i); in GetAtomicServicePreloadsByModuleObj()
948 continueTypes.push_back(continueTypeObj->Get(i)->GetString()); in GetContinueTypesByAbilityObj()
968 std::unique_ptr<PtJson> abilityObj = abilitysObj->Get(i); in GetAbilityContinueTypeMapByModuleObj()
H A Dpt_json.cpp341 std::unique_ptr<PtJson> PtJson::Get(int32_t index) const in Get() function in OHOS::AppPackingTool::PtJson
/developtools/profiler/hiebpf/test/unittest/
H A Dringbuffer_test.cpp292 * @tc.desc: Test Ringbuffer Put and Get(str)
309 len = ringBuffer->Get(nullptr, 1); in HWTEST_F()
311 len = ringBuffer->Get(buff.data(), 0); in HWTEST_F()
313 len = ringBuffer->Get(buff.data(), RingBuffer::BufferSize::DEFAULT_SIZE + 1); in HWTEST_F()
315 len = ringBuffer->Get(buff.data(), testStr.size()); in HWTEST_F()
325 len = ringBuffer->Get(buff.data(), testStr.size()); in HWTEST_F()
333 len = ringBuffer->Get(buff.data(), testStr.size()); in HWTEST_F()
403 ret = ringBuffer->Get(buff, size); in HWTEST_F()
447 ret = ringBuffer->Get(buff, size); in HWTEST_F()
/developtools/profiler/hiebpf/src/
H A Dbpf_event_receiver.cpp78 size_t dataSize = buf_->Get(reinterpret_cast<char*>(&cmplt_event), sizeof(cmplt_event)); in ReceiveFSTraceEvent()
106 buf_->Get(reinterpret_cast<char*>(&cmplt_event), sizeof(cmplt_event)); in ReceivePFTraceEvent()
130 buf_->Get(reinterpret_cast<char*>(&cmplt_event), sizeof(cmplt_event)); in ReceiveBIOTraceEvent()
153 buf_->Get(reinterpret_cast<char*>(&cmplt_event), sizeof(cmplt_event)); in ReceiveSTRTraceEvent()
179 buf_->Get(reinterpret_cast<char*>(&cmplt_event), sizeof(cmplt_event)); in ReceiveDlopenTraceEvent()
282 buf_->Get(reinterpret_cast<char*>(&cmplt_event), sizeof(cmplt_event)); in DiscardEvent()
H A Dringbuffer.cpp157 std::size_t RingBuffer::Get(char* dest, const std::size_t len) in Get() function in RingBuffer
/developtools/smartperf_host/trace_streamer/prebuilts/patch_hiperf/
H A Dstring_view_util.h46 static StringViewHold &Get() in Get() function in OHOS::HiviewDFX::StringViewHold
/developtools/hiperf/src/
H A Dperf_events.cpp56 HLOGV("perf_event_open: got fd %d for pid %d cpu %d group %d flags %lu", fd.Get(), pid, cpu, groupFd, flags); in Open()
1133 groupFdCache[icpu][ipid] = fdItem.fd.Get(); in CreateFdEvents()
1214 item.fd.Get(), 0); in CreateSpeMmap()
1217 item.fd.Get(), 0); in CreateSpeMmap()
1219 mmapItem.fd = item.fd.Get(); in CreateSpeMmap()
1232 int rc = ioctl(item.fd.Get(), PERF_EVENT_IOC_SET_OUTPUT, mmapItem.fd); in CreateSpeMmap()
1234 HLOGEP("ioctl PERF_EVENT_IOC_SET_OUTPUT (%d -> %d) ", item.fd.Get(), mmapItem.fd); in CreateSpeMmap()
1247 item.fd.Get(), 0); in CreateMmap()
1256 mmapItem.fd = item.fd.Get(); in CreateMmap()
1268 int rc = ioctl(item.fd.Get(), PERF_EVENT_IOC_SET_OUTPU in CreateMmap()
[all...]
H A Dutilities.cpp309 if (fstat(fd.Get(), &fileStat) != -1 && fileStat.st_size > 0) { in ReadFileToString()
318 while ((readSize = read(fd.Get(), &buf[0], sizeof(buf))) > 0) { in ReadFileToString()
705 CHECK_TRUE(remoteObject == nullptr, false, LOG_TYPE_PRINTF, "Get BundleMgr SA failed!\n"); in IsDebugableApp()
879 CHECK_TRUE(remoteObject == nullptr, false, LOG_TYPE_PRINTF, "Get BundleMgr SA failed!\n");
/developtools/smartperf_host/trace_streamer/src/proto_reader/include/
H A Dproto_reader.h222 const DataArea &Get(uint32_t id) const in Get() function in SysTuning::ProtoReader::ProtoReaderBase
240 const DataArea &dataArea = Get(dataAreaId); in GetPackedRepeated()
/developtools/integration_verification/tools/fotff/rec/
H A Dreport.go67 row = append(row, f.Tag.Get("col"))
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Dpt_json.h98 std::unique_ptr<PtJson> Get(int32_t index) const;
/developtools/profiler/hiebpf/include/
H A Dringbuffer.h98 std::size_t Get(char* dest, const std::size_t len);
/developtools/profiler/proto_encoder/src/
H A Dbase_message.cpp29 subMessage_ = subMessageStack_->Get(); in AllocateSubMessage()
/developtools/smartperf_host/ide/server/
H A Dmain.go271 hdcMsg := r.URL.Query().Get("message")
289 hdcMsg := r.URL.Query().Get("message")
434 return c.Get(url)
/developtools/profiler/device/plugins/native_daemon/src/
H A Dutilities.cpp263 if (fstat(fd.Get(), &fileStat) != -1 && fileStat.st_size > 0) { in ReadFileToString()
272 while ((readSize = read(fd.Get(), &buf[0], sizeof(buf))) > 0) { in ReadFileToString()
/developtools/hiperf/include/
H A Dreport.h147 dso_(StringViewHold::Get().Hold(dso)), in ReportItem()
148 func_(StringViewHold::Get().Hold(func)), in ReportItem()
/developtools/profiler/proto_encoder/include/
H A Dbase_message.h404 BaseMessage* Get() in Get() function in OHOS::Developtools::Profiler::ProtoEncoder::MessagePool
/developtools/profiler/proto_encoder/test/unittest/
H A Dbase_message_unittest.cpp1448 ProtoEncoder::BaseMessage* pMsg = msgStack.Get(); in HWTEST_F()
1452 pMsg = msgStack.Get(); in HWTEST_F()
1459 pMsg = msgStack.Get(); in HWTEST_F()
1466 pMsg = msgStack.Get(); in HWTEST_F()
1475 pMsg = msgStack.Get(); in HWTEST_F()
1484 pMsg = msgStack.Get(); in HWTEST_F()

Completed in 23 milliseconds

12