/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/ |
H A D | error.rs | 21 kind: ErrorKind, 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 { 73 Self { kind, cause: None } 76 pub(crate) fn new_with_cause<T>(kind: ErrorKind, cause: Option<T>) -> Self 81 kind, 89 let kind = match &err { in from() 100 kind, in from() [all...] |
/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | parser.cpp | 110 while (((tokenKind = lexer_.PeekToken().kind) != TokenType::END_OF_FILE) && ret) {
in ParseFile() 138 if (token.kind == TokenType::COMMENT_BLOCK) {
in ParseLicense() 150 if (token.kind != TokenType::PACKAGE) {
in ParsePackage() 158 if (token.kind != TokenType::ID) {
in ParsePackage() 168 if (token.kind != TokenType::SEMICOLON) {
in ParsePackage() 216 if (token.kind != TokenType::INTERFACE_TOKEN) {
in ParseInterfaceToken() 223 if (token.kind != TokenType::ID) {
in ParseInterfaceToken() 233 if (token.kind != TokenType::SEMICOLON) {
in ParseInterfaceToken() 252 if (token.kind != TokenType::SUPPORT_DELEGATOR) {
in ParseSupportDelegator() 259 if (token.kind ! in ParseSupportDelegator() 288 TokenType kind = token.kind; ParseImports() local [all...] |
/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) && skipComment) {
in ReadToken() 265 token.kind = TokenType::END_OF_FILE;
in ReadToken() 271 token.kind = TokenType::UNKNOWN;
in InitCurToken() 298 token.kind = (it != keyWords_.end()) ? it->second : TokenType::ID;
in ReadId() 319 token.kind = TokenType::NUM;
in ReadNum() 346 token.kind = err ? TokenType::UNKNOWN : TokenType::NUM;
in ReadBinaryNum() 369 token.kind in ReadOctNum() [all...] |
H A D | token.h | 110 TokenType kind;
member 120 return lhs.kind > rhs.kind;
in operator ()()
|
H A D | token.cpp | 30 sb.AppendFormat("{kind:%u, row:%u, col:%u, value:%s}",
in Dump() 31 static_cast<size_t>(kind), location.row, location.col, value.c_str());
in Dump()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_api.cpp | 711 void NotifyComponentAsyncEvent(ArkUINodeHandle node, ArkUIEventSubKind kind, ArkUI_Int64 extraParam) in NotifyComponentAsyncEvent() argument 713 unsigned int subClassType = kind / ARKUI_MAX_EVENT_NUM; in NotifyComponentAsyncEvent() 714 unsigned int subKind = kind % ARKUI_MAX_EVENT_NUM; in NotifyComponentAsyncEvent() 720 TAG_LOGE(AceLogTag::ACE_NATIVE_NODE, "NotifyComponentAsyncEvent kind:%{public}d NOT IMPLEMENT", kind); in NotifyComponentAsyncEvent() 728 TAG_LOGE(AceLogTag::ACE_NATIVE_NODE, "NotifyComponentAsyncEvent kind:%{public}d NOT IMPLEMENT", kind); in NotifyComponentAsyncEvent() 736 TAG_LOGE(AceLogTag::ACE_NATIVE_NODE, "NotifyComponentAsyncEvent kind:%{public}d NOT IMPLEMENT", kind); in NotifyComponentAsyncEvent() 745 TAG_LOGE(AceLogTag::ACE_NATIVE_NODE, "NotifyComponentAsyncEvent kind in NotifyComponentAsyncEvent() 959 NotifyResetComponentAsyncEvent(ArkUINodeHandle node, ArkUIEventSubKind kind) NotifyResetComponentAsyncEvent() argument 2358 GetArkUIAPI(ArkUIAPIVariantKind kind, ArkUI_Int32 version) GetArkUIAPI() argument [all...] |
H A D | extension_companion_node.cpp | 112 event.kind = ArkUIAPINodeFlags::CUSTOM_MEASURE; in OnMeasure() 131 event.kind = ArkUIAPINodeFlags::CUSTOM_LAYOUT; in OnLayout() 149 event.kind = ArkUIAPINodeFlags::CUSTOM_DRAW; in OnDraw() 169 event.kind = ArkUIAPINodeFlags::CUSTOM_FOREGROUND_DRAW; in OnForegroundDraw() 189 event.kind = ArkUIAPINodeFlags::CUSTOM_OVERLAY_DRAW; in OnOverlayDraw()
|
H A D | node_refresh_modifier.cpp | 143 event.kind = COMPONENT_ASYNC_EVENT; in SetRefreshOnStateChange() 158 event.kind = COMPONENT_ASYNC_EVENT; in SetOnRefreshing() 172 event.kind = COMPONENT_ASYNC_EVENT; in SetRefreshOnOffsetChange() 187 event.kind = COMPONENT_ASYNC_EVENT; in SetRefreshChangeEvent()
|
H A D | node_drag_modifier.cpp | 93 event.kind = ArkUIEventCategory::DRAG_EVENT; in SetOnDragDrop() 126 event.kind = ArkUIEventCategory::DRAG_EVENT; in SetOnDragStart() 157 event.kind = ArkUIEventCategory::DRAG_EVENT; in SetOnDragEnter() 189 event.kind = ArkUIEventCategory::DRAG_EVENT; in SetOnDragMove() 220 event.kind = ArkUIEventCategory::DRAG_EVENT; in SetOnDragLeave() 251 event.kind = ArkUIEventCategory::DRAG_EVENT; in SetOnDragEnd() 294 event.kind = ArkUIEventCategory::COMPONENT_ASYNC_EVENT; in SetOnPreDrag()
|
H A D | node_canvas_modifier.cpp | 27 event.kind = COMPONENT_ASYNC_EVENT; in SetCanvasOnReady()
|
H A D | image_animator_modifier.cpp | 329 event.kind = COMPONENT_ASYNC_EVENT; in SetImageAnimatorOnStart() 343 event.kind = COMPONENT_ASYNC_EVENT; in SetImageAnimatorOnPause() 357 event.kind = COMPONENT_ASYNC_EVENT; in SetImageAnimatorOnRepeat() 371 event.kind = COMPONENT_ASYNC_EVENT; in SetImageAnimatorOnCancel() 385 event.kind = COMPONENT_ASYNC_EVENT; in SetImageAnimatorOnFinish()
|
/foundation/communication/netstack/utils/http_over_curl/src/ |
H A D | epoll_multi_driver.cpp | 182 int kind = ((action & CURL_POLL_IN) ? EPOLLIN : (EPOLLIN & ~EPOLLIN)) | in CurlPollToEpoll() local 184 return kind; in CurlPollToEpoll() 191 int kind = CurlPollToEpoll(action); in CurlSocketContext() local 192 poller_.RegisterMe(socketDescriptor_, kind); in CurlSocketContext() 199 int kind = CurlPollToEpoll(action); in Reassign() local 200 poller_.RegisterMe(socketDescriptor_, kind); in Reassign()
|
/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() 68 void* LoadCJLibrary(LibraryKind kind, const char* dlName);
|
H A D | cj_envsetup.h | 48 void* (*loadLibrary)(uint32_t kind, const char* dllName) = nullptr; 53 void (*setSanitizerKindRuntimeVersion)(SanitizerKind kind) = nullptr;
|
/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()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | spirv_cross_helper_structs_gles.h | 39 inline ShaderStageFlagBits ShaderKindToStageFlags(ShaderKind kind)
in ShaderKindToStageFlags() argument 41 switch (kind) {
in ShaderKindToStageFlags() 64 ShaderStageFlags(ShaderKind kind) noexcept
66 flags = ShaderKindToStageFlags(kind);
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | event_converter.cpp | 566 ArkUIEventCategory eventCategory = static_cast<ArkUIEventCategory>(origin->kind); in ConvertEvent() 571 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent() 577 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent() 583 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent() 589 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent() 595 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent() 601 event->kind = ConvertToNodeEventType(subKind); in ConvertEvent() 613 switch (innerEvent->kind) { in HandleInnerEvent() 696 ArkUIEventCategory eventCategory = static_cast<ArkUIEventCategory>(origin->kind); in ConvertEvent() 700 event->kind in ConvertEvent() [all...] |
H A D | event_converter.h | 27 int32_t kind; member
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/ability_info_test/ |
H A D | ability_info_test.cpp | 40 info.kind = "data"; in BenchmarkTestForReadFromParcel() 78 info.kind = "data"; in BenchmarkTestForMarshalling() 115 info.kind = "data"; in BenchmarkTestForUnmarshalling()
|
/foundation/ability/ability_runtime/cj_environment/test/unittest/cj_environment_test/ |
H A D | cj_environment_test.cpp | 82 SanitizerKind kind = SanitizerKind::ASAN; in HWTEST_F() local 84 cJEnvironment->SetSanitizerKindRuntimeVersion(kind); in HWTEST_F() 263 CJEnvironment::LibraryKind kind = CJEnvironment::SYSTEM; in HWTEST_F() local 266 auto res = cjEnv->LoadCJLibrary(kind, dlName); in HWTEST_F()
|
/foundation/communication/netstack/interfaces/kits/c/net_ssl/include/ |
H A D | net_ssl_c_type.h | 85 NetStack_CertificatePinningKind kind; member
|
/foundation/ability/ability_runtime/cj_environment/frameworks/cj_environment/src/ |
H A D | cj_environment.cpp | 418 void* CJEnvironment::LoadCJLibrary(OHOS::CJEnvironment::LibraryKind kind, const char* dlName) in LoadCJLibrary() argument 422 switch (kind) { in LoadCJLibrary() 509 .loadLibrary = [](uint32_t kind, const char* dllName) { in OHOS_GetCJEnvInstance() 510 return CJEnvironment::GetInstance()->LoadCJLibrary(static_cast<CJEnvironment::LibraryKind>(kind), dllName); in OHOS_GetCJEnvInstance() 524 .setSanitizerKindRuntimeVersion = [](SanitizerKind kind) { in OHOS_GetCJEnvInstance() 525 return CJEnvironment::GetInstance()->SetSanitizerKindRuntimeVersion(kind); in OHOS_GetCJEnvInstance()
|
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | cj_envsetup.h | 30 void* (*loadLibrary)(uint32_t kind, const char* dllName) = nullptr;
|
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/cpp/ |
H A D | sa_cpp_service_stub_code_emitter.h | 49 void EmitSaReturnParameter(const std::string &name, const TypeKind kind, StringBuilder &sb) const;
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | cj_runtime.cpp | 186 void CJRuntime::SetSanitizerVersion(SanitizerKind kind) in SetSanitizerVersion() argument 193 cjEnv->setSanitizerKindRuntimeVersion(kind); in SetSanitizerVersion()
|