Home
last modified time | relevance | path

Searched refs:item (Results 551 - 575 of 3167) sorted by relevance

1...<<21222324252627282930>>...127

/third_party/icu/icu4c/source/test/cintltst/
H A Dcrestst.c502 UResourceBundle *idna_rules, *casing, *te_IN, *ne, *item, *defaultLocale; in TestOpenDirect() local
522 /* try an item in idna_rules, must work */ in TestOpenDirect()
523 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode); in TestOpenDirect()
528 ures_close(item); in TestOpenDirect()
531 /* try an item in root, must fail */ in TestOpenDirect()
532 item=ures_getByKey(idna_rules, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
537 ures_close(item); in TestOpenDirect()
594 item=ures_getByKey(casing, "Info", NULL, &errorCode); in TestOpenDirect()
598 ures_close(item); in TestOpenDirect()
602 item in TestOpenDirect()
689 UResourceBundle *res, *item; TestTable32() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_stepper_bridge.cpp41 shared_ptr<JsValue> item = valObject->GetProperty(runtime, key); in GetAttrLabel() local
42 if (!item) { in GetAttrLabel()
43 LOGW("item value is null. Ignoring!"); in GetAttrLabel()
46 if (item->IsString(runtime) || item->IsNumber(runtime)) { in GetAttrLabel()
47 std::string valStr = item->ToString(runtime); in GetAttrLabel()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Daperture_video_session.cpp46 auto item = GetMetadataItem(ability->get(), OHOS_ABILITY_VIDEO_STABILIZATION_MODES); in CommitConfig() local
48 CHECK_ERROR_RETURN_RET(item == nullptr || item->count == 0, CameraErrorCode::SUCCESS); in CommitConfig()
50 for (uint32_t i = 0; i < item->count; i++) { in CommitConfig()
51 if (static_cast<camera_video_stabilization_mode>(item->data.u8[i]) == OHOS_CAMERA_VIDEO_STABILIZATION_AUTO) { in CommitConfig()
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
H A Dmemcg_max_usage_in_bytes_test.sh16 local item="memory.max_usage_in_bytes"
17 [ $1 -eq 1 ] && item="memory.memsw.max_usage_in_bytes"
21 local kmem_stat_name="${item##*.}"
43 check_mem_stat $item $exp_stat_size_low $exp_stat_size_up
46 echo 0 > $item
47 check_mem_stat $item 0 $PAGESIZES
/third_party/node/test/fixtures/wpt/encoding/resources/
H A Dencode-href-common.js31 var item = {};
32 codepoints.push(item);
33 item.cp = i;
34 item.expected = expect(result, i);
35 item.desc = range[2] ? range[2] + " " : "";
/third_party/python/Tools/c-analyzer/c_parser/
H A D__init__.py43 for item in _parse(srclines, **srckwargs):
44 if match_kind is not None and not match_kind(item.kind):
46 if not item.filename:
47 raise NotImplementedError(repr(item))
48 yield item
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dseq_strategy.cpp31 for (const auto &item: strategies) { in Init()
32 if (item == nullptr) { in Init()
36 for (const auto &item: strategies) { in Init()
37 actions_.emplace_back(item); in Init()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_database.cpp125 auto item = availableHandles_.begin(); in ReleaseHandle() local
126 while (item != availableHandles_.end()) { in ReleaseHandle()
127 auto currentNode = item; in ReleaseHandle()
128 auto nextNode = ++item; in ReleaseHandle()
461 return std::count_if(descriptors.begin(), descriptors.end(), [&uuid](auto &item) { return uuid == item.uuid_; }); in CountDescriptorByUuid()
481 for (auto item = availableHandles_.begin(); item != availableHandles_.end(); item++) {
482 auto availableLength = item
[all...]
/foundation/window/window_manager/window_scene/intention_event/src/
H A Dintention_event_manager.cpp55 MMI::PointerEvent::PointerItem item; in LogPointInfo() local
56 if (pointerEvent->GetPointerItem(actionId, item)) { in LogPointInfo()
60 windowId, actionId, item.GetDisplayX(), item.GetDisplayY(), item.GetWindowX(), item.GetWindowY(), in LogPointInfo()
61 pointerEvent->GetPointerAction(), item.GetPressure(), item.GetTiltX(), item.GetTiltY()); in LogPointInfo()
65 MMI::PointerEvent::PointerItem item; in LogPointInfo() local
[all...]
/third_party/python/Modules/
H A D_heapqmodule.c123 item: object
126 Push item onto heap, maintaining the heap invariant.
130 _heapq_heappush_impl(PyObject *module, PyObject *heap, PyObject *item) in _heapq_heappush_impl() argument
133 if (PyList_Append(heap, item)) in _heapq_heappush_impl()
179 Pop the smallest item off the heap, maintaining the heap invariant.
190 heapreplace_internal(PyObject *heap, PyObject *item, int siftup_func(PyListObject *, Py_ssize_t)) in heapreplace_internal() argument
200 Py_INCREF(item); in heapreplace_internal()
201 PyList_SET_ITEM(heap, 0, item); in heapreplace_internal()
214 item: object
217 Pop and return the current smallest value, and add the new item
229 _heapq_heapreplace_impl(PyObject *module, PyObject *heap, PyObject *item) _heapq_heapreplace_impl() argument
249 _heapq_heappushpop_impl(PyObject *module, PyObject *heap, PyObject *item) _heapq_heappushpop_impl() argument
516 _heapq__heapreplace_max_impl(PyObject *module, PyObject *heap, PyObject *item) _heapq__heapreplace_max_impl() argument
[all...]
/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp252 static void HandleKeyAction(const struct Input_KeyEvent* keyEvent, OHOS::MMI::KeyEvent::KeyItem &item) in HandleKeyAction() argument
255 g_keyEvent->AddPressedKeyItems(item); in HandleKeyAction()
260 item.SetDownTime(pressedKeyItem->GetDownTime()); in HandleKeyAction()
264 g_keyEvent->RemoveReleasedKeyItems(item); in HandleKeyAction()
265 g_keyEvent->AddPressedKeyItems(item); in HandleKeyAction()
304 OHOS::MMI::KeyEvent::KeyItem item; in OH_Input_InjectKeyEvent() local
305 item.SetDownTime(time); in OH_Input_InjectKeyEvent()
306 item.SetKeyCode(keyEvent->keyCode); in OH_Input_InjectKeyEvent()
307 item.SetPressed(isKeyPressed); in OH_Input_InjectKeyEvent()
308 HandleKeyAction(keyEvent, item); in OH_Input_InjectKeyEvent()
408 HandleMouseAction(const struct Input_MouseEvent* mouseEvent, OHOS::MMI::PointerEvent::PointerItem &item) HandleMouseAction() argument
447 HandleMouseProperty(const struct Input_MouseEvent* mouseEvent, OHOS::MMI::PointerEvent::PointerItem &item) HandleMouseProperty() argument
474 OHOS::MMI::PointerEvent::PointerItem item; OH_Input_InjectMouseEvent() local
604 HandleTouchActionDown(OHOS::MMI::PointerEvent::PointerItem &item, int64_t time) HandleTouchActionDown() argument
617 HandleTouchAction(const struct Input_TouchEvent* touchEvent, OHOS::MMI::PointerEvent::PointerItem &item) HandleTouchAction() argument
666 HandleTouchProperty(const struct Input_TouchEvent* touchEvent, OHOS::MMI::PointerEvent::PointerItem &item) HandleTouchProperty() argument
696 OHOS::MMI::PointerEvent::PointerItem item; OH_Input_InjectTouchEvent() local
1088 OHOS::MMI::PointerEvent::PointerItem item; TouchEventMonitorCallback() local
1166 OHOS::MMI::PointerEvent::PointerItem item; MouseEventMonitorCallback() local
1213 OHOS::MMI::PointerEvent::PointerItem item; AxisEventMonitorCallback() local
1514 OHOS::MMI::PointerEvent::PointerItem item; TouchEventInterceptorCallback() local
1543 OHOS::MMI::PointerEvent::PointerItem item; MouseEventInterceptorCallback() local
1575 OHOS::MMI::PointerEvent::PointerItem item; AxisEventInterceptorCallback() local
[all...]
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dpointer_event.cpp637 for (const auto &item : pointers_) { in GetPointerItem()
638 if (item.GetPointerId() == pointerId) { in GetPointerItem()
639 pointerItem = item; in GetPointerItem()
668 for (auto &item : pointers_) { in AddPointerItem()
669 if (item.GetPointerId() == pointerId) { in AddPointerItem()
670 item = pointerItem; in AddPointerItem()
679 for (auto &item : pointers_) { in UpdatePointerItem()
680 if ((item.GetPointerId() % SIMULATE_EVENT_START_ID) == pointerId) { in UpdatePointerItem()
681 item = pointerItem; in UpdatePointerItem()
730 for (const auto &item in GetPointerIds()
981 PointerItem item; ReadFromParcel() local
[all...]
/foundation/multimodalinput/input/service/event_resample/src/
H A Devent_resample.cpp183 PointerEvent::PointerItem item; in UpdatePointerEvent() local
184 if (pointerEvent_->GetPointerItem(it.first, item)) { in UpdatePointerEvent()
185 int32_t toolWindowX = item.GetToolWindowX(); in UpdatePointerEvent()
186 int32_t toolWindowY = item.GetToolWindowY(); in UpdatePointerEvent()
194 item.SetDisplayX(logicX); in UpdatePointerEvent()
195 item.SetDisplayY(logicY); in UpdatePointerEvent()
197 auto windowXY = TransformSampleWindowXY(pointerEvent_, item, logicX, logicY); in UpdatePointerEvent()
198 item.SetWindowX(windowXY.first); in UpdatePointerEvent()
199 item.SetWindowY(windowXY.second); in UpdatePointerEvent()
202 item in UpdatePointerEvent()
213 TransformSampleWindowXY(std::shared_ptr<PointerEvent> pointerEvent, PointerEvent::PointerItem &item, int32_t logicX, int32_t logicY) TransformSampleWindowXY() argument
429 auto item = event->pointers.find(id); ResampleCoordinates() local
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_serialization.cpp52 for (const auto &item : keys) { in KeyEventToNetPacket()
53 pkt << item.GetKeyCode() << item.GetDownTime() in KeyEventToNetPacket()
54 << item.GetDeviceId() << item.IsPressed() << item.GetUnicode(); in KeyEventToNetPacket()
102 FI_HILOGE("Packet read item isPressed failed"); in NetPacketToKeyEvent()
318 int32_t InputEventSerialization::SerializePointerItem(NetPacket &pkt, MMI::PointerEvent::PointerItem &item) in SerializePointerItem() argument
320 pkt << item; in SerializePointerItem() local
322 FI_HILOGE("Failed to serialize pointer item"); in SerializePointerItem()
328 DeserializePointerItem(NetPacket &pkt, MMI::PointerEvent::PointerItem &item) DeserializePointerItem() argument
330 pkt >> item; DeserializePointerItem() local
346 MMI::PointerEvent::PointerItem item; SerializePointers() local
370 MMI::PointerEvent::PointerItem item; DeserializePointers() local
434 uint8_t item = buffer[i]; SerializeBuffer() local
435 pkt << item; SerializeBuffer() local
453 pkt >> item; DeserializeBuffer() local
[all...]
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/decision_db/src/
H A Dlnn_decision_db.c409 DeviceDbInfo *item = NULL; in DeleteDeviceFromList() local
411 LIST_FOR_EACH_ENTRY_SAFE(item, next, &g_deviceInfoList, DeviceDbInfo, node) { in DeleteDeviceFromList()
412 if (strcmp(item->infoRecord.accountHexHash, record->accountHexHash) == 0 && in DeleteDeviceFromList()
413 strcmp(item->infoRecord.udid, record->udid) == 0) { in DeleteDeviceFromList()
418 ListDelete(&item->node); in DeleteDeviceFromList()
419 SoftBusFree(item); in DeleteDeviceFromList()
432 DeviceDbInfo *item = NULL; in InsertDeviceToList() local
433 LIST_FOR_EACH_ENTRY(item, &g_deviceInfoList, DeviceDbInfo, node) { in InsertDeviceToList()
434 if (strcmp(item->infoRecord.accountHexHash, record->accountHexHash) == 0 && in InsertDeviceToList()
435 strcmp(item in InsertDeviceToList()
565 DeviceDbInfo *item = NULL; GetAllDevNums() local
608 DeviceDbInfo *item = NULL; LnnGetTrustedDevInfoFromDb() local
717 DeviceDbInfo *item = NULL; ClearRecoveryDeviceList() local
[all...]
/third_party/vk-gl-cts/executor/
H A DxeTestLogWriter.cpp234 static void writeResultItem (const ri::Item& item, xml::Writer& dst) in writeResultItem() argument
238 switch (item.getType()) in writeResultItem()
245 dst << Writer::BeginElement("Text") << static_cast<const ri::Text&>(item).text << Writer::EndElement; in writeResultItem()
250 const ri::Number& number = static_cast<const ri::Number&>(item); in writeResultItem()
263 const ri::Image& image = static_cast<const ri::Image&>(item); in writeResultItem()
278 const ri::ImageSet& imageSet = static_cast<const ri::ImageSet&>(item); in writeResultItem()
292 const ri::Shader& shader = static_cast<const ri::Shader&>(item); in writeResultItem()
328 const ri::ShaderProgram& program = static_cast<const ri::ShaderProgram&>(item); in writeResultItem()
342 dst << Writer::BeginElement("ShaderSource") << static_cast<const ri::ShaderSource&>(item).source << Writer::EndElement; in writeResultItem()
346 dst << Writer::BeginElement("SpirVAssemblySource") << static_cast<const ri::SpirVSource&>(item) in writeResultItem()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/helper/
H A Dwindow_scene_helper.cpp190 MMI::PointerEvent::PointerItem item; in CaculatePoint() local
191 if (pointerEvent->GetPointerItem(pointerId, item)) { in CaculatePoint()
192 PointF tmp(item.GetWindowX() + rect.GetX(), item.GetWindowY() + rect.GetY()); in CaculatePoint()
194 item.SetWindowX(static_cast<int32_t>(std::round(tmp.GetX()))); in CaculatePoint()
195 item.SetWindowY(static_cast<int32_t>(std::round(tmp.GetY()))); in CaculatePoint()
197 item.GetToolType() == OHOS::MMI::PointerEvent::TOOL_TYPE_PEN) { in CaculatePoint()
199 PointF tmpPos(item.GetWindowXPos() + rect.GetX(), item.GetWindowYPos() + rect.GetY()); in CaculatePoint()
201 item in CaculatePoint()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/
H A Dwifi_config_file_impl.h100 int ReadNetworkSection(T &item, std::istream &fs, std::string &line);
107 int ReadNetwork(T &item, std::istream &fs, std::string &line);
116 T item; in ReadFile() local
125 ClearTClass(item); /* template function, needing specialization */ in ReadFile()
126 configError = ReadNetwork(item, fs, line); in ReadFile()
131 mValues.push_back(item); in ReadFile()
168 T &item = mValues[i]; in SaveConfig() local
174 ss << OutTClassString(item) << std::endl; in SaveConfig()
277 int WifiConfigFileImpl<T>::ReadNetworkSection(T &item, std::istream &fs, std::string &line) in ReadNetworkSection() argument
304 sectionError += SetTClassKeyValue(item, ke in ReadNetworkSection()
313 ReadNetwork(T &item, std::istream &fs, std::string &line) ReadNetwork() argument
[all...]
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
H A DRBUntranslatedPanel.java81 BundleItem item = model.getBundleItem(row); in markSelectedResourceAsTranslated()
82 item.setTranslated(true); in markSelectedResourceAsTranslated()
94 BundleItem item = model.getBundleItem(row); in deleteSelectedResource()
95 if (item.getParentGroup() != null && item.getParentGroup().getParentBundle() != null) { in deleteSelectedResource()
96 Bundle bundle = item.getParentGroup().getParentBundle(); in deleteSelectedResource()
97 bundle.removeItem(item.getKey()); in deleteSelectedResource()
276 BundleItem item = bundle.getUntranslatedItem(row); in getValueAt()
281 retStr = item.getKey(); in getValueAt()
284 retStr = item in getValueAt()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/time/
H A Dstrftime.c47 nl_item item; in __strftime_fmt_1() local
55 item = ABDAY_1 + tm->tm_wday; in __strftime_fmt_1()
59 item = DAY_1 + tm->tm_wday; in __strftime_fmt_1()
64 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
68 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
71 item = D_T_FMT; in __strftime_fmt_1()
117 item = tm->tm_hour >= 12 ? PM_STR : AM_STR; in __strftime_fmt_1()
120 item = T_FMT_AMPM; in __strftime_fmt_1()
156 item = D_FMT; in __strftime_fmt_1()
159 item in __strftime_fmt_1()
[all...]
/third_party/musl/porting/liteos_m/kernel/src/time/
H A Dstrftime.c47 nl_item item; in __strftime_fmt_1() local
55 item = ABDAY_1 + tm->tm_wday; in __strftime_fmt_1()
59 item = DAY_1 + tm->tm_wday; in __strftime_fmt_1()
64 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
68 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
71 item = D_T_FMT; in __strftime_fmt_1()
117 item = tm->tm_hour >= 12 ? PM_STR : AM_STR; in __strftime_fmt_1()
120 item = T_FMT_AMPM; in __strftime_fmt_1()
156 item = D_FMT; in __strftime_fmt_1()
159 item in __strftime_fmt_1()
[all...]
/third_party/musl/porting/uniproton/kernel/src/time/
H A Dstrftime.c47 nl_item item; in __strftime_fmt_1() local
55 item = ABDAY_1 + tm->tm_wday; in __strftime_fmt_1()
59 item = DAY_1 + tm->tm_wday; in __strftime_fmt_1()
64 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
68 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
71 item = D_T_FMT; in __strftime_fmt_1()
117 item = tm->tm_hour >= 12 ? PM_STR : AM_STR; in __strftime_fmt_1()
120 item = T_FMT_AMPM; in __strftime_fmt_1()
156 item = D_FMT; in __strftime_fmt_1()
159 item in __strftime_fmt_1()
[all...]
/third_party/ltp/testcases/network/stress/route/
H A Droute-change-netlink.c51 void save_iface(void **data, const char *item) in save_iface() argument
56 strncpy(n->iface, item, sizeof(n->iface)); in save_iface()
59 n->index = if_nametoindex(item); in save_iface()
61 tst_brk(TBROK, "if_nametoindex failed, '%s' not found", item); in save_iface()
66 void save_ip(void **data, const char *item) in save_ip() argument
71 strncpy(n->ip_str, item, sizeof(n->ip_str)); in save_ip()
74 SAFE_GETADDRINFO(item, p_opt, &hints, &n->ip); in save_ip()
79 int save_item(void **list, char *item, void (*callback)(void **, const char *)) in save_item() argument
83 while ((item = strtok(item, TST_TO_ST in save_item()
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_extension.cpp468 for (auto &item : bigFileInfo) { in BigFileReady()
471 string filePath = std::get<0>(item.second); in BigFileReady()
481 ret = proxy->AppFileReady(item.first, std::move(fd), errCode); in BigFileReady()
483 HILOGI("The application is packaged successfully, package name is %{public}s", item.first.c_str()); in BigFileReady()
593 [&tarFile](const auto &item) { return item.hashName == tarFile; }); in IsUserTar()
629 for (const auto &item : files) { in GetFileInfos()
630 string md5Name = getStringHash(bigFiles, item.first); in GetFileInfos()
632 bigFiles.emplace(md5Name, make_tuple(item.first, item in GetFileInfos()
967 RestoreBigFilesForSpecialCloneCloud(const ExtManageInfo &item) RestoreBigFilesForSpecialCloneCloud() argument
1004 RestoreTarForSpecialCloneCloud(const ExtManageInfo &item) RestoreTarForSpecialCloneCloud() argument
1134 RestoreOneBigFile(const std::string &path, const ExtManageInfo &item, const bool appendTargetPath) RestoreOneBigFile() argument
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue_event.cpp81 cJSON *item = cJSON_GetObjectItemCaseSensitive(rootValue, numKeys[i]); in Unmarshal() local
82 if (item == nullptr || !cJSON_IsNumber(item)) { in Unmarshal()
87 *numValues[i] = item->valueint; in Unmarshal()
94 cJSON *item = cJSON_GetObjectItemCaseSensitive(rootValue, strKeys[i]); in Unmarshal() local
95 if (item == nullptr || !cJSON_IsString(item) || (item->valuestring == nullptr)) { in Unmarshal()
100 *strValues[i] = item->valuestring; in Unmarshal()
106 cJSON *item in Unmarshal() local
477 cJSON *item = cJSON_GetObjectItemCaseSensitive(rootValue, strKeys[i]); UnmarshalCallerInfo() local
494 cJSON *item = cJSON_GetObjectItemCaseSensitive(rootValue, numKeys[i]); UnmarshalCallerInfo() local
663 cJSON *item = cJSON_GetObjectItemCaseSensitive(rootValue, numKeys[i]); Unmarshal() local
[all...]

Completed in 24 milliseconds

1...<<21222324252627282930>>...127