Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 183) sorted by relevance

12345678

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_prefetcher/src/prefetcher/
H A DDataSourceObserver.ts21 kind: 'deleted';
27 kind: 'added';
33 kind: 'updated';
38 kind: 'reloaded';
43 kind: 'swapped';
49 kind: 'moved';
65 kind: 'reloaded',
74 kind: 'added',
88 kind: 'swapped',
102 kind: 'deleted',
[all …]
H A DFetchingRangeEvaluator.ts22 kind: 'visible-area-changed';
27 kind: 'item-fetched';
32 kind: 'collection-changed';
36 kind: 'item-added';
40 kind: 'item-removed';
57 switch (whatHappened.kind) {
H A DFetchingDriver.ts78 switch (operation.kind) {
105 kind: 'collection-changed',
118 this.prefetchRangeEvaluator.updateRangeToFetch({ kind: 'item-removed', itemIndex: index });
125 this.prefetchRangeEvaluator.updateRangeToFetch({ kind: 'item-added', itemIndex: index });
216 …this.prefetchRangeEvaluator.updateRangeToFetch({ kind: 'visible-area-changed', minVisible, maxVisi…
268 kind: 'item-fetched',
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
H A Derror.rs33 Repr::Simple(kind) => write!(f, "{}", kind.as_str()), in fmt()
47 Repr::Simple(kind) => f.debug_tuple("Kind").field(&kind).finish(), in fmt()
55 kind: ErrorKind, field
104 fn from(kind: ErrorKind) -> Self { in from()
106 repr: Repr::Simple(kind), in from()
125 pub fn new<E>(kind: ErrorKind, error: E) -> ScheduleError in new()
129 Self::_new(kind, error.into()) in new()
134 repr: Repr::Custom(Box::new(Custom { kind, error })), in _new()
180 pub fn kind(&self) -> ErrorKind { in kind() method
182 Repr::Simple(kind) => kind, in kind()
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dparser.cpp288 TokenType kind = token.kind; in ParseImports() local
382 switch (token.kind) { in ParseTypeDecls()
411 switch (token.kind) { in ParseAttribute()
472 switch (token.kind) { in ParseAttrUnit()
733 token.kind == TokenType::MAP || token.kind == TokenType::SMQ) { in ParseMethodReturnType()
952 switch (token.kind) { in SetParamAttrVal()
1011 switch (token.kind) { in CheckBasicType()
1054 switch (token.kind) { in ParseUnsignedType()
1212 switch (token.kind) { in CheckUserDefType()
1663 while (token.kind == TokenType::ADD || token.kind == TokenType::SUB) { in ParseAddExpr()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.cpp189 while (token.kind == TokenType::IMPORT || token.kind == TokenType::SEQ) { in ParseImports()
190 TokenType kind = token.kind; in ParseImports() local
313 switch (token.kind) { in ParseAttribute()
372 switch (token.kind) { in AprseAttrUnit()
766 switch (token.kind) { in ParseType()
835 switch (token.kind) { in ParseUnsignedType()
1020 if (token.kind == TokenType::COLON || token.kind == TokenType::BRACES_LEFT) { in ParseEnumDeclaration()
1446 while (token.kind == TokenType::ADD || token.kind == TokenType::SUB) { in ParseAddExpr()
1465 …token.kind == TokenType::STAR || token.kind == TokenType::SLASH || token.kind == TokenType::PERCEN… in ParseMulExpr()
1487 switch (token.kind) { in ParseUnaryExpr()
[all …]
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/
H A Derror.rs21 kind: ErrorKind, field
37 kind: ErrorKind::UserAborted, in user_aborted()
53 kind: ErrorKind::Other, in other()
69 self.kind in error_kind()
72 pub(crate) fn new(kind: ErrorKind) -> Self { in new()
73 Self { kind, cause: None } in new()
81 kind, in new_with_cause()
89 let kind = match &err { in from() localVariable
100 kind, in from()
109 .field("kind", &self.kind.as_str()) in fmt()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/
H A Derror.rs32 kind: ErrorKind, field
48 kind: ErrorKind::UserAborted, in user_aborted()
69 kind: ErrorKind::Other, in other()
85 self.kind in error_kind()
142 kind, in from_error()
153 kind, in from_tls_error()
160 kind, in from_str()
167 kind, in from_io_error()
174 kind, in from_dns_error()
312 ($kind: ident, $err: expr) => {{
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/lexer/
H A Dlexer.cpp156 while (curToken_.kind != tokenType) { in SkipToken()
164 while (token.kind != tokenType) { in SkipUntilToken()
209 …if ((token.kind == TokenType::COMMENT_BLOCK || token.kind == TokenType::COMMENT_LINE) && skipComme… in ReadToken()
218 token.kind = TokenType::END_OF_FILE; in ReadToken()
224 token.kind = TokenType::UNKNOWN; in InitCurToken()
272 token.kind = TokenType::NUM; in ReadNum()
364 token.kind = TokenType::NUM; in ReadDecNum()
421 token.kind = TokenType::PPLUS; in ReadPPlusOp()
438 token.kind = TokenType::MMINUS; in ReadMMinusOp()
481 token.kind = TokenType::COMMENT_LINE; in ReadLineComment()
[all …]
H A Dtoken.h97 TokenType kind; member
107 return lhs.kind > rhs.kind; in operator()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/lexer/
H A Dlexer.cpp170 while (curToken_.kind != tokenType) { in SkipToken()
178 while (token.kind != tokenType) { in SkipUntilToken()
256 …if ((token.kind == TokenType::COMMENT_BLOCK || token.kind == TokenType::COMMENT_LINE) && skipComme… in ReadToken()
265 token.kind = TokenType::END_OF_FILE; in ReadToken()
271 token.kind = TokenType::UNKNOWN; in InitCurToken()
319 token.kind = TokenType::NUM; in ReadNum()
411 token.kind = TokenType::NUM; in ReadDecNum()
468 token.kind = TokenType::PPLUS; in ReadPPlusOp()
485 token.kind = TokenType::MMINUS; in ReadMMinusOp()
528 token.kind = TokenType::COMMENT_LINE; in ReadLineComment()
[all …]
H A Dtoken.h110 TokenType kind; member
120 return lhs.kind > rhs.kind; in operator()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_api.cpp720 void NotifyComponentAsyncEvent(ArkUINodeHandle node, ArkUIEventSubKind kind, ArkUI_Int64 extraParam) in NotifyComponentAsyncEvent() argument
722 unsigned int subClassType = kind / ARKUI_MAX_EVENT_NUM; in NotifyComponentAsyncEvent()
723 unsigned int subKind = kind % ARKUI_MAX_EVENT_NUM; in NotifyComponentAsyncEvent()
949 …_LOGE(AceLogTag::ACE_NATIVE_NODE, "NotifyComponentAsyncEvent kind:%{public}d NOT IMPLEMENT", kind); in NotifyComponentAsyncEvent()
956 …OGE(AceLogTag::ACE_NATIVE_NODE, "NotifyComponentAsyncEvent kind:%{public}d EMPTY IMPLEMENT", kind); in NotifyComponentAsyncEvent()
960 void NotifyResetComponentAsyncEvent(ArkUINodeHandle node, ArkUIEventSubKind kind) in NotifyResetComponentAsyncEvent() argument
962 unsigned int subClassType = kind / ARKUI_MAX_EVENT_NUM; in NotifyResetComponentAsyncEvent()
963 unsigned int subKind = kind % ARKUI_MAX_EVENT_NUM; in NotifyResetComponentAsyncEvent()
2354 ACE_FORCE_EXPORT const ArkUIAnyAPI* GetArkUIAPI(ArkUIAPIVariantKind kind, ArkUI_Int32 version) in GetArkUIAPI() argument
2356 switch (kind) { in GetArkUIAPI()
[all …]
H A Dextension_companion_node.cpp114 event.kind = ArkUIAPINodeFlags::CUSTOM_MEASURE; in OnMeasure()
133 event.kind = ArkUIAPINodeFlags::CUSTOM_LAYOUT; in OnLayout()
151 event.kind = ArkUIAPINodeFlags::CUSTOM_DRAW; in OnDraw()
171 event.kind = ArkUIAPINodeFlags::CUSTOM_FOREGROUND_DRAW; in OnForegroundDraw()
191 event.kind = ArkUIAPINodeFlags::CUSTOM_OVERLAY_DRAW; in OnOverlayDraw()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
H A Dylong_tokio_signal.rs28 ($runtime: expr, $bench: ident, $kind: expr, $sig: ident, $num: literal) => {
39 let mut stream = tokio_signal($kind).unwrap();
56 ($runtime: expr, $bench: ident, $kind: expr, $sig: ident, $num: literal) => {
63 let mut stream = tokio_signal($kind).unwrap();
77 ($runtime: expr, $bench: ident, $kind: expr, $sig: ident, $num: literal) => {
88 let mut stream = ylong_signal($kind).unwrap();
105 ($runtime: expr, $bench: ident, $kind: expr, $sig: ident, $num: literal) => {
112 let mut stream = ylong_signal($kind).unwrap();
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/tests/
H A Dtcp_test.rs37 Err(e) if e.kind() == io::ErrorKind::WouldBlock => continue, in sdv_tcp_server()
48 Err(e) if e.kind() == io::ErrorKind::WouldBlock => { in sdv_tcp_server()
66 Err(e) if e.kind() == io::ErrorKind::WouldBlock => continue, in sdv_tcp_server()
107 Err(e) if e.kind() == io::ErrorKind::WouldBlock => continue, in sdv_tcp_server_vectored()
120 Err(e) if e.kind() == io::ErrorKind::WouldBlock => { in sdv_tcp_server_vectored()
140 Err(e) if e.kind() == io::ErrorKind::WouldBlock => continue, in sdv_tcp_server_vectored()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Dmod.rs360 pub(crate) fn signal_return_watch(kind: SignalKind) -> io::Result<Receiver<()>> { in signal_return_watch()
361 if kind.is_forbidden() { in signal_return_watch()
366 let event = registry.get_event(kind.0 as usize); in signal_return_watch()
367 event.register(kind.0, move || signal_action(kind.0))?; in signal_return_watch()
368 Ok(registry.listen_to_event(kind.0 as usize)) in signal_return_watch()
401 pub fn signal(kind: SignalKind) -> io::Result<Signal> { in signal()
404 let receiver = signal_return_watch(kind)?; in signal()
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Devent_converter.cpp588 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent()
594 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent()
600 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent()
606 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent()
612 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent()
618 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent()
636 switch (innerEvent->kind) { in HandleInnerEvent()
751 if (IsTouchEvent(event->kind)) { in ConvertEventResult()
756 if (!IsStringEvent(event->kind)) { in ConvertEventResult()
774 if (!event || event->kind < 0) { in OH_ArkUI_NodeEvent_GetEventType()
[all …]
/ohos5.0/foundation/communication/netstack/utils/http_over_curl/src/
H A Depoll_multi_driver.cpp178 int kind = ((action & CURL_POLL_IN) ? EPOLLIN : (EPOLLIN & ~EPOLLIN)) | in CurlPollToEpoll() local
180 return kind; in CurlPollToEpoll()
187 int kind = CurlPollToEpoll(action); in CurlSocketContext() local
188 poller_.RegisterMe(socketDescriptor_, kind); in CurlSocketContext()
195 int kind = CurlPollToEpoll(action); in Reassign() local
196 poller_.RegisterMe(socketDescriptor_, kind); in Reassign()
/ohos5.0/foundation/ability/ability_runtime/cj_environment/interfaces/inner_api/
H A Dcj_environment.h44 void SetSanitizerKindRuntimeVersion(SanitizerKind kind) in SetSanitizerKindRuntimeVersion() argument
46 sanitizerKind_ = kind; in SetSanitizerKindRuntimeVersion()
67 void* LoadCJLibrary(LibraryKind kind, const char* dlName);
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/
H A Derror.rs36 kind: ErrorKind, field
40 fn from(kind: ErrorKind) -> Self { in from()
41 HttpError { kind } in from()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dhttp_body.rs49 kind: Kind, field
56 Self { kind: Kind::Empty } in empty()
61 kind: Kind::Text(Text::new(len, pre, io)), in text()
67 kind: Kind::Chunk(Chunk::new(pre, io, is_trailer)), in chunk()
103 match self.kind { in data()
111 match self.kind { in trailer()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsPrefetcher.js41 kind: 'reloaded',
49 kind: 'added',
61 kind: 'swapped',
73 kind: 'deleted',
85 kind: 'updated',
109 kind: 'updated',
121 kind: 'swapped',
128 kind: 'moved',
435 switch (whatHappened.kind) {
790 switch (operation.kind) {
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/preprocessor/
H A Dpreprocessor.cpp165 if (token.kind != TokenType::PACKAGE) { in ParsePackage()
172 if (token.kind != TokenType::ID) { in ParsePackage()
186 if (token.kind != TokenType::SEMICOLON) { in ParsePackage()
198 while (token.kind != TokenType::END_OF_FILE) { in ParseImports()
199 if (token.kind != TokenType::IMPORT) { in ParseImports()
207 if (token.kind != TokenType::ID) { in ParseImports()
221 if (token.kind != TokenType::SEMICOLON) { in ParseImports()
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/
H A Dpreprocessor.cpp151 if (token.kind != TokenType::PACKAGE) { in ParsePackage()
158 if (token.kind != TokenType::ID) { in ParsePackage()
172 if (token.kind != TokenType::SEMICOLON) { in ParsePackage()
183 while (token.kind != TokenType::END_OF_FILE) { in ParseImports()
184 if (token.kind != TokenType::IMPORT) { in ParseImports()
192 if (token.kind != TokenType::ID) { in ParseImports()
206 if (token.kind != TokenType::SEMICOLON) { in ParseImports()

12345678