Home
last modified time | relevance | path

Searched refs:middle_idx (Results 1 – 13 of 13) sorted by relevance

/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/addressbook/libebook-contacts/
H A De-name-western.c37 gint middle_idx; member
394 idxs->middle_idx = middle - name->full; in e_name_western_extract_middle()
460 max_idx, idxs->middle_idx + strlen (name->middle)); in e_name_western_last_get_max_idx()
810 idxs->middle_idx = -1; \
826 idxs->middle_idx = -1; \
847 if (idxs->middle_idx != -1 && idxs->middle_idx == idxs->last_idx) { in e_name_western_fixup()
848 idxs->middle_idx = -1; in e_name_western_fixup()
858 idxs->last_idx = idxs->middle_idx; in e_name_western_fixup()
861 idxs->middle_idx = -1; in e_name_western_fixup()
903 if (idxs->middle_idx != -1) { in e_name_western_fixup()
[all …]
/dports/devel/hpx/hpx-1.2.1/tests/unit/parallel/container_algorithms/
H A Dremove_copy_if_range.cpp35 std::size_t middle_idx = std::rand() % (c.size()/2); in test_remove_copy_if() local
37 hpx::parallel::v1::detail::next(std::begin(c.base()), middle_idx); in test_remove_copy_if()
54 std::begin(d) + middle_idx, in test_remove_copy_if()
74 std::size_t middle_idx = std::rand() % (c.size()/2); in test_remove_copy_if_async() local
76 hpx::parallel::v1::detail::next(std::begin(c.base()), middle_idx); in test_remove_copy_if_async()
96 std::begin(d) + middle_idx, in test_remove_copy_if_async()
120 std::size_t middle_idx = std::rand() % (c.size()/2); in test_remove_copy_if_outiter() local
122 hpx::parallel::v1::detail::next(std::begin(c.base()), middle_idx); in test_remove_copy_if_outiter()
136 HPX_TEST_EQ(middle_idx, d.size()); in test_remove_copy_if_outiter()
149 std::size_t middle_idx = std::rand() % (c.size()/2); in test_remove_copy_if_outiter_async() local
[all …]
H A Dremove_copy_range.cpp36 std::size_t middle_idx = std::rand() % (c.size()/2); in test_remove_copy() local
37 auto middle = hpx::parallel::v1::detail::next(std::begin(c.base()), middle_idx); in test_remove_copy()
50 HPX_TEST_EQ(count, middle_idx); in test_remove_copy()
63 std::size_t middle_idx = std::rand() % (c.size()/2); in test_remove_copy_async() local
64 auto middle = hpx::parallel::v1::detail::next(std::begin(c.base()), middle_idx); in test_remove_copy_async()
78 HPX_TEST_EQ(count, middle_idx); in test_remove_copy_async()
/dports/devel/hpx/hpx-1.2.1/tests/unit/parallel/algorithms/
H A Dremove_copy_if.cpp40 std::size_t middle_idx = dis(gen); in test_remove_copy_if() local
41 auto middle = std::begin(c) + middle_idx; in test_remove_copy_if()
58 std::begin(d) + middle_idx, in test_remove_copy_if()
79 std::size_t middle_idx = dis(gen); in test_remove_copy_if_async() local
80 auto middle = std::begin(c) + middle_idx; in test_remove_copy_if_async()
99 std::begin(d) + middle_idx, in test_remove_copy_if_async()
124 std::size_t middle_idx = dis(gen); in test_remove_copy_if_outiter() local
125 auto middle = std::begin(c) + middle_idx; in test_remove_copy_if_outiter()
139 HPX_TEST_EQ(middle_idx, d.size()); in test_remove_copy_if_outiter()
153 std::size_t middle_idx = dis(gen); in test_remove_copy_if_outiter_async() local
[all …]
H A Dremove_copy.cpp39 std::size_t middle_idx =dis(gen); in test_remove_copy() local
40 auto middle = std::begin(c) + middle_idx; in test_remove_copy()
54 HPX_TEST_EQ(count, middle_idx); in test_remove_copy()
67 std::size_t middle_idx =dis(gen); in test_remove_copy_async() local
68 auto middle = std::begin(c) + middle_idx; in test_remove_copy_async()
85 HPX_TEST_EQ(count, middle_idx); in test_remove_copy_async()
/dports/science/py-abipy/abipy-0.9.0/abipy/flowtk/
H A Dgruneisen.py92 ddb_paths, struct_middle, middle_idx = [], None, None
99 middle_idx, struct_middle = i, relaxed_structure
127 …app(ddb_paths[middle_idx]) # 3) Input derivative database (not used if Gr…
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/cast_streaming/
H A Dcast_streaming_apitest.cc314 const size_t middle_idx = num_values / 2; in ComputeMedianIntensityInRegionInPlane() local
316 values.get() + middle_idx, in ComputeMedianIntensityInRegionInPlane()
318 return values[middle_idx]; in ComputeMedianIntensityInRegionInPlane()
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/plotting/
H A Dfind_cuts.py356 middle_idx = np.argmax(np.diff(cut_coords))
357 slice_middle = int(.5 * (cut_coords[middle_idx]
358 + cut_coords[middle_idx + 1]))
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TileEngine/
H A DMap_Edgepoints.cc87 static void ValidateMapEdge(SOLDIERTYPE& s, UINT16& middle_idx, std::vector<INT16>& edgepoints) in ValidateMapEdge() argument
90 size_t middle = middle_idx; in ValidateMapEdge()
106 middle_idx = static_cast<UINT16>(middle); in ValidateMapEdge()
/dports/multimedia/libv4l/linux-5.13-rc2/mm/
H A Dz3fold.c678 int middle_idx = __idx(zhdr, MIDDLE); in compact_single_buddy() local
691 } else if (zhdr->middle_chunks && zhdr->slots->slot[middle_idx]) { in compact_single_buddy()
694 old_handle = (unsigned long)&zhdr->slots->slot[middle_idx]; in compact_single_buddy()
/dports/multimedia/v4l_compat/linux-5.13-rc2/mm/
H A Dz3fold.c678 int middle_idx = __idx(zhdr, MIDDLE); in compact_single_buddy() local
691 } else if (zhdr->middle_chunks && zhdr->slots->slot[middle_idx]) { in compact_single_buddy()
694 old_handle = (unsigned long)&zhdr->slots->slot[middle_idx]; in compact_single_buddy()
/dports/multimedia/v4l-utils/linux-5.13-rc2/mm/
H A Dz3fold.c678 int middle_idx = __idx(zhdr, MIDDLE); in compact_single_buddy() local
691 } else if (zhdr->middle_chunks && zhdr->slots->slot[middle_idx]) { in compact_single_buddy()
694 old_handle = (unsigned long)&zhdr->slots->slot[middle_idx]; in compact_single_buddy()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/keypoints/src/
H A Dnarf_keypoint.cpp165 … int middle_idx = static_cast<int> (pcl_lrint (mapping_factor * static_cast<float> (old_idx))); in propagateInvalidBeams() local
178 int new_idx = middle_idx+idx_offset; in propagateInvalidBeams()