Home
last modified time | relevance | path

Searched refs:ref (Results 1 - 22 of 22) sorted by relevance

/developtools/global_resource_tool/src/
H A Dreference_parser.cpp285 for (const auto &ref : refs) { in ParseRefImpl()
287 if (regex_search(key, result, regex(ref.first))) { in ParseRefImpl()
289 int64_t id = idWorker_.GetId(ref.second, name); in ParseRefImpl()
290 if (!isSystem && ref.second == ResType::MEDIA && mediaJsonId_ != 0 in ParseRefImpl()
295 id = idWorker_.GetSystemId(ref.second, name); in ParseRefImpl()
298 cerr << "Error: ref '" << key << "' don't be defined." << endl; in ParseRefImpl()
303 if (ref.second != ResType::ID) { in ParseRefImpl()
304 key = "$" + ResourceUtil::ResTypeToString(ref.second) + ":" + to_string(id); in ParseRefImpl()
H A Djson_compiler.cpp191 regex ref("^\\$(ohos:)?boolean:.*"); in HandleBoolean()
192 if (!regex_match(valueNode->valuestring, ref)) { in HandleBoolean()
351 regex ref("^\\$.+:");
353 if (regex_search(value, result, ref) && !regex_match(result[0].str(), regex(REFS.at(type)))) {
369 regex ref("^\\$(ohos:)?integer:.*");
370 if (!regex_match(valueNode->valuestring, ref)) {
H A Dresource_append.cpp105 ReferenceParser ref; in ParseRef() local
107 if (ref.ParseRefInJsonFile(*iter, packageParser_.GetOutput(), true) != RESTOOL_SUCCESS) { in ParseRef()
110 } else if (ref.ParseRefInResourceItem(*iter) != RESTOOL_SUCCESS) { in ParseRef()
/developtools/hiperf/test/unittest/common/native/
H A Dsubcommand_stat_test.cpp369 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
429 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
472 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
541 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
577 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
613 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
655 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
689 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
723 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1)); in HWTEST_F()
757 std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid in HWTEST_F()
[all...]
H A Dperf_events_test.cpp220 std::thread runThread(RunTrack, std::ref(event)); in HWTEST_F()
260 std::thread runThread(RunTrack, std::ref(event)); in HWTEST_F()
307 std::thread runThread(RunTrack, std::ref(event)); in HWTEST_F()
/developtools/hdc/src/common/
H A Dchannel.cpp180 --hChannel->ref; in WriteCallback()
185 if (!hChannel->isDead && !hChannel->ref) { in WriteCallback()
307 --hChannel->ref; in SendWithCmd()
330 ++hChannel->ref; in SendChannel()
353 --hChannel->ref; in Send()
474 if (hChannel->ref > 0) { in FreeChannelOpeate()
548 ++hRet->ref; in AdminChannel()
581 ++hChannel->ref; in EchoToClient()
606 WRITE_LOG(LOG_DEBUG, "channel info: id:%u isDead:%d ref:%u, writeFailedTimes:%u", in DispMntnInfo()
607 hChannel->channelId, hChannel->isDead, uint32_t(hChannel->ref), uint32_ in DispMntnInfo()
[all...]
H A Ddefine_plus.h209 std::atomic<uint32_t> ref; member
210 uint8_t uvHandleRef; // libuv handle ref -- just main thread now
211 uint8_t uvChildRef; // libuv handle ref -- just main thread now
269 ref = 0; in HdcSession()
325 uint8_t uvHandleRef = 0; // libuv handle ref -- just main thread now
332 std::atomic<uint32_t> ref; member
H A Dsession.cpp616 if (hSession->ref > 0) { in FreeSessionOpeate()
617 WRITE_LOG(LOG_WARN, "FreeSessionOpeate sid:%u ref:%u > 0", hSession->sessionId, uint32_t(hSession->ref)); in FreeSessionOpeate()
620 WRITE_LOG(LOG_INFO, "FreeSessionOpeate sid:%u ref:%u", hSession->sessionId, uint32_t(hSession->ref)); in FreeSessionOpeate()
665 WRITE_LOG(LOG_INFO, "FreeSession sessionId:%u ref:%u", hSession->sessionId, uint32_t(hSession->ref)); in FreeSession()
694 ++hRet->ref; in AdminSession()
1001 --hSession->ref; in FinishWriteSessionTCP()
1004 WRITE_LOG(LOG_WARN, "FinishWriteSessionTCP status:%d sessionId:%u isDead:%d ref in FinishWriteSessionTCP()
[all...]
H A Duart.cpp549 hSession->ref++; in SendUARTRaw()
561 hSession->ref--; in SendUARTRaw()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
H A Drich_component_map.js82 ref: {},
186 ref: {},
362 ref: {},
1455 ref: {},
1558 ref: {},
1584 ref: {},
H A Dlite_component_map.js283 ref: {},
/developtools/hdc/src/host/
H A Dhost_usb.cpp440 WRITE_LOG(LOG_INFO, "HostUSB CancelUsbIo, sid:%u ref:%u", hSession->sessionId, uint32_t(hSession->ref)); in CancelUsbIo()
583 ++hSession->ref; in BeginUsbRead()
617 --hSession->ref; in BeginUsbRead()
663 ++hSession->ref; in SendUSBRaw()
671 --hSession->ref; in SendUSBRaw()
H A Dserver.cpp589 --hChannel->ref; in FetchCommand()
656 --hChannel->ref; in FetchCommand()
912 --hChannel->ref; in AttachChannel()
917 --hChannel->ref; in AttachChannel()
H A Dserver_for_client.cpp741 --hChannel->ref; in BindChannelToSession()
743 ++hChannel->ref; in BindChannelToSession()
H A Dhost_uart.cpp46 return (!uartOpened or (hSession->isDead and hSession->ref == 0)); in NeedStop()
/developtools/hdc/test/unittest/common/
H A Dhost_uart_test.cpp572 mySession.ref = 1; in HWTEST_F()
577 mySession.ref = 0; in HWTEST_F()
582 mySession.ref = 1; in HWTEST_F()
587 mySession.ref = 0; in HWTEST_F()
592 mySession.ref = 1; in HWTEST_F()
/developtools/profiler/device/cmds/src/
H A Dmain.cpp317 std::thread keepSessionThread(StartThread, std::ref(profilerStub), std::ref(sessionId), std::ref(sendHeart)); in DoCapture()
/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dfile_utils.cpp274 writeTasks.push_back(writePool.Enqueue(writeFunc, std::ref(output), buf, min)); in WriteInputToOutPut()
286 readTask = readPool.Enqueue(readFunc, std::ref(input), length); in WriteInputToOutPut()
/developtools/hdc/src/daemon/
H A Ddaemon_usb.cpp343 ++hSession->ref; in SendUSBRaw()
345 --hSession->ref; in SendUSBRaw()
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
H A Dcode_signing.cpp371 std::ref(packageName), std::ref(param), i)); in HandleZipGlobalInfo()
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/
H A Dmerkle_tree_builder.cpp94 thread_results.push_back(mPools->Enqueue(&MerkleTreeBuilder::RunHashTask, this, std::ref(hashes), in GetDataHashes()
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h2915 refcount_t ref; member
3401 struct percpu_ref *ref; member
6376 struct percpu_ref *ref; member
17563 refcount_t ref; member
21132 grant_ref_t ref; member
21156 grant_ref_t ref; member
22697 atomic_t ref; member
22756 atomic_t ref; member
22765 atomic_t ref; member
28033 int ref; member
28301 int ref; global() member
29106 refcount_t ref; global() member
29505 int ref; global() member
29670 int ref; global() member
29955 int ref; global() member
30081 unsigned int ref; global() member
32354 u8 ref; global() member
35981 refcount_t ref; global() member
42491 refcount_t ref; global() member
44213 struct kref ref; global() member
44948 struct kref ref; global() member
45308 atomic_t ref; global() member
52427 struct kref ref; global() member
60547 atomic_t ref; global() member
63828 struct kref ref; global() member
64233 struct kref ref; global() member
93343 struct kref ref; global() member
95055 struct kref ref; global() member
101577 struct kref ref; global() member
102903 uint64_t ref; global() member
110683 grant_ref_t ref; global() member
110691 grant_ref_t ref; global() member
110783 grant_ref_t ref; global() member
111578 struct kref ref; global() member
117024 struct kref ref; global() member
117613 atomic_t ref; global() member
[all...]

Completed in 418 milliseconds