Home
last modified time | relevance | path

Searched refs:Code (Results 1 - 16 of 16) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_result_set_stub.h26 using Code = NativeRdb::RemoteResultSet::Code;
52 static constexpr RequestHandle HANDLERS[Code::CMD_MAX] = {
53 [Code::CMD_GET_ALL_COLUMN_NAMES] = &RdbResultSetStub::OnGetAllColumnNames,
54 [Code::CMD_GET_COLUMN_COUNT] = &RdbResultSetStub::OnGetColumnCount,
55 [Code::CMD_GET_COLUMN_TYPE] = &RdbResultSetStub::OnGetColumnType,
56 [Code::CMD_GET_ROW_COUNT] = &RdbResultSetStub::OnGetRowCount,
57 [Code::CMD_GET_ROW_INDEX] = &RdbResultSetStub::OnGetRowIndex,
58 [Code::CMD_GO_TO] = &RdbResultSetStub::OnGoTo,
59 [Code
[all...]
H A Drdb_result_set_stub.cpp36 if (code >= 0 && code < Code::CMD_MAX) { in OnRemoteRequest()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dresult_set_proxy.cpp25 using Code = RemoteResultSet::Code;
41 return Send(Code::CMD_GET_COLUMN_COUNT, count); in GetColumnCount()
47 int status = SendRequest(Code::CMD_GET_COLUMN_TYPE, reply, columnIndex); in GetColumnType()
61 return Send(Code::CMD_GET_ROW_COUNT, count); in GetRowCount()
66 return Send(Code::CMD_GET_ROW_INDEX, position); in GetRowIndex()
72 return SendRequest(Code::CMD_GO_TO, reply, offset); in GoTo()
78 return SendRequest(Code::CMD_GO_TO_ROW, reply, position); in GoToRow()
83 return Send(Code::CMD_GO_TO_FIRST_ROW); in GoToFirstRow()
88 return Send(Code in GoToLastRow()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_result_set_stub_test.cpp56 auto ret = rdbResultSetStub1->OnRemoteRequest(RdbResultSetStub::Code::CMD_GET_ALL_COLUMN_NAMES, in HWTEST_F()
71 ret = rdbResultSetStub2->OnRemoteRequest(RdbResultSetStub::Code::CMD_GET_ALL_COLUMN_NAMES, in HWTEST_F()
79 ret = rdbResultSetStub3->OnRemoteRequest(RdbResultSetStub::Code::CMD_GET_ALL_COLUMN_NAMES, in HWTEST_F()
109 code = 20; // invalid code > Code::CMD_MAX in HWTEST_F()
132 for (uint32_t i = RdbResultSetStub::Code::CMD_GET_ALL_COLUMN_NAMES; i < RdbResultSetStub::Code::CMD_MAX; ++i) in HWTEST_F()
134 RdbResultSetStub::Code code = static_cast<RdbResultSetStub::Code>(i); in HWTEST_F()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/proxy/
H A Dintell_voice_engine_callback_stub.cpp33 IIntelligentVoiceEngineCallback::Code msgCode = static_cast<IIntelligentVoiceEngineCallback::Code>(code); in OnRemoteRequest()
H A Dintell_voice_update_callback_stub.cpp33 IIntelligentVoiceUpdateCallback::Code msgCode = static_cast<IIntelligentVoiceUpdateCallback::Code>(code); in OnRemoteRequest()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_gatt_observer.h27 enum Code { enum in OHOS::Bluetooth::IBluetoothGattObserver
H A Di_bluetooth_a2dp_src_observer.h31 enum Code { enum in OHOS::Bluetooth::IBluetoothA2dpSourceObserver
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/
H A Di_intell_voice_update_callback.h34 enum Code { enum in OHOS::IntellVoice::IIntelligentVoiceUpdateCallback
H A Di_intell_voice_engine_callback.h35 enum Code { enum in OHOS::IntellVoiceEngine::IIntelligentVoiceEngineCallback
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/include/
H A Dgif_encoder.h74 void AddToDictionary(uint32_t Key, int Code);
77 uint32_t LZWWriteOut(int Code);
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/sa/
H A Dintell_voice_update_callback_proxy.cpp42 int32_t error = Remote()->SendRequest(IIntelligentVoiceUpdateCallback::Code::ON_INTELL_VOICE_UPDATE_EVENT, in OnUpdateComplete()
H A Dintell_voice_engine_callback_proxy.cpp52 int32_t error = Remote()->SendRequest(IIntelligentVoiceEngineCallback::Code::ON_INTELL_VOICE_ENGINE_EVENT, in OnIntellVoiceEngineEvent()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/rdbresultsetstub_fuzzer/
H A Drdbresultsetstub_fuzzer.cpp33 constexpr uint32_t CODE_MAX = NativeRdb::RemoteResultSet::Code::CMD_MAX + 1;
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dremote_result_set.h61 enum Code { enum in OHOS::NativeRdb::RemoteResultSet
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_encoder.cpp609 void GifEncoder::AddToDictionary(uint32_t Key, int Code) in AddToDictionary() argument
615 dictionary_[key] = (Key << LZ_BITS) | (Code & 0x0FFF); in AddToDictionary()
685 uint32_t GifEncoder::LZWWriteOut(int Code) in LZWWriteOut() argument
688 if (Code == FLUSH_OUTPUT) { in LZWWriteOut()
701 crntShiftDWord_ |= ((long)Code) << crntShiftState_; in LZWWriteOut()
711 if (runningCode_ >= maxCode_ && Code <= LZ_MAX_CODE) { in LZWWriteOut()

Completed in 15 milliseconds