Home
last modified time | relevance | path

Searched refs:num_h (Results 1 – 25 of 38) sorted by relevance

12

/dports/devel/libgit2/libgit2-1.3.0/tests/diff/
H A Ddiffiter.c94 size_t h, num_h; in test_diff_diffiter__iterate_files_and_hunks() local
101 num_h = git_patch_num_hunks(patch); in test_diff_diffiter__iterate_files_and_hunks()
103 for (h = 0; h < num_h; h++) { in test_diff_diffiter__iterate_files_and_hunks()
218 size_t h, num_h; in test_diff_diffiter__iterate_all() local
224 num_h = git_patch_num_hunks(patch); in test_diff_diffiter__iterate_all()
225 for (h = 0; h < num_h; h++) { in test_diff_diffiter__iterate_all()
254 size_t h, num_h = git_patch_num_hunks(patch), num_l; in iterate_over_patch() local
257 exp->hunks += (int)num_h; in iterate_over_patch()
260 for (h = 1, num_l = 0; h <= num_h; ++h) in iterate_over_patch()
261 num_l += git_patch_num_lines_in_hunk(patch, num_h - h); in iterate_over_patch()
H A Ddiff_helpers.c172 size_t h, num_h; in diff_foreach_via_iterator() local
195 num_h = git_patch_num_hunks(patch); in diff_foreach_via_iterator()
197 for (h = 0; h < num_h; h++) { in diff_foreach_via_iterator()
H A Dtree.c259 size_t d, num_d, h, num_h, l, num_l; in test_diff_tree__larger_hunks() local
279 num_h = git_patch_num_hunks(patch); in test_diff_tree__larger_hunks()
280 for (h = 0; h < num_h; h++) { in test_diff_tree__larger_hunks()
291 cl_git_fail(git_patch_get_hunk(&hunk, &num_l, patch, num_h)); in test_diff_tree__larger_hunks()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c54 unsigned int num_w, num_h, denom_w, denom_h; member
479 upscaling_h = ipu->num_h > ipu->denom_h; in ingenic_ipu_plane_atomic_update()
483 if (ipu->num_h != 1 || ipu->denom_h != 1) { in ingenic_ipu_plane_atomic_update()
487 coef_index |= ipu->num_h - 1; in ingenic_ipu_plane_atomic_update()
502 if (ipu->num_h != 1 || ipu->denom_h != 1) in ingenic_ipu_plane_atomic_update()
504 ipu->num_h, ipu->denom_h); in ingenic_ipu_plane_atomic_update()
516 ipu->num_w, ipu->denom_w, ipu->num_h, ipu->denom_h); in ingenic_ipu_plane_atomic_update()
584 for (denom_h = yres, num_h = new_plane_state->crtc_h; num_h <= max_h; num_h++) in ingenic_ipu_plane_atomic_check()
585 if (!reduce_fraction(&num_h, &denom_h)) in ingenic_ipu_plane_atomic_check()
587 if (num_h > max_h) in ingenic_ipu_plane_atomic_check()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c54 unsigned int num_w, num_h, denom_w, denom_h; member
479 upscaling_h = ipu->num_h > ipu->denom_h; in ingenic_ipu_plane_atomic_update()
483 if (ipu->num_h != 1 || ipu->denom_h != 1) { in ingenic_ipu_plane_atomic_update()
487 coef_index |= ipu->num_h - 1; in ingenic_ipu_plane_atomic_update()
502 if (ipu->num_h != 1 || ipu->denom_h != 1) in ingenic_ipu_plane_atomic_update()
504 ipu->num_h, ipu->denom_h); in ingenic_ipu_plane_atomic_update()
516 ipu->num_w, ipu->denom_w, ipu->num_h, ipu->denom_h); in ingenic_ipu_plane_atomic_update()
584 for (denom_h = yres, num_h = new_plane_state->crtc_h; num_h <= max_h; num_h++) in ingenic_ipu_plane_atomic_check()
585 if (!reduce_fraction(&num_h, &denom_h)) in ingenic_ipu_plane_atomic_check()
587 if (num_h > max_h) in ingenic_ipu_plane_atomic_check()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c54 unsigned int num_w, num_h, denom_w, denom_h; member
479 upscaling_h = ipu->num_h > ipu->denom_h; in ingenic_ipu_plane_atomic_update()
483 if (ipu->num_h != 1 || ipu->denom_h != 1) { in ingenic_ipu_plane_atomic_update()
487 coef_index |= ipu->num_h - 1; in ingenic_ipu_plane_atomic_update()
502 if (ipu->num_h != 1 || ipu->denom_h != 1) in ingenic_ipu_plane_atomic_update()
504 ipu->num_h, ipu->denom_h); in ingenic_ipu_plane_atomic_update()
516 ipu->num_w, ipu->denom_w, ipu->num_h, ipu->denom_h); in ingenic_ipu_plane_atomic_update()
584 for (denom_h = yres, num_h = new_plane_state->crtc_h; num_h <= max_h; num_h++) in ingenic_ipu_plane_atomic_check()
585 if (!reduce_fraction(&num_h, &denom_h)) in ingenic_ipu_plane_atomic_check()
587 if (num_h > max_h) in ingenic_ipu_plane_atomic_check()
[all …]
/dports/sysutils/snap/snap-1.01/
H A Dsnap323 my ($num_h, $dh, $wh, $wd, $wdh);
325 if ($at) { $num_h = scalar @$at } else { $num_h = 24; }
326 if ($num_h == 0) { return 0 }
328 $wh = ($w > int($h/(7*$num_h)))? int($h/(7*$num_h)) : $w ;
329 $dh = ($d > int($h/$num_h))? int($h/$num_h) : $d;
/dports/devel/stb/stb-f54acd4/
H A Dstb_easy_font.h215 int h_seg, v_seg, num_h, num_v; in stb_easy_font_print() local
218 num_h = stb_easy_font_charinfo[*text-32+1].h_seg - h_seg; in stb_easy_font_print()
220 …offset = stb_easy_font_draw_segs(x, y_ch, &stb_easy_font_hseg[h_seg], num_h, 0, c, vbuf, vbuf_size… in stb_easy_font_print()
/dports/net-im/uTox/uTox/third-party/stb/
H A Dstb_easy_font.h213 int h_seg, v_seg, num_h, num_v; in stb_easy_font_print() local
216 num_h = stb_easy_font_charinfo[*text-32+1].h_seg - h_seg; in stb_easy_font_print()
218 …offset = stb_easy_font_draw_segs(x, y_ch, &stb_easy_font_hseg[h_seg], num_h, 0, c, vbuf, vbuf_size… in stb_easy_font_print()
/dports/cad/cura-engine/CuraEngine-fadb5d6b/include/stb/
H A Dstb_easy_font.h213 int h_seg, v_seg, num_h, num_v; in stb_easy_font_print() local
216 num_h = stb_easy_font_charinfo[*text-32+1].h_seg - h_seg; in stb_easy_font_print()
218 …offset = stb_easy_font_draw_segs(x, y_ch, &stb_easy_font_hseg[h_seg], num_h, 0, c, vbuf, vbuf_size… in stb_easy_font_print()
/dports/security/ridl/ridl-11b3240/stb/
H A Dstb_easy_font.h213 int h_seg, v_seg, num_h, num_v; in stb_easy_font_print() local
216 num_h = stb_easy_font_charinfo[*text-32+1].h_seg - h_seg; in stb_easy_font_print()
218 …offset = stb_easy_font_draw_segs(x, y_ch, &stb_easy_font_hseg[h_seg], num_h, 0, c, vbuf, vbuf_size… in stb_easy_font_print()
/dports/science/xdrawchem/xdrawchem-a3f74c34eb09fa72ee16848ec6901049ca5309d5/xdrawchem/
H A Dmolecule_tools_2.cpp353 int num_c = 0, num_h = 0, num_n = 0, num_o = 0, num_p = 0, num_s = 0; in CalcEmpiricalFormula() local
369 num_h += possible_h; in CalcEmpiricalFormula()
374 nmw = (double)num_h * 1.00794; in CalcEmpiricalFormula()
383 num_h++; in CalcEmpiricalFormula()
418 if (num_h > 0) { in CalcEmpiricalFormula()
419 n1.setNum(num_h); in CalcEmpiricalFormula()
421 if (num_h > 1) in CalcEmpiricalFormula()
467 nh = num_h; in CalcEmpiricalFormula()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl/
H A Dmapview.c771 int num_w, num_h; in redraw_unit_info_label() local
777 num_h = (pInfo_Window->area.h - sy) / 52; in redraw_unit_info_label()
837 if (++n > num_w * num_h) { in redraw_unit_info_label()
853 if (n > num_w * num_h) { in redraw_unit_info_label()
857 create_vertical_scrollbar(pDlg, num_w, num_h, FALSE, TRUE); in redraw_unit_info_label()
860 pDlg->pScroll->active = num_h; in redraw_unit_info_label()
870 (pInfo_Window->size.h - sy - num_h * 52) / 2; in redraw_unit_info_label()
871 pBuf->size.h = (num_h * 52) / 2; in redraw_unit_info_label()
884 num_h = (n + num_w - 1) / num_w; in redraw_unit_info_label()
890 (pInfo_Window->size.h - sy - num_h * 52) / 2, in redraw_unit_info_label()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl2/
H A Dmapview.c792 int num_w, num_h; in redraw_unit_info_label() local
798 num_h = (pInfo_Window->area.h - sy) / 52; in redraw_unit_info_label()
862 if (++n > num_w * num_h) { in redraw_unit_info_label()
878 if (n > num_w * num_h) { in redraw_unit_info_label()
880 create_vertical_scrollbar(pDlg, num_w, num_h, FALSE, TRUE); in redraw_unit_info_label()
882 pDlg->pScroll->active = num_h; in redraw_unit_info_label()
892 (pInfo_Window->size.h - sy - num_h * 52) / 2; in redraw_unit_info_label()
893 pBuf->size.h = (num_h * 52) / 2; in redraw_unit_info_label()
905 num_h = (n + num_w - 1) / num_w; in redraw_unit_info_label()
911 (pInfo_Window->size.h - sy - num_h * 52) / 2, in redraw_unit_info_label()
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl/
H A Dmapview.c771 int num_w, num_h; in redraw_unit_info_label() local
777 num_h = (pInfo_Window->area.h - sy) / 52; in redraw_unit_info_label()
837 if (++n > num_w * num_h) { in redraw_unit_info_label()
853 if (n > num_w * num_h) { in redraw_unit_info_label()
857 create_vertical_scrollbar(pDlg, num_w, num_h, FALSE, TRUE); in redraw_unit_info_label()
860 pDlg->pScroll->active = num_h; in redraw_unit_info_label()
870 (pInfo_Window->size.h - sy - num_h * 52) / 2; in redraw_unit_info_label()
871 pBuf->size.h = (num_h * 52) / 2; in redraw_unit_info_label()
884 num_h = (n + num_w - 1) / num_w; in redraw_unit_info_label()
890 (pInfo_Window->size.h - sy - num_h * 52) / 2, in redraw_unit_info_label()
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl2/
H A Dmapview.c792 int num_w, num_h; in redraw_unit_info_label() local
798 num_h = (pInfo_Window->area.h - sy) / 52; in redraw_unit_info_label()
862 if (++n > num_w * num_h) { in redraw_unit_info_label()
878 if (n > num_w * num_h) { in redraw_unit_info_label()
880 create_vertical_scrollbar(pDlg, num_w, num_h, FALSE, TRUE); in redraw_unit_info_label()
882 pDlg->pScroll->active = num_h; in redraw_unit_info_label()
892 (pInfo_Window->size.h - sy - num_h * 52) / 2; in redraw_unit_info_label()
893 pBuf->size.h = (num_h * 52) / 2; in redraw_unit_info_label()
905 num_h = (n + num_w - 1) / num_w; in redraw_unit_info_label()
911 (pInfo_Window->size.h - sy - num_h * 52) / 2, in redraw_unit_info_label()
/dports/math/cgal/CGAL-5.3/include/CGAL/boost/graph/
H A Dhelpers.h364 num_h(std::distance(boost::begin(halfedges(g)), boost::end(halfedges(g))));
366 bool valid = (1 != (num_h&1) && (2*num_e == num_h));
431 valid = (n == num_h);
466 valid = (n <= num_h && n != 0);
488 valid = (n == num_h);
512 valid = (n == num_h);
550 num_h(std::distance(boost::begin(halfedges(g)), boost::end(halfedges(g))));
587 valid = (n <= num_h && n != 0);
627 valid = (n + nb == num_h);
/dports/games/vultures-eye/vulture-2.3.67/slashem/win/gl/
H A Dgl_hardw.c140 unsigned char *tex_dat, int num_w, int num_h, int n) in create_tile_texture() argument
197 int num_w, num_h, pack_total; in hw_load_tileset() local
221 num_h = image_h / tile_h; in hw_load_tileset()
226 set->tile_num = num_h * num_w; in hw_load_tileset()
271 tex_dat, num_w, num_h, n); in hw_load_tileset()
289 (*down) = num_h; in hw_load_tileset()
H A Dgl_softw.c113 int num_w, num_h; in sw_load_tileset() local
159 num_h = set->surf->h / tile_h; in sw_load_tileset()
160 set->tile_num = num_w * num_h; in sw_load_tileset()
167 set->pack_h = num_h; in sw_load_tileset()
190 *down = num_h; in sw_load_tileset()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/src/graphics/
H A DGraphics.cpp139 int num_h = (int)ceil((double)num2dPlots/(double)num_w); in create_plots2d() local
140 int pixel_w = 25 + 200*num_w, pixel_h = 55 + 195*num_h; in create_plots2d()
/dports/devel/libslang2/slang-2.3.2/modules/
H A Dhistogram-module.c258 SLuindex_Type i, num_h; in convert_reverse_indices() local
264 num_h = h->num_elements; in convert_reverse_indices()
266 if (NULL == (lens = (SLindex_Type *)SLmalloc (num_h * sizeof (SLindex_Type)))) in convert_reverse_indices()
271 memset ((char *)lens, 0, num_h*sizeof(SLindex_Type)); in convert_reverse_indices()
282 for (i = 0; i < num_h; i++) in convert_reverse_indices()
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/io/
H A Dcif.py921 num_h = {"Wat": 2, "wat": 2, "O-H": 1}
922 return num_h.get(sym[:3], 0)
960 num_h = get_num_implicit_hydrogens(data["_atom_site_type_symbol"][i])
963 num_h = get_num_implicit_hydrogens(data["_atom_site_label"][i])
994 if num_h > 0:
995 comp_d["H"] = num_h
/dports/math/cgal/CGAL-5.3/include/CGAL/
H A DVoronoi_diagram_2.h358 size_type num_h = 0; in number_of_halfedges() local
360 ++it, ++num_h) {} in number_of_halfedges()
361 return num_h; in number_of_halfedges()
/dports/math/onednn/oneDNN-2.5.1/tests/benchdnn/conv/
H A Dref_conv.cpp151 int64_t kh[precompute_size], oh[precompute_size], num_h; in compute_ref_direct_bwd_d() local
154 precompute_ok(ih, OH, KH, SH, PH, DH, num_h, oh, kh); in compute_ref_direct_bwd_d()
163 for_(int64_t h = 0; h < num_h; ++h) in compute_ref_direct_bwd_d()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/erts/emulator/sys/win32/
H A Derl_poll.c1056 int num_h = 2, handle; in erts_poll_wait() local
1059 HARDDEBUGF(("Start waiting %d [%d]",num_h, (int) timeout)); in erts_poll_wait()
1063 handle = WaitForMultipleObjects(num_h, harr, FALSE, timeout); in erts_poll_wait()
1067 HARDDEBUGF(("Stop waiting %d [%d]",num_h, (int) timeout)); in erts_poll_wait()

12