/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_backup_test.cpp | 420 std::vector<Entry> entries; in HWTEST_F() local 421 EXPECT_TRUE(g_nbBackupDelegate->GetEntries(KEY_EMPTY, entries) == OK); in HWTEST_F() 422 EXPECT_EQ(entries.size(), entriesBatch.size()); in HWTEST_F() 839 vector<Entry> entries; in HWTEST_F() local 841 GenerateFixedRecords(entries, allKeys, FIFTY_RECORDS, KEY_SIX_BYTE, TWO_M_LONG_STRING); in HWTEST_F() 842 for (auto iter = entries.begin(); iter != entries.end(); iter++) { in HWTEST_F() 1031 * @tc.steps: step1. every thread create one DB put 10 entries into the DB. in NbSubImportThread()
|
H A D | distributeddb_nb_schema_test.cpp | 1899 vector<Entry> entries; in HWTEST_F() local 1901 EXPECT_EQ(delegate->GetEntries(query, entries), OK); in HWTEST_F() 1902 EXPECT_EQ(entries.size(), static_cast<unsigned long>(3)); // 3 record in HWTEST_F() 1910 EXPECT_EQ(delegate->GetEntries(query, entries), OK); in HWTEST_F() 1912 EXPECT_TRUE(CompareEntriesVector(entries, entriesExpect)); in HWTEST_F() 1957 vector<Entry> entries; in HWTEST_F() local 1959 EXPECT_EQ(delegate->GetEntries(query, entries), NOT_FOUND); in HWTEST_F() 1967 EXPECT_EQ(delegate->GetEntries(query, entries), OK); in HWTEST_F() 1969 EXPECT_TRUE(CompareEntriesVector(entries, entriesExpect)); in HWTEST_F()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 503 /* Search cache entries for a match */ in search_drawpixels_cache() 504 for (i = 0; i < ARRAY_SIZE(st->drawpix_cache.entries); i++) { in search_drawpixels_cache() 505 struct drawpix_cache_entry *entry = &st->drawpix_cache.entries[i]; in search_drawpixels_cache() 549 for (i = 0; i < ARRAY_SIZE(st->drawpix_cache.entries); i++) { in find_oldest_drawpixels_cache_entry() 550 const struct drawpix_cache_entry *entry = &st->drawpix_cache.entries[i]; in find_oldest_drawpixels_cache_entry() 559 return &st->drawpix_cache.entries[oldest_index]; in find_oldest_drawpixels_cache_entry() 1947 for (i = 0; i < ARRAY_SIZE(st->drawpix_cache.entries); i++) { in st_destroy_drawpix() 1948 struct drawpix_cache_entry *entry = &st->drawpix_cache.entries[i]; in st_destroy_drawpix()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 183 struct iris_bo *entries; member 628 * (see iris_can_reclaim_slab()), so we know all entries must be idle. in iris_slab_free() 629 * Therefore, we can safely unmap their aux table entries. in iris_slab_free() 632 struct iris_bo *bo = &slab->entries[i]; in iris_slab_free() 650 free(slab->entries); in iris_slab_free() 725 slab->entries = calloc(slab->base.num_entries, sizeof(*slab->entries)); in iris_slab_alloc() 726 if (!slab->entries) in iris_slab_alloc() 732 struct iris_bo *bo = &slab->entries[i]; in iris_slab_alloc() 1753 /* bufmgr will no longer try to free VMA entries i in iris_bufmgr_destroy() [all...] |
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.c | 171 assert(bo->bo && "must not be called for slab entries"); in amdgpu_bo_destroy() 764 slab->entries = CALLOC(slab->base.num_entries, sizeof(*slab->entries)); in amdgpu_bo_slab_alloc() 765 if (!slab->entries) in amdgpu_bo_slab_alloc() 773 struct amdgpu_winsys_bo *bo = &slab->entries[i]; in amdgpu_bo_slab_alloc() 826 amdgpu_bo_remove_fences(&slab->entries[i]); in amdgpu_bo_slab_free() 827 simple_mtx_destroy(&slab->entries[i].lock); in amdgpu_bo_slab_free() 830 FREE(slab->entries); in amdgpu_bo_slab_free() 1305 assert(bo->bo && "must not be called for slab entries"); in amdgpu_buffer_get_metadata() 1327 assert(bo->bo && "must not be called for slab entries"); in amdgpu_buffer_set_metadata() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | iff.c | 1342 unsigned entries, ofssrc; in decode_delta_d() local 1364 entries = bytestream2_get_be32(&gb); in decode_delta_d() 1365 if (entries * 8LL > bytestream2_get_bytes_left(&gb)) in decode_delta_d() 1368 while (entries && bytestream2_get_bytes_left(&gb) >= 8) { in decode_delta_d() 1389 entries--; in decode_delta_d() 1401 unsigned entries, ofssrc; in decode_delta_e() local 1423 entries = bytestream2_get_be16(&gb); in decode_delta_e() 1424 while (entries && bytestream2_get_bytes_left(&gb) >= 6) { in decode_delta_e() 1444 entries--; in decode_delta_e()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | medialibrary_kvstore.cpp | 274 int32_t MediaLibraryKvStore::BatchInsert(const std::vector<DistributedKv::Entry> &entries)
in BatchInsert() argument 283 Status status = kvStorePtr_->PutBatch(entries);
in BatchInsert()
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | profile_change_handler_test.cpp | 341 std::vector<ProfileEntry> entries(1, entry); in HWTEST_F() 343 ProfileChangeNotification profileNotification(entries, networkId, true); in HWTEST_F()
|
/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | concurrent_map.h | 245 auto entries = Clone(); in ForEachCopies() local 246 for (auto &[key, value] : entries) { in ForEachCopies()
|
/third_party/curl/lib/ |
H A D | altsvc.c | 202 * Load alt-svc entries from the given file. The text based line-oriented file 507 size_t entries = 0; in Curl_altsvc_parse() local 641 if(!entries++) in Curl_altsvc_parse()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_cs.h | 28 * This mode may create multiple entries internally. The entries must be 85 struct tu_cs_entry *entries; member 202 * Discard all entries. This allows \a cs to be reused while keeping the 374 tu_cs_emit_ib(cs, target->entries + i); in tu_cs_emit_call()
|
/third_party/node/test/common/ |
H A D | report.js | 298 for (const [key, value] of Object.entries(report.environmentVariables)) { 311 for (const [type, limits] of Object.entries(report.userLimits)) {
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_batch.c | 115 assert(batch->resources->entries == 0); in batch_init() 300 assert(batch->resources->entries == 0); in __fd_batch_destroy()
|
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | tables.py | 152 def parse_table(entries, sep, header=None, rawsep=None, *, 165 for line, filename in strutil.parse_entries(entries, ignoresep=sep):
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | BindGroup.cpp | 274 "Number of entries (%u) did not match the number of entries (%u) specified in %s", in ValidateBindGroupDescriptor() 283 const BindGroupEntry& entry = descriptor->entries[i]; in ValidateBindGroupDescriptor() 287 "In entries[%u], binding index %u not present in the bind group layout", in ValidateBindGroupDescriptor() 294 "In entries[%u], binding index %u already used by a previous entry", i, in ValidateBindGroupDescriptor() 305 "validating entries[%u] as a Buffer", i); in ValidateBindGroupDescriptor() 310 "validating entries[%u] as a Texture", i); in ValidateBindGroupDescriptor() 314 "validating entries[%u] as a Sampler", i); in ValidateBindGroupDescriptor() 318 "validating entries[%u] as an ExternalTexture", i); in ValidateBindGroupDescriptor() 348 const BindGroupEntry& entry = descriptor->entries[ in BindGroupBase() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DeviceLostTests.cpp | 108 descriptor.entries = &entry; in TEST_P() 148 descriptor.entries = &entry; in TEST_P()
|
/third_party/python/Lib/test/test_importlib/ |
H A D | util.py | 395 def mock_path_hook(*entries, importer): 398 if entry not in entries:
|
/third_party/weex-loader/src/ |
H A D | loader.js | 492 if (_this._compilation.entries) { 493 for (var key of _this._compilation.entries.keys()) {
|
/third_party/python/Objects/ |
H A D | dictobject.c | 34 dk_indices is actual hashtable. It holds index in entries, or DKIX_EMPTY(-1) 106 * 8 allows dicts with no more than 5 active entries; experiments suggested 180 j += 1, or j -= 1, on each loop trip), it scans the table entries in a fixed 428 * This can be used to reserve enough size to insert n entries without 537 PyDictKeyEntry *entries = DK_ENTRIES(keys); in _PyDict_CheckConsistency() local 539 PyDictKeyEntry *entry = &entries[i]; in _PyDict_CheckConsistency() 555 PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys); in _PyDict_CheckConsistency() local 557 PyDictUnicodeEntry *entry = &entries[i]; in _PyDict_CheckConsistency() 660 PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys); in free_keys_object() local 663 Py_XDECREF(entries[ in free_keys_object() 668 PyDictKeyEntry *entries = DK_ENTRIES(keys); free_keys_object() local 3545 PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys); dict_traverse() local 3552 PyDictKeyEntry *entries = DK_ENTRIES(keys); dict_traverse() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_index_unit_test.cpp | 531 * @tc.expected: step3. The insertion is successful and the number of entries obtained by the query is 1. in HWTEST_F() 537 vector<Entry> entries; in HWTEST_F() local 538 EXPECT_EQ(g_kvNbDelegatePtr->GetEntries(query, entries), OK); in HWTEST_F() 539 EXPECT_EQ(entries.size(), 1ul); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_natural_store_commit_storage.cpp | 778 vector<Entry> entries; in GetAllCommits() local 779 int errCode = commitStorageDBConnection_->GetEntries(option, keyPrefix, entries); in GetAllCommits() 784 LOGE("Failed to get commit entries from DB:%d", errCode); in GetAllCommits() 793 for (const auto &entry : entries) { in GetAllCommits()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_kv_store.cpp | 244 * putBatch(entries: Entry[], callback: AsyncCallback<void>):void; 246 * putBatch(entries: Entry[]):Promise<void>; 251 std::vector<Entry> entries; in PutBatch() member 256 // required 1 arguments :: <entries> in PutBatch() 259 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->entries, isSchemaStore); in PutBatch() 260 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[0], i.e. invalid entries!"); in PutBatch() 265 Status status = kvStore->PutBatch(ctxt->entries); in PutBatch()
|
/third_party/ffmpeg/tools/ |
H A D | ismindex.c | 234 int entries; in read_trun_duration() local 243 entries = avio_rb32(in); in read_trun_duration() 249 for (i = 0; i < entries && pos < end; i++) { in read_trun_duration()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | aub_write.c | 239 uint64_t entries[512] = {0}; in populate_ppgtt_table() local 272 entries[i] = 3 /* read/write | present */ | in populate_ppgtt_table() 285 data_out(aub, entries + dirty_start, write_size); in populate_ppgtt_table() 403 " Mapping GGTT address: 0x%" PRIx64 ", size: %" PRIu64" phys_addr=0x%" PRIx64 " entries=%u\n", in aub_map_ggtt()
|
/third_party/python/Lib/ |
H A D | dis.py | 406 entries = [] 416 entries.append(_ExceptionTableEntry(start, end, target, depth, lasti)) 418 return entries 598 # Skip inline CACHE entries:
|