/test/xts/acts/kernel_lite/sched_posix/src/ |
H A D | PthreadSchedApiTest.cpp | 219 * @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 D | jsvm_utils.h | 56 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 D | mediaAssetManager.cpp | 76 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 D | caseTable.js | 34 <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 D | suiteTable.js | 27 <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 D | uitest_napi.cpp | 297 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 D | kit_lite.py | 738 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 D | pthreadndk1.cpp | 179 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 D | image_receiver_test.cpp | 171 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 D | hvigorw.bat | 21 @rem Set local scope for the variables with windows NT shell
|
/test/xts/dcts/communication/dsoftbus/rpcserver/ |
H A D | hvigorw.bat | 21 @rem Set local scope for the variables with windows NT shell
|
/test/xts/dcts/distributeddatamgr/jstest/distributed_rdb_store/server/hap/ |
H A D | hvigorw.bat | 21 @rem Set local scope for the variables with windows NT shell
|
/test/xts/dcts/multimedia/avsessionserver/ |
H A D | hvigorw.bat | 21 @rem Set local scope for the variables with windows NT shell
|
/test/xts/dcts/communication/dsoftbus_request/rpcserver/ |
H A D | hvigorw.bat | 21 @rem Set local scope for the variables with windows NT shell
|
/test/xts/dcts/distributeddatamgr/jstest/distributed_rdb_stage_store/server/ |
H A D | hvigorw.bat | 21 @rem Set local scope for the variables with windows NT shell
|
/test/xts/dcts/filemanagement/fileio/server/ |
H A D | hvigorw.bat | 21 @rem Set local scope for the variables with windows NT shell
|
/test/xts/tools/sample/AppSampleD/ |
H A D | hvigorw.bat | 22 @rem Set local scope for the variables with windows NT shell
|
/test/xts/tools/sample/AppSampleE/ |
H A D | hvigorw.bat | 22 @rem Set local scope for the variables with windows NT shell
|
/test/xts/tools/sample/AppSampleF/ |
H A D | hvigorw.bat | 22 @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 D | napi_test.cpp | 402 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 D | napi_test.cpp | 375 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 D | napi_test.cpp | 6285 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...] |