Home
last modified time | relevance | path

Searched refs:element (Results 1 - 8 of 8) sorted by relevance

/commonlibrary/utils_lite/include/
H A Dutils_list.h579 #define UTILS_ListPeekHeadType(list, type, element) \
585 __t = UTILS_DL_LIST_ENTRY((list)->pstNext, type, element); \
590 #define UTILS_ListRemoveHeadType(list, type, element) \
596 __t = UTILS_DL_LIST_ENTRY((list)->pstNext, type, element); \
602 #define UTILS_ListNextType(list, item, type, element) \
608 __t = UTILS_DL_LIST_ENTRY((item)->pstNext, type, element); \
/commonlibrary/ets_utils/js_api_module/convertxml/test/
H A Dtest_convertxml.cpp127 * @tc.desc: Convert the xml object containing an empty element to a js object.
146 napi_value element = nullptr; in HWTEST_F() local
151 napi_get_element(env, elements, 0, &element); in HWTEST_F()
152 napi_get_named_property(env, element, op.name.c_str(), &nameVal); in HWTEST_F()
153 napi_get_named_property(env, element, op.type.c_str(), &typeVal); in HWTEST_F()
160 EXPECT_STREQ(typeStr.c_str(), "element"); in HWTEST_F()
186 napi_value element = nullptr; in HWTEST_F() local
191 napi_get_element(env, elements, 0, &element); in HWTEST_F()
192 napi_get_named_property(env, element, op.attributes.c_str(), &attributes); in HWTEST_F()
226 napi_value element in HWTEST_F() local
264 napi_value element = nullptr; HWTEST_F() local
302 napi_value element = nullptr; HWTEST_F() local
[all...]
/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_directory_test.rs99 for element in files.iter() { in test_get_dir_files_001()
100 if element == resultfile[0] { in test_get_dir_files_001()
108 for element in files.iter() { in test_get_dir_files_001()
109 if element == resultfile[1] { in test_get_dir_files_001()
/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp311 napi_value element = nullptr; in RenderHead() local
312 napi_get_element(env, head, i, &element); in RenderHead()
314 napi_status status = napi_coerce_to_string(env, element, &string); in RenderHead()
333 std::string Console::GetStringAndStringWidth(napi_env env, napi_value element, size_t& stringLen) in GetStringAndStringWidth() argument
336 napi_status status = napi_coerce_to_string(env, element, &string); in GetStringAndStringWidth()
344 napi_typeof(env, element, &valuetype); in GetStringAndStringWidth()
346 stringLen = result.size(); // If element type is undefined, length is 0. in GetStringAndStringWidth()
357 napi_value element = nullptr; in PrintRows() local
358 napi_get_element(env, Rows, j * indexNum + i, &element); in PrintRows()
360 std::string stringVal = GetStringAndStringWidth(env, element, stringLe in PrintRows()
386 napi_value element = nullptr; GraphTable() local
395 napi_value element = nullptr; GraphTable() local
[all...]
H A Dconsole.h79 static std::string GetStringAndStringWidth(napi_env env, napi_value element, size_t& stringLen);
/commonlibrary/rust/ylong_json/src/
H A Dlinked_list.rs52 /// Inserts an element at the end of the list
58 // Gets an internal element pointer.
72 /// Pops an element from the end of the list.
157 /// Gets a mutable reference to the tail element of the list.
164 unsafe { Some(&(*self.tail).element) }
168 /// Gets a mutable reference to the tail element of the list.
174 unsafe { Some(&mut (*(self.tail as *mut Node<T>)).element) }
285 element: T,
290 pub(crate) fn new(element: T) -> Self {
295 element,
[all...]
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dpath_helper.h192 char element = recordName[i]; in SplitNormalizedRecordName() local
193 if (element == NORMALIZED_OHMURL_TAG) { in SplitNormalizedRecordName()
199 temp = element + temp; in SplitNormalizedRecordName()
/commonlibrary/ets_utils/js_sys_module/test/
H A Dtest_process.cpp365 napi_value element = nullptr; in HWTEST_F() local
367 napi_get_element(env, groups, 1, &element); in HWTEST_F()
369 napi_get_value_int32(env, element, &indexOne); in HWTEST_F()

Completed in 7 milliseconds