Searched refs:inputString (Results 1 – 5 of 5) sorted by relevance
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | base64.cpp | 19 std::string Base64Encode(const std::string &inputString) in Base64Encode() argument 21 size_t strLen = inputString.length(); in Base64Encode() 31 encodedRes[i] = base64CharSet[(inputString[j] & 0xff) >> 2]; in Base64Encode() 33 …encodedRes[i + 1] = base64CharSet[(inputString[j] & 0x03) << 4 | (inputString[j + 1] & 0xf0) >> 4]; in Base64Encode() 35 …encodedRes[i + 2] = base64CharSet[(inputString[j + 1] & 0x0f) << 2 | (inputString[j + 2] & 0xc0) >… in Base64Encode() 37 encodedRes[i + 3] = base64CharSet[inputString[j + 2] & 0x3f]; in Base64Encode()
|
| D | base64.h | 27 std::string Base64Encode(const std::string &inputString);
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_regexp_test.cpp | 287 JSHandle<EcmaString> inputString = in HWTEST_F_L0() local 292 ecmaRuntimeCallInfo->SetCallArg(0, inputString.GetTaggedValue()); in HWTEST_F_L0() 313 ASSERT_EQ(EcmaStringAccessor::Compare(instance, outputInput, inputString), 0); in HWTEST_F_L0() 346 JSHandle<EcmaString> inputString = thread->GetEcmaVM()->GetFactory()->NewFromASCII("123"); in HWTEST_F_L0() local 350 ecmaRuntimeCallInfo->SetCallArg(0, inputString.GetTaggedValue()); in HWTEST_F_L0() 371 ASSERT_EQ(EcmaStringAccessor::Compare(instance, outputInput, inputString), 0); in HWTEST_F_L0() 422 JSHandle<EcmaString> inputString = in HWTEST_F_L0() local 427 ecmaRuntimeCallInfo->SetCallArg(0, inputString.GetTaggedValue()); in HWTEST_F_L0() 451 JSHandle<EcmaString> inputString = in HWTEST_F_L0() local 456 ecmaRuntimeCallInfo->SetCallArg(0, inputString.GetTaggedValue()); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_regexp.cpp | 381 JSHandle<JSTaggedValue> inputString = GetCallArg(argv, 0); in Match() local 382 JSHandle<EcmaString> stringHandle = JSTaggedValue::ToString(thread, inputString); in Match() 416 … JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, inputString, in Match() 427 … JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, inputString, in Match() 469 … RegExpExecResultCache::AddResultInCache(thread, cacheTable, pattern, flags, inputString, in Match() 528 JSHandle<JSTaggedValue> inputString = GetCallArg(argv, 0); in MatchAll() local 529 JSHandle<EcmaString> stringHandle = JSTaggedValue::ToString(thread, inputString); in MatchAll() 588 … JSHandle<EcmaString> inputString, uint32_t inputLength) in RegExpReplaceFast() argument 619 JSHandle<JSTaggedValue> tagInputString = JSHandle<JSTaggedValue>::Cast(inputString); in RegExpReplaceFast() 624 uint32_t length = EcmaStringAccessor(inputString).GetLength(); in RegExpReplaceFast() [all …]
|
| D | builtins_regexp.h | 85 const JSHandle<JSTaggedValue> &inputString, bool useCache); 118 JSHandle<EcmaString> inputString, uint32_t inputLength);
|