Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 88) sorted by relevance

1234

/applications/standard/contacts_data/dataBusiness/voicemail/src/
Dvoicemail_database.cpp48 int ret = store_->Insert(outRowId, tableName, insertValues); in InsertVoiceMail() local
67 int ret = store_->Update(changedRows, values, rdbPredicates); in UpdateVoiceMail() local
82 int ret = store_->Delete(deletedRows, rdbPredicates); in DeleteVoiceMail() local
107 int ret = store_->BeginTransaction(); in BeginTransaction() local
120 int ret = store_->Commit(); in Commit() local
133 int ret = store_->RollBack(); in RollBack() local
/applications/standard/contacts_data/dataBusiness/calllog/src/
Dcalllog_database.cpp57 int ret = store_->BeginTransaction(); in BeginTransaction() local
70 int ret = store_->Commit(); in Commit() local
83 int ret = store_->RollBack(); in RollBack() local
143 int ret = store.SetVersion(newVersion); in OnDowngrade() local
162 int ret = store_->Insert(outRowId, CallsTableName::CALLLOG, insertValues); in InsertCallLog() local
188 int ret = store_->Update(changeRow, values, predicates); in UpdateCallLog() local
210 int ret = store_->Delete(deleteRow, predicates); in DeleteCallLog() local
286 int ret = UpdateTopContact(insertValues); in QueryContactsByInsertCalls() local
323 int ret = ContactsDataBase::GetInstance()->contactStore_->ExecuteSql(sqlBuild, bindArgs); in UpdateTopContact() local
/applications/standard/app_samples/code/BasicFeature/Native/NdkNativeWindow/entry/src/main/cpp/
DNativeImageAdaptor.cpp94 unsigned int ret; in InitEGLEnv() local
143 bool ret = InitNativeWindow(); in Export() local
161 int32_t ret = OH_NativeWindow_NativeWindowHandleOpt(nativeWindow_, code, width_, height_); in InitNativeWindow() local
209 int32_t ret = OH_NativeWindow_NativeWindowHandleOpt(nativeWindowCache_, code, width_, height_); in InitNativeWindowCache() local
245 int ret = OH_NativeWindow_NativeWindowAttachBuffer(nativeWindowCache_, buffer); in AttachBuffer() local
263 int ret = OH_NativeWindow_NativeWindowDetachBuffer(nativeWindowCache_, buffer); in DettachBuffer() local
278 int32_t ret = OH_NativeWindow_NativeWindowHandleOpt(nativeWindow_, code, value); in SetConfigAndGetValue() local
331 int32_t ret = OH_NativeBuffer_FromNativeWindowBuffer(buffer, &nativeBuffer); in GetBufferMapPlanes() local
356 int ret = OH_NativeWindow_NativeWindowRequestBuffer(InNativeWindow, &buffer, &fenceFd); in ProduceBuffer() local
412 int ret = OH_NativeImage_AcquireNativeWindowBuffer(image_, &buffer, &fenceFd); in ConsumerBuffer() local
[all …]
DNativeRender.cpp28 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width, &height); in OnSurfaceCreatedCB() local
104 int32_t ret; in Export() local
167 auto ret = OH_NativeBuffer_SetColorSpace(nativeBuffer, OH_COLORSPACE_SRGB_FULL); in NativeBufferApi() local
181 auto ret = OH_NativeWindow_WriteToParcel(nativeWindow, parcel); in TestReadWriteWindow() local
208 auto ret = OH_NativeWindow_GetSurfaceId(nativeWindow_, &surfaceId); in DrawBaseColor() local
/applications/standard/app_samples/code/BasicFeature/Media/Camera/entry/src/main/cpp/
Dcamera_manager.cpp34 Camera_ErrorCode ret = OH_Camera_GetCameraManager(&cameraManager_); in NDKCamera() local
58 Camera_ErrorCode ret = CAMERA_OK; in ~NDKCamera() local
122 Camera_ErrorCode ret = OH_CaptureSession_Release(captureSession_); in SessionRealese() local
133 Camera_ErrorCode ret = OH_CaptureSession_HasFlash(captureSession_, &hasFlash); in HasFlashFn() local
178 Camera_ErrorCode ret = in IsVideoStabilizationModeSupportedFn() local
213 Camera_ErrorCode ret = OH_CaptureSession_GetZoomRatioRange(captureSession_, &minZoom, &maxZoom); in setZoomRatioFn() local
241 Camera_ErrorCode ret = OH_CaptureSession_BeginConfig(captureSession_); in SessionBegin() local
252 Camera_ErrorCode ret = OH_CaptureSession_CommitConfig(captureSession_); in SessionCommitConfig() local
263 Camera_ErrorCode ret = OH_CaptureSession_Start(captureSession_); in SessionStart() local
274 Camera_ErrorCode ret = OH_CaptureSession_Stop(captureSession_); in SessionStop() local
[all …]
/applications/sample/camera/setting/setting/src/main/cpp/
Dwpa_work.c136 int ret = SendCtrlCommand("STATUS", connInfo, &infoLen); in GetCurrentConnInfo() local
175 int ret; in ExitWpaScan() local
190 int ret; in ExitWpa() local
224 int ret = g_scanAvailable; in GetAndResetScanStat() local
246 int i, ret, err; in CheckSsid() local
342 int fd, ret; in MonitorTask() local
371 int ret = SendCtrlCommand("DISCONNECT", networkId, &networkIdLen); in TestNetworkConfig() local
420 int ret; in InitControlInterface() local
457 int ret = InitControlInterface(); in WpaScanThread() local
475 …int ret = pthread_create(&g_scanThreadId, NULL, WpaScanThread, NULL); // create thread for read ev… in WpaScanReconnect() local
[all …]
Dapp_info_ability_slice.h56 int ret = 0; in SetPermissionName() local
67 int ret = 0; in SetBundleName() local
78 int ret; in OnClick() local
/applications/standard/contacts_data/test/unittest/src/
Dmergecontact_test.cpp224 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
258 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
301 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
336 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
382 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
431 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
470 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
517 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
562 int ret = contactsDataAbility.Update(uriAutoMerge, predicates, value); variable
608 int ret = contactsDataAbility.Update(uriSplitContact, predicates, valueTwo); variable
[all …]
/applications/standard/app_samples/code/BasicFeature/Native/NdkOpenGL/entry/src/main/cpp/
Dapp_napi.cpp53 int ret = angle % CIRCUMFERENCE_DEGREE; in Normalize() local
64 int32_t ret; in OnSurfaceCreatedCB() local
79 int32_t ret; in OnSurfaceChangedCB() local
94 int32_t ret; in OnSurfaceDestroyedCB() local
111 int32_t ret; in DispatchTouchEventCB() local
126 int32_t ret; in DispatchMouseEventCB() local
187 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceCreated() local
206 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceChanged() local
236 int32_t ret = OH_NativeXComponent_GetTouchEvent(component, window, &touchEvent_); in DispatchTouchEvent() local
268 int32_t ret = OH_NativeXComponent_GetMouseEvent(component, window, &mouseEvent_); in DispatchMouseEvent() local
[all …]
/applications/standard/calendardata/calendarmanager/test/unittest/src/
Ddata_share_helper_manager_test.cpp56 auto ret = DataShareHelperManager::GetInstance().Insert(testUrl, value); variable
66 auto ret = DataShareHelperManager::GetInstance().Update(testUrl, predicates, value); variable
75 auto ret = DataShareHelperManager::GetInstance().Delete(testUrl, predicates); variable
86 auto ret = DataShareHelperManager::GetInstance().Query(testUrl, predicates, columns, &error); variable
Dcalendar_test.cpp62 auto ret = CalendarManager::GetInstance().DeleteCalendar(*calendar.get()); in TearDownTestSuite() local
95 auto ret = calendar->DeleteEvent(eventId); variable
170 auto ret = calendar->UpdateEvent(newEvent); variable
214 auto ret = calendar->SetConfig(config); variable
Devent_reminder_test.cpp41 auto ret = CalendarManager::GetInstance().DeleteCalendar(*calendar.get()); in TearDownTestSuite() local
84 auto ret = calendar->DeleteEvent(eventId); variable
107 auto ret = calendar->UpdateEvent(resultEvent); variable
/applications/standard/contacts_data/dataBusiness/contacts/src/
Dcontacts_database.cpp102 int ret = store_->BeginTransaction(); in BeginTransaction() local
115 int ret = store_->Commit(); in Commit() local
128 int ret = store_->RollBack(); in RollBack() local
175 int ret = rawContacts.UpdateRawContact(store_, upRawContactValues, upWhereClause, upWhereArgs); in InsertRawContact() local
259 int ret = store_->Insert(outDataRowId, table, contactDataValues); in InsertContactData() local
332 int ret = store_->Insert(outGroupRowId, table, initialValues); in InsertGroup() local
351 int ret = store_->Insert(outRowId, table, initialValues); in InsertBlockList() local
373 int ret = BeginTransaction(); in UpdateContactData() local
433 int ret = store_->Update(changedRows, values, rdbPredicates); in UpdateRawContact() local
468 int ret = store_->Update(changedRows, values, rdbPredicates); in UpdateBlockList() local
[all …]
Dcontacts_datashare_stub_impl.cpp88 int ret = 0; in Insert() local
106 int ret = 0; in Update() local
123 int ret = 0; in Delete() local
154 int ret = 0; in BatchInsert() local
202 ErrCode ret = obsMgrClient->RegisterObserver(uri, dataObserver); in RegisterObserver() local
220 ErrCode ret = obsMgrClient->UnregisterObserver(uri, dataObserver); in UnregisterObserver() local
236 ErrCode ret = obsMgrClient->NotifyChange(uri); in NotifyChange() local
Dcontacts_type.cpp46 int ret = store_->Insert(outRowId, ContactTableName::CONTACT_TYPE, values); in Insert() local
95 int ret = resultSet->GoToFirstRow(); in LookupTypeId() local
118 int ret = resultSet->GoToFirstRow(); in GetTypeText() local
/applications/sample/camera/media/
Dplayer_sample.cpp365 int32_t ret = sample.adapter->SetVideoSurface(sample.surface); in SetSurface() local
409 int32_t ret = pthread_create(&sample.process, &attr, streamProcess, &sample); in SetStreamSourceProcess() local
460 int32_t ret; in PlayProcess() local
477 int32_t ret; in ReleaseProcess() local
591 int32_t ret = sample.adapter->GetDuration(duration); in RunCmdShow() local
632 int32_t ret = sample.adapter->SetVolume(lvolume, rvolume); in RunCmdSetVolume() local
660 int ret; in RunCmdPressurePupl() local
678 int ret; in RunCmdPressureSeek() local
710 int32_t ret = sample.adapter->EnableSingleLooping(loop == 1); in RunCmdLoop() local
725 int32_t ret = sample.adapter->SetPlaybackSpeed(speed); in RunCmdSpeed() local
[all …]
/applications/standard/app_samples/code/BasicFeature/Native/XComponent3D/entry/src/main/cpp/
Dapp_napi.cpp47 int32_t ret; in OnSurfaceCreatedCB() local
76 int32_t ret; in OnSurfaceDestroyedCB() local
92 int32_t ret; in DispatchTouchEventCB() local
107 int32_t ret; in DispatchMouseEventCB() local
164 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceCreated() local
183 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceChanged() local
213 int32_t ret = OH_NativeXComponent_GetTouchEvent(component, window, &touchEvent_); in DispatchTouchEvent() local
244 int32_t ret = OH_NativeXComponent_GetMouseEvent(component, window, &mouseEvent_); in DispatchMouseEvent() local
273 int32_t ret; in Quit() local
306 int32_t ret; in GetXComponentId() local
/applications/standard/calendardata/calendarmanager/native/src/
Dnative_calendar.cpp132 auto ret = DataShareHelperManager::GetInstance().Delete(*(m_eventUri.get()), predicates); in DeleteEvent() local
140 auto ret = DataShareHelperManager::GetInstance().Delete(*(m_eventUri.get()), predicates); in DeleteAllEvents() local
167 …auto ret = DataShareHelperManager::GetInstance().Update(*(m_eventUri.get()), m_predicates, valueEv… in UpdateEvent() local
173 auto ret = DataShareHelperManager::GetInstance().Delete(*(m_attendeeUri.get()), predicates); in UpdateEvent() local
190 auto ret = DataShareHelperManager::GetInstance().Delete(*(m_reminderUrl.get()), predicates); in UpdateEvent() local
239 auto ret = ResultSetToReminders(reminders, result); in GetRemindersByEventId() local
323 …auto ret = DataShareHelperManager::GetInstance().Update(*(m_calendarUri.get()), m_predicates, valu… in SetConfig() local
/applications/standard/app_samples/code/BasicFeature/Native/NdkXComponent/entry/src/main/cpp/render/
Dplugin_render.cpp130 int32_t ret; in DispatchMouseEventCB() local
148 int32_t ret; in DispatchHoverEventCB() local
166 int32_t ret; in OnFocusEventCB() local
184 int32_t ret; in OnBlurEventCB() local
202 int32_t ret; in OnKeyEventCB() local
383 int32_t ret = OH_NativeXComponent_GetMouseEvent(component, window, &mouseEvent); in OnMouseEvent() local
438 napi_status ret = napi_create_int32(env, hasDraw_, &(hasDraw)); in TestGetXComponentStatus() local
/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/
Dplugin_render.cpp30 int32_t ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in GetXComponentId() local
142 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceCreated() local
157 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceChanged() local
173 int32_t ret = OH_NativeXComponent_GetTouchEvent(component, window, &touchEvent_); in DispatchTouchEvent() local
/applications/sample/camera/communication/wpa_cli/src/
Dwpa_cli_sample.c110 int fd, ret; in MonitorTask() local
144 int ret = SendCtrlCommand("DISCONNECT", networkId, &networkIdLen); in TestNetworkConfig() local
191 int ret = SendCtrlCommand("PING", reply, &replyLen); in TestCliConnection() local
215 int ret = SendCtrlCommand("SCAN_RESULTS", scanResult, &scanLen); in TestScan() local
/applications/sample/camera/communication/hostapd/src/
Dhostapd_sample.c42 int ret = func(g_apArgc, g_apArg); in ThreadMain() local
63 int ret = pthread_create(&g_apThread, NULL, ThreadMain, NULL); in main() local
/applications/sample/camera/communication/wpa_supplicant/src/
Dwpa_sample.c42 int ret = func(g_wpaArgc, g_wpaArg); in ThreadMain() local
63 int ret = pthread_create(&g_wpaThread, NULL, ThreadMain, NULL); in main() local
/applications/standard/calendardata/calendarmanager/native/include/
Dnative_util.h72 auto ret = resultSet->GetColumnIndex(fieldNameStr, index); in GetValue() local
85 auto ret = resultSet->GetColumnIndex(string(fieldName), index); in GetValueOptional() local
/applications/standard/contacts_data/ability/datadisasterrecovery/src/
Ddatabase_disaster_recovery.cpp72 int ret = SQLiteCheckDb(store_, kv.first); in SQLiteCheckDb() local
127 int ret = BackDatabase(kv.first); in BackDatabase() local
150 int ret = store_->Insert(outRowId, ContactTableName::DATABASE_BACKUP_TASK, values); in BackDatabase() local

1234