Home
last modified time | relevance | path

Searched refs:Replace (Results 1 - 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_hashmap.h28 static JSTaggedValue Replace(EcmaRuntimeCallInfo *argv);
H A Dcontainers_treemap.h47 static JSTaggedValue Replace(EcmaRuntimeCallInfo *argv);
H A Dcontainers_hashmap.cpp337 JSTaggedValue ContainersHashMap::Replace(EcmaRuntimeCallInfo *argv) in Replace() function in panda::ecmascript::containers::ContainersHashMap
341 BUILTINS_API_TRACE(thread, HashMap, Replace); in Replace()
356 return JSTaggedValue(jsHashMap->Replace(thread, key.GetTaggedValue(), newValue.GetTaggedValue())); in Replace()
H A Dcontainers_treemap.cpp343 JSTaggedValue ContainersTreeMap::Replace(EcmaRuntimeCallInfo *argv) in Replace() function in panda::ecmascript::containers::ContainersTreeMap
345 BUILTINS_API_TRACE(argv->GetThread(), TreeMap, Replace); in Replace()
364 bool success = JSAPITreeMap::Replace(thread, map, key, value); in Replace()
H A Dcontainers_private.cpp516 SetFrozenFunction(thread, mapFuncPrototype, "replace", ContainersTreeMap::Replace, FuncLength::TWO); in InitializeTreeMap()
1203 SetFrozenFunction(thread, hashMapFuncPrototype, "replace", ContainersHashMap::Replace, FuncLength::TWO); in InitializeHashMap()
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_hashmap.cpp92 bool JSAPIHashMap::Replace(JSThread *thread, JSTaggedValue key, JSTaggedValue newValue) in Replace() function in panda::ecmascript::JSAPIHashMap
168 if (!hashMap->Replace(thread, node->GetKey(), node->GetValue())) { in SetAllLinkedNode()
182 if (!hashMap->Replace(thread, key.GetTaggedValue(), value.GetTaggedValue())) { in SetAllRBTreeNode()
H A Djs_api_tree_map.h47 static bool Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key,
H A Djs_api_hashmap.h41 bool Replace(JSThread *thread, JSTaggedValue key, JSTaggedValue newValue);
H A Djs_api_tree_map.cpp110 bool JSAPITreeMap::Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key, in Replace() function in panda::ecmascript::JSAPITreeMap
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_symbol.h34 V(replace, Replace) \
H A Dbuiltins_regexp.h69 static JSTaggedValue Replace(EcmaRuntimeCallInfo *argv);
145 V(REPLACE, Replace)
H A Dbuiltins_string.h79 V("replace", Replace, 2, StringReplace) \
199 static JSTaggedValue Replace(EcmaRuntimeCallInfo *argv);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_api_tree_map_test.cpp169 bool success = JSAPITreeMap::Replace(thread, tmap, key, value); in HWTEST_F_L0()
178 bool success = JSAPITreeMap::Replace(thread, tmap, key, value); in HWTEST_F_L0()
H A Djs_api_hashmap_test.cpp181 bool success = hashMap->Replace(thread, key.GetTaggedValue(), value.GetTaggedValue()); in HWTEST_F_L0()
351 // test RBTree Replace and Get in HWTEST_F_L0()
353 bool replaceResult = hashMap->Replace( in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dstring_helper_test.cpp214 HWTEST_F_L0(StringHelperTest, Replace) in HWTEST_F_L0()
217 CString result = StringHelper::Replace(sourceStr, "@arkui-x.", "@ohos:"); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_regexp_test.cpp525 JSTaggedValue results = BuiltinsRegExp::Replace(ecmaRuntimeCallInfo); in HWTEST_F_L0()
551 JSTaggedValue results = BuiltinsRegExp::Replace(ecmaRuntimeCallInfo); in HWTEST_F_L0()
576 JSTaggedValue results = BuiltinsRegExp::Replace(ecmaRuntimeCallInfo); in HWTEST_F_L0()
H A Dbuiltins_string_test.cpp89 return BuiltinsString::Replace(ecmaRuntimeCallInfos); in StringAlgorithmOther()
932 HWTEST_F_L0(BuiltinsStringTest, Replace) in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Druntime_call_id.h741 V(RegExp, Replace) \
813 V(String, Replace) \
1062 V(HashMap, Replace) \
1098 V(TreeMap, Replace) \
/arkcompiler/ets_runtime/ecmascript/containers/tests/
H A Dcontainers_hashmap_test.cpp703 HWTEST_F_L0(ContainersHashMapTest, Replace) in HWTEST_F_L0()
729 JSTaggedValue result = ContainersHashMap::Replace(callInfo); in HWTEST_F_L0()
786 JSTaggedValue result = ContainersHashMap::Replace(callInfo); in HWTEST_F_L0()
990 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersHashMap, Replace); in HWTEST_F_L0()
H A Dcontainers_treemap_test.cpp1011 HWTEST_F_L0(ContainersTreeMapTest, Replace) in HWTEST_F_L0()
1037 JSTaggedValue result = ContainersTreeMap::Replace(callInfo); in HWTEST_F_L0()
1094 JSTaggedValue result = ContainersTreeMap::Replace(callInfo); in HWTEST_F_L0()
1422 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersTreeMap, Replace); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_processor.cpp323 reinterpret_cast<uintptr_t>(RegExp::Replace),
471 reinterpret_cast<uintptr_t>(BuiltinsString::Replace),
743 reinterpret_cast<uintptr_t>(HashMap::Replace),
821 reinterpret_cast<uintptr_t>(TreeMap::Replace),
/arkcompiler/ets_runtime/ecmascript/module/
H A Dmodule_path_helper.cpp718 requestPath = StringHelper::Replace(requestPath, RAW_ARKUIX_PREFIX, REQUIRE_NAPI_OHOS_PREFIX); in TranstaleExpressionInput()
923 return StringHelper::Replace(requestPath, RAW_ARKUIX_PREFIX, REQUIRE_NAPI_OHOS_PREFIX); in TranslateExpressionToNormalized()
/arkcompiler/ets_runtime/test/fuzztest/containershashmapcommon_fuzzer/
H A Dcontainershashmapcommon_fuzzer.h390 ContainersHashMap::Replace(callInfo1); in ContainersHashMapReplaceFuzzTest()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dstring_helper.h68 static inline CString Replace(CString str, const CString &oldValue, in Replace() function in panda::ecmascript::base::StringHelper
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapcommon_fuzzer/
H A Dcontainerstreemapcommon_fuzzer.h486 ContainersTreeMap::Replace(callInfo); in ContainersTreeMapReplaceFuzzTest()

Completed in 29 milliseconds

12