Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 7 of 7) sorted by relevance

/commonlibrary/ets_utils/js_util_module/util/
Djs_uuid.cpp135 bool res = GenerateUuid(uuid.elements, sizeof(uuid.elements)); in GetUUID()
141 res = GenerateUuid(uuid.elements, sizeof(uuid.elements)); in GetUUID()
165 for (size_t i = 0; i < sizeof(uuid.elements); i++) { in GetFormatUUID()
166 unsigned char value = uuid.elements[i]; in GetFormatUUID()
187 size_t bufferSize = sizeof(uuid.elements); in GetBinaryUUID()
189 if (memcpy_s(data, bufferSize, uuid.elements, bufferSize) != EOK) { in GetBinaryUUID()
215 void *data = reinterpret_cast<void*>(uuid.elements); in DoParseUUID()
217 size_t outLen = sizeof(uuid.elements); in DoParseUUID()
Djs_uuid.h37 unsigned char elements[16] = {0}; member
/commonlibrary/ets_utils/js_api_module/convertxml/test/
Dtest_convertxml.cpp105 napi_value elements = nullptr; variable
108 napi_get_named_property(env, jsObj, op.elements.c_str(), &elements);
109 napi_get_element(env, elements, 0, &element);
143 napi_value elements = nullptr; variable
148 napi_get_named_property(env, jsObj, op.elements.c_str(), &elements);
149 napi_get_element(env, elements, 0, &element);
183 napi_value elements = nullptr; variable
187 …EXPECT_EQ(napi_get_named_property(env, jsObj, op.elements.c_str(), &elements), napi_status::napi_o…
188 EXPECT_EQ(napi_get_element(env, elements, 0, &element), napi_status::napi_ok);
221 napi_value elements = nullptr; variable
[all …]
/commonlibrary/ets_utils/js_api_module/convertxml/
Djs_convertxml.cpp245 napi_value elements = nullptr; in GetXMLInfo() local
246 napi_create_array(env, &elements); in GetXMLInfo()
284 napi_set_named_property(env, object, options_.elements.c_str(), recvElement); in GetXMLInfo()
476 options_.elements = strRecv; in SetDefaultKey()
563 napi_value elements = nullptr; in DealComplex() local
564 napi_create_array(env, &elements); in DealComplex()
577 napi_set_element(env, elements, index++, elementsObject); in DealComplex()
581 napi_set_named_property(env, object, options_.elements.c_str(), elements); in DealComplex()
Djs_convertxml.h44 std::string elements = "_elements"; member
/commonlibrary/c_utils/docs/zh-cn/
Dc-utils-guide-safe_block_queue.md104 cout << line.remains() << " elements remains in the queue. Synchronizing success." <<endl;
174 … cout << line.UnfinishTaskNum() << " elements remains in the queue. Synchronizing success." <<endl;
/commonlibrary/ets_utils/
DREADME.en.md450 …ides APIs to discard the least recently used data to make rooms for new elements when the buffer i…