/kernel/linux/linux-6.6/sound/firewire/dice/ |
H A D | dice-weiss.c | 66 } *entry, entries[] = { in snd_dice_detect_weiss_formats() local 90 for (i = 0; i < ARRAY_SIZE(entries); ++i) { in snd_dice_detect_weiss_formats() 91 entry = entries + i; in snd_dice_detect_weiss_formats() 95 if (i == ARRAY_SIZE(entries)) in snd_dice_detect_weiss_formats()
|
H A D | dice-tcelectronic.c | 63 } *entry, entries[] = { in snd_dice_detect_tcelectronic_formats() local 85 for (i = 0; i < ARRAY_SIZE(entries); ++i) { in snd_dice_detect_tcelectronic_formats() 86 entry = entries + i; in snd_dice_detect_tcelectronic_formats() 90 if (i == ARRAY_SIZE(entries)) in snd_dice_detect_tcelectronic_formats()
|
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/buildtools/ |
H A D | JarPhonePrefixDataIOHandlerTest.java | 53 Enumeration<JarEntry> entries = outputJar.entries(); in testAddFileToOutput() 55 while (entries.hasMoreElements()) { in testAddFileToOutput() 57 entries.nextElement(); in testAddFileToOutput()
|
/third_party/node/test/parallel/ |
H A D | test-dns-perf_hooks.js | 8 const entries = []; 10 entries.push(...items.getEntries()); 32 assert.strictEqual(entries.length, count); 33 entries.forEach((entry) => {
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-ot-name.c | 86 const hb_ot_name_entry_t *entries; in test_ot_name() local 91 entries = hb_ot_name_list_names (face, &num_entries); in test_ot_name() 93 name_id = entries[3].name_id; in test_ot_name() 95 lang = entries[3].language; in test_ot_name()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_transaction_optimization_test.cpp | 112 vector<Entry> entries; in HWTEST_F() local 114 DistributedDBUnitTest::GenerateRecords(BATCH_PRESET_SIZE_TEST, entries, keys); in HWTEST_F() 115 EXPECT_TRUE(entries.size() == BATCH_PRESET_SIZE_TEST); in HWTEST_F() 126 EXPECT_EQ(g_kvNbDelegatePtr->PutBatch(entries), OK); in HWTEST_F() 132 EXPECT_TRUE(DistributedDBToolsUnitTest::IsEntriesEqual(entries, getSyncEntries, true)); in HWTEST_F() 150 EXPECT_TRUE(DistributedDBToolsUnitTest::IsEntriesEqual(entries, getSyncEntries, true)); in HWTEST_F() 320 vector<Entry> entries; in HWTEST_F() local 322 DistributedDBUnitTest::GenerateRecords(BATCH_PRESET_SIZE_TEST, entries, keys); in HWTEST_F() 323 EXPECT_TRUE(entries.size() == BATCH_PRESET_SIZE_TEST); in HWTEST_F() 334 EXPECT_EQ(g_kvNbDelegatePtr->PutBatch(entries), O in HWTEST_F() 784 std::vector<Entry> entries; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_kvdata_storage.cpp | 137 static int GetEntries(const IKvDBConnection *kvDBConnection, const Key &keyPrefix, std::vector<Entry> &entries) in GetEntries() argument 148 int errCode = kvDBConnection->GetEntries(option, keyPrefix, entries); in GetEntries() 150 LOGE("Get entries failed:%d", errCode); in GetEntries() 156 static int GetSliceCount(std::vector<Entry> &&entries, uint32_t &count) in GetSliceCount() argument 158 std::vector<uint8_t> buffer = (entries[0].key.size() > entries[1].key.size()) ? in GetSliceCount() 159 std::move(entries[0].value) : std::move(entries[1].value); in GetSliceCount() 189 std::vector<Entry> entries; in PutSlice() local 190 int errCode = GetEntries(kvDBConnection, key, entries); in PutSlice() 219 std::vector<Entry> entries; DeleteSlice() local [all...] |
H A D | multi_ver_storage_executor.cpp | 151 std::vector<MultiVerKvEntry *> &entries) const in GetCommitData() 173 entries.clear(); in GetCommitData() 174 entries.shrink_to_fit(); in GetCommitData() 184 errCode = transaction->GetEntriesByVersion(version, entries); in GetCommitData() 186 LOGE("Get entries by version failed:%d", errCode); in GetCommitData() 209 std::vector<MultiVerKvEntry *> entries; in IsCommitExisted() local 216 errCode = transaction->GetEntriesByVersion(commit.version, entries); in IsCommitExisted() 218 LOGE("Get entries by version failed:%d", errCode); in IsCommitExisted() 221 if (!entries.empty()) { in IsCommitExisted() 232 ReleaseMultiVerKvEntries(entries); in IsCommitExisted() 447 PutCommitData(const MultiVerCommitNode &commit, const std::vector<MultiVerKvEntry *> &entries, const std::string &deviceName) PutCommitData() argument 515 std::vector<MultiVerKvEntry *> entries; MergeOneCommit() local 1333 ReleaseMultiVerKvEntries(std::vector<MultiVerKvEntry *> &entries) ReleaseMultiVerKvEntries() argument [all...] |
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | convert_utils_test.cpp | 47 void CheckEntries(const std::vector<std::shared_ptr<PasteDataEntry>> &entries); 235 void ConvertUtilsTest::CheckEntries(const std::vector<std::shared_ptr<PasteDataEntry>> &entries) in CheckEntries() argument 237 for (auto const &entry : entries) { in CheckEntries() 374 auto entries = record->GetEntries(); in HWTEST_F() local 375 ASSERT_EQ(entries.size(), entriesSize); in HWTEST_F() 376 CheckEntries(entries); in HWTEST_F() 401 auto entries = record->GetEntries(); in HWTEST_F() local 402 ASSERT_EQ(entries.size(), entriesSize); in HWTEST_F() 403 CheckEntries(entries); in HWTEST_F() 433 auto entries in HWTEST_F() local 462 auto entries = record->GetEntries(); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | e500_mmu_host.c | 38 #define to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1) 45 return host_tlb_params[1].entries - tlbcam_index - 1; in tlb1_max_shadow_size() 191 /* Don't bother with unmapped entries */ in inval_gtlbe_on_host() 275 sizeof(u64) * vcpu_e500->gtlb_params[1].entries); in clear_tlb1_bitmap() 278 sizeof(unsigned int) * host_tlb_params[1].entries); in clear_tlb1_bitmap() 287 for (i = 0; i < vcpu_e500->gtlb_params[tlbsel].entries; i++) { in clear_tlb_privs() 729 * Flush all shadow tlb entries everywhere. This is slow, but in kvm_unmap_hva() 769 host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init() 770 host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init() 777 if (host_tlb_params[0].entries in e500_mmu_host_init() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | e500_mmu_host.c | 38 #define to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1) 45 return host_tlb_params[1].entries - tlbcam_index - 1; in tlb1_max_shadow_size() 191 /* Don't bother with unmapped entries */ in inval_gtlbe_on_host() 275 sizeof(u64) * vcpu_e500->gtlb_params[1].entries); in clear_tlb1_bitmap() 278 sizeof(unsigned int) * host_tlb_params[1].entries); in clear_tlb1_bitmap() 287 for (i = 0; i < vcpu_e500->gtlb_params[tlbsel].entries; i++) { in clear_tlb_privs() 727 * Flush all shadow tlb entries everywhere. This is slow, but in kvm_e500_mmu_unmap_gfn() 760 host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init() 761 host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init() 768 if (host_tlb_params[0].entries in e500_mmu_host_init() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_local_batch_crud_test.cpp | 349 vector<Entry> entries; in HWTEST_F() local 351 GenerateAppointPrefixAndSizeRecords(entries, entrySize, BATCH_RECORDS); in HWTEST_F() 356 thread subThread([&putBatchFinish, &entries, &batchMtx, &batchCondition]() { in HWTEST_F() 357 DBStatus inserStatus = DistributedDBNbTestTools::PutLocalBatch(*g_nbLocalBatchDelegate, entries); in HWTEST_F() 399 vector<Entry> entries; in HWTEST_F() local 401 GenerateAppointPrefixAndSizeRecords(entries, entrySize, BATCH_RECORDS); in HWTEST_F() 406 thread subThread([&putBatchFinish, &entries, &batchMtx, &batchCondition]() { in HWTEST_F() 407 DBStatus insertStatus = DistributedDBNbTestTools::PutLocalBatch(*g_nbLocalBatchDelegate, entries); in HWTEST_F() 705 vector<Entry> entries, gotEntries; in HWTEST_F() local 706 entries in HWTEST_F() 874 vector<Entry> entries; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
H A D | pptable.h | 516 UCHAR ucNumEntries; // Number of entries. 517 ATOM_PPLIB_Clock_Voltage_Dependency_Record entries[1]; // Dynamically allocate entries. member 532 UCHAR ucNumEntries; // Number of entries. 533 ATOM_PPLIB_Clock_Voltage_Limit_Record entries[1]; // Dynamically allocate entries. member 556 UCHAR ucNumEntries; // Number of entries. 557 ATOM_PPLIB_CAC_Leakage_Record entries[1]; // Dynamically allocate entries. member 571 UCHAR ucNumEntries; // Number of entries 572 ATOM_PPLIB_PhaseSheddingLimits_Record entries[1]; // Dynamically allocate entries. global() member 584 VCEClockInfo entries[1]; global() member 596 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record entries[1]; global() member 608 ATOM_PPLIB_VCE_State_Record entries[1]; global() member 630 UVDClockInfo entries[1]; global() member 642 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Record entries[1]; global() member 661 ATOM_PPLIB_SAMClk_Voltage_Limit_Record entries[1]; global() member 679 ATOM_PPLIB_ACPClk_Voltage_Limit_Record entries[1]; global() member 748 ATOM_PPLIB_VQ_Budgeting_Record entries[1]; global() member [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_pptable.h | 131 UCHAR ucNumEntries; /* Number of entries. */ 132 ATOM_Vega10_State states[1]; /* Dynamically allocate entries. */ 165 UCHAR ucNumEntries; /* Number of entries. */ 166 ATOM_Vega10_GFXCLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ member 171 UCHAR ucNumEntries; /* Number of entries. */ 172 ATOM_Vega10_MCLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ member 177 UCHAR ucNumEntries; /* Number of entries. */ 178 ATOM_Vega10_CLK_Dependency_Record entries[ member 184 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 190 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 196 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 202 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 216 ATOM_Vega10_MM_Dependency_Record entries[1]; /* Dynamically allocate entries */ global() member 228 ATOM_Vega10_PCIE_Record entries[1]; /* Dynamically allocate entries. */ global() member 238 ATOM_Vega10_Voltage_Lookup_Record entries[1]; /* Dynamically allocate entries */ global() member 332 ATOM_Vega10_VCE_State_Record entries[1]; global() member 435 ATOM_Vega10_Hard_Limit_Record entries[1]; global() member [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-bio-prison-v1.c | 296 struct dm_deferred_entry entries[DEFERRED_SET_SIZE]; member 312 ds->entries[i].ds = ds; in dm_deferred_set_create() 313 ds->entries[i].count = 0; in dm_deferred_set_create() 314 INIT_LIST_HEAD(&ds->entries[i].work_items); in dm_deferred_set_create() 333 entry = ds->entries + ds->current_entry; in dm_deferred_entry_inc() 349 !ds->entries[ds->sweeper].count) { in __sweep() 350 list_splice_init(&ds->entries[ds->sweeper].work_items, head); in __sweep() 354 if ((ds->sweeper == ds->current_entry) && !ds->entries[ds->sweeper].count) in __sweep() 355 list_splice_init(&ds->entries[ds->sweeper].work_items, head); in __sweep() 380 !ds->entries[d in dm_deferred_set_add_work() [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | item_ops.c | 454 * Create an array of sizes of directory entries for virtual 497 /* compare total size of entries with item length */ in direntry_create_vi() 522 * return number of entries which may fit into specified amount of 529 int entries = 0; in direntry_check_left() local 538 entries++; in direntry_check_left() 541 if (entries == dir_u->entry_count) { in direntry_check_left() 549 && entries < 2) in direntry_check_left() 550 entries = 0; in direntry_check_left() 552 return entries ? : -1; in direntry_check_left() 558 int entries in direntry_check_right() local [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | item_ops.c | 454 * Create an array of sizes of directory entries for virtual 497 /* compare total size of entries with item length */ in direntry_create_vi() 522 * return number of entries which may fit into specified amount of 529 int entries = 0; in direntry_check_left() local 538 entries++; in direntry_check_left() 541 if (entries == dir_u->entry_count) { in direntry_check_left() 549 && entries < 2) in direntry_check_left() 550 entries = 0; in direntry_check_left() 552 return entries ? : -1; in direntry_check_left() 558 int entries in direntry_check_right() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | dcn314_fpu.c | 209 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn314_update_bw_bounding_box_fpu() 210 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn314_update_bw_bounding_box_fpu() 211 if (clk_table->entries[i].dppclk_mhz > max_dppclk_mhz) in dcn314_update_bw_bounding_box_fpu() 212 max_dppclk_mhz = clk_table->entries[i].dppclk_mhz; in dcn314_update_bw_bounding_box_fpu() 218 if ((unsigned int) dcn3_14_soc.clock_limits[j].dcfclk_mhz <= clk_table->entries[i].dcfclk_mhz) { in dcn314_update_bw_bounding_box_fpu() 231 clock_limits[i].dcfclk_mhz = clk_table->entries[i].dcfclk_mhz; in dcn314_update_bw_bounding_box_fpu() 237 clock_limits[i].fabricclk_mhz = clk_table->entries[i].fclk_mhz; in dcn314_update_bw_bounding_box_fpu() 238 clock_limits[i].socclk_mhz = clk_table->entries[i].socclk_mhz; in dcn314_update_bw_bounding_box_fpu() 240 if (clk_table->entries[i].memclk_mhz && clk_table->entries[ in dcn314_update_bw_bounding_box_fpu() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/ |
H A D | pptable.h | 516 UCHAR ucNumEntries; // Number of entries. 517 ATOM_PPLIB_Clock_Voltage_Dependency_Record entries[1]; // Dynamically allocate entries. member 532 UCHAR ucNumEntries; // Number of entries. 533 ATOM_PPLIB_Clock_Voltage_Limit_Record entries[1]; // Dynamically allocate entries. member 556 UCHAR ucNumEntries; // Number of entries. 557 ATOM_PPLIB_CAC_Leakage_Record entries[1]; // Dynamically allocate entries. member 571 UCHAR ucNumEntries; // Number of entries 572 ATOM_PPLIB_PhaseSheddingLimits_Record entries[1]; // Dynamically allocate entries. global() member 584 VCEClockInfo entries[1]; global() member 596 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record entries[1]; global() member 608 ATOM_PPLIB_VCE_State_Record entries[1]; global() member 630 UVDClockInfo entries[1]; global() member 642 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Record entries[1]; global() member 661 ATOM_PPLIB_SAMClk_Voltage_Limit_Record entries[1]; global() member 679 ATOM_PPLIB_ACPClk_Voltage_Limit_Record entries[1]; global() member 748 ATOM_PPLIB_VQ_Budgeting_Record entries[1]; global() member [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_pptable.h | 131 UCHAR ucNumEntries; /* Number of entries. */ 132 ATOM_Vega10_State states[1]; /* Dynamically allocate entries. */ 165 UCHAR ucNumEntries; /* Number of entries. */ 166 ATOM_Vega10_GFXCLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ member 171 UCHAR ucNumEntries; /* Number of entries. */ 172 ATOM_Vega10_MCLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ member 177 UCHAR ucNumEntries; /* Number of entries. */ 178 ATOM_Vega10_CLK_Dependency_Record entries[ member 184 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 190 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 196 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 202 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ global() member 216 ATOM_Vega10_MM_Dependency_Record entries[1]; /* Dynamically allocate entries */ global() member 228 ATOM_Vega10_PCIE_Record entries[1]; /* Dynamically allocate entries. */ global() member 238 ATOM_Vega10_Voltage_Lookup_Record entries[1]; /* Dynamically allocate entries */ global() member 330 ATOM_Vega10_VCE_State_Record entries[1]; global() member 430 ATOM_Vega10_Hard_Limit_Record entries[1]; global() member [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-bio-prison-v1.c | 331 struct dm_deferred_entry entries[DEFERRED_SET_SIZE]; member 347 ds->entries[i].ds = ds; in dm_deferred_set_create() 348 ds->entries[i].count = 0; in dm_deferred_set_create() 349 INIT_LIST_HEAD(&ds->entries[i].work_items); in dm_deferred_set_create() 368 entry = ds->entries + ds->current_entry; in dm_deferred_entry_inc() 384 !ds->entries[ds->sweeper].count) { in __sweep() 385 list_splice_init(&ds->entries[ds->sweeper].work_items, head); in __sweep() 389 if ((ds->sweeper == ds->current_entry) && !ds->entries[ds->sweeper].count) in __sweep() 390 list_splice_init(&ds->entries[ds->sweeper].work_items, head); in __sweep() 415 !ds->entries[d in dm_deferred_set_add_work() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | movenchint.c | 251 AVIOContext *out, int *entries) in output_immediate() 265 (*entries)++; in output_immediate() 270 int match_offset, int match_len, int *entries) in output_match() 279 (*entries)++; in output_match() 283 AVIOContext *out, int *entries, in describe_payload() 292 output_immediate(data, pos, out, entries); in describe_payload() 295 output_match(out, match_sample, match_offset, match_len, entries); in describe_payload() 299 output_immediate(data, size, out, entries); in describe_payload() 319 int count = 0, entries; in write_hint_packets() local 381 entries in write_hint_packets() 250 output_immediate(const uint8_t *data, int size, AVIOContext *out, int *entries) output_immediate() argument 269 output_match(AVIOContext *out, int match_sample, int match_offset, int match_len, int *entries) output_match() argument 282 describe_payload(const uint8_t *data, int size, AVIOContext *out, int *entries, HintSampleQueue *queue) describe_payload() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | loop_dependence.h | 134 explicit DistanceVector(size_t size) : entries(size, DistanceEntry{}) {} in DistanceVector() 137 : entries(entries_) {} in DistanceVector() 139 DistanceEntry& GetEntry(size_t index) { return entries[index]; } in GetEntry() 140 const DistanceEntry& GetEntry(size_t index) const { return entries[index]; } in GetEntry() 142 std::vector<DistanceEntry>& GetEntries() { return entries; } in GetEntries() 143 const std::vector<DistanceEntry>& GetEntries() const { return entries; } in GetEntries() 146 if (entries.size() != rhs.entries.size()) { in operator ==() 149 for (size_t i = 0; i < entries.size(); ++i) { in operator ==() 150 if (entries[ in operator ==() 159 std::vector<DistanceEntry> entries; global() member in spvtools::opt::DistanceVector [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | loop_dependence.h | 134 explicit DistanceVector(size_t size) : entries(size, DistanceEntry{}) {} in DistanceVector() 137 : entries(entries_) {} in DistanceVector() 139 DistanceEntry& GetEntry(size_t index) { return entries[index]; } in GetEntry() 140 const DistanceEntry& GetEntry(size_t index) const { return entries[index]; } in GetEntry() 142 std::vector<DistanceEntry>& GetEntries() { return entries; } in GetEntries() 143 const std::vector<DistanceEntry>& GetEntries() const { return entries; } in GetEntries() 146 if (entries.size() != rhs.entries.size()) { in operator ==() 149 for (size_t i = 0; i < entries.size(); ++i) { in operator ==() 150 if (entries[ in operator ==() 159 std::vector<DistanceEntry> entries; global() member in spvtools::opt::DistanceVector [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | loop_dependence.h | 134 explicit DistanceVector(size_t size) : entries(size, DistanceEntry{}) {} in DistanceVector() 137 : entries(entries_) {} in DistanceVector() 139 DistanceEntry& GetEntry(size_t index) { return entries[index]; } in GetEntry() 140 const DistanceEntry& GetEntry(size_t index) const { return entries[index]; } in GetEntry() 142 std::vector<DistanceEntry>& GetEntries() { return entries; } in GetEntries() 143 const std::vector<DistanceEntry>& GetEntries() const { return entries; } in GetEntries() 146 if (entries.size() != rhs.entries.size()) { in operator ==() 149 for (size_t i = 0; i < entries.size(); ++i) { in operator ==() 150 if (entries[ in operator ==() 159 std::vector<DistanceEntry> entries; global() member in spvtools::opt::DistanceVector [all...] |