Home
last modified time | relevance | path

Searched refs:status (Results 1826 - 1850 of 9447) sorted by relevance

1...<<71727374757677787980>>...378

/third_party/ltp/testcases/kernel/syscalls/wait4/
H A Dwait401.c23 int status = 1; in run() local
32 TST_EXP_PID_SILENT(wait4(pid, &status, 0, &rusage), "wait4()"); in run()
43 if (!WIFEXITED(status)) { in run()
44 tst_res(TFAIL, "WIFEXITED() not set in status (%s)", in run()
45 tst_strstatus(status)); in run()
49 tst_res(TPASS, "WIFEXITED() is set in status"); in run()
51 if (WEXITSTATUS(status)) in run()
52 tst_res(TFAIL, "WEXITSTATUS() != 0 but %i", WEXITSTATUS(status)); in run()
/third_party/ltp/testcases/kernel/syscalls/waitpid/
H A Dwaitpid01.c22 int status; in run() local
30 TST_EXP_PID_SILENT(waitpid(pid, &status, 0)); in run()
41 if (!WIFSIGNALED(status)) { in run()
42 tst_res(TFAIL, "WIFSIGNALED() not set in status (%s)", in run()
43 tst_strstatus(status)); in run()
47 tst_res(TPASS, "WIFSIGNALED() set in status"); in run()
49 if (WTERMSIG(status) != SIGALRM) { in run()
51 tst_strsig(WTERMSIG(status))); in run()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_asset_manager_napi.cpp324 NAPI_DEBUG_LOG("query photo status : lowQuality"); in QueryPhotoStatus()
327 NAPI_DEBUG_LOG("query photo status quality: %{public}d", currentPhotoQuality); in QueryPhotoStatus()
463 napi_status status = napi_get_named_property(env, arg, "mediaAssetProgressHandler", &progressHandler); in GetMediaAssetProgressHandler() local
464 CHECK_COND_LOG_THROW_RETURN_RET(env, status == napi_ok, OHOS_INVALID_PARAM_CODE, in GetMediaAssetProgressHandler()
466 "failed to get mediaAssetProgressHandler, napi status: %{public}d", static_cast<int>(status)); in GetMediaAssetProgressHandler()
468 status = napi_typeof(env, progressHandler, &valueType); in GetMediaAssetProgressHandler()
469 CHECK_COND_LOG_THROW_RETURN_RET(env, status == napi_ok, OHOS_INVALID_PARAM_CODE, "invalid progress handler", in GetMediaAssetProgressHandler()
470 napi_invalid_arg, "failed to get type of progress handler, napi status: %{public}d", static_cast<int>(status)); in GetMediaAssetProgressHandler()
542 napi_status status = napi_typeof(env, arg, &valueType); ParseArgGetEfficientImageDataHandler() local
588 napi_status status = napi_typeof(env, arg, &valueType); ParseArgGetDataHandler() local
981 MultiStagesCapturePhotoStatus status = MultiStagesCapturePhotoStatus::HIGH_QUALITY_STATUS; OnHandleRequestImage() local
1072 napi_status status; GetInfoMapNapiValue() local
1262 napi_status status = napi_create_int32(env, process, &result); CallProgressCallback() local
1333 napi_status status = napi_call_threadsafe_function(assetHandler->threadSafeFunc, (void *)assetHandler, NotifyMediaDataPrepared() local
1387 napi_status status = napi_acquire_threadsafe_function(progressHandler->progressFunc); NotifyOnProgress() local
1713 JSLoadMovingPhotoComplete(napi_env env, napi_status status, void *data) JSLoadMovingPhotoComplete() argument
1776 napi_status status = napi_create_reference(env, context->dataHandler, PARAM1, &dataHandlerRef); CreateDataHandlerRef() local
1788 napi_status status = napi_create_reference(env, context->mediaAssetProgressHandler, PARAM1, &dataHandlerRef); CreateProgressHandlerRef() local
1803 napi_status status = napi_create_threadsafe_function(env, context->dataHandler, NULL, workName, 0, 1, CreateOnDataPreparedThreadSafeFunc() local
1818 napi_status status = napi_create_threadsafe_function(env, context->mediaAssetProgressHandler, NULL, workName, 0, 1, CreateOnProgressThreadSafeFunc() local
[all...]
/foundation/ability/ability_runtime/test/unittest/js_ui_service_extension_context_first_test/
H A Djs_ui_service_extension_context_first_test.cpp130 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", in HWTEST_F() local
132 EXPECT_EQ(status, napi_ok); in HWTEST_F()
153 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", in HWTEST_F() local
155 status = napi_typeof(env_, jsConnectionObject, &valueType); in HWTEST_F()
156 EXPECT_EQ(status, napi_ok); in HWTEST_F()
193 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", in HWTEST_F() local
195 EXPECT_EQ(status, napi_ok); in HWTEST_F()
215 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", in HWTEST_F() local
217 EXPECT_EQ(status, napi_ok); in HWTEST_F()
218 status in HWTEST_F()
267 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", HWTEST_F() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/
H A Dscreen_capture_session.cpp89 statusMsg->status = NOTIFY_SESSION_PRIVATE_EVENT; in HandleRtspPlay()
121 statusMsg->status = STATE_SESSION_ERROR; in HandleProsumerInitState()
128 statusMsg->status = STATE_SESSION_STARTED; in HandleProsumerInitState()
147 status_ = static_cast<SessionRunningStatus>(statusMsg->status); in UpdateOperation()
148 SHARING_LOGI("status: %{public}s.", std::string(magic_enum::enum_name(status_)).c_str()); in UpdateOperation()
151 statusMsg->status = NOTIFY_PROSUMER_CREATE; in UpdateOperation()
154 statusMsg->status = STATE_SESSION_STOPED; in UpdateOperation()
157 statusMsg->status = STATE_SESSION_PAUSED; in UpdateOperation()
160 statusMsg->status = STATE_SESSION_RESUMED; in UpdateOperation()
163 statusMsg->status in UpdateOperation()
[all...]
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_async_work.cpp45 status = napi_get_cb_info(env, info, &argc, argv, &self, nullptr); in GetCbInfo()
52 status = napi_unwrap(env, self, &native); in GetCbInfo()
61 status = napi_create_reference(env, argv[index], 1, &callbackRef); in GetCbInfo()
103 if (ctxt->execute && ctxt->status == napi_ok) { in Enqueue()
107 [](napi_env env, napi_status status, void* data) { in Enqueue()
110 if ((status != napi_ok) && (ctxt->status == napi_ok)) { in Enqueue()
111 ctxt->status = status; in Enqueue()
113 if ((ctxt->complete) && (status in Enqueue()
[all...]
H A Dnapi_avcast_controller.cpp88 auto status = napi_define_class(env, "AVCastController", NAPI_AUTO_LENGTH, ConstructorCallback, nullptr, in Init() local
90 if (status != napi_ok) { in Init()
153 context->status = NapiCastControlCommand::GetValue(env, argv[ARGV_FIRST], context->castCommand_); in SendControlCommand()
154 CheckSendCtrlCmdReportRadar((context->status == napi_ok), ERR_INVALID_PARAM); in SendControlCommand()
155 CHECK_ARGS_RETURN_VOID(context, (context->status == napi_ok), "invalid command", in SendControlCommand()
165 context->status = napi_generic_failure; in SendControlCommand()
175 context->status = napi_generic_failure; in SendControlCommand()
203 context->status = NapiUtils::GetValue(env, argv[ARGV_FIRST], context->avQueueItem_); in Start()
204 CheckStartReportRadar((context->status == napi_ok), ERR_INVALID_PARAM); in Start()
205 CHECK_ARGS_RETURN_VOID(context, context->status in Start()
764 auto status = NapiPlaybackState::ConvertFilter(env, filter, playbackMask); SetCastPlaybackStateFilter() local
781 auto status = napiCastController->callback_->AddCallback( OnPlaybackStateChange() local
803 auto status = napiCastController->callback_->AddCallback(env, OnPlayNext() local
818 auto status = napiCastController->callback_->AddCallback(env, OnPlayPrevious() local
839 auto status = napiCastController->callback_->AddCallback(env, OnSeekDone() local
961 auto status = napiCastController->callback_->RemoveCallback(env, OffPlaybackStateChange() local
989 auto status = napiCastController->callback_->RemoveCallback(env, OffPlayNext() local
1006 auto status = napiCastController->callback_->RemoveCallback(env, OffPlayPrevious() local
1029 auto status = napiCastController->callback_->RemoveCallback(env, OffSeekDone() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_asset_machine_test.cpp104 changedAssets_[uri_].status = STATUS_TRANSFERRING; in HWTEST_F()
106 ASSERT_EQ(changedAssets_[uri_].status, STATUS_WAIT_TRANSFER); in HWTEST_F()
128 changedAssets_[uri_].status = STATUS_TRANSFERRING; in HWTEST_F()
130 ASSERT_EQ(changedAssets_[uri_].status, STATUS_STABLE); in HWTEST_F()
150 changedAssets_[uri_].status = STATUS_UPLOADING; in HWTEST_F()
152 ASSERT_EQ(changedAssets_[uri_].status, STATUS_WAIT_TRANSFER); in HWTEST_F()
175 ASSERT_EQ(changedAssets_[uri_].status, STATUS_UPLOADING); in HWTEST_F()
178 ASSERT_EQ(changedAssets_[uri_].status, STATUS_STABLE); in HWTEST_F()
217 ASSERT_EQ(changedAssetInfo.status, STATUS_UPLOADING); in HWTEST_F()
220 ASSERT_EQ(changedAssetInfo.status, STATUS_WAIT_TRANSFE in HWTEST_F()
[all...]
/third_party/backends/backend/escl/
H A Descl_status.c43 * \brief Callback function that stocks in memory the content of the scanner status.
45 * \return realsize (size of the content needed -> the scanner status)
68 * --> to recover the scanner status.
184 * \brief Function that finally recovers the scanner status ('Idle', or not), using curl.
188 * \return status (if everything is OK, status = SANE_STATUS_GOOD, otherwise, SANE_STATUS_NO_MEM/SANE_STATUS_INVAL)
196 SANE_Status status = SANE_STATUS_DEVICE_BUSY; in escl_status() local
210 status = SANE_STATUS_DEVICE_BUSY; in escl_status()
228 status = SANE_STATUS_INVAL; in escl_status()
234 status in escl_status()
[all...]
H A Descl_pdf.c116 SANE_Status status = SANE_STATUS_GOOD; in get_PDF_data() local
125 status = SANE_STATUS_INVAL; in get_PDF_data()
132 status = SANE_STATUS_INVAL; in get_PDF_data()
139 status = SANE_STATUS_INVAL; in get_PDF_data()
149 status = SANE_STATUS_INVAL; in get_PDF_data()
156 status = SANE_STATUS_INVAL; in get_PDF_data()
164 status = SANE_STATUS_INVAL; in get_PDF_data()
176 status = SANE_STATUS_INVAL; in get_PDF_data()
183 status = SANE_STATUS_INVAL; in get_PDF_data()
200 status in get_PDF_data()
[all...]
/third_party/icu/icu4c/source/samples/layout/
H A DFontMap.cpp26 FontMap::FontMap(const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) in FontMap() argument
40 if (LE_FAILURE(status)) { in FontMap()
52 status = LE_FONT_FILE_NOT_FOUND_ERROR; in FontMap()
108 status = LE_ILLEGAL_ARGUMENT_ERROR; in FontMap()
199 const LEFontInstance *FontMap::getScriptFont(le_int32 scriptCode, LEErrorCode &status) in getScriptFont() argument
201 if (LE_FAILURE(status)) { in getScriptFont()
206 status = LE_ILLEGAL_ARGUMENT_ERROR; in getScriptFont()
216 status = LE_FONT_FILE_NOT_FOUND_ERROR; in getScriptFont()
221 fFontInstances[fontIndex] = openFont(fFontNames[fontIndex], fPointSize, status); in getScriptFont()
223 if (LE_FAILURE(status)) { in getScriptFont()
263 LEErrorCode status = LE_NO_ERROR; getMaxMetrics() local
[all...]
/third_party/icu/icu4c/source/test/perf/DateFmtPerf/
H A DDateFmtPerf.cpp21 DateFormatPerfTest::DateFormatPerfTest(int32_t argc, const char* argv[], UErrorCode& status) in DateFormatPerfTest() argument
22 : UPerfTest(argc,argv,status) { in DateFormatPerfTest()
200 UErrorCode status = U_ZERO_ERROR; in main() local
227 for(int j = 0; U_SUCCESS(status)&& j < FUNCTION_COUNT; j++) in main()
228 t[j] += (functions[j]->time(1, &status) / ITER_COUNT); in main()
234 if(U_SUCCESS(status)) { in main()
265 if(U_FAILURE(status)) { in main()
266 cout << "Error! " << u_errorName(status) << endl; in main()
275 UErrorCode status = U_ZERO_ERROR; in main() local
277 DateFormatPerfTest test(argc, argv, status); in main()
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbinode.cpp68 UErrorCode status = U_ZERO_ERROR; in RBBINode() local
69 fFirstPosSet = new UVector(status); // TODO - get a real status from somewhere in RBBINode()
70 fLastPosSet = new UVector(status); in RBBINode()
71 fFollowPos = new UVector(status); in RBBINode()
97 UErrorCode status = U_ZERO_ERROR; in RBBINode() local
98 fFirstPosSet = new UVector(status); // TODO - get a real status from somewhere in RBBINode()
99 fLastPosSet = new UVector(status); in RBBINode()
100 fFollowPos = new UVector(status); in RBBINode()
264 findNodes(UVector *dest, RBBINode::NodeType kind, UErrorCode &status) findNodes() argument
[all...]
/third_party/mbedtls/library/
H A Dpk_ecc.c53 psa_status_t status; in mbedtls_pk_ecc_set_key() local
70 status = psa_import_key(&attributes, key, key_len, &pk->priv_id); in mbedtls_pk_ecc_set_key()
71 return psa_pk_status_to_mbedtls(status); in mbedtls_pk_ecc_set_key()
94 psa_status_t status; in mbedtls_pk_ecc_set_pubkey_from_prv() local
96 status = psa_export_public_key(pk->priv_id, pk->pub_raw, sizeof(pk->pub_raw), in mbedtls_pk_ecc_set_pubkey_from_prv()
98 return psa_pk_status_to_mbedtls(status); in mbedtls_pk_ecc_set_pubkey_from_prv()
104 psa_status_t status; in mbedtls_pk_ecc_set_pubkey_from_prv()
115 status = psa_import_key(&key_attr, prv, prv_len, &key_id); in mbedtls_pk_ecc_set_pubkey_from_prv()
116 if (status != PSA_SUCCESS) { in mbedtls_pk_ecc_set_pubkey_from_prv()
117 return psa_pk_status_to_mbedtls(status); in mbedtls_pk_ecc_set_pubkey_from_prv()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Drbbinode.cpp68 UErrorCode status = U_ZERO_ERROR; in RBBINode() local
69 fFirstPosSet = new UVector(status); // TODO - get a real status from somewhere in RBBINode()
70 fLastPosSet = new UVector(status); in RBBINode()
71 fFollowPos = new UVector(status); in RBBINode()
97 UErrorCode status = U_ZERO_ERROR; in RBBINode() local
98 fFirstPosSet = new UVector(status); // TODO - get a real status from somewhere in RBBINode()
99 fLastPosSet = new UVector(status); in RBBINode()
100 fFollowPos = new UVector(status); in RBBINode()
264 findNodes(UVector *dest, RBBINode::NodeType kind, UErrorCode &status) findNodes() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Ddatefmt.h120 * UErrorCode status = U_ZERO_ERROR;
121 * UDate myDate = df->parse(myString, status);
253 * @param status Output param filled with success/failure status.
260 UErrorCode& status) const override;
273 * @param status Output param filled with success/failure status.
280 UErrorCode& status) const override;
293 * that if the same time field appears more than once in a pattern, the status will
332 * @param status erro
[all...]
/third_party/icu/icu4c/source/i18n/unicode/
H A Ddatefmt.h120 * UErrorCode status = U_ZERO_ERROR;
121 * UDate myDate = df->parse(myString, status);
253 * @param status Output param filled with success/failure status.
260 UErrorCode& status) const override;
273 * @param status Output param filled with success/failure status.
280 UErrorCode& status) const override;
293 * that if the same time field appears more than once in a pattern, the status will
332 * @param status erro
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
H A D4-2.c79 int status; /* error code */ member
132 td->status = pthread_mutex_trylock(&(td->mtx)); in tf()
134 if (td->status == 0) { in tf()
159 int status; in main() local
324 td->status = 0; in main()
372 chkpid = waitpid(child_pr, &status, 0); in main()
378 if (WIFSIGNALED(status)) { in main()
380 WTERMSIG(status)); in main()
384 if (WIFEXITED(status)) { in main()
385 ret = WEXITSTATUS(status); in main()
[all...]
H A D2-1.c86 int status; /* error code */ member
111 td->status = pthread_mutex_trylock(&(td->mtx)); in tf()
113 if (td->status == 0) { in tf()
138 int status; in main() local
288 td->status = 0; in main()
353 chkpid = waitpid(child_pr, &status, 0); in main()
359 if (WIFSIGNALED(status)) { in main()
361 WTERMSIG(status)); in main()
365 if (WIFEXITED(status)) { in main()
366 ret = WEXITSTATUS(status); in main()
[all...]
H A D1-2.c81 int status; /* error code */ member
134 td->status = pthread_mutex_trylock(&(td->mtx)); in tf()
136 if (td->status == 0) { in tf()
161 int status; in main() local
323 td->status = 0; in main()
390 chkpid = waitpid(child_pr, &status, 0); in main()
396 if (WIFSIGNALED(status)) { in main()
398 WTERMSIG(status)); in main()
402 if (WIFEXITED(status)) { in main()
403 ret = WEXITSTATUS(status); in main()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Ddatefmt.h120 * UErrorCode status = U_ZERO_ERROR;
121 * UDate myDate = df->parse(myString, status);
253 * @param status Output param filled with success/failure status.
260 UErrorCode& status) const;
273 * @param status Output param filled with success/failure status.
280 UErrorCode& status) const;
293 * that if the same time field appears more than once in a pattern, the status will
332 * @param status erro
[all...]
/third_party/skia/third_party/externals/icu/source/samples/layout/
H A DFontMap.cpp26 FontMap::FontMap(const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) in FontMap() argument
40 if (LE_FAILURE(status)) { in FontMap()
52 status = LE_FONT_FILE_NOT_FOUND_ERROR; in FontMap()
108 status = LE_ILLEGAL_ARGUMENT_ERROR; in FontMap()
199 const LEFontInstance *FontMap::getScriptFont(le_int32 scriptCode, LEErrorCode &status) in getScriptFont() argument
201 if (LE_FAILURE(status)) { in getScriptFont()
206 status = LE_ILLEGAL_ARGUMENT_ERROR; in getScriptFont()
216 status = LE_FONT_FILE_NOT_FOUND_ERROR; in getScriptFont()
221 fFontInstances[fontIndex] = openFont(fFontNames[fontIndex], fPointSize, status); in getScriptFont()
223 if (LE_FAILURE(status)) { in getScriptFont()
263 LEErrorCode status = LE_NO_ERROR; getMaxMetrics() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbinode.cpp68 UErrorCode status = U_ZERO_ERROR; in RBBINode() local
69 fFirstPosSet = new UVector(status); // TODO - get a real status from somewhere in RBBINode()
70 fLastPosSet = new UVector(status); in RBBINode()
71 fFollowPos = new UVector(status); in RBBINode()
97 UErrorCode status = U_ZERO_ERROR; in RBBINode() local
98 fFirstPosSet = new UVector(status); // TODO - get a real status from somewhere in RBBINode()
99 fLastPosSet = new UVector(status); in RBBINode()
100 fFollowPos = new UVector(status); in RBBINode()
264 findNodes(UVector *dest, RBBINode::NodeType kind, UErrorCode &status) findNodes() argument
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/text_blob_napi/
H A Djs_text_blob.cpp41 napi_status status = napi_define_class(env, CLASS_NAME.c_str(), NAPI_AUTO_LENGTH, Constructor, nullptr, in Init() local
43 if (status != napi_ok) { in Init()
48 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
49 if (status != napi_ok) { in Init()
54 status = napi_set_named_property(env, exportObj, CLASS_NAME.c_str(), constructor); in Init()
55 if (status != napi_ok) { in Init()
60 status = napi_define_properties(env, exportObj, sizeof(properties) / sizeof(properties[0]), properties); in Init()
61 if (status != napi_ok) { in Init()
77 napi_status status = napi_get_cb_info(env, info, &argCount, nullptr, &jsThis, nullptr); in Constructor() local
78 if (status ! in Constructor()
250 napi_status status = napi_invalid_arg; MakePoints() local
362 napi_status status = napi_get_reference_value(env, constructor_, &constructor); CreateJsTextBlob() local
[all...]
/third_party/backends/backend/
H A Dkvs40xx_cmd.c82 int status; member
134 r->status = CHECK_CONDITION; in usb_send_command()
159 r->status = be2cpu32 (*((u32 *) (resp + sizeof (*h)))); in usb_send_command()
295 if (r.status) in send_command()
445 SANE_Status status; in kvs40xx_document_exist() local
455 status = send_command (s, &c); in kvs40xx_document_exist()
456 if (status) in kvs40xx_document_exist()
457 return status; in kvs40xx_document_exist()
469 SANE_Status status; in kvs40xx_read_picture_element() local
481 status in kvs40xx_read_picture_element()
494 SANE_Status status; get_buffer_status() local
514 SANE_Status status; kvs40xx_read_image_data() local
[all...]

Completed in 16 milliseconds

1...<<71727374757677787980>>...378