/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/ |
H A D | table.rs | 310 2 => Some((Field::Other(String::from("age")), String::from("0"))), in field() 313 String::from("0"), in field() 329 29 => Some((Field::Other(String::from("accept")), String::from("*/*"))), in field() 352 String::from("*"), in field() 380 String::from("br"), in field() 450 60 => Some((Field::Other(String::from("vary")), String::from("origin"))), in field() 478 String::from("*"), in field() 508 83 => Some((Field::Other(String::from("alt-svc")), String::from("clear"))), in field() 513 86 => Some((Field::Other(String::from("early-data")), String::from("1"))), in field() 520 String::from("*"), in field() [all …]
|
H A D | encoder.rs | 357 String::from("/index.html"), in literal_field_line_with_name_reference() 384 String::from("/sample/path"), in dynamic_table() 408 String::from("custom-value"), in speculative_insert() 427 String::from("custom-value"), in duplicate_instruction_stream_cancellation() 442 String::from("/"), in duplicate_instruction_stream_cancellation() 444 String::from("custom-value") in duplicate_instruction_stream_cancellation() 463 String::from("custom-value"), in dynamic_table_insert_eviction() 479 String::from("custom-value2") in dynamic_table_insert_eviction() 528 String::from("custom-value1"), in encode_post_name() 540 String::from("custom-value2"), in encode_post_name() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/ |
H A D | encoder.rs | 117 String::from("GET"), in ut_hpack_encoder() 130 String::from("GET"), in ut_hpack_encoder() 132 String::from("http"), in ut_hpack_encoder() 134 String::from("/"), in ut_hpack_encoder() 146 String::from("GET"), in ut_hpack_encoder() 148 String::from("http"), in ut_hpack_encoder() 150 String::from("/"), in ut_hpack_encoder() 164 String::from("GET"), in ut_hpack_encoder() 194 String::from("302"), in ut_hpack_encoder() 210 String::from("307"), in ut_hpack_encoder() [all …]
|
H A D | table.rs | 254 21 => Some(Header::Other(String::from("age"))), in header_name() 266 33 => Some(Header::Other(String::from("date"))), in header_name() 267 34 => Some(Header::Other(String::from("etag"))), in header_name() 270 37 => Some(Header::Other(String::from("from"))), in header_name() 293 60 => Some(Header::Other(String::from("via"))), in header_name() 304 4 => Some((Header::Path, String::from("/"))), in header() 317 String::from("gzip, deflate"), in header() 435 Header::Method => String::from(":method"), in into_string() 436 Header::Path => String::from(":path"), in into_string() 437 Header::Scheme => String::from(":scheme"), in into_string() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | access-dataability.md | 33 import rdb from '@ohos.data.rdb'; 51 import rdb from '@ohos.data.rdb'; 53 import hilog from '@ohos.hilog'; 111 import rdb from '@ohos.data.rdb'; 113 import hilog from '@ohos.hilog'; 168 import rdb from '@ohos.data.rdb'; 170 import hilog from '@ohos.hilog'; 226 import rdb from '@ohos.data.rdb'; 228 import hilog from '@ohos.hilog'; 285 import hilog from '@ohos.hilog'; [all …]
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | access-dataability.md | 33 import rdb from '@ohos.data.rdb'; 51 import rdb from '@ohos.data.rdb'; 53 import hilog from '@ohos.hilog'; 111 import rdb from '@ohos.data.rdb'; 113 import hilog from '@ohos.hilog'; 168 import rdb from '@ohos.data.rdb'; 170 import hilog from '@ohos.hilog'; 226 import rdb from '@ohos.data.rdb'; 228 import hilog from '@ohos.hilog'; 285 import hilog from '@ohos.hilog'; [all …]
|
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/ |
H A D | arkts-module-side-effects.md | 36 import { data } from './module' 52 import { data } from './module' 65 export let data1 = "data from module" 92 data from module 124 import { data1 } from "./module" 136 data from module 192 import { data } from "./module" 250 import { b } from "./b" 255 import { a } from "./a" 289 data from module [all …]
|
H A D | arkts-lazy-import.md | 30 import lazy { a } from "./mod1"; // "mod1" 未执行 31 import { c } from "./mod2"; // "mod2" 执行 61 import lazy { a } from "./mod1"; // "mod1" 未执行 62 import { c } from "./mod2"; // "mod2" 执行 63 import { b } from "./mod1"; // "mod1" 执行 128 export lazy * from "mod"; // 编译器提示报错:应用编译报错 130 import lazy v from "mod"; // 编译器提示报错:应用编译报错 131 import lazy * as ns from "mod"; // 编译器提示报错:应用编译报错 151 import { c } from "./mod2"; 161 import { c } from "./B"; [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/ |
H A D | session_manager.cpp | 43 session.appId = from.appId; in GetSession() 44 session.sourceUserId = from.userId; in GetSession() 45 session.sourceDeviceId = from.deviceId; in GetSession() 49 if (from.userId == UserDelegate::SYSTEM_USER) { in GetSession() 51 metaData.deviceId = from.deviceId; in GetSession() 52 metaData.user = std::to_string(from.userId); in GetSession() 53 metaData.bundleName = from.appId; in GetSession() 54 metaData.storeId = from.storeId; in GetSession() 63 if (!GetAuthParams(from, bundleName, authType)) { in GetSession() 91 if (storeMeta.appId == from.appId) { in GetAuthParams() [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.3.1/ |
H A D | changelogs-contacts.md | 29 Custom event. The value of **CUSTOM_LABEL** is changed from 10000 to 0. 33 Custom IM. The value of **CUSTOM_LABEL** is changed from 10000 to -1. 35 AIM. The value of **IM_AIM** is changed from 1 to 0. 37 MSN IM. The value of **IM_MSN** is changed from 2 to 1. 39 YAHOO IM. The value of **IM_YAHOO** is changed from 3 to 2. 41 SKYPE IM. The value of **IM_SKYPE** is changed from 4 to 3. 43 QQ type. The value of **IM_QQ** is changed from 5 to 4. 45 ICQ IM. The value of **IM_ICQ** is changed from 7 to 6. 47 JABBER IM. The value of **IM_JABBER** is changed from 8 to 7. 53 Home phone number. The value of **NUM_HOME** is changed from 2 to 1. [all …]
|
/ohos5.0/foundation/multimedia/av_session/frameworks/common/src/ |
H A D | avplayback_state.cpp | 282 to.state_ = from.state_; in CloneState() 287 to.speed_ = from.speed_; in CloneSpeed() 292 to.position_ = from.position_; in ClonePosition() 302 to.loopMode_ = from.loopMode_; in CloneLoopMode() 307 to.isFavorite_ = from.isFavorite_; in CloneIsFavorite() 317 to.volume_ = from.volume_; in CloneVolume() 322 to.maxVolume_ = from.maxVolume_; in CloneMaxVolume() 327 to.muted_ = from.muted_; in CloneMuted() 332 to.duration_ = from.duration_; in CloneDuration() 337 to.videoWidth_ = from.videoWidth_; in CloneVideoWidth() [all …]
|
H A D | avmeta_data.cpp | 681 to.assetId_ = from.assetId_; in CloneAssetId() 686 to.title_ = from.title_; in CloneTitle() 691 to.artist_ = from.artist_; in CloneArtist() 696 to.author_ = from.author_; in CloneAuthor() 721 to.album_ = from.album_; in CloneAlbum() 726 to.writer_ = from.writer_; in CloneWriter() 731 to.composer_ = from.composer_; in CloneComposer() 736 to.duration_ = from.duration_; in CloneDuration() 756 to.subTitle_ = from.subTitle_; in CloneSubTitle() 766 to.lyric_ = from.lyric_; in CloneLyric() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | svg_transform.cpp | 196 float x = from[0] + (to[0] - from[0]) * value; in SetProperty() 197 float y = from[1] + (to[1] - from[1]) * value; in SetProperty() 200 float rotate = from[0] + (to[0] - from[0]) * value; in SetProperty() 201 float centerX = from[1] + (to[1] - from[1]) * value; in SetProperty() 202 float centerY = from[2] + (to[2] - from[2]) * value; in SetProperty() 205 float skewX = from[0] + (to[0] - from[0]) * value; in SetProperty() 212 float skewY = from[0] + (to[0] - from[0]) * value; in SetProperty() 227 auto fromSize = from.size(); in AlignmentValues() 233 from.push_back(from[0]); in AlignmentValues() 240 from = { 0.0f }; in AlignmentValues() [all …]
|
/ohos5.0/base/security/device_security_level/baselib/utils/src/ |
H A D | utils_base64.c | 78 uint32_t a = (i < fromLen) ? (uint8_t)from[i] : 0; in Base64Encode() 80 uint32_t b = (i < fromLen) ? (uint8_t)from[i] : 0; in Base64Encode() 82 uint32_t c = (i < fromLen) ? (uint8_t)from[i] : 0; in Base64Encode() 112 uint32_t fromLen = strlen((char *)from); in Base64Decode() 132 uint32_t a = g_base64DecodeTable[from[i++]]; in Base64Decode() 133 uint32_t b = g_base64DecodeTable[from[i++]]; in Base64Decode() 134 uint32_t c = g_base64DecodeTable[from[i++]]; in Base64Decode() 135 uint32_t d = g_base64DecodeTable[from[i++]]; in Base64Decode() 163 if (from == NULL) { in Base64EncodeApp() 245 const uint8_t *from = base64Str; in Base64UrlDecodeApp() local [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-backgroundtasks-kit/ |
H A D | js-apis-backgroundTaskManager.md | 53 import { BusinessError } from '@ohos.base'; 88 import { BusinessError } from '@ohos.base'; 125 import { BusinessError } from '@ohos.base'; 185 import { BusinessError } from '@ohos.base'; 220 import Want from '@ohos.app.ability.Want'; 222 import { BusinessError } from '@ohos.base'; 286 import { BusinessError } from '@ohos.base'; 316 import Want from '@ohos.app.ability.Want'; 318 import { BusinessError } from '@ohos.base'; 389 import Want from '@ohos.app.ability.Want'; [all …]
|
/ohos5.0/commonlibrary/rust/ylong_json/tests/ |
H A D | sdv_adapt_serde_test.rs | 135 precision: String::from("zip"), in sdv_adapt_serde_example_two() 138 address: String::from(""), in sdv_adapt_serde_example_two() 140 state: String::from("CA"), in sdv_adapt_serde_example_two() 141 zip: Cow::from("94107"), in sdv_adapt_serde_example_two() 142 country: Cow::from("US"), in sdv_adapt_serde_example_two() 145 precision: String::from("zip"), in sdv_adapt_serde_example_two() 148 address: String::from(""), in sdv_adapt_serde_example_two() 150 state: String::from("CA"), in sdv_adapt_serde_example_two() 151 zip: Cow::from("94085"), in sdv_adapt_serde_example_two() 152 country: Cow::from("US"), in sdv_adapt_serde_example_two() [all …]
|
/ohos5.0/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/ |
H A D | avmeta_data.h | 241 static void CloneAssetId(const AVMetaData& from, AVMetaData& to); 242 static void CloneTitle(const AVMetaData& from, AVMetaData& to); 243 static void CloneArtist(const AVMetaData& from, AVMetaData& to); 244 static void CloneAuthor(const AVMetaData& from, AVMetaData& to); 249 static void CloneAlbum(const AVMetaData& from, AVMetaData& to); 250 static void CloneWriter(const AVMetaData& from, AVMetaData& to); 251 static void CloneComposer(const AVMetaData& from, AVMetaData& to); 252 static void CloneDuration(const AVMetaData& from, AVMetaData& to); 256 static void CloneSubTitle(const AVMetaData& from, AVMetaData& to); 258 static void CloneLyric(const AVMetaData& from, AVMetaData& to); [all …]
|
H A D | avplayback_state.h | 165 static void CloneState(const AVPlaybackState& from, AVPlaybackState& to); 166 static void CloneSpeed(const AVPlaybackState& from, AVPlaybackState& to); 167 static void ClonePosition(const AVPlaybackState& from, AVPlaybackState& to); 169 static void CloneLoopMode(const AVPlaybackState& from, AVPlaybackState& to); 170 static void CloneIsFavorite(const AVPlaybackState& from, AVPlaybackState& to); 172 static void CloneVolume(const AVPlaybackState& from, AVPlaybackState& to); 173 static void CloneMaxVolume(const AVPlaybackState& from, AVPlaybackState& to); 174 static void CloneMuted(const AVPlaybackState& from, AVPlaybackState& to); 175 static void CloneDuration(const AVPlaybackState& from, AVPlaybackState& to); 176 static void CloneVideoWidth(const AVPlaybackState& from, AVPlaybackState& to); [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
H A D | pseudo.rs | 259 pseudo.method = Some(String::from("method")); in ut_pseudo_headers_contains_method() 275 pseudo.method = Some(String::from("method")); in ut_pseudo_headers_method() 309 pseudo.method = Some(String::from("method")); in ut_pseudo_headers_take_method() 325 pseudo.path = Some(String::from("path")); in ut_pseudo_headers_contains_path() 341 pseudo.path = Some(String::from("path")); in ut_pseudo_headers_path() 356 pseudo.set_path(Some(String::from("path"))); in ut_pseudo_headers_set_path() 375 pseudo.path = Some(String::from("path")); in ut_pseudo_headers_take_path() 392 pseudo.scheme = Some(String::from("scheme")); in ut_pseudo_headers_contains_scheme() 408 pseudo.scheme = Some(String::from("scheme")); in ut_pseudo_headers_scheme() 442 pseudo.scheme = Some(String::from("scheme")); in ut_pseudo_headers_take_scheme() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/ |
H A D | pseudo.rs | 258 pseudo.method = Some(String::from("method")); in ut_pseudo_headers_contains_method() 274 pseudo.method = Some(String::from("method")); in ut_pseudo_headers_method() 308 pseudo.method = Some(String::from("method")); in ut_pseudo_headers_take_method() 324 pseudo.path = Some(String::from("path")); in ut_pseudo_headers_contains_path() 340 pseudo.path = Some(String::from("path")); in ut_pseudo_headers_path() 355 pseudo.set_path(Some(String::from("path"))); in ut_pseudo_headers_set_path() 374 pseudo.path = Some(String::from("path")); in ut_pseudo_headers_take_path() 391 pseudo.scheme = Some(String::from("scheme")); in ut_pseudo_headers_contains_scheme() 407 pseudo.scheme = Some(String::from("scheme")); in ut_pseudo_headers_scheme() 441 pseudo.scheme = Some(String::from("scheme")); in ut_pseudo_headers_take_scheme() [all …]
|
/ohos5.0/commonlibrary/ets_utils/ |
H A D | README.md | 678 let buf2 = buffer.from(buf1); 727 let buf = buffer.from("1236"); 734 let buf = buffer.from("1236"); 742 let buf = buffer.from("1236"); 782 let buf1 = buffer.from('ABC'); 979 let buf = buffer.from("ab"); 1976 import util from '@ohos.util' 1982 import util from '@ohos.util' 1988 import util from '@ohos.util' 1994 import util from '@ohos.util' [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | transform_util_test.cpp | 41 TranslateOperation from(dimension, dimension, dimension); 54 ScaleOperation from(NUM_D1, NUM_D1, NUM_D1); 67 SkewOperation from(NUM_D1, NUM_D1); 80 RotateOperation from(NUM_D1, NUM_D1, NUM_D1, NUM_D1); 85 from = RotateOperation(NUM_D1, NUM_D1, NUM_D1, NUM_D1); 86 result = RotateOperation::Blend(to, from, PROGRESS); 87 EXPECT_EQ(result, from); 99 PerspectiveOperation from(dimension); 114 result = TransformOperation::Blend(to, from, PROGRESS); 123 result = TransformOperation::Blend(from, from, PROGRESS); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/ |
H A D | crypto-key-derivation-using-hkdf.md | 32 import { cryptoFramework } from '@kit.CryptoArchitectureKit'; 33 import { buffer } from '@kit.ArkTS'; 37 let saltData = new Uint8Array(buffer.from("0123456789", "utf-8").buffer); 38 let infoData = new Uint8Array(buffer.from("infostring", "utf-8").buffer); 55 import { cryptoFramework } from '@kit.CryptoArchitectureKit'; 56 import { BusinessError } from '@kit.BasicServicesKit'; 57 import { buffer } from '@kit.ArkTS'; 61 let saltData = new Uint8Array(buffer.from("0123456789", "utf-8").buffer); 83 import { cryptoFramework } from '@kit.CryptoArchitectureKit'; 84 import { BusinessError } from '@kit.BasicServicesKit'; [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 179 ret.dx = to.dx * scaleA + from.dx * scaleB; in Blend() 218 ret.dx = from.dx; in Blend() 219 ret.dy = from.dy; in Blend() 220 ret.dz = from.dz; in Blend() 229 ret.distance = from.distance + (to.distance - from.distance) * progress; in Blend() 240 ret.type_ = from.type_; in Blend() 245 } else if (to.type_ == from.type_) { in Blend() 247 BlendInner(to, from, progress, ret); in Blend() 370 to.BlendInner(from, progress, result); in Blend() 380 auto& second = from.operations_[i]; in MatchingLength() [all …]
|
/ohos5.0/base/startup/appspawn/service/hnp/base/ |
H A D | hnp_sal.c | 58 char *from = strdup(fromPath); in HnpRelPath() local 59 if (from == NULL) { in HnpRelPath() 64 free(from); in HnpRelPath() 70 char *fromHead = from; in HnpRelPath() 73 while ((*from != '\0') && (*to != '\0') && (*from == *to)) { in HnpRelPath() 74 from++; in HnpRelPath() 78 while (from > fromHead && *(from - 1) != DIR_SPLIT_SYMBOL) { in HnpRelPath() 79 from--; in HnpRelPath() 83 char *p = from; in HnpRelPath()
|