/dports/graphics/mapserver/mapserver-7.6.4/ |
H A D | mappostgis.c | 442 line.point = msSmallMalloc(sizeof(pointObj)); in wkbConvPointToShape() 1097 strVersion = (char*)msSmallMalloc(strSize); in msPostGISRetrieveVersion() 1183 schema = (char*)msSmallMalloc(length); in msPostGISRetrievePK() 1187 table = (char*)msSmallMalloc(length); in msPostGISRetrievePK() 1231 tmp2 = (char*)msSmallMalloc(size2); in msPostGISRetrievePK() 1267 layerinfo->uid = (char*)msSmallMalloc(size); in msPostGISRetrievePK() 1303 data = (char*)msSmallMalloc(dsize); in msPostGISParseData() 1399 layerinfo->srid = (char*) msSmallMalloc(1); in msPostGISParseData() 1812 strItems = (char*)msSmallMalloc(length); in msPostGISBuildSQLItems() 2229 strWhere = (char*)msSmallMalloc(bufferSize); in msPostGISBuildSQLWhere() [all …]
|
H A D | mapgraticule.c | 203 pInfo->pboundinglines = (lineObj *) msSmallMalloc( sizeof( lineObj ) * 4 ); in msGraticuleLayerWhichShapes() 205 pInfo->pboundingpoints = (pointObj *) msSmallMalloc( sizeof( pointObj ) * 8 ); in msGraticuleLayerWhichShapes() 277 shape->line = (lineObj *) msSmallMalloc(sizeof( lineObj )); in msGraticuleLayerNextShape() 493 char **ppItemName = (char **) msSmallMalloc( sizeof( char * ) ); in msGraticuleLayerGetItems() 495 *ppItemName = (char *) msSmallMalloc( 64 ); /* why is this necessary? */ in msGraticuleLayerGetItems() 794 psValues->pasBottom = (pointObj *)msSmallMalloc(sizeof(pointObj)); in msGraticuleLayerGetIntersectionPoints() 844 psValues->pasTop = (pointObj *)msSmallMalloc(sizeof(pointObj)); in msGraticuleLayerGetIntersectionPoints() 845 psValues->papszTopLabels = (char **)msSmallMalloc(sizeof(char *)); in msGraticuleLayerGetIntersectionPoints() 904 psValues->pasLeft = (pointObj *)msSmallMalloc(sizeof(pointObj)); in msGraticuleLayerGetIntersectionPoints() 905 psValues->papszLeftLabels = (char **)msSmallMalloc(sizeof(char *)); in msGraticuleLayerGetIntersectionPoints() [all …]
|
H A D | mapmssql2008.c | 461 shape->line = (lineObj *) msSmallMalloc(sizeof(lineObj)); in ParseSqlGeometry() 477 shape->line = (lineObj *) msSmallMalloc(sizeof(lineObj)); in ParseSqlGeometry() 679 hay_lower = (char*) msSmallMalloc(len_hay + 1); in strstrIgnoreCase() 680 needle_lower =(char*) msSmallMalloc(len_need + 1); in strstrIgnoreCase() 746 msODBCconn * conn = msSmallMalloc(sizeof(msODBCconn)); in mssql2008Connect() 2283 wkbTemp = (char*)msSmallMalloc(needLen+9); in msMSSQL2008LayerGetShapeRandom() 2698 sql = msSmallMalloc(sizeof(char *) * sqlSize); in msMSSQL2008LayerGetItems() 2864 *user_srid = (char *) msSmallMalloc(2); in msMSSQL2008LayerParseData() 2875 *user_srid = (char *) msSmallMalloc(slength + 1); in msMSSQL2008LayerParseData() 2998 pszEscapedStr = (char*) msSmallMalloc( 2 * nSrcLen + 1); in msMSSQL2008LayerEscapeSQLParam() [all …]
|
H A D | mapstring.c | 351 char *buffer = (char*)msSmallMalloc(bufferSize); in msLongToString() 360 char *buffer = (char*)msSmallMalloc(bufferSize); in msDoubleToString() 372 char *buffer = (char*)msSmallMalloc(bufferSize); in msIntToString() 822 token = (char **) msSmallMalloc(sizeof(char *)*n); in msStringSplit() 890 pszToken = (char *) msSmallMalloc(sizeof(char)*10);; in msStringSplitComplex() 1121 code = (char*)msSmallMalloc(strlen(data)+inc+1); in msEncodeUrlExcept() 1294 pszReplace = (char*) msSmallMalloc(bufferSize+1); in msDecodeHTMLEntities() 1295 pszEnd = (char*) msSmallMalloc(bufferSize+1); in msDecodeHTMLEntities() 1441 pszOutBuf = (char*)msSmallMalloc(bufferSize); in msHashString() 1786 output = (char*) msSmallMalloc (nBufferSize); in msConvertWideStringToUTF8() [all …]
|
H A D | maptree.c | 72 node = (treeNodeObj *) msSmallMalloc(sizeof(treeNodeObj)); in treeNodeCreate() 106 psTree = (SHPTreeHandle) msSmallMalloc(sizeof(SHPTreeInfo)); in msSHPDiskTreeOpen() 112 pszBasename = (char *) msSmallMalloc(strlen(pszTree)+5); in msSHPDiskTreeOpen() 126 pszFullname = (char *) msSmallMalloc(strlen(pszBasename) + 5); in msSHPDiskTreeOpen() 216 tree = (treeObj *) msSmallMalloc(sizeof(treeObj)); in msCreateTree() 500 ids = (int *)msSmallMalloc(numshapes*sizeof(ms_int32)); in searchDiskTreeNode() 569 node = (treeNodeObj *) msSmallMalloc(sizeof(treeNodeObj)); in readTreeNode() 600 node->ids = (ms_int32 *)msSmallMalloc(sizeof(ms_int32)*node->numshapes); in readTreeNode() 679 …pabyRec = msSmallMalloc(sizeof(rectObj) + (3 * sizeof(ms_int32)) + (node->numshapes * sizeof(ms_in… in writeTreeNode() 731 pszBasename = (char *) msSmallMalloc(strlen(filename)+5); in msWriteTree() [all …]
|
H A D | cgiutil.c | 88 *data = (char *) msSmallMalloc(data_max+1); in readPostBody() 292 char *word = (char *) msSmallMalloc(sizeof(char) * (strlen(line) + 1)); in makeword_skip() 311 char *word = (char *) msSmallMalloc(sizeof(char) * (strlen(line) + 1)); in makeword() 332 word = (char *) msSmallMalloc(sizeof(char) * (wsize + 1)); in fmakeword() 441 request->ParamNames = (char **) msSmallMalloc(MS_DEFAULT_CGI_PARAMS*sizeof(char*)); in msAllocCgiObj() 442 request->ParamValues = (char **) msSmallMalloc(MS_DEFAULT_CGI_PARAMS*sizeof(char*)); in msAllocCgiObj()
|
H A D | mapxmp.c | 191 ns_name = msSmallMalloc(ns_size + 1); in msXmpWrite() 226 char *ns_name = msSmallMalloc(ns_name_size + 1); in msXmpWrite() 227 char *ns_tag = msSmallMalloc(ns_tag_size + 1); in msXmpWrite()
|
H A D | mapmvt.c | 256 mvt_layer->features[mvt_layer->n_features++] = msSmallMalloc(sizeof(VectorTile__Tile__Feature)); in mvtWriteShape() 260 mvt_feature->tags = msSmallMalloc(mvt_feature->n_tags * sizeof(uint32_t)); in mvtWriteShape() 282 value = msSmallMalloc(sizeof(value_lookup)); in mvtWriteShape() 286 mvt_layer->values[mvt_layer->n_values-1] = msSmallMalloc(sizeof(VectorTile__Tile__Value)); in mvtWriteShape() 318 mvt_feature->geometry = msSmallMalloc(mvt_feature->n_geometry * sizeof(uint32_t)); in mvtWriteShape() 438 mvt_tile.layers[mvt_tile.n_layers++] = msSmallMalloc(sizeof(VectorTile__Tile__Layer)); in msMVTWriteTile() 453 mvt_layer->keys = msSmallMalloc(layer->numitems * sizeof(char*)); in msMVTWriteTile() 544 buf = msSmallMalloc(len); // Allocate memory in msMVTWriteTile()
|
H A D | shptree.c | 45 pszBasename = (char *) msSmallMalloc(strlen(Filename)+5); in AddFileSuffix() 59 pszFullname = (char *) msSmallMalloc(strlen(pszBasename) + 5); in AddFileSuffix()
|
H A D | mapxbase.c | 150 pszDBFFilename = (char *) msSmallMalloc(strlen(pszFilename)+1); in msDBFOpen() 192 pabyBuf = (uchar *) msSmallMalloc(500); in msDBFOpen() 216 psDBF->pszCurrentRecord = (char *) msSmallMalloc(nRecLen); in msDBFOpen() 234 psDBF->panFieldOffset = (int *) msSmallMalloc(sizeof(int) * nFields); in msDBFOpen() 235 psDBF->panFieldSize = (int *) msSmallMalloc(sizeof(int) * nFields); in msDBFOpen() 236 psDBF->panFieldDecimals = (int *) msSmallMalloc(sizeof(int) * nFields); in msDBFOpen() 237 psDBF->pachFieldType = (char *) msSmallMalloc(sizeof(char) * nFields); in msDBFOpen()
|
H A D | mapresample.c | 99 x = (double *) msSmallMalloc( sizeof(double) * nDstXSize ); in msNearestRasterResampler() 100 y = (double *) msSmallMalloc( sizeof(double) * nDstXSize ); in msNearestRasterResampler() 101 panSuccess = (int *) msSmallMalloc( sizeof(int) * nDstXSize ); in msNearestRasterResampler() 325 x = (double *) msSmallMalloc( sizeof(double) * nDstXSize ); in msBilinearRasterResampler() 326 y = (double *) msSmallMalloc( sizeof(double) * nDstXSize ); in msBilinearRasterResampler() 327 panSuccess = (int *) msSmallMalloc( sizeof(int) * nDstXSize ); in msBilinearRasterResampler() 543 x1 = (double *) msSmallMalloc( sizeof(double) * (nDstXSize+1) ); in msAverageRasterResampler() 544 y1 = (double *) msSmallMalloc( sizeof(double) * (nDstXSize+1) ); in msAverageRasterResampler() 545 x2 = (double *) msSmallMalloc( sizeof(double) * (nDstXSize+1) ); in msAverageRasterResampler() 546 y2 = (double *) msSmallMalloc( sizeof(double) * (nDstXSize+1) ); in msAverageRasterResampler() [all …]
|
H A D | shptreetst.c | 56 pszBasename = (char *) msSmallMalloc(strlen(Filename)+5); in AddFileSuffix() 70 pszFullname = (char *) msSmallMalloc(strlen(pszBasename) + 5); in AddFileSuffix()
|
H A D | maptime.c | 79 ms_timeFormats[i].regex = msSmallMalloc(sizeof(ms_regex_t)); in msTimeSetup() 86 ms_limited_pattern = (int *)msSmallMalloc(sizeof(int)*MS_NUMTIMEFORMATS); in msTimeSetup() 234 limitedpatternindice = (int *)msSmallMalloc(sizeof(int)*MS_NUMTIMEFORMATS); in msSetLimitedPatternsToUse() 313 ms_regex_t *regex = (ms_regex_t *) msSmallMalloc(sizeof(ms_regex_t)); in msTimeGetResolution()
|
H A D | mapsmoothing.c | 53 lw->points = (pointObj**)msSmallMalloc(sizeof(pointObj*)*size); in initLineWindow() 198 newShape = (shapeObj *) msSmallMalloc(sizeof (shapeObj)); in msSmoothShapeSIA() 216 p = (pointObj *) msSmallMalloc(ss*sizeof(pointObj)); in msSmoothShapeSIA() 217 coeff = (double *) msSmallMalloc(ss*sizeof (double)); in msSmoothShapeSIA()
|
H A D | textlayout.c | 327 hbf = msSmallMalloc(sizeof(hb_font_element)); in get_hb_font() 464 encoded_text = msSmallMalloc(bufleft+1); in msLayoutTextSymbol() 499 glyphs.bidi_levels = msSmallMalloc(text_num_bytes * sizeof(FriBidiLevel)); in msLayoutTextSymbol() 500 glyphs.ctypes = msSmallMalloc(text_num_bytes * sizeof(FriBidiCharType)); in msLayoutTextSymbol() 502 glyphs.unicodes = msSmallMalloc(text_num_bytes * sizeof(unsigned int)); in msLayoutTextSymbol() 503 glyphs.codepoints = msSmallMalloc(text_num_bytes * sizeof(unsigned int)); in msLayoutTextSymbol() 505 glyphs.scripts = msSmallMalloc(text_num_bytes * sizeof(hb_script_t)); in msLayoutTextSymbol() 507 runs = msSmallMalloc(text_num_bytes * sizeof(text_run)); in msLayoutTextSymbol() 581 line_descs = msSmallMalloc((runs[nruns-1].line_number + 1)*sizeof(struct line_desc)); in msLayoutTextSymbol()
|
H A D | maputil.c | 476 ltags = (char **) msSmallMalloc(map->numlayers*sizeof(char *)); in msValidateContexts() 670 classgroup = (int *)msSmallMalloc(sizeof(int)*lp->numclasses); in msAllocateValidClassGroups() 1157 aiIndex = (int *)msSmallMalloc(sizeof(int) * map->numlayers); in msGetLayersIndexByGroup() 1263 point = (pointObj *)msSmallMalloc(sizeof(pointObj)); in msGetPointUsingMeasure() 1372 result = (pointObj *)msSmallMalloc(sizeof(pointObj)); in msIntersectionPointLine() 1653 tmpFname = (char*)msSmallMalloc(tmpFnameBufsize); in msTmpFilename() 1922 ret = (shapeObj*)msSmallMalloc(sizeof(shapeObj)); in msOffsetCurve() 2017 ret = (shapeObj*)msSmallMalloc(sizeof(shapeObj)); in msOffsetPolyline() 2467 void *msSmallMalloc( size_t nSize ) in msSmallMalloc() function 2590 online_resource = (char*)msSmallMalloc(buffer_size); in msBuildOnlineResource() [all …]
|
H A D | maplabel.c | 69 textPathObj *tgret = msSmallMalloc(sizeof(textPathObj)); in msComputeTextPath() 122 dst->bounds.poly = msSmallMalloc(sizeof(lineObj)); in msCopyTextPath() 132 dst->glyphs = msSmallMalloc(dst->numglyphs * sizeof(glyphObj)); in msCopyTextPath() 143 dst->textpath = msSmallMalloc(sizeof(textPathObj)); in msCopyTextSymbol() 151 dst->style_bounds[i] = msSmallMalloc(sizeof(label_bounds)); in msCopyTextSymbol() 171 ts->label = msSmallMalloc(sizeof(labelObj)); in msPopulateTextSymbolForLabelAndString() 178 ts->label = msSmallMalloc(sizeof(labelObj)); in msPopulateTextSymbolForLabelAndString() 242 textsymbols = msSmallMalloc(classPtr->numlabels * sizeof(textSymbolObj*)); in msAddLabelGroup() 260 ts = msSmallMalloc(sizeof(textSymbolObj)); in msAddLabelGroup() 450 ts = msSmallMalloc(sizeof(textSymbolObj)); in msAddLabel() [all …]
|
H A D | fontcache.c | 145 cur = msSmallMalloc(sizeof(ft_thread_cache)); in msGetFontCache() 203 ic = msSmallMalloc(sizeof(index_element)); in msGetGlyphIndex() 285 gc = msSmallMalloc(sizeof(glyph_element)); in msGetGlyphByIndex() 335 oc = msSmallMalloc(sizeof(outline_element)); in msGetGlyphOutline()
|
H A D | maptemplate.c | 484 pszTag1 = (char*) msSmallMalloc(length+1); in findTag() 761 pszIfTag = (char*)msSmallMalloc(nLength + 6); in processIfTag() 838 result = (char *) msSmallMalloc(n + 1); in getPreTagText() 1169 tag = (char *) msSmallMalloc(tagLength + 1); in processIncludeTag() 1343 tag = (char *) msSmallMalloc(tagLength + 1); in processItemTag() 1507 tag = (char *) msSmallMalloc(tagLength + 1); in processExtentTag() 1832 tag = (char *) msSmallMalloc(tagLength + 1); in processShplabelTag() 1876 tag = (char *) msSmallMalloc(tagLength + 1); in processShplabelTag() 2325 tag = (char *) msSmallMalloc(tagLength + 1); in processShpxyTag() 2538 pszTag = (char*)msSmallMalloc(nLen + 1); in processIcon() [all …]
|
H A D | shptreevis.c | 56 pszBasename = (char *) msSmallMalloc(strlen(Filename)+5); in AddFileSuffix() 70 pszFullname = (char *) msSmallMalloc(strlen(pszBasename) + 5); in AddFileSuffix()
|
H A D | mapcopy.c | 406 dst->leader = msSmallMalloc(sizeof(labelLeaderObj)); in msCopyLabel() 589 dst->leader = msSmallMalloc(sizeof(labelLeaderObj)); in msCopyClass() 701 dst->labels = (labelObj *) msSmallMalloc(sizeof(labelObj)*dst->numlabels); in msCopyLabelCacheMember() 945 dst = *pdst = msSmallMalloc(sizeof(CompositingFilter)); in msCopyCompositingFilter() 947 dst->next = msSmallMalloc(sizeof(CompositingFilter)); in msCopyCompositingFilter() 966 dst = *ldst = msSmallMalloc(sizeof(LayerCompositer)); in msCopyCompositer() 968 dst->next = msSmallMalloc(sizeof(LayerCompositer)); in msCopyCompositer() 1308 dst->data.rgba.pixels = msSmallMalloc(src->height * src->data.rgba.row_step); in msCopyRasterBuffer()
|
H A D | maphash.c | 52 table = (hashTableObj *) msSmallMalloc(sizeof(hashTableObj)); in msCreateHashTable() 53 table->items = (struct hashObj **) msSmallMalloc(sizeof(struct hashObj *)*MS_HASHSIZE); in msCreateHashTable()
|
/dports/graphics/mapserver/mapserver-7.6.4/mapscript/v8/ |
H A D | line.cpp | 95 lineObj *l = (lineObj *)msSmallMalloc(sizeof(lineObj)); in New() 166 line->point = (pointObj *)msSmallMalloc(sizeof(pointObj)); in addXY() 194 line->point = (pointObj *)msSmallMalloc(sizeof(pointObj)); in addXYZ() 224 line->point = (pointObj *)msSmallMalloc(sizeof(pointObj)); in addPoint()
|
/dports/graphics/mapserver/mapserver-7.6.4/mapscript/swiginc/ |
H A D | color.i | 129 hexcolor = msSmallMalloc(8); in toHex() 133 hexcolor = msSmallMalloc(10); in toHex()
|
H A D | result.i | 37 resultObj *result = (resultObj *) msSmallMalloc(sizeof(resultObj)); in resultObj()
|