Home
last modified time | relevance | path

Searched refs:current (Results 351 - 375 of 1865) sorted by relevance

1...<<11121314151617181920>>...75

/third_party/python/Modules/
H A D_weakref.c99 PyWeakReference *current = *list; in _weakref_getweakrefs() local
102 PyList_SET_ITEM(result, i, (PyObject *) current); in _weakref_getweakrefs()
103 Py_INCREF(current); in _weakref_getweakrefs()
104 current = current->wr_next; in _weakref_getweakrefs()
/third_party/selinux/libselinux/src/
H A Dignore_path.c134 static bool find_ignore_path(ignore_path_node_t *current, const char *path) in find_ignore_path() argument
136 while (current != NULL) { in find_ignore_path()
137 if (strcmp(path, current->path) == 0) { in find_ignore_path()
140 current = current->next; in find_ignore_path()
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_invoker.cpp99 auto current = ProcessSkeleton::GetInstance(); in ~BinderInvoker() local
100 if (current != nullptr) { in ~BinderInvoker()
101 current->DetachInvokerProcInfo(true); in ~BinderInvoker()
323 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); in GetSAMgrObject() local
324 if (current != nullptr) { in GetSAMgrObject()
325 return current->GetRegistryObject(); in GetSAMgrObject()
344 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); in AddCommAuth() local
345 if (current == nullptr) { in AddCommAuth()
346 ZLOGE(LABEL, "current is null"); in AddCommAuth()
349 data2.WriteString(current in AddCommAuth()
551 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); StartWorkLoop() local
598 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); OnBinderDied() local
635 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); OnAcquireObject() local
726 auto current = ProcessSkeleton::GetInstance(); AttachInvokerProcInfoWrapper() local
758 auto current = ProcessSkeleton::GetInstance(); GeneralServiceSendRequest() local
881 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); OnSpawnThread() local
1456 auto current = ProcessSkeleton::GetInstance(); GetStatus() local
1531 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); UnflattenObject() local
1748 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); ProcDeferredDecRefs() local
[all...]
/third_party/json/include/nlohmann/detail/input/
H A Dbinary_reader.hpp149 if (JSON_HEDLEY_UNLIKELY(current != std::char_traits<char_type>::eof())) in sax_parse()
203 if (current == 0x00) in get_bson_cstr()
207 *out++ = static_cast<typename string_t::value_type>(current); in get_bson_cstr()
423 switch (get_char ? get() : current) in parse_cbor_internal()
454 return sax->number_unsigned(static_cast<number_unsigned_t>(current)); in parse_cbor_internal()
505 return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current)); in parse_cbor_internal()
628 conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler); in parse_cbor_internal()
682 return get_cbor_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler); in parse_cbor_internal()
743 switch (current) in parse_cbor_internal()
779 switch (current) in parse_cbor_internal()
2957 char_int_type current = std::char_traits<char_type>::eof(); global() member in detail::binary_reader
[all...]
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_cs.c799 rcs->current.cdw = 0; in amdgpu_get_new_ib()
800 rcs->current.buf = NULL; in amdgpu_get_new_ib()
802 /* Allocate a new buffer for IBs if the current buffer is all used. */ in amdgpu_get_new_ib()
819 rcs->current.buf = (uint32_t*)(ib->ib_mapped + ib->used_ib_space); in amdgpu_get_new_ib()
822 cs->csc->ib_main_addr = rcs->current.buf; in amdgpu_get_new_ib()
825 rcs->current.max_dw = ib_size / 4 - amdgpu_cs_epilog_dws(cs); in amdgpu_get_new_ib()
833 *ib->ptr_ib_size = rcs->current.cdw | in amdgpu_set_ib_size()
836 *ib->ptr_ib_size = rcs->current.cdw; in amdgpu_set_ib_size()
844 ib->used_ib_space += rcs->current.cdw * 4; in amdgpu_ib_finalize()
846 ib->max_ib_size = MAX2(ib->max_ib_size, rcs->prev_dw + rcs->current in amdgpu_ib_finalize()
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dsched.h12 #include <asm/current.h>
135 current->task_state_change = _THIS_IP_; \
136 current->state = (state_value); \
142 current->task_state_change = _THIS_IP_; \
143 smp_store_mb(current->state, (state_value)); \
150 raw_spin_lock_irqsave(&current->pi_lock, flags); \
151 current->task_state_change = _THIS_IP_; \
152 current->state = (state_value); \
153 raw_spin_unlock_irqrestore(&current->pi_lock, flags); \
157 * set_current_state() includes a barrier so that the write of current
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub.cpp183 RefPtr<NGGestureRecognizer> current; in PackInnerRecognizer() local
186 current = *innerRecognizers.begin(); in PackInnerRecognizer()
198 current = innerExclusiveRecognizer_; in PackInnerRecognizer()
201 return current; in PackInnerRecognizer()
205 const RefPtr<TargetComponent>& targetComponent, const RefPtr<FrameNode>& host, RefPtr<NGGestureRecognizer>& current, in ProcessParallelPriorityGesture()
208 if (current) { in ProcessParallelPriorityGesture()
209 recognizers.push_front(current); in ProcessParallelPriorityGesture()
221 current = externalParallelRecognizer_[parallelIndex]; in ProcessParallelPriorityGesture()
225 current = externalParallelRecognizer_[parallelIndex]; in ProcessParallelPriorityGesture()
228 current in ProcessParallelPriorityGesture()
204 ProcessParallelPriorityGesture(const Offset& offset, int32_t touchId, const RefPtr<TargetComponent>& targetComponent, const RefPtr<FrameNode>& host, RefPtr<NGGestureRecognizer>& current, std::list<RefPtr<NGGestureRecognizer>>& recognizers, int32_t& parallelIndex) ProcessParallelPriorityGesture() argument
232 ProcessExternalExclusiveRecognizer(const Offset& offset, int32_t touchId, const RefPtr<TargetComponent>& targetComponent, const RefPtr<FrameNode>& host, GesturePriority priority, RefPtr<NGGestureRecognizer>& current, std::list<RefPtr<NGGestureRecognizer>>& recognizers, int32_t& exclusiveIndex) ProcessExternalExclusiveRecognizer() argument
274 RefPtr<NGGestureRecognizer> current; ProcessTouchTestHierarchy() local
429 RefPtr<NGGestureRecognizer> current; CombineIntoExclusiveRecognizer() local
[all...]
/third_party/libsnd/src/
H A Dxi.c274 sf_count_t current ; in xi_write_header() local
280 current = psf_ftell (psf) ; in xi_write_header()
282 /* Reset the current header length to zero. */ in xi_write_header()
323 if (current > 0) in xi_write_header()
324 psf_fseek (psf, current, SEEK_SET) ; in xi_write_header()
1031 { signed char last_val, current ; in s2dsc_array() local
1037 { current = src [k] >> 8 ; in s2dsc_array()
1038 dest [k] = current - last_val ; in s2dsc_array()
1039 last_val = current ; in s2dsc_array()
1047 { signed char last_val, current ; in i2dsc_array() local
1063 { signed char last_val, current ; f2dsc_array() local
1079 { signed char last_val, current ; d2dsc_array() local
1193 { short diff, last_val, current ; f2dles_array() local
1210 { short diff, last_val, current ; d2dles_array() local
[all...]
/foundation/ai/intelligent_voice_framework/utils/
H A Dtime_util.h74 timespec current; in TimeElapse() local
75 if (clock_gettime(CLOCK_REALTIME, &current) == -1) { in TimeElapse()
79 return (current.tv_sec > start.tv_sec) ? (current.tv_sec - start.tv_sec) : 0; in TimeElapse()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_utils.cpp33 std::string current; in ParseArgs() local
36 current = strs[i]; in ParseArgs()
39 current = "1fr"; in ParseArgs()
41 rowsArgs += " " + current; in ParseArgs()
/third_party/node/deps/npm/node_modules/color-convert/
H A Droute.js39 const current = queue.pop();
40 const adjacents = Object.keys(conversions[current]);
47 node.distance = graph[current].distance + 1;
48 node.parent = current;
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_cs.h132 struct lp_cs_exec current; member
139 struct pipe_constant_buffer current; member
146 struct pipe_shader_buffer current; member
150 struct pipe_image_view current; member
/third_party/rust/crates/rustix/tests/process/
H A Drlimit.rs8 assert_ne!(lim.current, Some(0)); in test_getrlimit()
17 current: Some(0), in test_setrlimit()
29 current: Some(0), in test_setrlimit()
44 current: Some(0), in test_setrlimit()
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_linear_track.cpp236 double current = offset.GetY(); in PaintSliderSteps() local
243 while (LessOrEqual(current, offset.GetY() + trackLength)) { in PaintSliderSteps()
246 dyOffset = std::clamp(current, offset.GetY() + size * HALF, offset.GetY() + trackLength - size * HALF); in PaintSliderSteps()
248 dyOffset = std::clamp(current, offset.GetY(), offset.GetY() + trackLength); in PaintSliderSteps()
252 current += GetSliderSteps(); in PaintSliderSteps()
258 double current = offset.GetX(); in PaintSliderSteps() local
265 while (LessOrEqual(current, offset.GetY() + trackLength)) { in PaintSliderSteps()
268 dxOffset = std::clamp(current, offset.GetX() + size * HALF, offset.GetX() + trackLength - size * HALF); in PaintSliderSteps()
270 dxOffset = std::clamp(current, offset.GetX(), offset.GetX() + trackLength); in PaintSliderSteps()
274 current in PaintSliderSteps()
282 double current = offset.GetY(); PaintSliderSteps() local
305 double current = offset.GetX(); PaintSliderSteps() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsmacker.c75 int current; member
81 int current, length; member
120 if (hc->current >= 256) { in smacker_decode_tree()
126 hc->entries[hc->current++] = (HuffEntry){ get_bits(gb, 8), length }; in smacker_decode_tree()
151 if (ctx->current >= ctx->length) { in smacker_decode_bigtree()
165 ctx->last[0] = ctx->current; in smacker_decode_bigtree()
168 ctx->last[1] = ctx->current; in smacker_decode_bigtree()
171 ctx->last[2] = ctx->current; in smacker_decode_bigtree()
175 ctx->values[ctx->current++] = val; in smacker_decode_bigtree()
180 t = ctx->current in smacker_decode_bigtree()
[all...]
/base/powermgr/thermal_manager/application/protector/src/action/
H A Dcurrent_action.cpp28 const std::string SIM_BATTERY_CURRENT_PATH = "/data/service/el0/thermal/cooling/battery/current";
43 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to set battery current"); in Execute()
51 int32_t CurrentAction::BatteryCurrentActionRequest(uint32_t current) in BatteryCurrentActionRequest() argument
53 THERMAL_HILOGD(FEATURE_PROTECTOR, "%{public}d", current); in BatteryCurrentActionRequest()
58 std::string currentStr = std::to_string(current); in BatteryCurrentActionRequest()
/base/notification/eventhandler/test/fuzztest/eventhandlerannex_fuzzer/
H A Deventhandlerannex_fuzzer.cpp28 bool current = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
29 if (current == 1) { in DoSomethingInterestingWithMyAPI()
30 EventRunnerNativeImplement eventRunnerNativeImplement(current); in DoSomethingInterestingWithMyAPI()
/base/notification/eventhandler/test/fuzztest/nativeimplementeventhandler_fuzzer/
H A Dnativeimplementeventhandler_fuzzer.cpp28 bool current = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
29 if (current == 0) { in DoSomethingInterestingWithMyAPI()
31 EventRunnerNativeImplement eventRunnerNativeImplement(current); in DoSomethingInterestingWithMyAPI()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DInternalLocaleBuilder.java128 String s = itr.current(); in setUnicodeLocaleKeyword()
172 String s = itr.current(); in setExtension()
216 String s = itr.current(); in setExtensions()
224 s = itr.current(); in setExtensions()
247 String s = itr.current(); in setExtensions()
254 s = itr.current(); in setExtensions()
478 if (AsciiUtil.caseIgnoreMatch(itr.current(), LanguageTag.PRIVUSE_VARIANT_PREFIX)) { in getBaseLocale()
526 if (AsciiUtil.caseIgnoreMatch(itr.current(), LanguageTag.PRIVUSE_VARIANT_PREFIX)) { in removePrivateuseVariant()
546 String s = itr.current(); in checkVariants()
573 if (!UnicodeLocaleExtension.isAttribute(itr.current())) { in setUnicodeLocaleExtension()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DInternalLocaleBuilder.java132 String s = itr.current(); in setUnicodeLocaleKeyword()
176 String s = itr.current(); in setExtension()
220 String s = itr.current(); in setExtensions()
228 s = itr.current(); in setExtensions()
251 String s = itr.current(); in setExtensions()
258 s = itr.current(); in setExtensions()
482 if (AsciiUtil.caseIgnoreMatch(itr.current(), LanguageTag.PRIVUSE_VARIANT_PREFIX)) { in getBaseLocale()
530 if (AsciiUtil.caseIgnoreMatch(itr.current(), LanguageTag.PRIVUSE_VARIANT_PREFIX)) { in removePrivateuseVariant()
550 String s = itr.current(); in checkVariants()
577 if (!UnicodeLocaleExtension.isAttribute(itr.current())) { in setUnicodeLocaleExtension()
[all...]
/third_party/skia/src/gpu/v1/
H A DClipStack.cpp451 void ClipStack::RawElement::markInvalid(const SaveRecord& current) { in markInvalid() argument
453 fInvalidatedByIndex = current.firstActiveElementIndex(); in markInvalid()
456 void ClipStack::RawElement::restoreValid(const SaveRecord& current) { in restoreValid() argument
457 if (current.firstActiveElementIndex() < fInvalidatedByIndex) { in restoreValid()
598 bool ClipStack::RawElement::combine(const RawElement& other, const SaveRecord& current) { in combine() argument
630 this->markInvalid(current); in combine()
657 this->markInvalid(current); in combine()
677 void ClipStack::RawElement::updateForElement(RawElement* added, const SaveRecord& current) { in updateForElement() argument
687 this->markInvalid(current); in updateForElement()
688 added->markInvalid(current); in updateForElement()
742 Mask(const SaveRecord& current, const SkIRect& drawBounds) Mask() argument
761 appliesToDraw(const SaveRecord& current, const SkIRect& drawBounds) const appliesToDraw() argument
1166 SaveRecord& current = fSaves.back(); restore() local
1185 const SaveRecord& current = this->currentSaveRecord(); getConservativeBounds() local
1506 SaveRecord& current = fSaves.back(); writableSaveRecord() local
1593 GetSWMaskFP(GrRecordingContext* context, Mask::Stack* masks, const SaveRecord& current, const SkIRect& bounds, const Element** elements, int count, std::unique_ptr<GrFragmentProcessor> clipFP) GetSWMaskFP() argument
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dlocale_info_test.cpp72 std::string current = "en-US"; in HWTEST_F() local
73 FindAndSort(current, request, outValue); in HWTEST_F()
95 std::string current = "zh-CN"; in HWTEST_F() local
96 FindAndSort(current, request, outValue); in HWTEST_F()
115 std::string current = "en-CN"; in HWTEST_F() local
116 FindAndSort(current, request, outValue); in HWTEST_F()
136 std::string current = "en-Qaag"; in HWTEST_F() local
137 FindAndSort(current, request, outValue); in HWTEST_F()
158 std::string current = "en-AI"; in HWTEST_F() local
159 FindAndSort(current, reques in HWTEST_F()
601 std::string current = "en-US"; HWTEST_F() local
[all...]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dlocale_info_test.cpp71 std::string current = "en-US"; in HWTEST_F() local
72 FindAndSort(current, request, outValue); in HWTEST_F()
94 std::string current = "zh-CN"; in HWTEST_F() local
95 FindAndSort(current, request, outValue); in HWTEST_F()
114 std::string current = "en-CN"; in HWTEST_F() local
115 FindAndSort(current, request, outValue); in HWTEST_F()
135 std::string current = "en-Qaag"; in HWTEST_F() local
136 FindAndSort(current, request, outValue); in HWTEST_F()
157 std::string current = "en-AI"; in HWTEST_F() local
158 FindAndSort(current, reques in HWTEST_F()
601 std::string current = "en-US"; HWTEST_F() local
[all...]
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
H A Dlocale_info_test.cpp72 std::string current = "en-US"; in HWTEST_F() local
73 FindAndSort(current, request, outValue); in HWTEST_F()
95 std::string current = "zh-CN"; in HWTEST_F() local
96 FindAndSort(current, request, outValue); in HWTEST_F()
115 std::string current = "en-CN"; in HWTEST_F() local
116 FindAndSort(current, request, outValue); in HWTEST_F()
136 std::string current = "en-Qaag"; in HWTEST_F() local
137 FindAndSort(current, request, outValue); in HWTEST_F()
158 std::string current = "en-AI"; in HWTEST_F() local
159 FindAndSort(current, reques in HWTEST_F()
601 std::string current = "en-US"; HWTEST_F() local
[all...]
/third_party/glfw/src/
H A Dmonitor.c228 const GLFWvidmode* current; in _glfwChooseVideoMode() local
236 current = monitor->modes + i; in _glfwChooseVideoMode()
241 colorDiff += abs(current->redBits - desired->redBits); in _glfwChooseVideoMode()
243 colorDiff += abs(current->greenBits - desired->greenBits); in _glfwChooseVideoMode()
245 colorDiff += abs(current->blueBits - desired->blueBits); in _glfwChooseVideoMode()
247 sizeDiff = abs((current->width - desired->width) * in _glfwChooseVideoMode()
248 (current->width - desired->width) + in _glfwChooseVideoMode()
249 (current->height - desired->height) * in _glfwChooseVideoMode()
250 (current->height - desired->height)); in _glfwChooseVideoMode()
253 rateDiff = abs(current in _glfwChooseVideoMode()
[all...]

Completed in 23 milliseconds

1...<<11121314151617181920>>...75