/kernel/liteos_m/kal/cmsis/ |
H A D | cmsis_liteos2.c | 622 for (uint32_t index = 0; index <= LOSCFG_BASE_CORE_TSK_LIMIT; index++) {
in osThreadGetCount() 623 if (!((g_taskCBArray + index)->taskStatus & OS_TASK_STATUS_UNUSED)) {
in osThreadGetCount() 1438 uint32_t index;
in osMemoryPoolNew() local 1499 for (index = 0; index < block_count - 1; ++index) {
in osMemoryPoolNew()
|
/kernel/linux/linux-6.6/lib/ |
H A D | rhashtable.c | 1182 unsigned int index = hash & ((1 << tbl->nest) - 1); in __rht_bucket_nested() local 1188 ntbl = rht_dereference_bucket_rcu(ntbl[index].table, tbl, hash); in __rht_bucket_nested() 1192 index = subhash & ((1 << shift) - 1); in __rht_bucket_nested() 1193 ntbl = rht_dereference_bucket_rcu(ntbl[index].table, in __rht_bucket_nested() 1222 unsigned int index = hash & ((1 << tbl->nest) - 1); in rht_bucket_nested_insert() local 1228 ntbl = nested_table_alloc(ht, &ntbl[index].table, in rht_bucket_nested_insert() 1232 index = hash & ((1 << shift) - 1); in rht_bucket_nested_insert() 1235 ntbl = nested_table_alloc(ht, &ntbl[index].table, in rht_bucket_nested_insert()
|
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A D | skl-pcm.c | 201 if (link->index == params->link_index) in skl_pcm_link_dma_prepare() 491 snd_hdac_stream_drsm_enable(bus, true, hstream->index); in skl_pcm_trigger() 528 hstream->index)); in skl_pcm_trigger() 578 p_params.link_index = link->index; in skl_link_hw_params() 1063 int skl_dai_load(struct snd_soc_component *cmp, int index, in skl_dai_load() argument 1126 sbits |= 1 << hdac_stream(stream)->index; in skl_coupled_trigger() 1203 hdac_stream(hstream)->index)); in skl_platform_soc_pointer() 1209 hdac_stream(hstream)->index)); in skl_platform_soc_pointer()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | asn1_compiler.c | 294 unsigned char index; member 744 * Build up a list of types and a sorted index to that list. 1093 action->index = 0; in parse_type() 1297 int index; in render() local 1327 index = 0; in render() 1329 action->index = index++; in render() 1340 action->name, action->index); in render() 1348 fprintf(out, "\t[%4u] = %s,\n", action->index, action->name); in render()
|
/third_party/elfio/tests/ |
H A D | ELFIOTest.cpp | 65 Elf_Half index, in checkSection() 76 EXPECT_EQ( sec->get_index(), index ); in checkSection() 125 Elf_Xword index, in checkSymbol() 143 sr.get_symbol( index, name, value, size, bind, type, section, other ), in checkSymbol() 156 Elf_Xword index, in checkRelocation() 171 ASSERT_EQ( pRT->get_entry( index, offset, symbolValue, symbolName, type, in checkRelocation() 184 Elf_Word index, in checkNote() 194 ASSERT_EQ( notes.get_note( index, type, name, desc, descSize ), true ); in checkNote() 64 checkSection( const section* sec, Elf_Half index, const std::string& name, Elf_Word type, Elf_Xword flags, Elf64_Addr address, Elf_Xword size, Elf_Word link, Elf_Word info, Elf_Xword addrAlign, Elf_Xword entrySize ) checkSection() argument 124 checkSymbol( const const_symbol_section_accessor& sr, Elf_Xword index, const std::string& name_, Elf64_Addr value_, Elf_Xword size_, unsigned char bind_, unsigned char type_, Elf_Half section_, unsigned char other_ ) checkSymbol() argument 155 checkRelocation( const const_relocation_section_accessor* pRT, Elf_Xword index, Elf64_Addr offset_, Elf64_Addr symbolValue_, const std::string& symbolName_, unsigned char type_, Elf_Sxword addend_, Elf_Sxword calcValue_ ) checkRelocation() argument 183 checkNote( const const_note_section_accessor& notes, Elf_Word index, Elf_Word type_, const std::string& name_, Elf_Word descSize_ ) checkNote() argument
|
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_tf.c | 295 tf_output.index = 0; in get_input_tf() 510 input.index = 0; in add_conv_layer() 628 input.index = 0; in add_depth_to_space_layer() 682 input.index = 0; in add_pad_layer() 733 input.index = 0; in add_maximum_layer() 840 input.index = 0; in load_native_model() 982 infer_request->tf_input->index = 0; in fill_model_input_tf() 1032 infer_request->tf_outputs[i].index = 0; in fill_model_input_tf()
|
/third_party/ffmpeg/libavformat/ |
H A D | gxfenc.c | 89 int height, index; member 128 sc->lines_index = gxf_lines_tab[i].index; in gxf_find_lines_index() 245 static int gxf_write_track_description(AVFormatContext *s, GXFStreamContext *sc, int index) in gxf_write_track_description() argument 253 avio_w8(pb, index + 0xC0); in gxf_write_track_description() 271 gxf_write_mpeg_auxiliary(pb, s->streams[index]); in gxf_write_track_description() 275 gxf_write_dv_auxiliary(pb, s->streams[index]); in gxf_write_track_description() 802 sc->order = s->nb_streams - st->index; in gxf_write_header() 895 avio_w8(pb, st->index); in gxf_write_media_preamble()
|
H A D | wtvenc.c | 96 WtvChunkEntry index[MAX_NB_INDEX]; member 148 WtvChunkEntry *t = wctx->index + wctx->nb_index; in write_chunk_header() 194 WtvChunkEntry *t = wctx->index + i; in write_index() 201 wctx->nb_index = 0; // reset index in write_index() 359 write_chunk_header2(s, &ff_SBE2_STREAM_DESC_EVENT, 0x80000000 | (st->index + INDEX_BASE)); in write_stream_data() 361 avio_wl32(pb, st->index + INDEX_BASE); //stream_id in write_stream_data() 725 static int finish_file(AVFormatContext *s, enum WtvFileIndex index, int64_t start_pos) in finish_file() argument 729 WtvFile *w = &wctx->file[index]; in finish_file() 733 av_assert0(index < WTV_FILES); in finish_file()
|
/third_party/backends/tools/ |
H A D | sane-find-scanner.c | 410 get_libusb_string_descriptor (struct usb_device *dev, int index) in get_libusb_string_descriptor() argument 418 if (!index) in get_libusb_string_descriptor() 430 (USB_DT_STRING << 8) + index, 0, short_buffer, in get_libusb_string_descriptor() 455 (USB_DT_STRING << 8) + index, 0, buffer, in get_libusb_string_descriptor() 765 get_libusb_string_descriptor (libusb_device_handle *hdl, int index) in get_libusb_string_descriptor() argument 772 if (!index) in get_libusb_string_descriptor() 775 ret = libusb_get_descriptor (hdl, LIBUSB_DT_STRING, index, in get_libusb_string_descriptor() 794 ret = libusb_get_descriptor (hdl, LIBUSB_DT_STRING, index, in get_libusb_string_descriptor()
|
/third_party/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 125 "Indicates the file, line number, temporal index of " 1451 if (death_test_index > flag->index()) { in Create() 1455 StreamableToString(flag->index()) + ")"); in Create() 1460 flag->index() == death_test_index)) { in Create() 1572 int index = -1; in ParseInternalRunDeathTestFlag() local 1584 !ParseNaturalNumber(fields[2], &index) || in ParseInternalRunDeathTestFlag() 1597 !ParseNaturalNumber(fields[2], &index)) { in ParseInternalRunDeathTestFlag() 1605 !ParseNaturalNumber(fields[2], &index) || in ParseInternalRunDeathTestFlag() 1613 return new InternalRunDeathTestFlag(fields[0], line, index, write_fd); in ParseInternalRunDeathTestFlag()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Utility.java | 807 * offset+length is the index after the escape sequence. 1160 * Look up a given string in a string array. Returns the index at 1166 * @return the index of target at which source first occurs, or -1 1182 * is the index after the last parsed character. If the parse 1272 * pos is advanced to the first unparsed index and returned. 1275 * @param text text to be parsed, starting at index 1276 * @param index offset to first character to parse 1278 * @return index after last parsed character, or -1 on parse failure. 1282 int index, in parsePattern() 1288 return index; in parsePattern() 1280 parsePattern(String pat, Replaceable text, int index, int limit) parsePattern() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Utility.java | 1095 * Look up a given string in a string array. Returns the index at 1101 * @return the index of target at which source first occurs, or -1 1117 * is the index after the last parsed character. If the parse 1207 * pos is advanced to the first unparsed index and returned. 1210 * @param text text to be parsed, starting at index 1211 * @param index offset to first character to parse 1213 * @return index after last parsed character, or -1 on parse failure. 1217 int index, in parsePattern() 1223 return index; in parsePattern() 1228 while (index < limi in parsePattern() 1215 parsePattern(String pat, Replaceable text, int index, int limit) parsePattern() argument [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_insert_waitcnt.cpp | 789 wait_ctx ctx = in_ctx[current.index]; in insert_wait_states() 792 loop_header_indices.push(current.index); in insert_wait_states() 811 if (done[current.index] && !changed) { in insert_wait_states() 812 in_ctx[current.index] = std::move(ctx); in insert_wait_states() 815 in_ctx[current.index] = ctx; in insert_wait_states() 819 out_ctx[current.index] = std::move(ctx); in insert_wait_states() 824 done[current.index] = true; in insert_wait_states() 828 out_ctx[current.index] = std::move(ctx); in insert_wait_states()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_shader.cpp | 510 for (auto& [index, input] : m_inputs) { in scan_shader() 519 for (auto& [index, out] : m_outputs) { in scan_shader() 1117 << intr->dest.ssa.index << " const["<< i << "]: "<< intr->const_index[i] << "\n"; in load_uniform() 1236 << instr->dest.ssa.index << " const["<< i << "]: "<< instr->const_index[i] << "\n"; in load_ubo() 1336 for (auto& [index, info] : m_inputs) { in get_shader_info() 1354 sfn_log << SfnLog::io << "Emit Input [" << index << "] sid:" << io.sid << " spi_sid:" << io.spi_sid << "\n"; in get_shader_info() 1363 for (auto& [index, info] : m_outputs) { in get_shader_info() 1371 sfn_log << SfnLog::io << "Emit output[" << index << "] sid:" << io.sid << " spi_sid:" << io.spi_sid << "\n"; in get_shader_info()
|
H A D | sfn_instr_tex.cpp | 65 void TexInstr::set_offset(unsigned index, int32_t val) in set_offset() argument 67 assert(index < 3); in set_offset() 68 m_offset[index] = val; in set_offset() 71 int TexInstr::get_offset(unsigned index) const 73 assert(index < 3); 74 return m_offset[index] << 1; 130 !m_sampler_offset->as_register()->ready(block_id(), index())) 132 return m_src.ready(block_id(), index()); 561 /* txf doesn't need rounding for the array index, but 1D has the array index in emit_tex_tex_ms_direct() [all...] |
/third_party/node/lib/internal/modules/cjs/ |
H A D | loader.js | 407 // -> a/index.<ext> 432 return tryExtensions(path.resolve(requestPath, 'index'), exts, isMain); 438 tryExtensions(path.resolve(filename, 'index'), exts, isMain); 440 actual = tryExtensions(path.resolve(requestPath, 'index'), exts, isMain); 504 let index; 506 while ((index = StringPrototypeIndexOf(name, '.', startIndex)) !== -1) { 507 startIndex = index + 1; 508 if (index === 0) { continue; } // Skip dotfiles like .gitignore 509 currentExtension = StringPrototypeSlice(name, index); 707 // try it with each of the extensions at "index" [all...] |
/third_party/node/deps/googletest/src/ |
H A D | gtest-death-test.cc | 129 "Indicates the file, line number, temporal index of " 1416 if (death_test_index > flag->index()) { in Create() 1420 StreamableToString(flag->index()) + ")"); in Create() 1425 flag->index() == death_test_index)) { in Create() 1537 int index = -1; in ParseInternalRunDeathTestFlag() local 1549 !ParseNaturalNumber(fields[2], &index) || in ParseInternalRunDeathTestFlag() 1562 !ParseNaturalNumber(fields[2], &index)) { in ParseInternalRunDeathTestFlag() 1570 !ParseNaturalNumber(fields[2], &index) || in ParseInternalRunDeathTestFlag() 1578 return new InternalRunDeathTestFlag(fields[0], line, index, write_fd); in ParseInternalRunDeathTestFlag()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | wrtxml.cpp | 693 int index = 0; in array_write_xml() local 705 itostr(c, index, 10, 0); in array_write_xml() 706 index += 1; in array_write_xml() 1031 int32_t first, index; in bundle_write_xml() local 1045 index = (int32_t)(uprv_strlen(filename) - uprv_strlen(textExt) - first); in bundle_write_xml() 1046 originalFileName = (char *)uprv_malloc(sizeof(char)*index+1); in bundle_write_xml() 1047 uprv_memset(originalFileName, 0, sizeof(char)*index+1); in bundle_write_xml() 1048 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
|
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | wrtxml.cpp | 693 int index = 0; in array_write_xml() local 705 itostr(c, index, 10, 0); in array_write_xml() 706 index += 1; in array_write_xml() 1031 int32_t first, index; in bundle_write_xml() local 1045 index = (int32_t)(uprv_strlen(filename) - uprv_strlen(textExt) - first); in bundle_write_xml() 1046 originalFileName = (char *)uprv_malloc(sizeof(char)*index+1); in bundle_write_xml() 1047 uprv_memset(originalFileName, 0, sizeof(char)*index+1); in bundle_write_xml() 1048 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | phonenumbermatcher_test.cc | 151 // Asserts that another number can be found in "text" starting at "index", and 153 void AssertEqualRange(const string& text, int index, int start, int end) { in AssertEqualRange() argument 154 string sub = text.substr(index); in AssertEqualRange() 161 EXPECT_EQ(start - index, match.start()); in AssertEqualRange() 162 EXPECT_EQ(end - index, match.end()); in AssertEqualRange() 314 // Exhaustively searches for phone numbers from each index within "text" to 318 for (size_t index = 0; index <= text.length(); ++index) { in EnsureTermination() 319 string sub = text.substr(index); in EnsureTermination() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_descriptors_lazy.c | 83 int index = shader->bindings[type][idx].index; in init_template_entry() local 96 entry->offset = offsetof(struct zink_context, di.ubos[stage][index]); in init_template_entry() 100 entry->offset = offsetof(struct zink_context, di.textures[stage][index]); in init_template_entry() 104 entry->offset = offsetof(struct zink_context, di.tbos[stage][index]); in init_template_entry() 108 entry->offset = offsetof(struct zink_context, di.ssbos[stage][index]); in init_template_entry() 112 entry->offset = offsetof(struct zink_context, di.images[stage][index]); in init_template_entry() 116 entry->offset = offsetof(struct zink_context, di.texel_images[stage][index]); in init_template_entry() 534 /* set index incremented by 1 to account for push set */ in zink_descriptors_update_lazy_masked() 546 /* set index incremente in zink_descriptors_update_lazy_masked() [all...] |
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 122 "Indicates the file, line number, temporal index of " 1477 if (death_test_index > flag->index()) { in Create() 1481 + StreamableToString(flag->index()) + ")"); in Create() 1486 flag->index() == death_test_index)) { in Create() 1601 int index = -1; in ParseInternalRunDeathTestFlag() local 1614 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag() 1629 || !ParseNaturalNumber(fields[2], &index)) { in ParseInternalRunDeathTestFlag() 1638 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag() 1646 return new InternalRunDeathTestFlag(fields[0], line, index, write_fd); in ParseInternalRunDeathTestFlag()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberMatcherTest.java | 927 * Asserts that another number can be found in {@code text} starting at {@code index}, and that 930 private void assertEqualRange(CharSequence text, int index, int start, int end) { in assertEqualRange() argument 931 CharSequence sub = text.subSequence(index, text.length()); in assertEqualRange() 936 assertEquals(start - index, match.start()); in assertEqualRange() 937 assertEquals(end - index, match.end()); in assertEqualRange() 1040 * Exhaustively searches for phone numbers from each index within {@code text} to test that 1044 for (int index = 0; index <= text.length(); index++) { in ensureTermination() 1045 String sub = text.substring(index); in ensureTermination() [all...] |
/third_party/python/Lib/test/test_capi/ |
H A D | test_misc.py | 459 def __setitem__(self, index, value): 460 self.index = index 465 self.assertEqual(c.index, slice(0, 5)) 500 def __delitem__(self, index): 501 self.index = index 505 self.assertEqual(c.index, slice(0, 5))
|
/third_party/python/Lib/ |
H A D | difflib.py | 1571 index, contextLines = 0, [None]*(context) 1578 i = index % context 1580 index += 1 1583 if index > context: 1587 lines_to_write = index 1588 index = 0 1590 i = index % context 1591 index += 1
|