Home
last modified time | relevance | path

Searched refs:new_area (Results 1 – 25 of 222) sorted by path

123456789

/dports/astro/xplanet/xplanet-1.3.1/src/
H A DMap.cpp759 const int new_area = w * h; in Reduce() local
761 unsigned char *new_data = new unsigned char [3 * new_area]; in Reduce()
762 memset(new_data, 0, 3 * new_area); in Reduce()
764 double *average = new double [3 * new_area]; in Reduce()
765 for (int i = 0; i < 3*new_area; i++) average[i] = 0; in Reduce()
781 for (int i = 0; i < 3*new_area; i++) in Reduce()
/dports/astro/xplanet/xplanet-1.3.1/src/libimage/
H A DImage.cpp72 const int new_area = w * h; in Crop() local
75 memset(new_rgb, 0, 3 * new_area); in Crop()
80 new_alpha = (unsigned char *) malloc(new_area); in Crop()
81 memset(new_alpha, 0, new_area); in Crop()
99 area_ = new_area; in Crop()
118 int new_area = w * h; in Reduce() local
121 memset(new_rgb, 0, 3 * new_area); in Reduce()
126 new_alpha = (unsigned char *) malloc(new_area); in Reduce()
127 memset(new_alpha, 0, new_area); in Reduce()
151 area_ = new_area; in Reduce()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/
H A Dboard.cpp1810 ZONE* new_area = new ZONE( this ); in AddArea() local
1812 new_area->SetNetCode( aNetcode ); in AddArea()
1813 new_area->SetLayer( aLayer ); in AddArea()
1815 m_zones.push_back( new_area ); in AddArea()
1817 new_area->SetHatchStyle( (ZONE_BORDER_DISPLAY_STYLE) aHatch ); in AddArea()
1820 new_area->AppendCorner( aStartPointPosition, -1 ); in AddArea()
1824 ITEM_PICKER picker( nullptr, new_area, UNDO_REDO::NEWITEM ); in AddArea()
1828 return new_area; in AddArea()
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/db/
H A DdbBlock.cpp1948 void dbBlock::setDieArea(const Rect& new_area) in setDieArea() argument
1951 block->_die_area = new_area; in setDieArea()
/dports/comms/xlog/xlog-2.0.22/src/
H A Ddxcc.c400 area_data *new_area = g_new (area_data, 1); in area_add() local
402 new_area -> countryname = g_strdup (c); in area_add()
403 new_area -> cq = w; in area_add()
404 new_area -> itu = i; in area_add()
405 new_area -> continent = g_strdup (cont); in area_add()
406 new_area -> latitude = lat; in area_add()
407 new_area -> longitude = lon; in area_add()
408 new_area -> timezone = tz; in area_add()
409 new_area -> px = g_strdup (p); in area_add()
410 g_ptr_array_add (area, new_area); in area_add()
/dports/databases/grass7/grass-7.8.6/lib/vector/Vlib/
H A Dwrite_nat.c877 int node, next_line, area, side, sel_area, new_area[2]; in V2__add_line_to_topo_nat() local
1007 new_area[s] = area; in V2__add_line_to_topo_nat()
1024 if (new_area[s] > 0) { in V2__add_line_to_topo_nat()
1025 V2__add_area_cats_to_cidx_nat(Map, new_area[s]); in V2__add_line_to_topo_nat()
/dports/databases/pgrouting/pgrouting-3.2.0/src/alpha_shape/
H A Dpgr_alphaShape.cpp424 auto new_area = bg::area(poly); in operator ()() local
425 if (new_area > area) { in operator ()()
432 area = new_area; in operator ()()
/dports/databases/postgis25/postgis-2.5.5/liblwgeom/
H A Dlwgeom_geos_clean.c418 GEOSGeometry* new_area = 0; in LWGEOM_GEOS_makeValidPolygon() local
431 new_area = LWGEOM_GEOS_buildArea(geos_cut_edges); in LWGEOM_GEOS_makeValidPolygon()
432 if (!new_area) /* must be an exception */ in LWGEOM_GEOS_makeValidPolygon()
440 if (GEOSisEmpty(new_area)) in LWGEOM_GEOS_makeValidPolygon()
443 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
452 new_area_bound = GEOSBoundary(new_area); in LWGEOM_GEOS_makeValidPolygon()
457 lwgeom_to_ewkt(GEOS2LWGEOM(new_area, 0)), in LWGEOM_GEOS_makeValidPolygon()
459 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
467 symdif = GEOSSymDifference(geos_area, new_area); in LWGEOM_GEOS_makeValidPolygon()
471 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
[all …]
/dports/databases/postgis30/postgis-3.0.4/liblwgeom/
H A Dlwgeom_geos_clean.c422 GEOSGeometry* new_area = 0; in LWGEOM_GEOS_makeValidPolygon() local
435 new_area = LWGEOM_GEOS_buildArea(geos_cut_edges); in LWGEOM_GEOS_makeValidPolygon()
436 if (!new_area) /* must be an exception */ in LWGEOM_GEOS_makeValidPolygon()
444 if (GEOSisEmpty(new_area)) in LWGEOM_GEOS_makeValidPolygon()
447 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
456 new_area_bound = GEOSBoundary(new_area); in LWGEOM_GEOS_makeValidPolygon()
461 lwgeom_to_ewkt(GEOS2LWGEOM(new_area, 0)), in LWGEOM_GEOS_makeValidPolygon()
463 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
471 symdif = GEOSSymDifference(geos_area, new_area); in LWGEOM_GEOS_makeValidPolygon()
475 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
[all …]
/dports/databases/postgis31/postgis-3.1.4/liblwgeom/
H A Dlwgeom_geos_clean.c466 GEOSGeometry* new_area = 0; in LWGEOM_GEOS_makeValidPolygon() local
479 new_area = LWGEOM_GEOS_buildArea(geos_cut_edges); in LWGEOM_GEOS_makeValidPolygon()
480 if (!new_area) /* must be an exception */ in LWGEOM_GEOS_makeValidPolygon()
488 if (GEOSisEmpty(new_area)) in LWGEOM_GEOS_makeValidPolygon()
491 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
500 new_area_bound = GEOSBoundary(new_area); in LWGEOM_GEOS_makeValidPolygon()
505 lwgeom_to_ewkt(GEOS2LWGEOM(new_area, 0)), in LWGEOM_GEOS_makeValidPolygon()
507 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
515 symdif = GEOSSymDifference(geos_area, new_area); in LWGEOM_GEOS_makeValidPolygon()
519 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
[all …]
/dports/databases/postgis32/postgis-3.2.0/liblwgeom/
H A Dlwgeom_geos_clean.c467 GEOSGeometry* new_area = 0; in LWGEOM_GEOS_makeValidPolygon() local
480 new_area = LWGEOM_GEOS_buildArea(geos_cut_edges); in LWGEOM_GEOS_makeValidPolygon()
481 if (!new_area) /* must be an exception */ in LWGEOM_GEOS_makeValidPolygon()
489 if (GEOSisEmpty(new_area)) in LWGEOM_GEOS_makeValidPolygon()
492 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
501 new_area_bound = GEOSBoundary(new_area); in LWGEOM_GEOS_makeValidPolygon()
506 lwgeom_to_ewkt(GEOS2LWGEOM(new_area, 0)), in LWGEOM_GEOS_makeValidPolygon()
508 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
516 symdif = GEOSSymDifference(geos_area, new_area); in LWGEOM_GEOS_makeValidPolygon()
520 GEOSGeom_destroy(new_area); in LWGEOM_GEOS_makeValidPolygon()
[all …]
/dports/databases/sqlitebrowser/sqlitebrowser-3.12.1/src/
H A DMainWindow.cpp3427 … SqlExecutionArea* new_area = qobject_cast<SqlExecutionArea*>(ui->tabSqlAreas->widget(new_tab)); in showContextMenuSqlTabBar() local
3428 new_area->setSql(old_area->getSql()); in showContextMenuSqlTabBar()
/dports/deskutils/maliit-framework/framework-2.1.1/src/
H A Dwindowgroup.cpp138 QRegion new_area; in updateInputMethodArea() local
144 new_area |= data.m_inputMethodArea.translated(data.m_window->position()); in updateInputMethodArea()
148 if (new_area != m_last_im_area) { in updateInputMethodArea()
149 m_last_im_area = new_area; in updateInputMethodArea()
/dports/devel/dwarfdump/dwarf-20161124/libdwarf/
H A Ddwarf_sort_line.c611 Dwarf_Small *new_area; in _dwarf_update_line_sec() local
639 new_area = malloc(remaining_bytes); in _dwarf_update_line_sec()
640 if (!new_area) { in _dwarf_update_line_sec()
646 memcpy(new_area, orig_line_ptr, start_len); in _dwarf_update_line_sec()
647 line_ptr = new_area + start_len; in _dwarf_update_line_sec()
654 memcpy(orig_line_ptr, new_area, remaining_bytes); in _dwarf_update_line_sec()
656 free(new_area); in _dwarf_update_line_sec()
659 new_area = 0; in _dwarf_update_line_sec()
/dports/devel/glade/glade-3.22.1/plugins/gtk+/
H A Dglade-fixed.c424 GdkRectangle new_area;
440 new_area.x = fixed->child_x_origin;
441 new_area.y = fixed->child_y_origin;
459 new_area.height =
465 new_area.height =
472 new_area.width =
477 new_area.width =
484 if (new_area.width < CHILD_WIDTH_MIN)
485 new_area.width = CHILD_WIDTH_MIN;
486 if (new_area.height < CHILD_WIDTH_MIN)
[all …]
/dports/devel/libarea/libarea-2752cd9/
H A DAreaOrderer.cpp104 CArea* new_area = new CArea(); in Unite() local
105 new_area->m_curves.push_back(*m_curve); in Unite()
107 m_unite_area = new_area; in Unite()
/dports/devel/libdwarf/dwarf-20161124/libdwarf/
H A Ddwarf_sort_line.c611 Dwarf_Small *new_area; in _dwarf_update_line_sec() local
639 new_area = malloc(remaining_bytes); in _dwarf_update_line_sec()
640 if (!new_area) { in _dwarf_update_line_sec()
646 memcpy(new_area, orig_line_ptr, start_len); in _dwarf_update_line_sec()
647 line_ptr = new_area + start_len; in _dwarf_update_line_sec()
654 memcpy(orig_line_ptr, new_area, remaining_bytes); in _dwarf_update_line_sec()
656 free(new_area); in _dwarf_update_line_sec()
659 new_area = 0; in _dwarf_update_line_sec()
/dports/devel/librttopo/librttopo-1.1.0/src/
H A Drtgeom_geos_clean.c505 GEOSGeometry* new_area=0; in RTGEOM_GEOS_makeValidPolygon() local
518 new_area = RTGEOM_GEOS_buildArea(ctx, geos_cut_edges); in RTGEOM_GEOS_makeValidPolygon()
519 if ( ! new_area ) /* must be an exception */ in RTGEOM_GEOS_makeValidPolygon()
528 if ( GEOSisEmpty_r(ctx->gctx, new_area) ) in RTGEOM_GEOS_makeValidPolygon()
531 GEOSGeom_destroy_r(ctx->gctx, new_area); in RTGEOM_GEOS_makeValidPolygon()
547 new_area_bound = GEOSBoundary_r(ctx->gctx, new_area); in RTGEOM_GEOS_makeValidPolygon()
553 rtgeom_to_ewkt(ctx, GEOS2RTGEOM(ctx, new_area, 0)), in RTGEOM_GEOS_makeValidPolygon()
555 GEOSGeom_destroy_r(ctx->gctx, new_area); in RTGEOM_GEOS_makeValidPolygon()
567 symdif = GEOSSymDifference_r(ctx->gctx, geos_area, new_area); in RTGEOM_GEOS_makeValidPolygon()
571 GEOSGeom_destroy_r(ctx->gctx, new_area); in RTGEOM_GEOS_makeValidPolygon()
[all …]
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/malloc/
H A Dlite_malloc.c72 int new_area = 0; in __simple_malloc() local
86 new_area = 1; in __simple_malloc()
91 if (mem == MAP_FAILED || !new_area) { in __simple_malloc()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/
H A Dffmpeg_opt.c1834 int new_area; in open_output_file() local
1836 new_area = ist->st->codec->width * ist->st->codec->height; in open_output_file()
1838 new_area = 1; in open_output_file()
1840 new_area > area) { in open_output_file()
1843 area = new_area; in open_output_file()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/openhackware/src/libc/src/
H A Dmalloc.c476 void *new_area; in big_realloc() local
483 new_area = cache_descr->addr; in big_realloc()
485 new_area = big_malloc(new_size); in big_realloc()
486 memcpy(new_area, cache_descr->addr, pool_descr->nb * PAGE_SIZE); in big_realloc()
490 return new_area; in big_realloc()
615 void *new_area;
646 new_area = big_malloc((new_size + PAGE_SIZE - 1) / PAGE_SIZE);
648 new_area = pool_malloc(new_pool_idx);
649 if (new_area == NULL)
657 memcpy(new_area, area, size);
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/openhackware/src/libc/src/
H A Dmalloc.c476 void *new_area; in big_realloc() local
483 new_area = cache_descr->addr; in big_realloc()
485 new_area = big_malloc(new_size); in big_realloc()
486 memcpy(new_area, cache_descr->addr, pool_descr->nb * PAGE_SIZE); in big_realloc()
490 return new_area; in big_realloc()
615 void *new_area;
646 new_area = big_malloc((new_size + PAGE_SIZE - 1) / PAGE_SIZE);
648 new_area = pool_malloc(new_pool_idx);
649 if (new_area == NULL)
657 memcpy(new_area, area, size);
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/openhackware/src/libc/src/
H A Dmalloc.c476 void *new_area; in big_realloc() local
483 new_area = cache_descr->addr; in big_realloc()
485 new_area = big_malloc(new_size); in big_realloc()
486 memcpy(new_area, cache_descr->addr, pool_descr->nb * PAGE_SIZE); in big_realloc()
490 return new_area; in big_realloc()
615 void *new_area;
646 new_area = big_malloc((new_size + PAGE_SIZE - 1) / PAGE_SIZE);
648 new_area = pool_malloc(new_pool_idx);
649 if (new_area == NULL)
657 memcpy(new_area, area, size);
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/
H A Dffmpeg_opt.c1834 int new_area; in open_output_file() local
1836 new_area = ist->st->codec->width * ist->st->codec->height; in open_output_file()
1838 new_area = 1; in open_output_file()
1840 new_area > area) { in open_output_file()
1843 area = new_area; in open_output_file()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmonattack.cpp1679 const double new_area = ( ( 2 * radius + 1 ) * ( 2 * radius + 1 ) ) - 1; in fungus() local
1680 spore_chance *= old_area / new_area; in fungus()

123456789