Home
last modified time | relevance | path

Searched refs:sets (Results 1 - 25 of 322) sorted by relevance

12345678910>>...13

/base/telephony/cellular_data/test/
H A Ddata_switch_settings_test.cpp54 DataSwitchSettings sets(2); in HWTEST_F()
55 std::cout << "DataSwitchSetting_01 slotId: " << sets.slotId_ << std::endl; in HWTEST_F()
56 ASSERT_TRUE(sets.SetUserDataOn(true) == TELEPHONY_ERR_SUCCESS); in HWTEST_F()
59 ASSERT_TRUE(sets.SetUserDataOn(true) == TELEPHONY_ERR_SUCCESS); in HWTEST_F()
64 DataSwitchSettings sets(2); in HWTEST_F()
65 std::cout << "DataSwitchSetting_02 slotId: " << sets.slotId_ << std::endl; in HWTEST_F()
67 ASSERT_TRUE(sets.QueryUserDataStatus(dataEnabled) == TELEPHONY_ERR_SUCCESS); in HWTEST_F()
77 DataSwitchSettings sets(2); in HWTEST_F()
78 std::cout << "DataSwitchSetting_03 slotId: " << sets.slotId_ << std::endl; in HWTEST_F()
79 ASSERT_TRUE(sets in HWTEST_F()
[all...]
/third_party/cmsis/CMSIS/Core/Include/m-profile/
H A Darmv7m_cachel1.h143 uint32_t sets; in SCB_EnableDCache() local
154 sets = (uint32_t)(CCSIDR_SETS(ccsidr)); in SCB_EnableDCache()
158 SCB->DCISW = (((sets << SCB_DCISW_SET_Pos) & SCB_DCISW_SET_Msk) | in SCB_EnableDCache()
164 } while(sets-- != 0U); in SCB_EnableDCache()
184 uint32_t sets; in SCB_DisableDCache() member
213 SCB->DCCIMVAC = (uint32_t)&locals.sets; in SCB_DisableDCache()
225 locals.sets = (uint32_t)(CCSIDR_SETS(locals.ccsidr)); in SCB_DisableDCache()
229 SCB->DCCISW = (((locals.sets << SCB_DCCISW_SET_Pos) & SCB_DCCISW_SET_Msk) | in SCB_DisableDCache()
235 } while(locals.sets-- != 0U); in SCB_DisableDCache()
251 uint32_t sets; in SCB_InvalidateDCache() local
286 uint32_t sets; SCB_CleanDCache() local
321 uint32_t sets; SCB_CleanInvalidateDCache() local
[all...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dcacheinfo.c69 unsigned int sets, unsigned int line_size) in ci_leaf_init()
74 this_leaf->number_of_sets = sets; in ci_leaf_init()
81 if (sets == 1) in ci_leaf_init()
88 if (sets > 0 && size > 0 && line_size > 0) in ci_leaf_init()
89 this_leaf->ways_of_associativity = (size / sets) / line_size; in ci_leaf_init()
95 unsigned int size, sets, line_size; in fill_cacheinfo() local
99 !of_property_read_u32(node, "cache-sets", &sets)) { in fill_cacheinfo()
100 ci_leaf_init((*this_leaf)++, CACHE_TYPE_UNIFIED, level, size, sets, line_size); in fill_cacheinfo()
104 !of_property_read_u32(node, "i-cache-sets", in fill_cacheinfo()
67 ci_leaf_init(struct cacheinfo *this_leaf, enum cache_type type, unsigned int level, unsigned int size, unsigned int sets, unsigned int line_size) ci_leaf_init() argument
[all...]
/third_party/googletest/googletest/src/hwext/
H A Dgtest-tag.cc149 static std::vector<const TestFlag*> sets; member
152 if (sets.size() > 0) { in ensureSetsInit()
155 sets.push_back(&TestSize); in ensureSetsInit()
156 sets.push_back(&G_TYPE); in ensureSetsInit()
157 sets.push_back(&G_SIZE); in ensureSetsInit()
158 sets.push_back(&G_RANK); in ensureSetsInit()
164 return sets; in AllHextTagSets()
171 for (unsigned int i = 0; i < sets.size(); i++) in CheckFlagsLegality()
173 const TestFlag* set = sets.at(i); in CheckFlagsLegality()
184 for (unsigned int i = 0; i < sets in flagForName()
[all...]
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dc-octeon.c180 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon()
184 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
188 c->dcache.sets = 2; /* CN5XXX has two Dcache sets */ in probe_octeon()
190 c->dcache.sets = 1; /* CN3XXX has one Dcache set */ in probe_octeon()
193 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
200 c->icache.sets = 8; in probe_octeon()
203 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
207 c->dcache.sets = 8; in probe_octeon()
208 dcache_size = c->dcache.sets * in probe_octeon()
[all...]
H A Dsc-mips.c153 unsigned long sets, line_sz, assoc; in mips_sc_probe_cm3() local
158 sets = cfg & CM_GCR_L2_CONFIG_SET_SIZE; in mips_sc_probe_cm3()
159 sets >>= __ffs(CM_GCR_L2_CONFIG_SET_SIZE); in mips_sc_probe_cm3()
160 if (sets) in mips_sc_probe_cm3()
161 c->scache.sets = 64 << sets; in mips_sc_probe_cm3()
171 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe_cm3()
214 c->scache.sets = 64 << tmp; in mips_sc_probe()
236 * According to config2 it would be 5-ways and 512-sets, in mips_sc_probe()
241 c->scache.sets in mips_sc_probe()
[all...]
/kernel/linux/linux-6.6/arch/mips/mm/
H A Dc-octeon.c183 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon()
187 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
191 c->dcache.sets = 2; /* CN5XXX has two Dcache sets */ in probe_octeon()
193 c->dcache.sets = 1; /* CN3XXX has one Dcache set */ in probe_octeon()
196 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
203 c->icache.sets = 8; in probe_octeon()
206 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
210 c->dcache.sets = 8; in probe_octeon()
211 dcache_size = c->dcache.sets * in probe_octeon()
[all...]
H A Dsc-mips.c153 unsigned long sets, line_sz, assoc; in mips_sc_probe_cm3() local
158 sets = cfg & CM_GCR_L2_CONFIG_SET_SIZE; in mips_sc_probe_cm3()
159 sets >>= __ffs(CM_GCR_L2_CONFIG_SET_SIZE); in mips_sc_probe_cm3()
160 if (sets) in mips_sc_probe_cm3()
161 c->scache.sets = 64 << sets; in mips_sc_probe_cm3()
171 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe_cm3()
214 c->scache.sets = 64 << tmp; in mips_sc_probe()
236 * According to config2 it would be 5-ways and 512-sets, in mips_sc_probe()
241 c->scache.sets in mips_sc_probe()
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-subset-input.cc59 hb_set_add_range (input->sets.name_ids, 0, 6); in hb_subset_input_create_or_fail()
60 hb_set_add (input->sets.name_languages, 0x0409); in hb_subset_input_create_or_fail()
86 input->sets.drop_tables->add_array (default_drop_tables, ARRAY_LENGTH (default_drop_tables)); in hb_subset_input_create_or_fail()
101 input->sets.no_subset_tables->add_array (default_no_subset_tables, in hb_subset_input_create_or_fail()
191 input->sets.layout_features->add_array (default_layout_features, ARRAY_LENGTH (default_layout_features)); in hb_subset_input_create_or_fail()
252 return input->sets.unicodes; in hb_subset_input_unicode_set()
269 return input->sets.glyphs; in hb_subset_input_glyph_set()
/foundation/communication/dsoftbus/adapter/default_config/spec_config/
H A Dsoftbus_config_adapter.c19 void SoftbusConfigAdapterInit(const ConfigSetProc *sets) in SoftbusConfigAdapterInit() argument
21 if (sets == NULL) { in SoftbusConfigAdapterInit()
25 sets->SetConfig(SOFTBUS_INT_AUTH_ABILITY_COLLECTION, (unsigned char *)&val, sizeof(val)); in SoftbusConfigAdapterInit()
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_bloom.cpp180 RenderHandle sets[2u] {};
181 sets[0u] = binders_.globalSet0->GetDescriptorSetHandle();
184 sets[1u] = binder.GetDescriptorSetHandle();
198 // bind all sets
199 cmdList.BindDescriptorSets(0, sets);
218 RenderHandle sets[2u] {}; in ComputeDownscale()
219 sets[0u] = binders_.globalSet0->GetDescriptorSetHandle(); in ComputeDownscale()
223 sets[1u] = binder.GetDescriptorSetHandle(); in ComputeDownscale()
234 cmdList.BindDescriptorSets(0u, sets); in ComputeDownscale()
253 RenderHandle sets[ in ComputeUpscale()
[all...]
H A Drender_motion_blur.cpp204 RenderHandle sets[2u] {}; in Execute()
207 sets[0u] = binder.GetDescriptorSetHandle(); in Execute()
218 sets[1u] = binder.GetDescriptorSetHandle(); in Execute()
220 cmdList.BindDescriptorSets(0u, sets); in Execute()
265 RenderHandle sets[2u] {}; in ExecuteTileVelocity()
268 sets[0u] = binder.GetDescriptorSetHandle(); in ExecuteTileVelocity()
285 sets[1u] = binder.GetDescriptorSetHandle(); in ExecuteTileVelocity()
287 cmdList.BindDescriptorSets(0u, sets); in ExecuteTileVelocity()
318 sets[1u] = binder.GetDescriptorSetHandle(); in ExecuteTileVelocity()
320 cmdList.BindDescriptorSets(0u, sets); in ExecuteTileVelocity()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dloop_fission.cpp33 // groups into two different sets, one for the first loop and one for the
37 // loop using those two sets. We check that we haven't altered the relative
46 // to the current loop header block. We then use the two sets built in step 2 to
64 // Group each instruction in the loop into sets of instructions related by
66 // same set. Then merge those sets into just two sets. Returns false if there
67 // was one or less sets created.
70 // Check if the sets built by GroupInstructionsByUseDef violate any data
141 // Don't include labels or loop merge instructions in the instruction sets. in TraverseUseDef()
189 std::vector<std::set<Instruction*>> sets{}; in GroupInstructionsByUseDef()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dloop_fission.cpp33 // groups into two different sets, one for the first loop and one for the
37 // loop using those two sets. We check that we haven't altered the relative
46 // to the current loop header block. We then use the two sets built in step 2 to
64 // Group each instruction in the loop into sets of instructions related by
66 // same set. Then merge those sets into just two sets. Returns false if there
67 // was one or less sets created.
70 // Check if the sets built by GroupInstructionsByUseDef violate any data
141 // Don't include labels or loop merge instructions in the instruction sets. in TraverseUseDef()
189 std::vector<std::set<Instruction*>> sets{}; in GroupInstructionsByUseDef()
[all...]
/kernel/linux/linux-5.10/net/ethtool/
H A Dstrset.c96 struct strset_info sets[ETH_SS_COUNT]; member
128 per_dev = data->sets[id].per_dev; in strset_include()
129 if (!per_dev && !data->sets[id].strings) in strset_include()
203 if (data->sets[i].free_strings) { in strset_cleanup_data()
204 kfree(data->sets[i].strings); in strset_cleanup_data()
205 data->sets[i].strings = NULL; in strset_cleanup_data()
206 data->sets[i].free_strings = false; in strset_cleanup_data()
261 memcpy(&data->sets, &info_template, sizeof(data->sets)); in strset_prepare_data()
266 data->sets[ in strset_prepare_data()
[all...]
/kernel/linux/linux-6.6/net/ethtool/
H A Dstrset.c121 struct strset_info sets[ETH_SS_COUNT]; member
153 per_dev = data->sets[id].per_dev; in strset_include()
154 if (!per_dev && !data->sets[id].strings) in strset_include()
228 if (data->sets[i].free_strings) { in strset_cleanup_data()
229 kfree(data->sets[i].strings); in strset_cleanup_data()
230 data->sets[i].strings = NULL; in strset_cleanup_data()
231 data->sets[i].free_strings = false; in strset_cleanup_data()
286 memcpy(&data->sets, &info_template, sizeof(data->sets)); in strset_prepare_data()
291 data->sets[ in strset_prepare_data()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dusettest.h183 void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16,
187 void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16,
190 void testSpanBothUTFs(const UnicodeSetWithStrings *sets[4],
194 void testSpanContents(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, const char *testName);
195 void testSpanUTF16String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, const char *testName);
196 void testSpanUTF8String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, const char *testName);
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsetup_64.c551 u32 bsize, u32 sets) in init_cache_info()
554 info->sets = sets; in init_cache_info()
563 if (sets == 0) in init_cache_info()
566 info->assoc = size / (sets * lsize); in init_cache_info()
575 "i-cache-sets", in parse_cache_info()
581 "d-cache-sets", in parse_cache_info()
587 u32 size, lsize, bsize, sets; in parse_cache_info() local
591 sets = -1u; in parse_cache_info()
598 sets in parse_cache_info()
550 init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, u32 bsize, u32 sets) init_cache_info() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DLocaleDataTest.java232 UnicodeSet[] sets = new UnicodeSet[scriptCodes.length]; in TestExemplarSet()
235 sets[j] = new UnicodeSet("[:" + UScript.getShortName(scriptCodes[j]) + ":]"); in TestExemplarSet()
242 for(int j=0; j<sets.length; j++){ in TestExemplarSet()
243 if(sets[j].contains(iter.codepoint, iter.codepointEnd)){ in TestExemplarSet()
249 for(int j=0; j<sets.length; j++){ in TestExemplarSet()
250 if(sets[j].contains(iter.string)){ in TestExemplarSet()
309 UnicodeSet[] sets = new UnicodeSet[scriptCodes.length]; in TestExemplarSet2()
312 sets[j] = new UnicodeSet("[:" + UScript.getShortName(scriptCodes[j]) + ":]"); in TestExemplarSet2()
319 for(int j=0; j<sets.length; j++){ in TestExemplarSet2()
320 if(sets[ in TestExemplarSet2()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DLocaleDataTest.java225 UnicodeSet[] sets = new UnicodeSet[scriptCodes.length]; in TestExemplarSet()
228 sets[j] = new UnicodeSet("[:" + UScript.getShortName(scriptCodes[j]) + ":]"); in TestExemplarSet()
235 for(int j=0; j<sets.length; j++){ in TestExemplarSet()
236 if(sets[j].contains(iter.codepoint, iter.codepointEnd)){ in TestExemplarSet()
242 for(int j=0; j<sets.length; j++){ in TestExemplarSet()
243 if(sets[j].contains(iter.string)){ in TestExemplarSet()
298 UnicodeSet[] sets = new UnicodeSet[scriptCodes.length]; in TestExemplarSet2()
301 sets[j] = new UnicodeSet("[:" + UScript.getShortName(scriptCodes[j]) + ":]"); in TestExemplarSet2()
308 for(int j=0; j<sets.length; j++){ in TestExemplarSet2()
309 if(sets[ in TestExemplarSet2()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Ds3c2410.c1027 struct s3c2410_nand_set *sets; in s3c24xx_nand_probe_dt() local
1045 sets = devm_kcalloc(&pdev->dev, pdata->nr_sets, sizeof(*sets), in s3c24xx_nand_probe_dt()
1047 if (!sets) in s3c24xx_nand_probe_dt()
1050 pdata->sets = sets; in s3c24xx_nand_probe_dt()
1053 sets->name = (char *)child->name; in s3c24xx_nand_probe_dt()
1054 sets->of_node = child; in s3c24xx_nand_probe_dt()
1055 sets->nr_chips = 1; in s3c24xx_nand_probe_dt()
1059 sets in s3c24xx_nand_probe_dt()
1086 struct s3c2410_nand_set *sets; s3c24xx_nand_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Ds3c2410.c971 struct s3c2410_nand_set *sets; in s3c24xx_nand_probe_dt() local
989 sets = devm_kcalloc(&pdev->dev, pdata->nr_sets, sizeof(*sets), in s3c24xx_nand_probe_dt()
991 if (!sets) in s3c24xx_nand_probe_dt()
994 pdata->sets = sets; in s3c24xx_nand_probe_dt()
997 sets->name = (char *)child->name; in s3c24xx_nand_probe_dt()
998 sets->of_node = child; in s3c24xx_nand_probe_dt()
999 sets->nr_chips = 1; in s3c24xx_nand_probe_dt()
1003 sets in s3c24xx_nand_probe_dt()
1030 struct s3c2410_nand_set *sets; s3c24xx_nand_probe() local
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_descriptor_set.c105 /* The maximum values apply to all sets attached to a pipeline since all in panvk_GetDescriptorSetLayoutSupport()
106 * sets descriptors have to be merged in a single array. in panvk_GetDescriptorSetLayoutSupport()
145 layout->sets[set].sampler_offset = sampler_idx; in panvk_CreatePipelineLayout()
146 layout->sets[set].tex_offset = tex_idx; in panvk_CreatePipelineLayout()
147 layout->sets[set].ubo_offset = ubo_idx; in panvk_CreatePipelineLayout()
148 layout->sets[set].dyn_ubo_offset = dyn_ubo_idx; in panvk_CreatePipelineLayout()
149 layout->sets[set].dyn_ssbo_offset = dyn_ssbo_idx; in panvk_CreatePipelineLayout()
150 layout->sets[set].img_offset = img_idx; in panvk_CreatePipelineLayout()
195 layout->sets[set].sampler_offset++; in panvk_CreatePipelineLayout()
219 pool->max.sets in panvk_CreateDescriptorPool()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dralf.c56 VLCSet sets[3]; member
113 ff_free_vlc(&ctx->sets[i].filter_params); in decode_close()
114 ff_free_vlc(&ctx->sets[i].bias); in decode_close()
115 ff_free_vlc(&ctx->sets[i].coding_mode); in decode_close()
118 ff_free_vlc(&ctx->sets[i].filter_coeffs[j][k]); in decode_close()
120 ff_free_vlc(&ctx->sets[i].short_codes[j]); in decode_close()
122 ff_free_vlc(&ctx->sets[i].long_codes[j]); in decode_close()
165 ret = init_ralf_vlc(&ctx->sets[i].filter_params, filter_param_def[i], in decode_init()
169 ret = init_ralf_vlc(&ctx->sets[i].bias, bias_def[i], BIAS_ELEMENTS); in decode_init()
172 ret = init_ralf_vlc(&ctx->sets[ in decode_init()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DUnicodeSetStringSpanTest.java556 // sets to be tested; odd index=isComplement
573 void verifySpan(final UnicodeSetWithStrings sets[], final String s, int whichSpans, in verifySpan() argument
584 // Even-numbered sets are original, uncomplemented sets. in verifySpan()
589 // Odd-numbered sets are complemented. in verifySpan()
595 limitsCount = getSpans(sets[i], (0 != (i & 1)), s, whichSpans, type, typeName, limits, in verifySpan()
640 if (!sets[SLOW].getSet().containsAll(string)) { in verifySpan()
645 if (!sets[FAST].getSet().containsAll(string)) { in verifySpan()
651 if (!sets[SLOW].getSet().containsNone(string)) { in verifySpan()
656 if (!sets[FAS in verifySpan()
669 verifySpan(final UnicodeSetWithStrings sets[], final String s, int whichSpans, final String testName, int index) verifySpan() argument
680 verifySpanBothUTFs(final UnicodeSetWithStrings sets[], final String s16, int whichSpans, final String testName, int index) verifySpanBothUTFs() argument
715 verifySpanContents(final UnicodeSetWithStrings sets[], int whichSpans, final String testName) verifySpanContents() argument
776 verifySpanUTF16String(final UnicodeSetWithStrings sets[], int whichSpans, final String testName) verifySpanUTF16String() argument
[all...]

Completed in 17 milliseconds

12345678910>>...13