Home
last modified time | relevance | path

Searched refs:scope (Results 1 - 22 of 22) sorted by relevance

/test/xts/acts/kernel_lite/sched_posix/src/
H A DPthreadSchedApiTest.cpp219 * @tc.name test the default value of sched scope.
227 int scope = -1; in HWTEST_F() local
228 int rt = pthread_attr_getscope(&attr, &scope); in HWTEST_F()
230 EXPECT_EQ(scope, PTHREAD_SCOPE_PROCESS) << "check default scope failed. expect PTHREAD_SCOPE_PROCESS"; in HWTEST_F()
235 * @tc.name test set and get scope.
252 int scope = -1; in HWTEST_F() local
253 rt = pthread_attr_getscope(&attr, &scope); in HWTEST_F()
255 EXPECT_EQ(scope, PTHREAD_SCOPE_PROCESS) << "check scope faile in HWTEST_F()
[all...]
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/
H A Djsvm_utils.h56 OH_JSVM_OpenHandleScope(env, &scope); in HandleScope()
60 OH_JSVM_CloseHandleScope(env, scope); in ~HandleScope()
65 JSVM_HandleScope scope; member in jsvm::HandleScope
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/cpp/napi/
H A DmediaAssetManager.cpp76 napi_handle_scope scope = nullptr; in Callback() local
77 napi_open_handle_scope(context->env, &scope); in Callback()
78 if (scope == nullptr) { in Callback()
79 DEBUG_LOG("Callback scope is nullptr"); in Callback()
93 napi_close_handle_scope(context->env, scope); in Callback()
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/
H A DcaseTable.js34 <template #default="scope">
37 :type="scope.row.result === 'Passed' ? 'success' : 'danger'"
38 >{{ scope.row.result }}</el-tag
43 <template #default="scope">
50 <el-row class="row-error" v-html="scope.row.error"></el-row>
54 <span class="span-error">{{scope.row.error.replace(/<br>/g, " ")}}</span>
H A DsuiteTable.js27 <template #default="scope">
28 <span :style="[scope.row.failed > 0 ? {'color':'red'}:{}]">{{ scope.row.failed }}</span>
31 <template #default="scope">
32 <span :style="[scope.row.blocked > 0 ? {'color':'#ffb400'}:{}]">{{ scope.row.blocked }}</span>
36 <template #default="scope">
41 :percentage="scope.row.passingrate"
42 :color="customColorMethod(scope.row.passingrate)" />
/test/testfwk/arkxtest/uitest/napi/
H A Duitest_napi.cpp297 napi_handle_scope scope = nullptr; in TransactAsync()
298 napi_open_handle_scope(env, &scope); in TransactAsync()
299 if (scope == nullptr) { in TransactAsync()
313 napi_close_handle_scope(env, scope); in TransactAsync()
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
H A Dkit_lite.py738 scope = {}
739 exec(import_cmd_str, scope)
740 upgrade_device = scope.get("upgrade_device", 'none')
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dpthreadndk1.cpp179 int scope; in PThreadAttrGetScope() local
182 int ret = pthread_attr_getscope(&attr, &scope); in PThreadAttrGetScope()
184 ret |= scope != PTHREAD_SCOPE_SYSTEM; in PThreadAttrGetScope()
351 int scope; in PThreadAttrSetScope_One() local
354 pthread_attr_getscope(&attr, &scope); in PThreadAttrSetScope_One()
356 ret |= scope != PTHREAD_SCOPE_SYSTEM; in PThreadAttrSetScope_One()
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_test.cpp171 napi_handle_scope scope = nullptr; in Callback() local
172 napi_open_handle_scope(context->env, &scope); in Callback()
173 if (scope == nullptr) { in Callback()
186 napi_close_handle_scope(context->env, scope); in Callback()
/test/xts/dcts/ability/dmsfwk/dmsfwkstagetestserver/
H A Dhvigorw.bat21 @rem Set local scope for the variables with windows NT shell
/test/xts/dcts/communication/dsoftbus/rpcserver/
H A Dhvigorw.bat21 @rem Set local scope for the variables with windows NT shell
/test/xts/dcts/distributeddatamgr/jstest/distributed_rdb_store/server/hap/
H A Dhvigorw.bat21 @rem Set local scope for the variables with windows NT shell
/test/xts/dcts/multimedia/avsessionserver/
H A Dhvigorw.bat21 @rem Set local scope for the variables with windows NT shell
/test/xts/dcts/communication/dsoftbus_request/rpcserver/
H A Dhvigorw.bat21 @rem Set local scope for the variables with windows NT shell
/test/xts/dcts/distributeddatamgr/jstest/distributed_rdb_stage_store/server/
H A Dhvigorw.bat21 @rem Set local scope for the variables with windows NT shell
/test/xts/dcts/filemanagement/fileio/server/
H A Dhvigorw.bat21 @rem Set local scope for the variables with windows NT shell
/test/xts/tools/sample/AppSampleD/
H A Dhvigorw.bat22 @rem Set local scope for the variables with windows NT shell
/test/xts/tools/sample/AppSampleE/
H A Dhvigorw.bat22 @rem Set local scope for the variables with windows NT shell
/test/xts/tools/sample/AppSampleF/
H A Dhvigorw.bat22 @rem Set local scope for the variables with windows NT shell
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/
H A Dnapi_test.cpp402 napi_handle_scope scope; in openAndCloseHandleScope() local
403 napi_status openStatus = napi_open_handle_scope(env, &scope); in openAndCloseHandleScope()
406 napi_status closeStatus = napi_close_handle_scope(env, scope); in openAndCloseHandleScope()
417 napi_escapable_handle_scope scope; in openAndCloseEscapableHandleScope() local
418 NAPI_CALL(env, napi_open_escapable_handle_scope(env, &scope)); in openAndCloseEscapableHandleScope()
422 NAPI_CALL(env, napi_escape_handle(env, scope, output, &escapee)); in openAndCloseEscapableHandleScope()
423 NAPI_CALL(env, napi_close_escapable_handle_scope(env, scope)); in openAndCloseEscapableHandleScope()
3175 napi_callback_scope scope = nullptr; in RunInCallbackScope() local
3176 NAPI_CALL(env, napi_open_callback_scope(env, args[0], context, &scope)); in RunInCallbackScope()
3179 // so we don't use NAPI_CALL as we must close the callback scope in RunInCallbackScope()
3214 napi_callback_scope scope = nullptr; Callback() local
5154 napi_escapable_handle_scope scope; openAndCloseEscapableHandleScopeNull() local
5169 napi_escapable_handle_scope scope; escapeHandle() local
5180 napi_escapable_handle_scope scope; escapeHandleScopeNull() local
5194 napi_escapable_handle_scope scope; escapeHandleOutputNull() local
5208 napi_escapable_handle_scope scope; escapeHandleRstNull() local
[all...]
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/
H A Dnapi_test.cpp375 napi_handle_scope scope; in openAndCloseHandleScope() local
376 napi_status openStatus = napi_open_handle_scope(env, &scope); in openAndCloseHandleScope()
379 napi_status closeStatus = napi_close_handle_scope(env, scope); in openAndCloseHandleScope()
390 napi_escapable_handle_scope scope; in openAndCloseEscapableHandleScope() local
391 NAPI_CALL(env, napi_open_escapable_handle_scope(env, &scope)); in openAndCloseEscapableHandleScope()
395 NAPI_CALL(env, napi_escape_handle(env, scope, output, &escapee)); in openAndCloseEscapableHandleScope()
396 NAPI_CALL(env, napi_close_escapable_handle_scope(env, scope)); in openAndCloseEscapableHandleScope()
3002 napi_callback_scope scope = nullptr; in RunInCallbackScope() local
3003 NAPI_CALL(env, napi_open_callback_scope(env, args[0], context, &scope)); in RunInCallbackScope()
3006 // so we don't use NAPI_CALL as we must close the callback scope in RunInCallbackScope()
3041 napi_callback_scope scope = nullptr; Callback() local
[all...]
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/
H A Dnapi_test.cpp6285 JSVM_EscapableHandleScope scope = nullptr; in EscapableHandleScopeTest() local
6286 OH_JSVM_OpenEscapableHandleScope(env, &scope); in EscapableHandleScopeTest()
6293 OH_JSVM_EscapeHandle(env, scope, obj, &escapedObj); in EscapableHandleScopeTest()
6294 OH_JSVM_CloseEscapableHandleScope(env, scope); in EscapableHandleScopeTest()
6303 JSVM_HandleScope scope = nullptr; in HandleScopeTest() local
6304 JSVM_Status status = OH_JSVM_OpenHandleScope(env, &scope); in HandleScopeTest()
6313 status = OH_JSVM_CloseHandleScope(env, scope); in HandleScopeTest()
6323 JSVM_HandleScope scope = nullptr; in HandleScope() local
6324 JSVM_Status status = OH_JSVM_OpenHandleScope(env, &scope); in HandleScope()
6333 status = OH_JSVM_CloseHandleScope(env, scope); in HandleScope()
7959 JSVM_HandleScope scope = nullptr; HandleScopeFor() local
[all...]

Completed in 54 milliseconds