Home
last modified time | relevance | path

Searched refs:indexes (Results 1 - 24 of 24) sorted by relevance

/foundation/distributeddatamgr/relational_store/test/js/relationalstore/performance/src/
H A DSceneGetValuesBucketPerf.js155 let indexes = new Array(20);
161 indexes[i] = resultSet.getColumnIndex(FIELDS[i]);
166 switch (resultSet.getColumnType(indexes[i])) {
171 values[FIELDS[i]] = resultSet.getInt(indexes[i]);
174 values[FIELDS[i]] = resultSet.getDouble(indexes[i]);
177 values[FIELDS[i]] = resultSet.getString(indexes[i]);
180 values[FIELDS[i]] = resultSet.getBlob(indexes[i]);
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_change_handler.cpp195 const auto& indexes = filterInfo.indexes; in NotifyProfileChangedLocked() local
197 size_t size = indexes.size(); in NotifyProfileChangedLocked()
205 for (auto index : indexes) { in NotifyProfileChangedLocked()
237 auto& indexes = filterInfo.indexes; in FilterChangedProfileLocked() local
247 indexes.insert(iter->second); in FilterChangedProfileLocked()
/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/
H A DSchemaJsTest.js174 schema.indexes = ['$.english.first', '$.english.second'];
207 schema.indexes = ['$.english.first', '$.english.second'];
234 schema.indexes = ['$.name'];
280 schema.indexes = [];
323 schema.indexes = ['$.name'];
369 schema.indexes = ['$.name'];
415 schema.indexes = ['$.name'];
468 * @tc.desc Test Js Api Schema.indexes testcase 001
476 schema.indexes = ['$.english.first', '$.english.second'];
477 expect(schema.indexes[
[all...]
/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/
H A DSchemaJsTest.js97 schema.indexes = ['$.name'];
144 schema.indexes = ['$.name'];
191 schema.indexes = ['$.name'];
238 schema.indexes = ['$.name'];
285 schema.indexes = ['$.name'];
339 * @tc.desc Test Js Api Schema.indexes successfully
347 schema.indexes = ['$.english.first', '$.english.second'];
348 expect(schema.indexes[0] === '$.english.first' && schema.indexes[1] === '$.english.second').assertTrue();
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_process_skeleton.cpp1026 std::map<uint64_t, int32_t> &indexes = it->second; in DetachAppInfoToStubIndex() local
1027 auto it2 = indexes.find(stubIndex); in DetachAppInfoToStubIndex()
1028 if (it2 != indexes.end() && it2->second == listenFd) { in DetachAppInfoToStubIndex()
1029 indexes.erase(it2); in DetachAppInfoToStubIndex()
1032 if (indexes.empty()) { in DetachAppInfoToStubIndex()
1045 std::list<uint64_t> indexes; in DetachAppInfoToStubIndex() local
1046 CHECK_INSTANCE_EXIT_WITH_RETVAL(exitFlag_, indexes); in DetachAppInfoToStubIndex()
1058 indexes.push_back(it2->first); in DetachAppInfoToStubIndex()
1073 return indexes; in DetachAppInfoToStubIndex()
1096 std::list<uint64_t> indexes; in DetachAppInfoToStubIndex() local
1157 std::map<uint64_t, int32_t> &indexes = it->second; AttachAppInfoToStubIndex() local
1466 std::map<uint64_t, int32_t> &indexes = it->second; DetachAppAuthInfo() local
1521 std::list<uint64_t> indexes; DetachAppAuthInfoBySocketId() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_schema.cpp54 DECLARE_NAPI_GETTER_SETTER("indexes", JsSchema::GetIndexes, JsSchema::SetIndexes), in Constructor()
212 std::vector<std::string> indexes; in SetIndexes() local
213 auto input = [env, ctxt, &indexes](size_t argc, napi_value* argv) { in SetIndexes()
214 // required 1 arguments :: <indexes> in SetIndexes()
216 ctxt->status = JSUtil::GetValue(env, argv[0], indexes, false); in SetIndexes()
217 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[0], i.e. invalid indexes!"); in SetIndexes()
223 schema->indexes_ = indexes; in SetIndexes()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_schema.cpp55 DECLARE_NAPI_GETTER_SETTER("indexes", JsSchema::GetIndexes, JsSchema::SetIndexes), in Constructor()
214 std::vector<std::string> indexes; in SetIndexes() local
215 auto input = [env, ctxt, &indexes](size_t argc, napi_value* argv) { in SetIndexes()
216 // required 1 arguments :: <indexes> in SetIndexes()
218 ctxt->status = JSUtil::GetValue(env, argv[0], indexes, false); in SetIndexes()
219 ASSERT_STATUS(ctxt, "invalid arg[0], i.e. invalid indexes!"); in SetIndexes()
225 schema->indexes_ = indexes; in SetIndexes()
/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/
H A Dprofile_event_handler.h37 std::unordered_set<uint32_t> indexes; member
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_change_handler_test.cpp294 ASSERT_FALSE(filterInfo.indexes.empty()); in HWTEST_F()
329 ASSERT_TRUE(filterInfo.indexes.empty()); in HWTEST_F()
346 filterInfo.indexes.emplace(0); in HWTEST_F()
351 ASSERT_FALSE(filterInfo.indexes.empty()); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_executor.cpp397 IndexInfoMap indexes; in GetChangedIndexes() local
406 indexes.insert({itNew->first, itNew->second}); in GetChangedIndexes()
411 indexes.insert({itOld->first, {}}); in GetChangedIndexes()
414 indexes.insert({itNew->first, itNew->second}); in GetChangedIndexes()
420 indexes.insert({itOld->first, {}}); in GetChangedIndexes()
425 indexes.insert({itNew->first, itNew->second}); in GetChangedIndexes()
429 return indexes; in GetChangedIndexes()
432 int UpgradeIndexes(sqlite3 *db, const std::vector<std::string> &tables, const IndexInfoMap &indexes) in UpgradeIndexes() argument
440 for (const auto &index : indexes) { in UpgradeIndexes()
486 LOGD("Begin to alter table: upgrade fields[%zu], indexes[ in AlterAuxTableForUpgrade()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_process.cpp263 std::vector<int32_t> indexes(appIndexes.begin(), appIndexes.end()); in InnerGetResourceInfo()
265 info.appIndexes_ = indexes; in InnerGetResourceInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_wrapper.h166 virtual void RecycleItemsByIndex(const std::set<int32_t>& indexes) {} in RecycleItemsByIndex() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_pattern.cpp671 auto indexes = GetNextIndexByStep(curMainIndex, curCrossIndex, curMainSpan, curCrossSpan, step); in GetNextFocusNode() local
672 auto nextMainIndex = indexes.first; in GetNextFocusNode()
673 auto nextCrossIndex = indexes.second; in GetNextFocusNode()
689 auto indexes = GetNextIndexByStep(nextMainIndex, nextCrossIndex, 1, 1, step); in GetNextFocusNode() local
690 nextMainIndex = indexes.first; in GetNextFocusNode()
691 nextCrossIndex = indexes.second; in GetNextFocusNode()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_grid.cpp169 auto indexes = obj->GetProperty("irregularIndexes"); in SetGridLayoutOptions() local
170 if (indexes->IsArray()) { in SetGridLayoutOptions()
171 JSRef<JSArray> array = JSRef<JSArray>::Cast(indexes); in SetGridLayoutOptions()
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/
H A Dsegmentbutton.js1337 let indexes = d3.map(value => this.optionsArray.e2 &&
1340 indexes.splice(g3, 1);
1342 d3 = indexes;
1345 let indexes = d3.map(value => this.optionsArray.e2 &&
1347 d3 = indexes;
/foundation/distributeddatamgr/kv_store/frameworks/cj/include/
H A Ddistributed_kv_store_impl.h52 char** indexes; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.cpp2140 std::vector<int32_t> indexes = {index, preIndex}; in UpdateSymbolStats() local
2141 for (uint32_t i = 0; i < indexes.size(); i++) { in UpdateSymbolStats()
2142 if (indexes[i] < 0 || indexes[i] >= static_cast<int32_t>(symbolArray_.size())) { in UpdateSymbolStats()
2145 auto columnNode = DynamicCast<FrameNode>(tabBarNode->GetChildAtIndex(indexes[i])); in UpdateSymbolStats()
2157 auto modifierOnApply = symbolArray_[indexes[i]].onApply; in UpdateSymbolStats()
2158 UpdateSymbolApply(symbolNode, symbolLayoutProperty, indexes[i], "selected"); in UpdateSymbolStats()
2164 UpdateSymbolApply(symbolNode, symbolLayoutProperty, indexes[i], "normal"); in UpdateSymbolStats()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js2527 removeByIndexes(indexes) {
2528 if (!Array.isArray(indexes) || indexes.length === 0) {
2533 return item && !indexes.includes(index)
/foundation/ability/idl_tool/test/unittest/cpp_code_emitter_test/
H A Dcpp_code_emitter_test.cpp1370 int32_t indexes = 1; in HWTEST_F() local
1385 mt.nestedTypeIndexes_ = &indexes; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.cpp1572 std::vector<std::string> indexes; in CloneIndexes() local
1578 indexes.emplace_back(indexSql); in CloneIndexes()
1592 for (const auto &it : indexes) { in CloneIndexes()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_download_assets_test.cpp1919 std::set<int> indexes; in HWTEST_F() local
1921 indexes.insert(i); in HWTEST_F()
1923 CheckLocaLAssets(ASSETS_TABLE_NAME, "10", indexes); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_pattern.cpp669 auto indexes = navigationStack_->GetAllPathIndex(); in UpdateNavPathList() local
693 auto pathIndex = indexes[index]; in UpdateNavPathList()
747 indexes[index] = replacedIndex; in UpdateNavPathList()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_schema_test.cpp1719 vector<std::string> indexes = {validIndexTemp, validIndexTemp2}; in RandIndex() local
1726 option.schema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_2, VALID_DEFINE_1, indexes[randSubscript]); in RandIndex()
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/
H A Dweb_pattern_test_handle_ng.cpp172 void RecycleItemsByIndex(const std::set<int32_t>& indexes) override {}

Completed in 46 milliseconds