Home
last modified time | relevance | path

Searched +defs:a +defs:R (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
H A Dread_task.rs47 pub(crate) fn new(reader: &'a mut R, buf: &'a mut [u8]) -> ReadTask<'a, R> { in new() argument
87 pub(crate) fn new(reader: &'a mut R, buf: &'a mut Vec<u8>) -> ReadToEndTask<'a, R> { in new() argument
99 mut reader: &mut R, in poll_read_to_end()
158 pub(crate) fn new(reader: &'a mut R, dst: &'a mut String) -> ReadToStringTask<'a, R> { in new() argument
232 pub(crate) fn new(reader: &'a mut R, buf: &'a mut [u8]) -> ReadExactTask<'a, R> { in new() argument
282 pub(crate) fn new(reader: &'a mut R, delim: u8, buf: &'a mut Vec<u8>) -> ReadUtilTask<'a, R> { in new() argument
294 mut reader: &mut R, in poll_read_until()
350 pub(crate) fn new(reader: &'a mut R, buf: &'a mut String) -> ReadLineTask<'a, R> { in new() argument
392 pub(crate) fn new(reader: R, delim: u8) -> SplitTask<R> { in new()
436 pub(crate) fn new(reader: R) -> LinesTask<R> { in new()
H A Dasync_read.rs111 fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadTask<'a, Self> { in read()
130 fn read_exact<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadExactTask<'a, Self> { in read_exact()
148 fn read_to_end<'a>(&'a mut self, buf: &'a mut Vec<u8>) -> ReadToEndTask<'a, Self> { in read_to_end()
167 fn read_to_string<'a>(&'a mut self, dst: &'a mut String) -> ReadToStringTask<'a, Self> { in read_to_string()
223 impl<R: AsyncRead + ?Sized> AsyncReadExt for R {} implementation
H A Dasync_buf_read.rs106 fn read_until<'a>(&'a mut self, byte: u8, buf: &'a mut Vec<u8>) -> ReadUtilTask<'a, Self> in read_until()
125 fn read_line<'a>(&'a mut self, buf: &'a mut String) -> ReadLineTask<'a, Self> in read_line()
167 impl<R: AsyncBufRead + ?Sized> AsyncBufReadExt for R {} implementation
H A Dasync_write.rs206 fn write<'a>(&'a mut self, buf: &'a [u8]) -> WriteTask<'a, Self> in write()
230 fn write_vectored<'a, 'b>( in write_vectored()
233 ) -> WriteVectoredTask<'a, 'b, Self> in write_vectored()
255 fn write_all<'a>(&'a mut self, buf: &'a [u8]) -> WriteAllTask<'a, Self> in write_all()
328 impl<R: AsyncWrite + ?Sized> AsyncWriteExt for R {} implementation
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/ipc_async/
H A Dmod.rs37 fn spawn<'a, F1, F2, Fut, A, B>( in spawn()
40 ) -> BoxFuture<'a, IpcResult<B>> in spawn()
46 F2: Send + 'a, in spawn()
47 Fut: Send + 'a, in spawn()
49 B: Send + 'a; in spawn()
62 fn spawn_blocking<T, R>(task: T) -> JoinHandle<R> in spawn_blocking()
H A Dipc_ylong.rs26 fn spawn<'a, F1, F2, Fut, A, B>(spawn_this: F1, after_handle: F2) -> BoxFuture<'a, IpcResult<B>> in spawn()
32 F2: Send + 'a, in spawn()
33 Fut: Send + 'a, in spawn()
35 B: Send + 'a, in spawn()
76 fn spawn_blocking<T, R>(task: T) -> JoinHandle<R> in spawn_blocking()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_set.rs120 fn wake_by_ref(entry: &Arc<JoinEntry<R>>) { in wake_by_ref()
209 pub async fn join_next(&mut self) -> Option<Result<R, ScheduleError>> { in join_next()
280 pub fn build_task(&mut self) -> Builder<'_, R> { in build_task() argument
284 fn poll_join_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Result<R, ScheduleError>>> { in poll_join_next()
352 pub(crate) fn new(set: &'a mut JoinSet<R>) -> Builder<'a, R> { in new()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dblocking_pool.rs194 pub(crate) fn spawn_blocking<T, R>(&self, builder: &TaskBuilder, task: T) -> JoinHandle<R> in spawn_blocking()
261 fn wait_permanent(&'a self, mut shared: MutexGuard<'a, Shared>) -> (bool, MutexGuard<Shared>) { in wait_permanent()
276 mut shared: MutexGuard<'a, Shared>, in wait_temporary()
310 mut shared: MutexGuard<'a, Shared>, in wait()
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_csync.cpp205 int a = 0; variable
228 int a = 0; variable
263 std::atomic_int a = 0; variable
580 const int R = 200; in LockTest() local
727 auto ThreadFunc1 = [](int a, const int& b) { in __anonc91b23f77402()
732 auto ThreadFunc2 = [](const char* a, const char* b) { in __anonc91b23f77502()
873 int a = 0; variable
883 int a = 0; variable
906 int a = 0; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/
H A Dcolor_extract.cpp195 bool ColorExtract::cmp(std::pair<uint32_t, uint32_t>&a, std::pair<uint32_t, uint32_t>&b) {return a.… in cmp() argument
259 float R = NormalizeRgb(r); in CalcRelativeLum() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_color_extract.cpp163 bool RSColorExtract::cmp(std::pair<uint32_t, uint32_t> &a, std::pair<uint32_t, uint32_t> &b) in cmp() argument
230 float R = NormalizeRgb(r); in CalcRelativeLum() local
/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Ddeserializer.rs104 pub fn from_reader<R, T>(reader: R) -> Result<T, Error> in from_reader()
138 pub fn from_slice<'a, T>(slice: &'a [u8]) -> Result<T, Error> in from_slice()
140 T: Deserialize<'a>, in from_slice()
173 pub fn from_str<'a, T>(str: &'a str) -> Result<T, Error> in from_str()
175 T: Deserialize<'a>, in from_str()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/hvigor/
H A Dhvigor-wrapper.js16a(){return E.default.type()===A}function c(){return E.default.type()===o}C.isWindows=a,C.isLinux=f… class
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp213 float R = float(color.GetRed()) / maxColorRange; in GetDarkColor() local
228 float a = 500 * (Fx - Fy); in GetDarkColor() local
1153 uint32_t a = backgroundColor.GetAlpha(); in CalculateInvertColor() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_render_util.cpp115 float a = 0.0f; member
184 const float a = 2.51f; in ACESToneMapping() local
205 const Vector2f& R = basePoints[0]; in GenRGBToXYZMatrix() local
459 [&](const GraphicHDRMetaData &a, const GraphicHDRMetaData &b)->bool { in GetColorSpaceFromMetaData()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp364 float R = float(color.GetRed()) / maxColorRange; in GetDarkColor() local
379 float a = 500 * (Fx - Fy); in GetDarkColor() local
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/hvigor/
H A Dhvigor-wrapper.js15a=require("stream"),l=require("assert"),f=require("zlib"),d=require("net"),D=require("crypto"),p="… variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/hvigor/
H A Dhvigor-wrapper.js15a=require("stream"),l=require("assert"),f=require("zlib"),d=require("net"),D=require("crypto"),p="… function
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
H A Dhvigor-wrapper.js16a=require("stream"),l=require("assert"),f=require("zlib"),d=require("net"),D=require("crypto"),p="… function