/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_prefetcher/src/prefetcher/ |
H A D | DataSourceObserver.ts | 21 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 D | FetchingRangeEvaluator.ts | 22 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 D | FetchingDriver.ts | 78 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 D | error.rs | 33 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 D | parser.cpp | 288 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 D | parser.cpp | 189 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 D | error.rs | 21 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 D | error.rs | 32 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 D | lexer.cpp | 156 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 D | token.h | 97 TokenType kind; member 107 return lhs.kind > rhs.kind; in operator()
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/lexer/ |
H A D | lexer.cpp | 170 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 D | token.h | 110 TokenType kind; member 120 return lhs.kind > rhs.kind; in operator()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_api.cpp | 720 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 D | extension_companion_node.cpp | 114 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 D | ylong_tokio_signal.rs | 28 ($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 D | tcp_test.rs | 37 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 D | mod.rs | 360 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 D | event_converter.cpp | 588 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 D | epoll_multi_driver.cpp | 178 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 D | cj_environment.h | 44 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 D | error.rs | 36 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 D | http_body.rs | 49 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 D | jsPrefetcher.js | 41 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 D | preprocessor.cpp | 165 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 D | preprocessor.cpp | 151 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()
|