Home
last modified time | relevance | path

Searched refs:rs (Results 1 – 25 of 233) sorted by relevance

12345678910

/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Darm_exidx_test.cpp231 ASSERT_EQ(rs->cfaReg, REG_SP);
234 ASSERT_EQ(rs->locs[3].val, -4);
279 ASSERT_EQ(rs->cfaReg, 11U);
300 ASSERT_EQ(rs->cfaReg, REG_SP);
325 ASSERT_EQ(rs->cfaReg, REG_SP);
352 ASSERT_EQ(rs->cfaReg, REG_SP);
374 ASSERT_EQ(rs->cfaReg, REG_SP);
399 ASSERT_EQ(rs->cfaReg, REG_SP);
420 ASSERT_EQ(rs->cfaReg, REG_SP);
441 ASSERT_EQ(rs->cfaReg, REG_SP);
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/
H A DCargo.toml82 [package.metadata.doc.rs]
88 path = "benches/ylong_tokio_mutex.rs"
93 path = "benches/ylong_tokio_rwlock.rs"
98 path = "benches/ylong_tokio_tcp.rs"
103 path = "benches/ylong_tokio_udp.rs"
108 path = "benches/ylong_tokio_uds.rs"
134 path = "benches/bin/ylong_sync_mutex_perf.rs"
144 path = "./examples/ylong_runtime_tcp.rs"
149 path = "./examples/ylong_runtime_signal.rs"
159 path = "examples/ylong_runtime_memory.rs"
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/
H A Dmulti_workgroup.cpp87 IntervalReply rs; in CreateRSWorkGroup() local
88 rs.rtgId = -1; in CreateRSWorkGroup()
89 rs.tid = -1; in CreateRSWorkGroup()
94 if (rs.rtgId > 0) { in CreateRSWorkGroup()
132 IntervalReply rs; in JoinRSWorkGroup() local
133 rs.rtgId = -1; in JoinRSWorkGroup()
134 rs.tid = tid; in JoinRSWorkGroup()
135 CTC_QUERY_INTERVAL(QUERY_RENDER_SERVICE, rs); in JoinRSWorkGroup()
136 if (rs.rtgId > 0) { in JoinRSWorkGroup()
295 IntervalReply rs; in WorkgroupJoin() local
[all …]
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-build-rust-compilation.md86 sources = [ "src/main.rs" ]
91 sources = [ "src/simple_printer.rs" ]
260 crate_root = "crate/src/lib.rs"
261 sources = [ "crate/src/lib.rs" ]
264 build_root = "crate/build.rs"
265 build_sources = [ "crate/build.rs" ]
282 crate_root = "crate/src/main.rs"
284 sources = [ "crate/src/main.rs" ]
287 build_root = "crate/build.rs"
288 build_sources = [ "crate/build.rs" ]
[all …]
H A Dsubsys-build-bindgen-cxx-guide.md97 sources = [ "main.rs" ]
101 crate_root = "main.rs"
156 2. C++侧将cxx工具转换出来的lib.rs.h包含进来,就可以使用C++侧的接口。
175 3. 添加构建文件BUILD.gn。rust_cxx底层调用CXX工具将lib.rs文件转换成lib.rs.h和lib.rs.cc文件,ohos_rust_static_ffi实现Rust侧源码的编…
182 sources = [ "src/lib.rs" ]
186 sources = [ "src/lib.rs" ]
248 #include "src/main.rs.h"
319 3. main.rs文件,在main.rs文件的ffi里面,通过宏include!将头文件client_blobstore.h引入进来,从而在Rust的main函数里面就可以通过ffi的方式调用C+…
388 4. 添加构建文件BUILD.gn。使用CXX将main.rs转换成lib.rs.h和lib.rs.cc,同时将产物作为test_cxx_rust_staticlib的源码,编译Rust源码main…
394 sources = [ "src/main.rs" ]
[all …]
H A Dsubsys-build-rust-toolchain.md37 └── main.rs
40 main.rs 代码示例。
57 sources = [ "src/main.rs" ]
134 1. 代码用例main.rs
145 ./prebuilts/rustc/linux-x86_64/current/bin/rustc main.rs
158 …./prebuilts/rustc/linux-x86_64/current/bin/rustc main.rs --target=armv7-unknown-linux-ohos -C link…
164 …./prebuilts/rustc/linux-x86_64/current/bin/rustc main.rs --target=aarch64-unknown-linux-ohos -C li…
170 …./prebuilts/rustc/linux-x86_64/current/bin/rustc main.rs --target=x86_64-unknown-linux-ohos -C lin…
H A Dsubsys-build-cargo2gn-guide.md38 crate_root = "./lib.rs"
40 sources = ["./lib.rs"]
70 build_root = "build.rs"
71 build_sources = ["build.rs"]
/ohos5.0/build/rust/tests/test_rlib_cargo_crate/
H A DBUILD.gn18 crate_root = "crate/src/lib.rs"
19 sources = [ "crate/src/lib.rs" ]
22 build_root = "crate/build.rs"
23 build_sources = [ "crate/build.rs" ]
24 build_script_outputs = [ "generated/generated.rs" ]
40 crate_root = "crate/src/main.rs"
42 sources = [ "crate/src/main.rs" ]
45 build_root = "crate/build.rs"
46 build_sources = [ "crate/build.rs" ]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/
H A DCargo.toml48 path = "examples/async_certs_adapter.rs"
53 path = "examples/async_http.rs"
58 path = "examples/async_http_multi.rs"
63 path = "./examples/async_https_outside.rs"
68 path = "./examples/sync_https_outside.rs"
73 path = "examples/async_proxy_http.rs"
78 path = "examples/async_redirect_http.rs"
83 path = "examples/sync_http.rs"
88 path = "examples/sync_redirect_http.rs"
93 path = "examples/sync_proxy_http.rs"
/ohos5.0/base/request/request/services/
H A DBUILD.gn19 "src/manage/account.rs",
20 "src/manage/database.rs",
21 "src/manage/network.rs",
22 "src/manage/query.rs",
23 "src/task/bundle.rs",
24 "src/task/config.rs",
25 "src/task/info.rs",
26 "src/task/reason.rs",
27 "src/utils/mod.rs",
122 sources = [ "src/lib.rs" ]
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/
H A DREADME_zh.md41 │ ├─ adapter.rs # 适配 C 的接口实现
42 │ ├─ consts.rs # 一些常数与表格的定义
43 │ ├─ deserializer.rs # 适配 serde 的反序列化实现
44 │ ├─ encoder.rs # 为 JsonValue 类型序列化实现
45 │ ├─ error.rs # 错误类型定义,便于定位
46 │ ├─ link_list.rs # LinkedList 类型定义和相关方法实现
47 │ ├─ serializer_compact.rs # 适配 serde 的序列化实现
48 │ ├─ states.rs # 为 JsonValue 类型反序列化实现
49 │ └─ value.rs # JsonValue 类型定义和相关方法实现
H A DREADME.md40 │ ├─ adapter.rs # Adapts to the C interface implementation
41 │ ├─ consts.rs # Some definitions of constants and tables
42 │ ├─ deserializer.rs # Deserialization implementation of the adaptation serde
43 │ ├─ encoder.rs # Serialization implementation for the `JsonValue` type
44 │ ├─ error.rs # Error type definition, helpful to identify the problem
45 │ ├─ link_list.rs # LinkedList type definition and related methods
46 │ ├─ serializer_compact.rs # Serialization implementation of the adaptation serde
47 │ ├─ states.rs # Deserialization implementation for the `JsonValue` type
48 │ └─ value.rs # JsonValue type definition and related methods
/ohos5.0/commonlibrary/c_utils/base/
H A DBUILD.gn213 "src/rust/ashmem.rs",
214 "src/rust/directory_ex.rs",
215 "src/rust/file_ex.rs",
246 "src/rust/ashmem.rs",
247 "src/rust/directory_ex.rs",
248 "src/rust/file_ex.rs",
249 "src/rust/lib.rs",
267 "src/rust/ashmem.rs",
268 "src/rust/directory_ex.rs",
269 "src/rust/file_ex.rs",
[all …]
/ohos5.0/base/update/updater/services/rust/hash_signed_data/
H A DBUILD.gn18 "src/evp.rs",
19 "src/ffi.rs",
20 "src/hsd.rs",
21 "src/img_hash_check.rs",
22 "src/lib.rs",
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_group_mgr_test.cpp112 auto rs = windowGroupMgr_->MoveMissionsToForeground({1, 2, 3}, 2); variable
113 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, rs);
114 rs = windowGroupMgr_->MoveMissionsToForeground({1, 2, 3}, -1);
115 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, rs);
126 auto rs = windowGroupMgr_->MoveMissionsToBackground({1, 2, 3}, moveRs); variable
127 ASSERT_EQ(WMError::WM_OK, rs);
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/
H A DBUILD.gn18 "src/lib.rs",
19 "src/macros.rs",
20 "src/sys_event.rs",
21 "src/sys_event_manager.rs",
22 "src/utils.rs",
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/
H A Dgraphic_neon_pipeline.h120 uint8x8_t rs = NeonLerp(r0, r1, a1); in NeonPreLerpARGB8888() local
125 StoreBuf_ARGB8888(buf, rs, gs, bs, as); in NeonPreLerpARGB8888()
140 uint8x8_t rs = NeonPreLerp(r0, r1, a1); in NeonPrelerpARGB8888() local
145 StoreBuf_ARGB8888(buf, rs, gs, bs, as); in NeonPrelerpARGB8888()
161 uint8x8_t rs = NeonPreLerp(r0, r1, a1); in NeonPrelerpARGB8888() local
166 StoreBuf_ARGB8888(buf, rs, gs, bs, as); in NeonPrelerpARGB8888()
231 uint8x8_t rs = NeonLerp(r0, r1, a1); in NeonLerpARGB8888() local
251 uint8x8_t rs = NeonLerp(r0, r1, a1); in NeonLerpARGB8888() local
272 uint8x8_t rs = NeonLerp(r0, r1, a1); in NeonLerpARGB8888() local
298 uint8x8_t rs = NeonLerp(r0, r1, a1); in NeonLerpARGB8888() local
[all …]
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-build-bindgen-cxx-guide.md97 sources = [ "main.rs" ]
101 crate_root = "main.rs"
156 2. Include **lib.rs.h** (converted from **lib.rs** by the CXX tool) in C++ code.
160 #include "build/rust/tests/test_cxx/src/lib.rs.h"
175 …rlying rust_cxx calls the CXX tool to convert the **lib.rs** file into **lib.rs.h** and **lib.rs.c…
182 sources = [ "src/lib.rs" ]
186 sources = [ "src/lib.rs" ]
248 #include "src/main.rs.h"
388 …ert **main.rs** into **lib.rs.h** and **lib.rs.cc**, which are used as the source code of **test_c…
394 sources = [ "src/main.rs" ]
[all …]
H A Dsubsys-build-rust-compilation.md87 sources = [ "src/main.rs" ]
92 sources = [ "src/simple_printer.rs" ]
262 crate_root = "crate/src/lib.rs"
263 sources = [ "crate/src/lib.rs" ]
266 build_root = "crate/build.rs"
267 build_sources = [ "crate/build.rs" ]
284 crate_root = "crate/src/main.rs"
286 sources = [ "crate/src/main.rs" ]
289 build_root = "crate/build.rs"
290 build_sources = [ "crate/build.rs" ]
[all …]
/ohos5.0/foundation/resourceschedule/qos_manager/test/unittest/phone/
H A Dconcurrent_svc_intf_test.cpp43 IntervalReply rs; in QueryInterval() local
44 rs.rtgId = -1; in QueryInterval()
47 item, rs); in QueryInterval()
48 return rs.rtgId; in QueryInterval()
/ohos5.0/build/rust/tests/test_bin_cargo_crate/
H A DBUILD.gn18 crate_root = "crate/src/main.rs"
19 sources = [ "crate/src/main.rs" ]
20 build_sources = [ "crate/build.rs" ]
21 build_root = "crate/build.rs"
/ohos5.0/docs/zh-cn/application-dev/file-management/
H A Dapp-file-access.md219 const rs = fs.createReadStream(`${filesDir}/read.txt`);
223 rs.on('readable', () => {
224 const data = rs.read();
234 const rs = fs.createReadStream(`${filesDir}/read.txt`);
238 rs.on('data', (emitData) => {
265 const rs = fs.createReadStream(filePath);
268 rs.on('data', (emitData) => {
272 rs.on('close', async () => {
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/
H A DBUILD.gn20 "src/parcel/wrapper.rs",
21 "src/remote/wrapper.rs",
22 "src/skeleton.rs",
68 sources = [ "src/lib.rs" ]
/ohos5.0/base/security/asset/services/db_operator/
H A DBUILD.gn20 sources = [ "src/lib.rs" ]
29 "//third_party/rust/crates/lazy-static.rs:lib",
40 sources = [ "src/lib.rs" ]
49 "//third_party/rust/crates/lazy-static.rs:lib",
/ohos5.0/foundation/graphic/graphic_2d/
H A Dhisysevent.yaml57 __BASE: {type: STATISTIC, level: MINOR, desc: rs composition timeout}
65 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: rs screen refresh rate change}
154 RS_NODE_LIMIT: {type: UINT32, desc: the upper limit of the total number of rs nodes}
155 RS_ACTUAL_NODE: {type: UINT32, desc: current total number of rs nodes}
157 RS_APP_WINDOW_TOTAL: {type: UINT32, desc: current total app windows on rs tree}
158 RS_TOP1_APP_NAME: {type: STRING, desc: name of current app with top1 rs nodes}
159 RS_TOP1_APP_NODE: {type: UINT32, desc: number of nodes of current app with top1 rs nodes}
160 RS_TOP2_APP_NAME: {type: STRING, desc: name of current app with top2 rs nodes}
161 RS_TOP2_APP_NODE: {type: UINT32, desc: number of nodes of current app with top2 rs nodes}
162 RS_TOP3_APP_NAME: {type: STRING, desc: name of current app with top3 rs nodes}
[all …]

12345678910