Home
last modified time | relevance | path

Searched refs:leafNode (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/commonlibrary/ets_utils/js_util_module/container/struct/
H A Djs_struct.ts316 let leafNode: TreeNode<K, V> | undefined = this.root;
319 while (leafNode !== undefined) {
320 parentNode = leafNode;
323 leafNode.value = value;
326 leafNode = leafNode.right;
328 leafNode = leafNode.left;
331 leafNode = new TreeNode<K, V>(key, value);
332 leafNode.parent = parentNode;
334 parentNode.right = leafNode;
336 parentNode.left = leafNode;
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Djson_object.cpp460 void LeafJsonNodeAppendValue(Json::Value &leafNode, FieldType inType, const FieldValue &inValue) in LeafJsonNodeAppendValue() argument
463 leafNode.append(Json::Value(inValue.stringValue)); in LeafJsonNodeAppendValue()
468 void LeafJsonNodeAssignValue(Json::Value &leafNode, FieldType inType, const FieldValue &inValue) in LeafJsonNodeAssignValue() argument
472 leafNode = Json::Value(inValue.boolValue); in LeafJsonNodeAssignValue()
476 leafNode = Json::Value(static_cast<Json::Int>(inValue.integerValue)); in LeafJsonNodeAssignValue()
480 leafNode = Json::Value(static_cast<Json::Int64>(inValue.longValue)); in LeafJsonNodeAssignValue()
483 leafNode = Json::Value(inValue.doubleValue); in LeafJsonNodeAssignValue()
486 leafNode = Json::Value(inValue.stringValue); in LeafJsonNodeAssignValue()
489 leafNode = Json::Value(Json::ValueType::objectValue); in LeafJsonNodeAssignValue()