Home
last modified time | relevance | path

Searched refs:TypeCode (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Djs_utils.h54 enum TypeCode : int32_t { enum
97 static void ThrowException(napi_env env, int32_t err, const std::string &msg, TypeCode type);
H A Djs_utils.cpp100 void JsUtils::ThrowException(napi_env env, int32_t err, const std::string &msg, TypeCode type) in ThrowException()
106 if (type == TypeCode::TYPE_NONE) { in ThrowException()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_notification_analytics_util.cpp73 HaMetaMessage& HaMetaMessage::TypeCode(int32_t typeCode) in TypeCode() function in OHOS::Notification::HaMetaMessage
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_rpc_common.h90 enum TypeCode { enum
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_analytics_util.h62 HaMetaMessage& TypeCode(int32_t typeCode);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp122 HaMetaMessage& HaMetaMessage::TypeCode(int32_t typeCode) in TypeCode() function in OHOS::Notification::HaMetaMessage
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ipc-kit/
H A Djs-apis-rpc.md41 ## TypeCode<sup>12+</sup>
3650 writeArrayBuffer(buf: ArrayBuffer, typeCode: TypeCode): void
3661 …| typeCode | [TypeCode](#typecode12) | 是 | ArrayBuffer数据具体是以哪一种TypedArray来访问和操作(会根据业务传递的类型枚举值…
3675 // TypeCode 类型枚举较多,示例代码以Int16Array为例
3688 data.writeArrayBuffer(buffer, rpc.TypeCode.INT16_ARRAY);
3698 readArrayBuffer(typeCode: TypeCode): ArrayBuffer
3708 …| typeCode | [TypeCode](#typecode12) | 是 | ArrayBuffer数据具体是以哪一种TypedArray来访问和操作(会根据业务传递的类型枚举值去决定…
3728 // TypeCode 类型枚举较多,示例代码以Int16Array为例
3741 data.writeArrayBuffer(buffer, rpc.TypeCode.INT16_ARRAY);
3748 let result = data.readArrayBuffer(rpc.TypeCode.INT16_ARRAY);
/ohos5.0/docs/en/application-dev/reference/apis-ipc-kit/
H A Djs-apis-rpc.md41 ## TypeCode<sup>12+</sup>
43 … pass ArrayBuffer data. The specific TypedArray type is determined by **TypeCode** defined as foll…
3634 writeArrayBuffer(buf: ArrayBuffer, typeCode: TypeCode): void
3645TypeCode](#typecode12) | Yes | TypedArray type of the ArrayBuffer data.<br>The underlying write…
3659 // In this example, the value of TypeCode is Int16Array.
3672 data.writeArrayBuffer(buffer, rpc.TypeCode.INT16_ARRAY);
3682 readArrayBuffer(typeCode: TypeCode): ArrayBuffer
3692TypeCode](#typecode12) | Yes | TypedArray type of the ArrayBuffer data.<br>The underlying read mo…
3712 // In this example, the value of TypeCode is Int16Array.
3725 data.writeArrayBuffer(buffer, rpc.TypeCode.INT16_ARRAY);
[all …]