/ohos5.0/base/hiviewdfx/hiview/plugins/performance/executor/ |
H A D | ThrExecutor.cpp | 34 ThrTaskContainer* con = it->second; in ~ThrExecutor() local 35 if (con != nullptr) { in ~ThrExecutor() 36 con->StopLoop(); in ~ThrExecutor() 77 ThrTaskContainer* con = containers[MAIN_THR]; in ExecuteTimeoutInMainThr() local 78 if (con != nullptr) { in ExecuteTimeoutInMainThr() 80 con->PostTask(evtTask); in ExecuteTimeoutInMainThr() 115 ThrTaskContainer* con = containers[MAIN_THR]; in ExecuteHandleEvtInMainThr() local 116 if (con != nullptr) { in ExecuteHandleEvtInMainThr() 118 con->PostTask(evtTask); in ExecuteHandleEvtInMainThr() 155 if (con != nullptr) { in ExecuteMonitorInMainThr() [all …]
|
/ohos5.0/drivers/external_device_manager/test/unittest/driver_extension_controller_test/src/ |
H A D | driver_extension_controller_test.cpp | 134 auto con = make_shared<TestConCb>(); variable 135 ret = ctrl.ConnectDriverExtension(TEST_BUNDLE_NAME, TEST_ABILITY_NAME, con); 140 if (con->IsConnectDone()) { 145 ASSERT_EQ(con->connectCount_, 1); 147 ret = ctrl.DisconnectDriverExtension(TEST_BUNDLE_NAME, TEST_ABILITY_NAME, con); 152 if (!con->IsConnectDone()) { 158 ASSERT_EQ(con->disconnectCount_, 1); 171 auto con = make_shared<TestConCb>(); variable 172 ret = ctrl.ConnectDriverExtension(TEST_BUNDLE_NAME, TEST_ABILITY_NAME, con); 178 if (con->IsConnectDone()) { [all …]
|
/ohos5.0/base/telephony/cellular_data/test/ |
H A D | zero_branch_test.cpp | 836 con.Init(); 851 con.GetActiveConnection(); 854 con.IsNeedDoRecovery(true); 872 con.GetDataFlowType(); 876 con.UpdateCallState(0); 889 con.Init(); 901 con.uplinkUseLte_ = true; 903 con.GetActiveConnection(); 906 con.IsNeedDoRecovery(true); 923 con.GetDataFlowType(); [all …]
|
/ohos5.0/base/security/selinux_adapter/test/unittest/hap_restorecon/ |
H A D | unit_test.cpp | 643 char *con = nullptr; variable 644 ASSERT_EQ(0, getpidcon(pid, &con)); 645 EXPECT_STREQ(con, TEST_HAP_DOMAIN.c_str()); 646 freecon(con); 676 context_t con = context_new(oldTypeContext); variable 679 EXPECT_STREQ(context_str(con), TEST_HAP_DOMAIN.c_str()); 689 EXPECT_STREQ(context_str(con), DLP_HAP_DOMAIN.c_str()); 693 EXPECT_STREQ(context_str(con), DLP_HAP_DOMAIN.c_str()); 696 context_free(con); 709 context_t con = context_new(oldTypeContext); variable [all …]
|
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
H A D | hap_restorecon.cpp | 429 if (con == nullptr) { in HapLabelLookup() 438 context_free(con); in HapLabelLookup() 445 context_free(con); in HapLabelLookup() 452 context_free(con); in HapLabelLookup() 460 context_free(con); in HapLabelLookup() 466 context_free(con); in HapLabelLookup() 469 context_free(con); in HapLabelLookup() 491 if (con == nullptr) { in HapDomainSetcontext() 498 context_free(con); in HapDomainSetcontext() 505 context_free(con); in HapDomainSetcontext() [all …]
|
H A D | service_checker.cpp | 231 char *con = nullptr; in GetThisContext() local 232 int rc = getcon(&con); in GetThisContext() 237 context = std::string(con); in GetThisContext() 238 freecon(con); in GetThisContext()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_message_test.cpp | 285 SessionConn *con = TestSetSessionConn(); variable 286 ret = TransTdcAddSessionConn(con); 396 res = TransTdcAddSessionConn(con); 421 res = TransTdcAddSessionConn(con); 445 ret = TransTdcAddSessionConn(con); 467 ret = TransTdcAddSessionConn(con); 493 ret = TransTdcAddSessionConn(con); 520 ret = TransTdcAddSessionConn(con); 579 con->authHandle.type = 1; 580 ret = TransTdcAddSessionConn(con); [all …]
|
H A D | trans_tcp_direct_message_static_test.cpp | 523 SessionConn *con = TestSetSessionConn(); variable 524 EXPECT_NE(con, NULL); 526 int32_t ret = TransTdcPostFastData(con); 528 SoftBusFree(con);
|
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/common/ |
H A D | log.h | 110 #define HST_HILOG_WITH_LEVEL_JUDGE(op1, op2, con, fmt, args...) … argument 112 …if (!con) { … 134 #define MEDIA_LOG_I_FALSE_D(con, fmt, ...) \ argument 135 HST_HILOG_WITH_LEVEL_JUDGE(HILOG_INFO, HILOG_DEBUG, con, fmt, ##__VA_ARGS__) 137 #define HST_HILOG_T_WITH_LEVEL_JUDGE(op1, op2, con, fmt, args...) \ argument 139 if (!con) { \ 151 #define MEDIA_LOG_I_FALSE_D_T(con, fmt, ...) \ argument 152 HST_HILOG_T_WITH_LEVEL_JUDGE(HILOG_INFO, HILOG_DEBUG, con, fmt, ##__VA_ARGS__)
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | ipc_skeleton.cpp | 43 char *con = nullptr; in GetSid() local 44 int ret = getcon(&con); in GetSid() 48 std::string context = con; in GetSid() 49 freecon(con); in GetSid()
|
/ohos5.0/base/security/selinux_adapter/test/unittest/service_checker/ |
H A D | unit_test.cpp | 47 char *con = nullptr; in GetSidForCurrentProcess() local 48 if (getcon(&con) < 0) { in GetSidForCurrentProcess() 51 sid = con; in GetSidForCurrentProcess() 52 freecon(con); in GetSidForCurrentProcess()
|
/ohos5.0/base/security/selinux_adapter/interfaces/tools/service_check/ |
H A D | test.cpp | 110 char *con = nullptr; in GetSidForCurrentProcess() local 111 if (getcon(&con) < 0) { in GetSidForCurrentProcess() 114 sid = con; in GetSidForCurrentProcess() 115 freecon(con); in GetSidForCurrentProcess()
|
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
H A D | hap_restorecon.h | 74 context_t con, unsigned int hapFlags); 75 int TypeSet(const std::string &type, context_t con);
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | spunge_stack.c | 338 FILLP_ULLONG con; in SpungeConnCheckUnsendBoxEmpty() local 354 con = unsendBox->ring.cons.head + 1; in SpungeConnCheckUnsendBoxEmpty() 357 while ((prod >= con) && ((FILLP_LLONG)(prod - con)) >= 0) { in SpungeConnCheckUnsendBoxEmpty() 358 data = unsendBox->ring.ringCache[con % unsendBox->ring.size]; in SpungeConnCheckUnsendBoxEmpty() 359 con++; in SpungeConnCheckUnsendBoxEmpty()
|
/ohos5.0/base/telephony/cellular_call/services/control/include/ |
H A D | control_base.h | 259 bool SetConnectionData(T1 &&t1, const int32_t &key, const T2 &con) in SetConnectionData() argument 261 if (!t1.insert(std::make_pair(key, con)).second) { in SetConnectionData()
|
/ohos5.0/base/telephony/cellular_call/services/control/src/ |
H A D | ims_control.cpp | 184 auto con = FindConnectionByState<ImsConnectionMap &, CellularCallConnectionIMS *>( in Answer() local 186 if (con != nullptr && !con->IsPendingHold() && in Answer() 189 if (con == nullptr) { in Answer() 193 return con->SwitchCallRequest(callInfo.slotId); in Answer()
|
H A D | satellite_control.cpp | 138 … auto con = FindConnectionByState<SatelliteConnectionMap &, CellularCallConnectionSatellite *>( in Answer() local 140 if (con != nullptr) { in Answer() 142 con->HangUpRequest(callInfo.slotId); in Answer()
|
H A D | cs_control.cpp | 250 auto con = FindConnectionByState<CsConnectionMap &, CellularCallConnectionCS *>( in Answer() local 252 if (con != nullptr) { in Answer() 259 con->SwitchCallRequest(callInfo.slotId); in Answer()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/test_example/ |
H A D | distributedaudiotest.cpp | 236 std::string con(condition); in ParamEventCallback() local 240 std::cout << "Condition: " << con << std::endl; in ParamEventCallback() 245 if (key == AudioExtParamKey::AUDIO_EXT_PARAM_KEY_STATUS && con.rfind("ERR_EVENT", 0) == 0) { in ParamEventCallback()
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-build-rule.md | 548 ##### G.C&C++.14 Use the configuration file **config.*suffix*** in the build root directory as the uni… 552 [Description] Expose the least configuration options in the top-level **config.*suffix*** file. Config…
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-mini-appx-lib.md | 244 …nt(const char \*source, const char \*target, con<br/>st char&nb…
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/demuxer_res/drm/ |
H A D | sm4c.ts | 40045 ���1ԡ��=J��Xk�A�{p w��{�con�e�Rb�9e3��R|�o��0���cN�Ȏ�Awa���V]����GTG4{v7j�t��unE�W�4\…
|