Home
last modified time | relevance | path

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

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
H A Dmacros.rs15 ($($item:item)*) => {
18 $item
24 ($($item:item)*) => {
27 $item
33 ($($item:item)*) => {
36 $item
42 ($($item
[all...]
/commonlibrary/utils_lite/include/
H A Dutils_list.h419 * @param item [IN] Current node's pointer to the next node.
428 #define UTILS_DL_LIST_ENTRY(item, type, member) \
429 ((type *)(void *)((char *)(item) - UTILS_OFF_SET_OF(type, member)))
442 * @param item [IN] Pointer to the structure that contains the doubly linked list that is to be traversed.
452 #define UTILS_DL_LIST_FOR_EACH_ENTRY(item, list, type, member) \
453 for (item = UTILS_DL_LIST_ENTRY((list)->pstNext, type, member); \
454 &(item)->member != (list); \
455 item = UTILS_DL_LIST_ENTRY((item)->member.pstNext, type, member))
468 * @param item [I
[all...]
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/
H A Dmod.rs19 ($($item:item)*) => {
22 $item
28 ($($item:item)*) => {
31 $item
38 ($($item:item)*) => {
41 $item
/commonlibrary/rust/ylong_json/src/
H A Dadapter.rs74 pub unsafe extern "C" fn ylong_json_print_unformatted(item: *const YlongJson) -> *mut c_char {
75 if item.is_null() {
79 let value = &mut *(item as *mut JsonValue);
95 pub unsafe extern "C" fn ylong_json_delete(item: *mut YlongJson) {
96 if item.is_null() {
100 let _ = Box::from_raw(item as *mut JsonValue);
107 item: *const YlongJson,
110 if item.is_null() {
115 let value = &*(item as *mut JsonValue);
124 let value = &*(item a
[all...]
H A Dconsts.rs176 let item = PrintMapItem::Other; in ut_print_map_item_clone()
177 let item = item.clone(); in ut_print_map_item_clone()
178 assert_eq!(item, PrintMapItem::Other); in ut_print_map_item_clone()
180 let item = PrintMapItem::Control; in ut_print_map_item_clone()
181 let item = item.clone(); in ut_print_map_item_clone()
182 assert_eq!(item, PrintMapItem::Control); in ut_print_map_item_clone()
184 let item = PrintMapItem::Special(b"abc"); in ut_print_map_item_clone()
185 let item in ut_print_map_item_clone()
[all...]
H A Dstates.rs65 for item in $str {
67 Some(ch) if ch == *item => $deserializer.reader.discard(),
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dwaker.rs19 ($($item:item)*) => {
22 $item
28 ($($item:item)*) => {
31 $item
/commonlibrary/rust/ylong_json/tests/
H A Dsdv_adapter_test.rs131 let item = ylong_json_get_array_item(ids, 0);
134 ylong_json_get_double_value_from_number(item, &mut ptr as *mut c_double),
139 let item = ylong_json_get_array_item(ids, 1);
142 ylong_json_get_double_value_from_number(item, &mut ptr as *mut c_double),
147 let item = ylong_json_get_array_item(ids, 2);
150 ylong_json_get_double_value_from_number(item, &mut ptr as *mut c_double),
155 let item = ylong_json_get_array_item(ids, 3);
158 ylong_json_get_double_value_from_number(item, &mut ptr as *mut c_double),
/commonlibrary/c_utils/base/include/
H A Dsorted_vector.h107 * @brief Accesses the first item in this vector.
109 * @return Returns a constant pointer to the first item.
114 * @brief Accesses the first item in this vector while editing it.
119 * @return Returns a non-constant pointer to the first item.
124 * @brief Obtains the index of the first occurrence of an item
127 * @param item Indicates the item.
129 * @return Returns the index if the item is found;
133 ssize_t IndexOf(const TYPE& item) const;
136 * @brief Obtains the index where an item shoul
364 Add(const TYPE& item) Add() argument
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_set.rs244 for item in &list.done_list { in cancel_all()
245 unsafe { (*item.handle.get()).cancel() } in cancel_all()
247 for item in &list.wait_list { in cancel_all()
248 unsafe { (*item.handle.get()).cancel() } in cancel_all()
427 for item in &list.done_list { in drop()
429 (*item.handle.get()).cancel(); in drop()
430 drop(ManuallyDrop::take(&mut *item.handle.get())); in drop()
433 for item in &list.wait_list { in drop()
435 (*item.handle.get()).cancel(); in drop()
436 drop(ManuallyDrop::take(&mut *item in drop()
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dencoder.rs428 for (buf_index, item) in buf.iter_mut().enumerate().take(len) { in iterate_headers_header()
434 *item = ((payload_len >> (16 - (8 * header_byte_index))) & 0xFF) as u8; in iterate_headers_header()
438 *item = FrameType::Headers as u8; in iterate_headers_header()
443 *item = frame.flags().bits(); in iterate_headers_header()
446 *item = frame.flags().bits() & 0xFB in iterate_headers_header()
453 *item = (frame.stream_id() >> (24 - (8 * stream_id_byte_index))) as u8; in iterate_headers_header()
497 for (buf_index, item) in buf.iter_mut().enumerate().take(3) { in encode_continuation_frames()
498 *item = ((continuation_frame_len >> (16 - (8 * buf_index))) & 0xFF) as u8; in encode_continuation_frames()
575 for (buf_index, item) in buf.iter_mut().enumerate().take(len) { in iterate_data_header()
580 *item in iterate_data_header()
[all...]
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dworker.h71 auto item = msgQueueMap_.find(env); in Dequeue() local
72 if (item != msgQueueMap_.end()) { in Dequeue()
73 queue = &(item->second); in Dequeue()
H A Dtask_manager.cpp1455 auto item = tasks_.find(taskId); in CheckTask() local
1456 return item != tasks_.end(); in CheckTask()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Dwheel.rs258 while let Some(mut item) = handles.pop_back() {
259 let expected_expiration = unsafe { item.as_ref().expiration() };
263 unsafe { item.as_mut().set_level(level) };
265 self.levels[level].insert(item);
267 self.trigger.push_front(item);
/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp506 void ProcessNestedObject(napi_env env, napi_value item, napi_value& map, std::map<std::string, bool>& initialMap, in ProcessNestedObject() argument
510 napi_object_get_keys(env, item, &keys); in ProcessNestedObject()
523 napi_get_named_property(env, item, innerKey, &innerItem); in ProcessNestedObject()
573 napi_value item = nullptr; in ProcessTabularData() local
574 napi_get_named_property(env, tabularData, key, &item); in ProcessTabularData()
576 bool isPrimitive = ((item == nullptr) || in ProcessTabularData()
577 (!Helper::NapiHelper::IsObject(env, item) && !Helper::NapiHelper::IsFunction(env, item))); in ProcessTabularData()
584 napi_set_element(env, valuesKeyArray, i, item); in ProcessTabularData()
586 ProcessNestedObject(env, item, ma in ProcessTabularData()
[all...]
/commonlibrary/ets_utils/js_concurrent_module/worker/
H A Dworker.cpp111 for (auto item = g_limitedworkers.begin(); item != g_limitedworkers.end(); item++) { in InitPort()
112 if ((*item)->IsSameWorkerEnv(env)) { in InitPort()
113 worker = *item; in InitPort()
118 for (auto item = g_workers.begin(); item != g_workers.end(); item++) { in InitPort()
119 if ((*item)->IsSameWorkerEnv(env)) { in InitPort()
120 worker = *item; in InitPort()
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dasync_pool.rs102 for item in join_handle.iter() { in wake_up_all()
103 item.unpark(self.handle.clone()); in wake_up_all()
172 let item = self.locals.get(index).unwrap();
173 if !item.is_empty() {
H A Dcurrent_thread.rs306 ($($item:item)*) => {
309 $item
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
H A Dencoder.rs400 ($item: expr, $dst: expr, $cur: expr, $self: expr) => {{
401 if let Some(i) = $item.take() {
405 $item = Some(e);
/commonlibrary/ets_utils/js_sys_module/timer/
H A Dtimer.cpp269 auto iter = std::find_if(timerTable.begin(), timerTable.end(), [env](const auto &item) { in HasTimer()
270 return item.second->env_ == env; in HasTimer()
/commonlibrary/ets_utils/js_api_module/buffer/test/
H A Dtest_napi.cpp989 for (auto item =_typeMap.begin(); item != _typeMap.end(); item++) in HWTEST_F()
991 std::string type = item->first; in HWTEST_F()
993 ASSERT_EQ(et, item->second); in HWTEST_F()
/commonlibrary/ets_utils/js_api_module/url/
H A Djs_url.cpp157 for (auto item = str1.begin(); item != str1.end();) { in DeleteTabOrNewline()
158 if (IsASCIITabOrNewline(*item)) { in DeleteTabOrNewline()
159 item = str1.erase(item); in DeleteTabOrNewline()
161 ++item; in DeleteTabOrNewline()

Completed in 22 milliseconds