Home
last modified time | relevance | path

Searched refs:Type (Results 1 - 7 of 7) sorted by relevance

/commonlibrary/ets_utils/js_util_module/util/
H A Djs_base64.h33 enum Type { enum
51 Type valueType = BASIC;
64 Type valueType = BASIC;
100 napi_value EncodeSync(napi_env env, napi_value src, Type valueType);
108 napi_value EncodeToStringSync(napi_env env, napi_value src, Type valueType);
116 napi_value DecodeSync(napi_env env, napi_value src, Type valueType);
124 napi_value Encode(napi_env env, napi_value src, Type valueType);
132 napi_value EncodeToString(napi_env env, napi_value src, Type valueType);
140 napi_value Decode(napi_env env, napi_value src, Type valueType);
143 unsigned char *DecodeAchieve(napi_env env, const char *input, size_t inputLen, Type valueTyp
[all...]
H A Djs_base64.cpp48 napi_value Base64::EncodeSync(napi_env env, napi_value src, Type valueType) in EncodeSync()
81 napi_value Base64::EncodeToStringSync(napi_env env, napi_value src, Type valueType) in EncodeToStringSync()
106 unsigned char *Base64::EncodeAchieve(const unsigned char *input, size_t inputLen, Type valueType) in EncodeAchieve()
133 if (valueType == Type::BASIC_URL_SAFE || valueType == Type::MIME_URL_SAFE) { in EncodeAchieve()
142 const char *searchArray, size_t inputLen, Type valueType) in EncodeAchieveInner()
161 if (temp < i && (valueType == Type::BASIC_URL_SAFE || valueType == Type::MIME_URL_SAFE)) { in EncodeAchieveInner()
164 } else if (temp < i && valueType != Type::BASIC_URL_SAFE && valueType != Type in EncodeAchieveInner()
[all...]
H A Dnative_module_util.cpp810 napi_value result = object->EncodeSync(env, args[0], Type::BASIC); in EncodeBase64()
831 napi_value result = object->EncodeToStringSync(env, args[0], Type::BASIC); in EncodeToString()
860 napi_value result = object->DecodeSync(env, args[0], Type::BASIC); in DecodeBase64()
881 napi_value result = object->Encode(env, args[0], Type::BASIC); in EncodeAsync()
902 napi_value result = object->EncodeToString(env, args[0], Type::BASIC); in EncodeToStringAsync()
930 napi_value result = object->Decode(env, args[0], Type::BASIC); in DecodeAsync()
942 Type typeValue = static_cast<Type>(encode); in EncodeToStringHelper()
943 if (typeValue < Type::TYPED_FIRST || typeValue > Type in EncodeToStringHelper()
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
H A Dmulti.rs88 // | ; Content-Type field. |
196 self.headers.insert("Content-Type", &v[..])?;
349 /// 'Content-Type' and set boundary simultaneously.
363 /// .append("Content-Type", "multipart/mixed; boundary=ab")
434 /// 'Content-Type' and set boundary simultaneously.
446 /// It is recommended to use `set_content_type` to set header 'Content-Type'
448 /// The Content-Type field for multipart entities requires one parameter,
449 /// "boundary". A typical "multipart" Content-Type header field might look
451 /// *Content-Type: multipart/mixed; boundary=gc0p4Jq0M2Yt08j34c0p*
/commonlibrary/ets_utils/js_util_module/util/test/
H A Dtest_util.cpp1664 napi_value result = base64.EncodeSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1699 napi_value result = base64.EncodeSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1734 napi_value result = base64.EncodeSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1769 napi_value result = base64.EncodeSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1803 napi_value result = base64.EncodeSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1836 napi_value result = base64.EncodeSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1838 napi_value result1 = base64.EncodeToStringSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1863 napi_value result = base64.EncodeSync(env, src, OHOS::Util::Type::BASIC_URL_SAFE); in HWTEST_F()
1896 napi_value result = base64.EncodeToStringSync(env, src, OHOS::Util::Type::BASIC); in HWTEST_F()
1935 napi_value result = base64.EncodeToStringSync(env, src, OHOS::Util::Type in HWTEST_F()
[all...]
/commonlibrary/c_utils/base/src/
H A Dparcel.cpp1349 template <typename Type, typename T1, typename T2>
1367 size_t padSize = this->GetPadSize(originVal.size() * sizeof(Type)); in WriteFixedAlignVector()
1474 template <typename Type, typename T1, typename T2>
1486 size_t readAbleSize = this->GetReadableBytes() / sizeof(Type); in ReadFixedAlignVector()
1506 size_t padSize = this->GetPadSize(size * sizeof(Type)); in ReadFixedAlignVector()
/commonlibrary/c_utils/base/include/
H A Dparcel.h726 template <typename Type, typename T1, typename T2>
754 template <typename Type, typename T1, typename T2>

Completed in 14 milliseconds