/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_marshalling_helper_test.cpp | 82 Parcel parcel; variable 99 Parcel parcel; variable 117 Parcel parcel; variable 131 Parcel parcel; variable 144 Parcel parcel; variable 157 Parcel parcel; variable 170 Parcel parcel; variable 185 Parcel parcel; variable 198 Parcel parcel; variable 213 Parcel parcel; variable [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | message_parcel_unittest.cpp | 67 MessageParcel parcel; variable 79 MessageParcel parcel; variable 94 MessageParcel parcel; variable 107 MessageParcel parcel; variable 127 MessageParcel parcel; variable 144 MessageParcel parcel; variable 160 MessageParcel parcel; variable 173 MessageParcel parcel; variable 186 MessageParcel parcel; variable 198 MessageParcel parcel; variable [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/c_api/source/ |
H A D | ipc_cparcel.cpp | 35 OHIPCParcel *parcel = new (std::nothrow) OHIPCParcel(); in OH_IPCParcel_Create() local 45 void OH_IPCParcel_Destroy(OHIPCParcel *parcel) in OH_IPCParcel_Destroy() 84 int OH_IPCParcel_GetDataSize(const OHIPCParcel *parcel) in OH_IPCParcel_GetDataSize() 89 int OH_IPCParcel_GetWritableBytes(const OHIPCParcel *parcel) in OH_IPCParcel_GetWritableBytes() 94 int OH_IPCParcel_GetReadableBytes(const OHIPCParcel *parcel) in OH_IPCParcel_GetReadableBytes() 99 int OH_IPCParcel_GetReadPosition(const OHIPCParcel *parcel) in OH_IPCParcel_GetReadPosition() 104 int OH_IPCParcel_GetWritePosition(const OHIPCParcel *parcel) in OH_IPCParcel_GetWritePosition() 138 int OH_IPCParcel_WriteInt8(OHIPCParcel *parcel, int8_t value) in OH_IPCParcel_WriteInt8() 178 int OH_IPCParcel_WriteFloat(OHIPCParcel *parcel, float value) in OH_IPCParcel_WriteFloat() 207 const char* OH_IPCParcel_ReadString(const OHIPCParcel *parcel) in OH_IPCParcel_ReadString() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/ |
H A D | rs_marshalling_helper.cpp | 101 bool RSMarshallingHelper::SkipData(Parcel& parcel) in SkipData() 132 bool RSMarshallingHelper::SkipImage(Parcel& parcel) in SkipImage() 149 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Matrix& val) in Marshalling() 154 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Matrix& val) in Unmarshalling() 231 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const EmitterConfig& val) in Marshalling() 235 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, EmitterConfig& val) in Unmarshalling() 243 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, ParticleVelocity& val) in Unmarshalling() 341 bool RSMarshallingHelper::SkipPixelMap(Parcel& parcel) in SkipPixelMap() 357 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const RRectT<float>& val) in Marshalling() 361 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, RRectT<float>& val) in Unmarshalling() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/ |
H A D | rs_marshalling_helper.cpp | 97 bool RSMarshallingHelper::SkipData(Parcel& parcel) in SkipData() 128 bool RSMarshallingHelper::SkipImage(Parcel& parcel) in SkipImage() 145 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Matrix& val) in Marshalling() 150 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Matrix& val) in Unmarshalling() 226 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const EmitterConfig& val) in Marshalling() 231 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, EmitterConfig& val) in Unmarshalling() 236 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const ParticleVelocity& val) in Marshalling() 241 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, ParticleVelocity& val) in Unmarshalling() 356 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const RRectT<float>& val) in Marshalling() 360 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, RRectT<float>& val) in Unmarshalling() [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_itypes_utils.cpp | 22 bool Marshalling(const Predicates &predicates, MessageParcel &parcel) in Marshalling() 31 bool Unmarshalling(Predicates &predicates, MessageParcel &parcel) in Unmarshalling() 75 bool Marshalling(const Operation &operation, MessageParcel &parcel) in Marshalling() 81 bool Unmarshalling(Operation &operation, MessageParcel &parcel) in Unmarshalling() 99 bool Marshalling(const Data &data, MessageParcel &parcel) in Marshalling() 105 bool Unmarshalling(Data &data, MessageParcel &parcel) in Unmarshalling() 111 bool Unmarshalling(TemplateId &templateId, MessageParcel &parcel) in Unmarshalling() 171 bool Unmarshalling(AshmemNode &node, MessageParcel &parcel) in Unmarshalling() 179 bool Marshalling(const AshmemNode &node, MessageParcel &parcel) in Marshalling() 185 bool Marshalling(const Uri &node, MessageParcel &parcel) in Marshalling() [all …]
|
/ohos5.0/base/security/device_auth/common_lib/impl/src/ |
H A D | hc_parcel.c | 25 HcParcel parcel; in CreateParcel() local 40 void DeleteParcel(HcParcel *parcel) in DeleteParcel() 55 void ClearParcel(HcParcel *parcel) in ClearParcel() 72 uint32_t GetParcelDataSize(const HcParcel *parcel) in GetParcelDataSize() 83 const char *GetParcelData(const HcParcel *parcel) in GetParcelData() 91 const char *GetParcelLastChar(const HcParcel *parcel) in GetParcelLastChar() 190 HcBool ParcelReadInt32(HcParcel *parcel, int *dst) in ParcelReadInt32() 210 HcBool ParcelReadInt8(HcParcel *parcel, char *dst) in ParcelReadInt8() 269 static void ParcelRecycle(HcParcel *parcel) in ParcelRecycle() 326 HcBool ParcelWriteInt32(HcParcel *parcel, int src) in ParcelWriteInt32() [all …]
|
/ohos5.0/base/telephony/core_service/frameworks/native/src/ |
H A D | tel_ril_base_parcel.cpp | 21 bool Read(Parcel &parcel, int8_t &value) in Read() 26 bool Read(Parcel &parcel, uint8_t &value) in Read() 31 bool Read(Parcel &parcel, int32_t &value) in Read() 36 bool Read(Parcel &parcel, uint32_t &value) in Read() 41 bool Read(Parcel &parcel, int64_t &value) in Read() 46 bool Read(Parcel &parcel, uint64_t &value) in Read() 51 bool Read(Parcel &parcel, bool &value) in Read() 56 bool Read(Parcel &parcel, std::string &value) in Read() 61 bool Write(Parcel &parcel, const int8_t &value) in Write() 66 bool Write(Parcel &parcel, const uint8_t &value) in Write() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/ |
H A D | rs_transaction_data_test.cpp | 81 Parcel parcel; variable 94 Parcel parcel; variable 108 Parcel parcel; variable 121 Parcel parcel; variable 136 Parcel parcel; variable 150 Parcel parcel; variable 165 Parcel parcel; variable 181 Parcel parcel; variable 198 Parcel parcel; variable 216 Parcel parcel; variable [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/ |
H A D | b_file_info_test.cpp | 51 Parcel parcel; variable 74 Parcel parcel; variable 93 Parcel parcel; variable 112 Parcel parcel; variable 132 Parcel parcel; variable 152 Parcel parcel; variable 172 Parcel parcel; variable 193 Parcel parcel; variable 211 Parcel parcel; variable 234 Parcel parcel; variable [all …]
|
/ohos5.0/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/ |
H A D | user_auth_hdi_fuzzer.cpp | 241 void FuzzInit(Parcel &parcel) in FuzzInit() 248 void FuzzAddExecutor(Parcel &parcel) in FuzzAddExecutor() 262 void FuzzDeleteExecutor(Parcel &parcel) in FuzzDeleteExecutor() 270 void FuzzOpenSession(Parcel &parcel) in FuzzOpenSession() 280 void FuzzCloseSession(Parcel &parcel) in FuzzCloseSession() 288 void FuzzBeginEnrollment(Parcel &parcel) in FuzzBeginEnrollment() 336 void FuzzGetCredential(Parcel &parcel) in FuzzGetCredential() 347 void FuzzGetSecureInfo(Parcel &parcel) in FuzzGetSecureInfo() 359 void FuzzDeleteUser(Parcel &parcel) in FuzzDeleteUser() 510 void FuzzSendMessage(Parcel &parcel) in FuzzSendMessage() [all …]
|
/ohos5.0/base/msdp/device_status/utils/common/include/ |
H A D | devicestatus_common.h | 38 #define WRITEBOOL(parcel, data, ...) \ argument 46 #define WRITEINT32(parcel, data, ...) \ argument 54 #define WRITEINT64(parcel, data, ...) \ argument 62 #define WRITEUINT32(parcel, data, ...) \ argument 70 #define WRITEDOUBLE(parcel, data, ...) \ argument 78 #define WRITEFLOAT(parcel, data, ...) \ argument 86 #define WRITESTRING(parcel, data, ...) \ argument 134 #define READBOOL(parcel, data, ...) \ argument 142 #define READINT32(parcel, data, ...) \ argument 150 #define READINT64(parcel, data, ...) \ argument [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/quick_fix/quick_fix_info_test/ |
H A D | quick_fix_info_test.cpp | 59 Parcel parcel; variable 76 Parcel parcel; variable 93 Parcel parcel; variable 112 Parcel parcel; variable 131 Parcel parcel; variable 150 Parcel parcel; variable 169 Parcel parcel; variable 188 Parcel parcel; variable 205 Parcel parcel; variable
|
/ohos5.0/drivers/peripheral/display/hdi_service/device/src/util/ |
H A D | display_device_common.cpp | 41 bool DisplayDeviceWriteUint32(MessageParcel *parcel, uint32_t data) in DisplayDeviceWriteUint32() 58 bool DisplayDeviceReadUint32(uint32_t *data, OHOS::MessageParcel *parcel) in DisplayDeviceReadUint32() 71 bool DisplayDeviceWriteInt32(OHOS::MessageParcel *parcel, int32_t data) in DisplayDeviceWriteInt32() 88 bool DisplayDeviceReadInt32(int32_t *data, OHOS::MessageParcel *parcel) in DisplayDeviceReadInt32() 100 bool DisplayDeviceWriteBool(OHOS::MessageParcel *parcel, bool data) in DisplayDeviceWriteBool() 116 bool DisplayDeviceReadBool(bool *data, OHOS::MessageParcel *parcel) in DisplayDeviceReadBool() 129 bool DisplayDeviceWriteUint64(OHOS::MessageParcel *parcel, uint64_t data) in DisplayDeviceWriteUint64() 147 bool DisplayDeviceReadUint64(uint64_t *data, OHOS::MessageParcel *parcel) in DisplayDeviceReadUint64() 160 bool DisplayDeviceWritePtr(OHOS::MessageParcel *parcel, uintptr_t data) in DisplayDeviceWritePtr() 177 bool DisplayDeviceReadPtr(uintptr_t *&data, OHOS::MessageParcel *parcel) in DisplayDeviceReadPtr() [all …]
|
/ohos5.0/base/security/crypto_framework/common/src/ |
H A D | hcf_parcel.c | 26 HcParcel parcel; in CreateParcel() local 41 void DeleteParcel(HcParcel *parcel) in DeleteParcel() 56 uint32_t GetParcelDataSize(const HcParcel *parcel) in GetParcelDataSize() 67 const char *GetParcelData(const HcParcel *parcel) in GetParcelData() 75 static bool ParcelRealloc(HcParcel *parcel, uint32_t size) in ParcelRealloc() 94 static bool ParcelIncrease(HcParcel *parcel, uint32_t size) in ParcelIncrease() 114 static void ParcelRecycle(HcParcel *parcel) in ParcelRecycle() 132 static uint32_t GetParcelIncreaseSize(HcParcel *parcel, uint32_t newSize) in GetParcelIncreaseSize() 144 bool ParcelWrite(HcParcel *parcel, const void *src, uint32_t dataSize) in ParcelWrite() 170 bool ParcelWriteInt8(HcParcel *parcel, char src) in ParcelWriteInt8() [all …]
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/ |
H A D | parcel_wrapper.cpp | 111 bool ReadString(Parcel &parcel, rust::string &val) in ReadString() 122 bool WriteString(Parcel &parcel, const rust::str val) in WriteString() 128 bool WriteString16(Parcel &parcel, const rust::str val) in WriteString16() 133 rust::string ReadString16(Parcel &parcel) in ReadString16() 227 bool ReadBoolVector(Parcel &parcel, rust::vec<bool> &val) in ReadBoolVector() 231 bool ReadInt8Vector(Parcel &parcel, rust::vec<int8_t> &val) in ReadInt8Vector() 235 bool ReadInt16Vector(Parcel &parcel, rust::vec<int16_t> &val) in ReadInt16Vector() 239 bool ReadInt32Vector(Parcel &parcel, rust::vec<int32_t> &val) in ReadInt32Vector() 243 bool ReadInt64Vector(Parcel &parcel, rust::vec<int64_t> &val) in ReadInt64Vector() 247 bool ReadUInt8Vector(Parcel &parcel, rust::vec<uint8_t> &val) in ReadUInt8Vector() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_types_util.cpp | 22 bool Unmarshalling(Predicates &predicates, MessageParcel &parcel) in Unmarshalling() 44 bool Unmarshalling(Operation &operation, MessageParcel &parcel) in Unmarshalling() 50 bool Unmarshalling(PublishedDataItem &dataItem, MessageParcel &parcel) in Unmarshalling() 56 bool Marshalling(const PublishedDataItem &dataItem, MessageParcel &parcel) in Marshalling() 62 bool Unmarshalling(Data &data, MessageParcel &parcel) in Unmarshalling() 68 bool Unmarshalling(TemplateId &templateId, MessageParcel &parcel) in Unmarshalling() 74 bool Marshalling(const TemplateId &templateId, MessageParcel &parcel) in Marshalling() 86 bool Marshalling(const RdbChangeNode &changeNode, MessageParcel &parcel) in Marshalling() 98 bool Marshalling(const OperationResult &operationResult, MessageParcel &parcel) in Marshalling() 104 bool Unmarshalling(AshmemNode &node, MessageParcel &parcel) in Unmarshalling() [all …]
|
/ohos5.0/base/sensors/sensor/utils/common/include/ |
H A D | sensor_parcel.h | 23 #define WRITEBOOL(parcel, data, ...) \ argument 31 #define WRITEINT32(parcel, data, ...) \ argument 39 #define WRITEINT64(parcel, data, ...) \ argument 47 #define WRITEUINT32(parcel, data, ...) \ argument 55 #define WRITEDOUBLE(parcel, data, ...) \ argument 63 #define WRITESTRING(parcel, data, ...) \ argument 95 #define READBOOL(parcel, data, ...) \ argument 103 #define READINT32(parcel, data, ...) \ argument 111 #define READINT64(parcel, data, ...) \ argument 119 #define READUINT32(parcel, data, ...) \ argument [all …]
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/unittest/ |
H A D | accessibility_element_info_parcel_test.cpp | 99 Parcel parcel; variable 118 Parcel parcel; variable 137 Parcel parcel; variable 156 Parcel parcel; variable 175 Parcel parcel; variable 194 Parcel parcel; variable 213 Parcel parcel; variable 232 Parcel parcel; variable 251 Parcel parcel; variable 270 Parcel parcel; variable [all …]
|
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/ |
H A D | schedule_node_fuzzer.cpp | 56 void FuzzScheduleNodeGetScheduleId(Parcel &parcel) in FuzzScheduleNodeGetScheduleId() 66 void FuzzScheduleNodeGetContextId(Parcel &parcel) in FuzzScheduleNodeGetContextId() 76 void FuzzScheduleNodeGetAuthType(Parcel &parcel) in FuzzScheduleNodeGetAuthType() 96 void FuzzScheduleNodeGetScheduleMode(Parcel &parcel) in FuzzScheduleNodeGetScheduleMode() 116 void FuzzScheduleNodeGetVerifyExecutor(Parcel &parcel) in FuzzScheduleNodeGetVerifyExecutor() 126 void FuzzScheduleNodeGetTemplateIdList(Parcel &parcel) in FuzzScheduleNodeGetTemplateIdList() 146 void FuzzScheduleNodeStartSchedule(Parcel &parcel) in FuzzScheduleNodeStartSchedule() 156 void FuzzScheduleNodeStopSchedule(Parcel &parcel) in FuzzScheduleNodeStopSchedule() 166 void FuzzScheduleNodeSendMessage(Parcel &parcel) in FuzzScheduleNodeSendMessage() 179 void FuzzScheduleNodeContinueSchedule(Parcel &parcel) in FuzzScheduleNodeContinueSchedule() [all …]
|
/ohos5.0/base/location/test/location_gnss/source/ |
H A D | gnss_ability_stub_test.cpp | 53 MessageParcel parcel; variable 70 MessageParcel parcel; variable 87 MessageParcel parcel; variable 104 MessageParcel parcel; variable 121 MessageParcel parcel; variable 138 MessageParcel parcel; variable 155 MessageParcel parcel; variable 172 MessageParcel parcel; variable 189 MessageParcel parcel; variable 206 MessageParcel parcel; variable [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_common_test.cpp | 69 Parcel parcel; variable 93 Parcel parcel; variable 121 Parcel parcel; variable 146 Parcel parcel; variable 199 Parcel parcel; variable 227 Parcel parcel; variable 251 Parcel parcel; variable 279 Parcel parcel; variable 300 Parcel parcel; variable 321 Parcel parcel; variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | udmf_types_util.cpp | 26 bool Marshalling(const UnifiedData &input, MessageParcel &parcel) in Marshalling() 43 bool Unmarshalling(UnifiedData &output, MessageParcel &parcel) in Unmarshalling() 107 bool Marshalling(const Summary &input, MessageParcel &parcel) in Marshalling() 113 bool Unmarshalling(Summary &output, MessageParcel &parcel) in Unmarshalling() 119 bool Marshalling(const Privilege &input, MessageParcel &parcel) in Marshalling() 125 bool Unmarshalling(Privilege &output, MessageParcel &parcel) in Unmarshalling() 137 bool Unmarshalling(CustomOption &output, MessageParcel &parcel) in Unmarshalling() 149 bool Unmarshalling(QueryOption &output, MessageParcel &parcel) in Unmarshalling() 155 bool Marshalling(const UDType &input, MessageParcel &parcel) in Marshalling() 162 bool Unmarshalling(UDType &output, MessageParcel &parcel) in Unmarshalling() [all …]
|
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | i_anco_consumer.cpp | 30 static bool MarshalVector(const std::vector<T> &data, Parcel &parcel, bool (*writeOne)(const T &arg… in MarshalVector() 48 static bool UnmarshalVector(Parcel &parcel, std::vector<T> &data, bool (*readOne)(Parcel &parcel, T… in UnmarshalVector() 72 static bool MarshalRect(const Rect &rect, Parcel &parcel) in MarshalRect() 82 static bool UnmarshalRect(Parcel &parcel, Rect &rect) in UnmarshalRect() 92 static bool MarshalWindowInfo(const AncoWindowInfo &windowInfo, Parcel &parcel) in MarshalWindowInfo() 106 static bool UnmarshalWindowInfo(Parcel &parcel, AncoWindowInfo &windowInfo) in UnmarshalWindowInfo() 124 bool AncoWindows::Marshalling(const AncoWindows &windows, Parcel &parcel) in Marshalling() 133 bool AncoWindows::Unmarshalling(Parcel &parcel, AncoWindows &windows) in Unmarshalling()
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_data_channel_proxy.cpp | 44 … DELETE_BACKWARD, [length](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, length); }); in DeleteBackward() 51 [&text](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, text); }); in GetTextBeforeCursor() 57 …GET_TEXT_AFTER_CURSOR, [number](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, number… in GetTextAfterCursor() 58 [&text](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, text); }); in GetTextAfterCursor() 75 …SEND_FUNCTION_KEY, [funcKey](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, funcKey);… in SendFunctionKey() 86 [&keyType](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, keyType); }); in GetEnterKeyType() 92 … [&inputPattern](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, inputPattern); }); in GetInputPattern() 98 [&index](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, index); }); in GetTextIndexAtCursor() 104 [&textConfig](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, textConfig); }); in GetTextConfig() 115 return SendRequest(SELECT_BY_MOVEMENT, [direction, cursorMoveSkip](MessageParcel &parcel) { in SelectByMovement() [all …]
|