Searched refs:inputString (Results 1 – 7 of 7) 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 | 521 JSHandle<JSTaggedValue> inputString = GetCallArg(argv, 0); in Match() local 522 JSHandle<EcmaString> stringHandle = JSTaggedValue::ToString(thread, inputString); in Match() 566 … JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, inputString, in Match() 578 … JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, inputString, in Match() 621 … RegExpExecResultCache::AddResultInCache(thread, cacheTable, pattern, flags, inputString, in Match() 682 JSHandle<JSTaggedValue> inputString = GetCallArg(argv, 0); in MatchAll() local 683 JSHandle<EcmaString> stringHandle = JSTaggedValue::ToString(thread, inputString); in MatchAll() 742 … JSHandle<EcmaString> inputString, uint32_t inputLength) in RegExpReplaceFast() argument 774 JSHandle<JSTaggedValue> tagInputString = JSHandle<JSTaggedValue>::Cast(inputString); in RegExpReplaceFast() 779 uint32_t length = EcmaStringAccessor(inputString).GetLength(); in RegExpReplaceFast() [all …]
|
| D | builtins_regexp.h | 72 const JSHandle<JSTaggedValue> &inputString, bool useCache); 130 JSHandle<EcmaString> inputString, uint32_t inputLength); 132 const JSHandle<JSTaggedValue> &inputString, bool useCache); 141 JSHandle<EcmaString> &inputString, int32_t lastIndex);
|
| /arkcompiler/ets_runtime/test/moduletest/regexp/ |
| D | regexp.js | 397 let inputString = "/vedio/av{avid}{cid}"; variable 398 let extractedContent = inputString.match(/\{([^{}]+)\}/g); 399 let replacedString = inputString.replace(/\{([^{}]+)\}/g, '(uuu)').replace(/\//g, "\\/");
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_sample.cpp | 1803 std::string inputString = "Sample Test"; in HWTEST_F_L0() local 1805 Local<StringRef> stringValue = StringRef::NewFromUtf8(vm_, inputString.c_str()); in HWTEST_F_L0() 1809 stringValue->WriteUtf8(setBuffer, inputString.length()); in HWTEST_F_L0() 1816 resultString->WriteUtf8(getBuffer, inputString.length()); in HWTEST_F_L0() 1833 printString->WriteUtf8(printBuffer, inputString.length()); in HWTEST_F_L0()
|