PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ lwalloc()

void* lwalloc ( size_t  size)

Definition at line 229 of file lwutil.c.

References lwalloc_var, and LWDEBUGF.

Referenced by _lwt_AddFaceSplit(), _lwt_AddLine(), _lwt_AddPoint(), _lwt_BuildEdgeRing(), _lwt_EdgeRingIterator_begin(), _lwt_FaceByEdges(), _lwt_MakeRingShell(), _lwt_UpdateEdgeRingSideFace(), asgeojson_collection(), asgeojson_line(), asgeojson_multiline(), asgeojson_multipoint(), asgeojson_multipolygon(), asgeojson_point(), asgeojson_poly(), asgml2_collection(), asgml2_line(), asgml2_multi(), asgml2_point(), asgml2_poly(), asgml3_circstring(), asgml3_collection(), asgml3_compound(), asgml3_curvepoly(), asgml3_line(), asgml3_multi(), asgml3_multicurve(), asgml3_multisurface(), asgml3_point(), asgml3_poly(), asgml3_psurface(), asgml3_tin(), asgml3_triangle(), assvg_collection(), assvg_line(), assvg_multiline(), assvg_multipoint(), assvg_multipolygon(), assvg_point(), assvg_polygon(), BOX2D_union(), box3d_from_gbox(), box3d_to_gbox(), BOX3D_to_LWGEOM(), bytebuffer_create_with_size(), bytebuffer_get_buffer_copy(), bytebuffer_init_with_size(), bytebuffer_makeroom(), bytes_from_hexbytes(), circ_node_internal_new(), circ_node_leaf_new(), circ_node_leaf_point_new(), circ_nodes_merge(), circ_tree_new(), collectFacesWithEvenAncestors(), combine_geometries(), gbox_clone(), gbox_copy(), gbox_new(), gbox_to_gml2(), gbox_to_gml3(), gbox_to_string(), geohash_point(), geometry_type_from_string(), GEOS2LWGEOM(), GEOSARRAY2LWGEOM(), get_xlink_node(), gserialized_copy(), gserialized_from_lwgeom(), hexbytes_from_bytes(), if(), initiate_effectivearea(), initiate_minheap(), iterate_4d(), kmeans(), kmeans_init(), lonlat_to_cart(), lw_dist2d_fast_ptarray_ptarray(), lwboundingcircle_create(), lwcircstring_construct(), lwcircstring_construct_empty(), lwcircstring_from_gserialized_buffer(), lwcircstring_from_lwmpoint(), lwcircstring_from_lwpointarray(), lwcollection_add_lwgeom(), lwcollection_calculate_circ_tree(), lwcollection_clone(), lwcollection_clone_deep(), lwcollection_construct(), lwcollection_construct_empty(), lwcollection_extract(), lwcollection_force_dims(), lwcollection_from_gserialized_buffer(), lwcollection_linearize(), lwcollection_locate_between_m(), lwcollection_make_geos_friendly(), lwcollection_segmentize2d(), lwcollection_split(), lwcollection_summary(), lwcollection_unstroke(), lwcollection_wrapx(), lwcurvepoly_add_ring(), lwcurvepoly_construct_empty(), lwcurvepoly_construct_from_lwpoly(), lwcurvepoly_linearize(), lwdouble_to_dms(), lwdoubles_to_latlon(), LWGEOM2GEOS(), lwgeom_as_multi(), lwgeom_calculate_mbc(), lwgeom_cluster_2d_kmeans(), lwgeom_cpa_within(), LWGEOM_dump(), LWGEOM_dump_rings(), LWGEOM_dumppoints(), LWGEOM_envelope(), lwgeom_from_geojson(), LWGEOM_GEOS_buildArea(), LWGEOM_GEOS_makeValidCollection(), LWGEOM_GEOS_makeValidMultiLine(), LWGEOM_interiorringn_polygon(), LWGEOM_line_substring(), lwgeom_make_valid(), LWGEOM_makepoly(), lwgeom_remove_repeated_points_in_place(), lwgeom_summary(), lwgeom_tcpa(), LWGEOM_to_BOX(), lwgeom_to_svg(), lwgeom_to_wkb(), lwgeom_to_x3d3(), LWGEOMARRAY2GEOS(), lwline_clip_to_ordinate_range(), lwline_clone(), lwline_clone_deep(), lwline_construct(), lwline_construct_empty(), lwline_from_gserialized_buffer(), lwline_locate_between_m(), lwline_split_by_line(), lwline_summary(), lwmcurve_linearize(), lwmessage_truncate(), lwmline_clip_to_ordinate_range(), lwmline_measured_from_lwmline(), lwmline_unstroke(), lwmpoint_extract_points_4d(), lwmpolygon_unstroke(), lwmsurface_linearize(), lwpoint_clone(), lwpoint_construct(), lwpoint_construct_empty(), lwpoint_from_gserialized_buffer(), lwpoint_summary(), lwpointiterator_create_rw(), lwpoly_calculate_circ_tree(), lwpoly_clone(), lwpoly_clone_deep(), lwpoly_construct(), lwpoly_construct_empty(), lwpoly_force_dims(), lwpoly_from_gserialized_buffer(), lwpoly_from_lwlines(), lwpoly_make_geos_friendly(), lwpoly_segmentize2d(), lwpoly_summary(), lwpoly_to_points(), lwpolygon_unstroke(), lwpsurface_is_closed(), lwt_AddPolygon(), lwt_CreateBackendIface(), lwt_GetFaceEdges(), lwt_LoadTopology(), lwtin_from_geos(), lwtin_is_closed(), lwtriangle_construct(), lwtriangle_construct_empty(), lwtriangle_from_gserialized_buffer(), make_strtree(), newFace(), parse_geojson_polygon(), parse_gml_curve(), parse_gml_linearring(), parse_gml_patch(), parse_gml_polygon(), parse_gml_triangle(), parse_kml_polygon(), pointarray_to_encoded_polyline(), prepend_node(), pta_unstroke(), ptarray_clone(), ptarray_clone_deep(), ptarray_construct_copy_data(), ptarray_construct_empty(), ptarray_construct_reference_data(), ptarray_insert_point(), ptarray_locate_between_m(), ptarray_simplify_in_place(), query_accumulate(), rect_node_internal_new(), rect_node_intersects(), rect_node_leaf_new(), rect_tree_from_lwcollection(), rect_tree_from_lwcurvepoly(), rect_tree_from_lwpoly(), rect_tree_from_ptarray(), RTreeBuilder(), RTreeCacheCreate(), RTreeCreate(), RTreeCreateInteriorNode(), RTreeCreateInterval(), RTreeCreateLeafNode(), RTreeFindLineSegments(), RTreeMergeIntervals(), RTreeMergeMultiLines(), SFCGAL2LWGEOM(), sfcgal_postgis_init(), ST_ClusterDBSCAN(), stringbuffer_create_with_size(), stringbuffer_getstringcopy(), stringbuffer_init_with_size(), supporting_points_create(), test_gserialized_peek_gbox_p_fails_for_unsupported_cases(), test_kmeans(), test_point_count(), text2cstring(), UF_create(), UF_get_collapsed_cluster_ids(), UF_ordered_by_cluster(), union_dbscan_general(), union_dbscan_minpoints_1(), wkt_parser_collection_new(), wkt_parser_compound_new(), and WKTARRAY2LWGEOM().

230 {
231  void *mem = lwalloc_var(size);
232  LWDEBUGF(5, "lwalloc: %d@%p", size, mem);
233  return mem;
234 }
lwallocator lwalloc_var
Definition: lwutil.c:44
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88