/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | media_key_system_napi.cpp | 580 napi_value item;
in GetConfigurationByteArray() local 581 napi_create_int32(env, value[i], &item);
in GetConfigurationByteArray() 582 napi_set_element(env, result, i, item);
in GetConfigurationByteArray()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/ |
H A D | camera_manager_napi.cpp | 1083 napi_value item = nullptr; in CreateSceneModeJSArray() local 1099 napi_create_int32(env, itr->second, &item); in CreateSceneModeJSArray() 1100 napi_set_element(env, jsArray, index, item); in CreateSceneModeJSArray()
|
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A D | soundpool_napi.cpp | 849 napi_value item = nullptr; in GetPropertyBool() local 857 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) { in GetPropertyBool() 862 if (napi_get_value_bool(env, item, &result) != napi_ok) { in GetPropertyBool()
|
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_file_asset_napi.cpp | 668 napi_value item = nullptr; in GetInt32InfoFromNapiObject() local 676 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) { in GetInt32InfoFromNapiObject() 681 if (napi_get_value_int32(env, item, &result) != napi_ok) { in GetInt32InfoFromNapiObject()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | manual_ondemand_helper.cpp | 1119 for (auto& item : extraDataIdList) { in GetCommonEventExtraId() 1120 cout << item << ", "; in GetCommonEventExtraId() local 1122 ret = sm->GetOnDemandReasonExtraData(item, extraDataParcel); in GetCommonEventExtraId()
|
H A D | ondemand_helper.cpp | 1114 for (auto& item : extraDataIdList) { in GetCommonEventExtraId() 1115 cout << item << ", "; in GetCommonEventExtraId() local 1117 ret = sm->GetOnDemandReasonExtraData(item, extraDataParcel); in GetCommonEventExtraId()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_ver_relational_storage_executor_extend.cpp | 133 for (const auto &item : pkMap) { in GetInfoByStatement() 135 errCode = SQLiteRelationalUtils::GetCloudValueByType(statement, item.second.type, index++, cloudValue); in GetInfoByStatement() 139 errCode = PutVBucketByType(dataInfoWithLog.primaryKeys, item.second, cloudValue); in GetInfoByStatement()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_relational_sync_test.cpp | 1129 for (const auto &item: process) { in HWTEST_F() 1130 if (item.second.process == DistributedDB::FINISHED) { in HWTEST_F() 1132 EXPECT_EQ(item.second.errCode, status); in HWTEST_F()
|
H A D | distributeddb_cloud_interfaces_relational_remove_device_data_test.cpp | 473 std::for_each(g_tables.begin(), g_tables.end(), [&](const auto &item) { in GetCallback() 474 auto table1 = syncProcess.tableProcess.find(item); in GetCallback() 478 item.c_str(), table1->second.process, table1->second.downLoadInfo.batchIndex, in GetCallback()
|
H A D | distributeddb_cloud_interfaces_set_cloud_schema_test.cpp | 342 for (const auto &item: process) { in BlockSync() 343 if (item.second.process == DistributedDB::FINISHED) { in BlockSync() 345 EXPECT_EQ(item.second.errCode, errCode); in BlockSync()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | utd_client_test.cpp | 1271 for (auto item : allUTD) { in HWTEST_F() 1272 status = UtdClient::GetInstance().IsUtd(item.typeId, result); in HWTEST_F() 1275 LOG_ERROR(UDMF_TEST, "IsUtd001 item is %{public}s is check fail. ", item.typeId.c_str()); in HWTEST_F()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_root.cpp | 167 auto it = std::find_if(windowNodeMap_.begin(), windowNodeMap_.end(), [missionId] (ValueType item) { in GetWindowNodeByMissionId() 168 return item.second && item.second->abilityInfo_.missionId_ == static_cast<int32_t>(missionId); in GetWindowNodeByMissionId()
|
/third_party/glslang/StandAlone/ |
H A D | StandAlone.cpp | 1615 // work-item distribution properties in this path, which in CompileAndLinkShaderFiles() 1649 std::for_each(WorkItems.begin(), WorkItems.end(), [&workList](std::unique_ptr<glslang::TWorkItem>& item) { in singleMain() 1650 assert(item); in singleMain() 1651 workList.add(item.get()); in singleMain()
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_write_ast.c | 397 struct cil_list_item *item; in write_call_args() local 401 cil_list_for_each(item, args) { in write_call_args() 402 struct cil_args* arg = item->data; in write_call_args()
|
H A D | cil_policy.c | 892 struct cil_list_item *item; in cil_dominance_to_policy() local 896 cil_list_for_each(item, sensorder) { in cil_dominance_to_policy() 897 sens = item->data; in cil_dominance_to_policy()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 1221 for (auto item : bundleInfos) { in CheckInstalledBundleInfos() 1222 if (item.name == BUNDLE_NAME_DEMO) { in CheckInstalledBundleInfos() 1224 checkDemoAppNameRet = item.applicationInfo.name == BUNDLE_NAME_DEMO; in CheckInstalledBundleInfos() 1225 uint32_t num = static_cast<uint32_t>(item.abilityInfos.size()); in CheckInstalledBundleInfos() 1228 if (item.name == BUNDLE_NAME_TEST) { in CheckInstalledBundleInfos() 1230 checkTestAppNameRet = item.applicationInfo.name == BUNDLE_NAME_TEST; in CheckInstalledBundleInfos() 1231 uint32_t num = static_cast<uint32_t>(item.abilityInfos.size()); in CheckInstalledBundleInfos() 1252 for (auto item : appInfos) { in CheckInstalledApplicationInfos() 1253 if (item.name == BUNDLE_NAME_DEMO) { in CheckInstalledApplicationInfos() 1255 checkDemoAppNameRet = item in CheckInstalledApplicationInfos() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 343 for (const auto& item : animationFuncs) { in HandleJsContext() 344 auto getterTempl = runtime->NewFunction(std::get<1>(item)); in HandleJsContext() 345 auto setterTempl = runtime->NewFunction(std::get<2>(item)); in HandleJsContext() 346 bool ret = renderContext_->SetAccessorProperty(runtime, std::get<0>(item), getterTempl, setterTempl); in HandleJsContext() 348 LOGE("Canvas set accessor property failed., name: %{public}s", std::get<0>(item).c_str()); in HandleJsContext()
|
H A D | jsi_offscreen_canvas_bridge.cpp | 301 for (const auto& item : animationFuncs) { in JsGetContext() 302 auto getterTempl = runtime->NewFunction(std::get<1>(item)); in JsGetContext() 303 auto setterTempl = runtime->NewFunction(std::get<2>(item)); in JsGetContext() 304 bool ret = renderContext->SetAccessorProperty(runtime, std::get<0>(item), getterTempl, setterTempl); in JsGetContext() 306 LOGE("Canvas set accessor property failed., name: %{public}s", std::get<0>(item).c_str()); in JsGetContext()
|
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_napi.cpp | 1301 for (auto item : jsPlayer->localDrmInfos_) { in JsGetMediaKeySystemInfos() 1306 napi_create_string_utf8(env, item.first.c_str(), NAPI_AUTO_LENGTH, &jsUuid); in JsGetMediaKeySystemInfos() 1309 status = napi_create_array_with_length(env, item.second.size(), &jsPssh); in JsGetMediaKeySystemInfos() 1311 for (uint32_t i = 0; i < item.second.size(); i++) { in JsGetMediaKeySystemInfos() 1313 (void)napi_create_uint32(env, item.second[i], &number); in JsGetMediaKeySystemInfos()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | evaluate.c | 3034 struct expression *item, *init; in evaluate_cast() local 3039 item = alloc_expression(source->pos, EXPR_IDENTIFIER); in evaluate_cast() 3040 item->expr_ident = member->ident; in evaluate_cast() 3041 item->ident_expression = source; in evaluate_cast() 3044 add_expression(&init->expr_list, item); in evaluate_cast()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-layout-common.hh | 2796 int16_t get_item_delta (unsigned int item, unsigned int region) const in get_item_delta() 2798 if ( item >= itemCount || unlikely (region >= regionIndices.len)) return 0; in get_item_delta() 2799 const HBINT8 *p = (const HBINT8 *)get_delta_bytes () + item * get_row_size (); in get_item_delta() 2806 void set_item_delta (unsigned int item, unsigned int region, int16_t delta) in set_item_delta() 2808 HBINT8 *p = (HBINT8 *)get_delta_bytes () + item * get_row_size (); in set_item_delta()
|
/third_party/python/Lib/test/ |
H A D | test_builtin.py | 700 def __getitem__(self, item): 701 raise KeyError(item) 772 # custom `globals` or `builtins` can raise errors on item access 896 def identity(item): 1689 for item in iterable: 1690 items.append(item)
|
H A D | test_buffer.py | 157 """Return random item for a type specified by a mode and a single 173 """Return single random item.""" 200 item = gen_item(xfmt, obj) 201 return fmt, items, item 204 """Return random format, items, item.""" 212 item = gen_item(fmt, obj) 214 return fmt, items, item 223 """Yield (format, items, item) for all possible modes and format 280 """Convert flat item list to the nested list representation of a 294 """Convert flat item lis [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numfmtst.cpp | 3558 const TestNumberingSystemItem *item; in TestNumberingSystems() local 3559 for (item = DATA; item->localeName != NULL; item++) { in TestNumberingSystems() 3561 Locale loc = Locale::createFromName(item->localeName); in TestNumberingSystems() 3565 dataerrln("FAIL: getInstance(%s) - %s", item->localeName, u_errorName(ec)); in TestNumberingSystems() 3573 if (item->isRBNF) { in TestNumberingSystems() 3574 expect3(*fmt,item->value,CharsToUnicodeString(item->expectedResult)); in TestNumberingSystems() 3576 expect2(*fmt,item in TestNumberingSystems() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_mgr_adapter.cpp | 1368 HILOG_ERROR("Get form item info failed"); in GetFormConfigInfo() 1446 HILOG_ERROR("formId and item info not match:%{public}" PRId64 "", formId); in AllotFormById() 1910 for (const auto &item : bundleInfo.applicationInfo.moduleInfos) { in SetFormItemInfoParams() 1912 item.moduleName.c_str(), item.moduleSourceDir.c_str()); in SetFormItemInfoParams() 1913 if (formInfo.moduleName == item.moduleName) { in SetFormItemInfoParams() 1914 itemInfo.AddHapSourceDirs(item.moduleSourceDir); in SetFormItemInfoParams() 2844 auto item = find(bundleInfo.reqPermissions.begin(), bundleInfo.reqPermissions.end(), in CheckKeepBackgroundRunningPermission() local 2846 if (item == bundleInfo.reqPermissions.end()) { in CheckKeepBackgroundRunningPermission()
|