Home
last modified time | relevance | path

Searched refs:index_size (Results 1 – 25 of 26) sorted by relevance

12

/third_party/boost/libs/iterator/test/
Dpermutation_iterator_test.cpp45 const int index_size = 7; in permutation_test() local
47 BOOST_STATIC_ASSERT(index_size <= element_range_size); in permutation_test()
52 index_type indices( index_size ); in permutation_test()
54 { *i_it = element_range_size - index_size + std::distance(indices.begin(), i_it); } in permutation_test()
65 BOOST_CHECK( std::distance( begin, end ) == index_size ); in permutation_test()
73 for( int i1 = 0; i1 < index_size - 1 ; ++++i1, ++++it ) in permutation_test()
81 std::advance(it, index_size); in permutation_test()
88 std::advance(it, index_size); in permutation_test()
89 for( int i2 = 0; i2 < index_size - 1; i2+=2, --it ) in permutation_test()
/third_party/boost/libs/iterator/example/
Dpermutation_iter_example.cpp23 static const int index_size = 4; in main() local
29 index_type indices( index_size ); in main()
31 *i_it = element_range_size - index_size + std::distance(indices.begin(), i_it); in main()
53 for(i = 0; i < index_size / 2 ; ++i, it+=2 ) std::cout << *it << " "; in main()
57 it = begin + (index_size); in main()
63 it = begin + (index_size - 1); in main()
64 for(i = 0 ; i < index_size / 2 ; ++i, it-=2 ) std::cout << *it << " "; in main()
/third_party/boost/libs/iterator/doc/
Dpermutation_iterator_eg.rst14 static const int index_size = 4;
20 index_type indices( index_size );
22 *i_it = element_range_size - index_size + std::distance(indices.begin(), i_it);
44 for(i = 0; i < index_size / 2 ; ++i, it+=2 ) std::cout << *it << " ";
48 it = begin + (index_size);
54 it = begin + (index_size - 1);
55 for(i = 0 ; i < index_size / 2 ; ++i, it-=2 ) std::cout << *it << " ";
/third_party/boost/libs/iterator/doc/quickbook/
Dpermutation_iterator.qbk30 static const int index_size = 4;
36 index_type indices( index_size );
38 *i_it = element_range_size - index_size + std::distance(indices.begin(), i_it);
60 for(i = 0; i < index_size / 2 ; ++i, it+=2 ) std::cout << *it << " ";
64 it = begin + (index_size);
70 it = begin + (index_size - 1);
71 for(i = 0 ; i < index_size / 2 ; ++i, it-=2 ) std::cout << *it << " ";
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts.cpp525 if (dd1->index_size() == 0) { in ComputeClosureOfFacts()
537 if (dd2->index_size() == 0) { in ComputeClosureOfFacts()
544 assert(dd1->index_size() > 0 && dd2->index_size() > 0 && in ComputeClosureOfFacts()
549 if (dd1->index(dd1->index_size() - 1) != in ComputeClosureOfFacts()
550 dd2->index(dd2->index_size() - 1)) { in ComputeClosureOfFacts()
554 const uint32_t common_final_index = dd1->index(dd1->index_size() - 1); in ComputeClosureOfFacts()
565 for (uint32_t i = 0; i < static_cast<uint32_t>(dd1->index_size() - 1); in ComputeClosureOfFacts()
571 for (uint32_t i = 0; i < static_cast<uint32_t>(dd2->index_size() - 1); in ComputeClosureOfFacts()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts.cpp525 if (dd1->index_size() == 0) { in ComputeClosureOfFacts()
537 if (dd2->index_size() == 0) { in ComputeClosureOfFacts()
544 assert(dd1->index_size() > 0 && dd2->index_size() > 0 && in ComputeClosureOfFacts()
549 if (dd1->index(dd1->index_size() - 1) != in ComputeClosureOfFacts()
550 dd2->index(dd2->index_size() - 1)) { in ComputeClosureOfFacts()
554 const uint32_t common_final_index = dd1->index(dd1->index_size() - 1); in ComputeClosureOfFacts()
565 for (uint32_t i = 0; i < static_cast<uint32_t>(dd1->index_size() - 1); in ComputeClosureOfFacts()
571 for (uint32_t i = 0; i < static_cast<uint32_t>(dd2->index_size() - 1); in ComputeClosureOfFacts()
/third_party/ffmpeg/libavcodec/
Dcbs_vp9.c427 size_t index_size, pos; in cbs_vp9_split_fragment() local
430 index_size = 2 + (((superframe_header & 0x18) >> 3) + 1) * in cbs_vp9_split_fragment()
433 if (index_size > frag->data_size) in cbs_vp9_split_fragment()
436 err = init_get_bits(&gbc, frag->data + frag->data_size - index_size, in cbs_vp9_split_fragment()
437 8 * index_size); in cbs_vp9_split_fragment()
447 if (pos + sfi.frame_sizes[i] + index_size > frag->data_size) { in cbs_vp9_split_fragment()
463 if (pos + index_size != frag->data_size) { in cbs_vp9_split_fragment()
466 frag->data_size - (pos + index_size)); in cbs_vp9_split_fragment()
Dwebp.c532 int width_bits, index_size, ret, x; in parse_transform_color_indexing() local
535 index_size = get_bits(&s->gb, 8) + 1; in parse_transform_color_indexing()
537 if (index_size <= 2) in parse_transform_color_indexing()
539 else if (index_size <= 4) in parse_transform_color_indexing()
541 else if (index_size <= 16) in parse_transform_color_indexing()
547 index_size, 1); in parse_transform_color_indexing()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp109 if (synonym_to_try->index_size() > 0 && in Apply()
129 if (synonym_to_try->index_size() == 0) { in Apply()
Dfuzzer_pass_add_opphi_synonyms.cpp197 if (synonym->index_size() > 0) { in GetIdEquivalenceClasses()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp109 if (synonym_to_try->index_size() > 0 && in Apply()
129 if (synonym_to_try->index_size() == 0) { in Apply()
Dfuzzer_pass_add_opphi_synonyms.cpp197 if (synonym->index_size() > 0) { in GetIdEquivalenceClasses()
/third_party/libunwind/src/mi/
Dflush_cache.c40 munmap (w->index, w->index_size); in unw_flush_cache()
/third_party/boost/boost/container/
Dstable_vector.hpp1106 const size_type index_size = this->index.size(); in size() local
1107 return (index_size - ExtraPointers) & (size_type(0u) -size_type(index_size != 0)); in size()
1175 const size_type index_size = this->index.size(); in capacity() local
1176 BOOST_ASSERT(!index_size || index_size >= ExtraPointers); in capacity()
1179 BOOST_ASSERT(node_extra_capacity <= (this->index.capacity()- index_size)); in capacity()
1181 (node_extra_capacity - ExtraPointers) & (size_type(0u) - size_type(index_size != 0)); in capacity()
1182 return index_size + index_offset; in capacity()
2081 const size_type index_size = this->index.size(); in priv_invariant() local
2082 if(!index_size) in priv_invariant()
2085 if(index_size < ExtraPointers) in priv_invariant()
[all …]
/third_party/libunwind/src/dwarf/
DGfind_proc_info-lsb.c405 size_t i, j, k, n = fdesc->index_size / sizeof (*fdesc->index); in debug_frame_index_sort()
473 fdesc->index_size = count * sizeof (*fdesc->index); in dwarf_find_debug_frame()
474 GET_MEMORY (fdesc->index, fdesc->index_size); in dwarf_find_debug_frame()
479 fdesc->index_size = 0; in dwarf_find_debug_frame()
949 table_len = fdesc->index_size; in dwarf_search_unwind_table()
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_vulkan.cpp214 size_t index_size = draw_data->TotalIdxCount * sizeof(ImDrawIdx); in ImGui_ImplVulkan_RenderDrawData() local
217 if (!fd->IndexBuffer || fd->IndexBufferSize < index_size) in ImGui_ImplVulkan_RenderDrawData()
218 …izeBuffer(fd->IndexBuffer, fd->IndexBufferMemory, fd->IndexBufferSize, index_size, VK_BUFFER_USAGE… in ImGui_ImplVulkan_RenderDrawData()
226 err = vkMapMemory(g_Device, fd->IndexBufferMemory, 0, index_size, 0, (void**)(&idx_dst)); in ImGui_ImplVulkan_RenderDrawData()
/third_party/uboot/u-boot-2020.01/fs/ubifs/
Dubifs-media.h689 __le64 index_size; member
Dmaster.c282 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
Dsb.c217 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); in create_default_filesystem()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc690 const std::size_t index_size = in Open() local
692 const std::size_t zonecnt = index_size / sizeof(ebuf); in Open()
693 if (zonecnt * sizeof(ebuf) != index_size) continue; in Open()
/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc693 const std::size_t index_size = in Open() local
695 const std::size_t zonecnt = index_size / sizeof(ebuf); in Open()
696 if (zonecnt * sizeof(ebuf) != index_size) continue; in Open()
/third_party/libunwind/include/
Ddwarf.h393 size_t index_size; member
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_vulkan.cpp451 size_t index_size = draw_data->TotalIdxCount * sizeof(ImDrawIdx); in ImGui_ImplVulkan_RenderDrawData() local
454 if (rb->IndexBuffer == VK_NULL_HANDLE || rb->IndexBufferSize < index_size) in ImGui_ImplVulkan_RenderDrawData()
455 …izeBuffer(rb->IndexBuffer, rb->IndexBufferMemory, rb->IndexBufferSize, index_size, VK_BUFFER_USAGE… in ImGui_ImplVulkan_RenderDrawData()
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_draw.cpp2498 int index_size = IndexLookup.Size; in AddRemapChar() local
2500 …if (dst < index_size && IndexLookup.Data[dst] == (ImWchar)-1 && !overwrite_dst) // 'dst' already e… in AddRemapChar()
2502 if (src >= index_size && dst >= index_size) // both 'dst' and 'src' don't exist -> no-op in AddRemapChar()
2506 IndexLookup[dst] = (src < index_size) ? IndexLookup.Data[src] : (ImWchar)-1; in AddRemapChar()
2507 IndexAdvanceX[dst] = (src < index_size) ? IndexAdvanceX.Data[src] : 1.0f; in AddRemapChar()
/third_party/skia/third_party/externals/imgui/
Dimgui_draw.cpp3293 unsigned int index_size = (unsigned int)IndexLookup.Size; in AddRemapChar() local
3295 …if (dst < index_size && IndexLookup.Data[dst] == (ImWchar)-1 && !overwrite_dst) // 'dst' already e… in AddRemapChar()
3297 if (src >= index_size && dst >= index_size) // both 'dst' and 'src' don't exist -> no-op in AddRemapChar()
3301 IndexLookup[dst] = (src < index_size) ? IndexLookup.Data[src] : (ImWchar)-1; in AddRemapChar()
3302 IndexAdvanceX[dst] = (src < index_size) ? IndexAdvanceX.Data[src] : 1.0f; in AddRemapChar()

12