Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 1279) sorted by relevance

12345678910>>...52

/ohos5.0/foundation/communication/ipc/ipc/native/test/fuzztest/core/ipcprocessskeleton_fuzzer/
H A Dipcprocessskeleton_fuzzer.cpp40 if (current == nullptr) { in AttachToDetachAppInfoToStubIndexTest001()
63 if (current == nullptr) { in AttachToDetachAppInfoToStubIndexTest002()
81 if (current == nullptr) { in SetIPCProxyLimitTest()
92 if (current == nullptr) { in SetMaxWorkThreadTest()
106 if (current == nullptr) { in MakeHandleDescriptorTest()
120 if (current == nullptr) { in OnThreadTerminatedTest()
136 if (current == nullptr) { in SpawnThreadTest()
151 if (current == nullptr) { in FindOrNewObjectTest()
163 if (current == nullptr) { in IsContainsObjectTest001()
174 if (current == nullptr) { in IsContainsObjectTest002()
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dres_config_impl_test.cpp73 delete current;
87 delete current;
101 delete current;
115 delete current;
129 delete current;
143 delete current;
157 delete current;
171 delete current;
185 delete current;
199 delete current;
[all …]
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dres_config_impl_test.cpp73 EXPECT_TRUE(current->Match(other));
85 EXPECT_FALSE(current->Match(other));
90 EXPECT_TRUE(current->Match(other));
102 EXPECT_TRUE(current->Match(other));
107 EXPECT_FALSE(current->Match(other));
119 EXPECT_TRUE(current->Match(other));
131 EXPECT_TRUE(current->Match(other));
143 EXPECT_TRUE(current->Match(other));
155 EXPECT_TRUE(current->Match(other));
167 EXPECT_TRUE(current->Match(other));
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_skeleton_unittest.cpp84 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
105 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
130 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
155 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
183 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
203 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
222 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
249 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
280 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
306 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
[all …]
H A Dipc_capi_skeleton_unittest.cpp103 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); variable
104 current->invokers_[IRemoteObject::IF_PROT_DEFAULT] = invoker;
110 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
117 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); variable
125 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
134 current->invokers_[IRemoteObject::IF_PROT_BINDER] = invoker;
145 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
187 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
208 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
239 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
[all …]
H A Dipc_object_proxy_unittest.cpp57 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr); in TearDown()
116 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
248 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
276 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
366 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
394 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
422 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
443 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
475 current->proxyToSession_.clear();
809 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
[all …]
H A Dipc_object_stub_unittest.cpp326 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
351 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
399 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
445 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
522 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
568 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
649 current->stubObjects_.clear();
685 current->stubObjects_.clear();
722 current->stubObjects_.clear();
755 current->stubObjects_.clear();
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_timer_list.cpp45 while (current != nullptr) { in GetTimer()
49 current = current->next; in GetTimer()
51 return current; in GetTimer()
61 while ((timer != current->index) && (current->next != nullptr)) { in DeleteTimer()
62 preNode = current; in DeleteTimer()
63 current = current->next; in DeleteTimer()
71 ReleaseTimer(current); in DeleteTimer()
81 ReleaseTimer(current); in ClearTimerList()
87 if (current == nullptr) { in ReleaseTimer()
91 ace_free(current); in ReleaseTimer()
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dlocale_matcher.cpp244 if ((current != nullptr) && (Utils::EncodeLocale(current->GetLanguage(), nullptr, in CompareRegionWhenQaag()
300 if ((current != nullptr) && (current->GetScript() == nullptr)) { in CompareScript()
302 current->GetRegion()); in CompareScript()
314 if (Utils::EncodeLocale(current->GetLanguage(), current->GetScript(), nullptr) == in CompareScript()
343 if (current == nullptr || current->GetRegion() == nullptr) { in AlphabeticallyCompare()
371 const ResLocale *current, in CompareWhenRegionIsNull() argument
375 if (current == nullptr || current->GetRegion() == nullptr) { in CompareWhenRegionIsNull()
397 nullptr, (current == nullptr) ? nullptr : current->GetRegion()); in CompareWhenRegionIsNull()
433 (current == nullptr) ? nullptr : current->GetRegion()); in CompareDefaultRegion()
469 request->GetLanguage(), nullptr, (current == nullptr) ? nullptr : current->GetRegion()); in CompareRegion()
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_thread_skeleton.cpp56 if (current == nullptr) { in TlsDestructor()
73 delete current; in TlsDestructor()
109 if (current == nullptr) { in SaveThreadName()
115 current->threadName_ = name; in SaveThreadName()
129 GetVaildInstance(current); in GetCurrent()
133 return current; in GetCurrent()
203 if (current == nullptr) { in GetRemoteInvoker()
210 if ((current->usingFlag_ != INVOKER_USE_MAGIC) && (current->usingFlag_ != INVOKER_IDLE_MAGIC)) { in GetRemoteInvoker()
296 if (current == nullptr) { in UpdateSendRequestCount()
314 if (current == nullptr) { in SetThreadType()
[all …]
H A Dipc_skeleton.cpp56 if (current != nullptr) { in JoinWorkThread()
64 if (current != nullptr) { in StopWorkThread()
72 if (current != nullptr) { in SetContextObject()
73 return current->SetRegistryObject(object); in SetContextObject()
81 if (current != nullptr) { in GetContextObject()
82 return current->GetRegistryObject(); in GetContextObject()
90 if (current != nullptr) { in SetMaxWorkThreadNum()
92 return current->SetMaxWorkThread(maxThreadNum); in SetMaxWorkThreadNum()
264 if (current != nullptr) { in BlockUntilThreadAvailable()
265 current->BlockUntilThreadAvailable(); in BlockUntilThreadAvailable()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/linkedlist/
H A Djs_linkedlist.ts142 current = current.next;
145 return current;
155 current = current.next;
157 return current.element;
169 current = current.next;
215 current = current.next;
258 this.tail = current;
364 current.element = element;
365 return current.element;
378 current = current.next;
[all …]
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dlocale_matcher.cpp247 if ((current != nullptr) && (Utils::EncodeLocale(current->GetLanguage(), nullptr, in CompareRegionWhenQaag()
302 if ((current != nullptr) && (current->GetScript() == nullptr)) { in CompareScript()
304 current->GetRegion()); in CompareScript()
316 if (Utils::EncodeLocale(current->GetLanguage(), current->GetScript(), nullptr) == in CompareScript()
345 if (current == nullptr || current->GetRegion() == nullptr) { in AlphabeticallyCompare()
373 const ResLocale *current, in CompareWhenRegionIsNull() argument
377 if (current == nullptr || current->GetRegion() == nullptr) { in CompareWhenRegionIsNull()
399 nullptr, (current == nullptr) ? nullptr : current->GetRegion()); in CompareWhenRegionIsNull()
435 (current == nullptr) ? nullptr : current->GetRegion()); in CompareDefaultRegion()
471 request->GetLanguage(), nullptr, (current == nullptr) ? nullptr : current->GetRegion()); in CompareRegion()
[all …]
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dlocale_matcher.cpp129 if (current != nullptr) { in CompareRegionWhenLangIsNotEqual()
137 if (current != nullptr) { in CompareRegionWhenLangIsNotEqual()
144 return current != nullptr; in CompareRegionWhenLangIsNotEqual()
152 … if ((current != nullptr) && (LocaleUtil::EncodeLocale(current->GetLanguage().c_str(), nullptr, in CompareRegionWhenQaag()
244 (current == nullptr) ? nullptr : current->GetRegion().c_str()); in CompareRegion()
279 if (current == nullptr || current->GetRegion().length() == 0) { in CompareWhenRegionIsNull()
302 (current == nullptr) ? nullptr : current->GetRegion().c_str()); in CompareWhenRegionIsNull()
338 if (current == nullptr || current->GetRegion().length() == 0) { in AlphabeticallyCompare()
424 (current == nullptr) ? nullptr : current->GetRegion().c_str()); in CompareDefaultRegion()
485 if ((current != nullptr) && (current->GetScript().length() == 0)) { in CompareScript()
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/
H A Dfocus_manager.cpp78 if (current == focusedView) { in CompareCandidates()
118 Rect currentRect = current->GetRect(); in CompareCandidatesByUp()
202 UIView* current = focusedView; in GetNextFocus() local
209 if (child == current) { in GetNextFocus()
227 current = parent; in GetNextFocus()
236 UIView* current = view; in GetNextFocus() local
237 if (!current->IsVisible() || !current->IsFocusable()) { in GetNextFocus()
241 candidate = current; in GetNextFocus()
249 UIViewGroup* current = viewGroup; in GetNextFocus() local
250 if (!current->IsVisible() || !current->IsFocusable()) { in GetNextFocus()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/list/
H A Djs_list.ts131 current = current.next;
134 return current;
144 current = current.next;
146 return current.element;
158 current = current.next;
160 current.next = node;
178 current = current.next;
274 current = current.next;
322 return current.element;
374 current = current.next;
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dlinked_list.rs120 current: self.head, in cursor_front()
130 current: self.head, in cursor_front_mut()
141 current: self.tail, in cursor_back()
152 current: self.tail, in cursor_back_mut()
425 current: *const Node<T>, field
447 self.current = unsafe { (*self.current).next }; in move_next()
460 self.current = unsafe { (*self.current).prev }; in move_prev()
488 self.current in current_node_ptr()
494 current: *const Node<T>, field
515 self.current = unsafe { (*self.current).next }; in move_next()
[all …]
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/
H A Dapp_manager.cpp51 AppRecord *current = *iterator; in RemoveAppRecord() local
52 if (current != nullptr && current->GetIdentityId() == appRecord.GetIdentityId()) { in RemoveAppRecord()
54 current->UnloadPermission(); in RemoveAppRecord()
56 delete current; in RemoveAppRecord()
65 AppRecord *current = GetAppRecordByBundleName(bundleName); in TerminateAppProcess() local
66 if (current == nullptr) { in TerminateAppProcess()
71 return current->AppExitTransaction(); in TerminateAppProcess()
78 const AppRecord *current = *iterator; in RemoveAppRecord() local
79 if (current != nullptr && current->GetBundleInfo().bundleName != nullptr && in RemoveAppRecord()
82 current->UnloadPermission(); in RemoveAppRecord()
[all …]
/ohos5.0/base/startup/init/services/param/base/
H A Dparam_include.h41 ParamTrieNode *subTrie = current; in FindSubTrie()
75 ParamTrieNode *current = GetTrieRoot(workSpace); in FindTrieNode_() local
76 PARAM_CHECK(current != NULL, return NULL, "Invalid current param %s", key); in FindTrieNode_()
77 *matchLabel = current->labelIndex; in FindTrieNode_()
86 if (current->child != 0) { in FindTrieNode_()
87 ParamTrieNode *next = GetTrieNode(workSpace, current->child); in FindTrieNode_()
90 current = FindSubTrie(workSpace, current, remainingKey, subKeyLen, matchLabel); in FindTrieNode_()
92 if (current == NULL) { in FindTrieNode_()
94 } else if (current->labelIndex != 0) { in FindTrieNode_()
95 *matchLabel = current->labelIndex; in FindTrieNode_()
[all …]
/ohos5.0/base/request/request/services/tests/
H A Dsearch.rs36 let current = get_current_timestamp() as i64; in sdv_search_user() localVariable
37 let v = agent.search(current, current - 3000, State::Any, Action::Any, Mode::Any); in sdv_search_user()
39 let v = agent.search(current + 3000, current, State::Any, Action::Any, Mode::Any); in sdv_search_user()
42 current, in sdv_search_user()
43 current - 3000, in sdv_search_user()
50 current, in sdv_search_user()
51 current - 3000, in sdv_search_user()
58 current, in sdv_search_user()
59 current - 3000, in sdv_search_user()
67 current, in sdv_search_user()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/struct/
H A Djs_struct.ts735 current = current.next;
765 while (current != null || current !== undefined) {
770 current = current.next;
805 current = current.next;
830 current = current.next;
863 current = current.next;
892 current = current.next;
939 current = current.next;
968 current = current.next;
1000 current = current.next;
[all …]
/ohos5.0/base/security/device_auth/services/frameworks/src/plugin_adapter/ext_part/
H A Dext_part_proxy.c30 ExtPluginNode *current = pluginList; in ParsePlugins() local
31 while (current != NULL) { in ParsePlugins()
32 if (current->plugin == NULL) { in ParsePlugins()
33 current = current->next; in ParsePlugins()
36 switch (current->plugin->pluginType) { in ParsePlugins()
38 SetAccountLifecyclePlugin(NULL, (AccountLifecyleExtPlug *)(current->plugin)); in ParsePlugins()
41 SetAccountAuthPlugin(NULL, (AccountAuthExtPlug *)(current->plugin)); in ParsePlugins()
44 LOGW("Invalid plugin type %d", current->plugin->pluginType); in ParsePlugins()
47 current = current->next; in ParsePlugins()
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/
H A Ddbinder_databus_invoker.cpp66 if (current == nullptr) { in NewSessionOfBinderProxy()
182 if (current == nullptr) { in QueryClientSessionObject()
198 if (current == nullptr) { in QueryServerSessionObject()
216 if (current == nullptr) { in OnReceiveNewConnection()
254 if (current == nullptr) { in CreateProcessThread()
273 if (current == nullptr) { in OnRawDataAvailable()
430 if (current == nullptr) { in JoinProcessThread()
540 if (current == nullptr) { in UpdateClientSession()
584 if (current == nullptr) { in OnDatabusSessionClientSideClosed()
624 if (current == nullptr) { in OnDatabusSessionServerSideClosed()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dmacro_gen.cpp218 auto type = current->Type(); in NodeWalk()
223 SetTypeData(type, current, arraySize, depth); in NodeWalk()
244 GenArray(arrayName, arraySize, arrayType, current); in SetTypeData()
251 ofs_ << "#define " << GenFullName(depth, current, "_"); in SetTypeData()
254 if (nodeName != current->Name()) { in SetTypeData()
257 nodeName = current->Name(); in SetTypeData()
259 GenNodeForeach(depth, current); in SetTypeData()
263 std::shared_ptr<AstObject> parent(current->Parent()); in SetTypeData()
264 arraySize = ConfigArray::CastFrom(current)->ArraySize(); in SetTypeData()
283 GenArray(arrayName, arraySize, arrayType, current); in SetTypeDataUinit64()
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/benchmarks/serial_sched_time/
H A Dplot.py27 current = pandas.read_csv(current_data, delim_whitespace=True)
28 plt.plot(current['duration'], current['sched_time'],
31 avg = sum(current['sched_time']) / len(current['sched_time'])
54 current = pandas.read_csv(current_data, delim_whitespace=True)
55 current_avg = sum(current['sched_time']) / len(current['sched_time'])
56 plt.plot(current['duration'], current['sched_time'],

12345678910>>...52