Home
last modified time | relevance | path

Searched refs:anMap (Results 1 – 8 of 8) sorted by relevance

/dports/devel/fossil/fossil-src-2.17/src/
H A Dcolor.c91 static int *anMap = 0; in user_color() local
99 &azMap, &anMap, &nMap); in user_color()
100 for(i=0; i<nMap; i++) azMap[i][anMap[i]] = 0; in user_color()
/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ogrsf_frmts/selafin/
H A Dogrselafinlayer.cpp330 int *anMap; in ICreateFeature() local
331 anMap=(int*)VSIMalloc2(sizeof(int),poHeader->nPointsPerElement); in ICreateFeature()
332 if (anMap==0) { in ICreateFeature()
336 for (long i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=-1; in ICreateFeature()
342 …for (long i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=poHeader->getClosestPoint(poLinearRing->… in ICreateFeature()
346 for (long i=0;i<poHeader->nPointsPerElement;++i) if (anMap[i]==-1) { in ICreateFeature()
348 anMap[i]=poHeader->nPoints-1; in ICreateFeature()
355 … poHeader->panConnectivity[poHeader->nPointsPerElement*(poHeader->nElements-1)+i]=anMap[i]+1; in ICreateFeature()
358 CPLFree(anMap); in ICreateFeature()
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/selafin/
H A Dogrselafinlayer.cpp359 int *anMap = (int*) in ICreateFeature() local
361 if (anMap==nullptr) { in ICreateFeature()
364 for (int i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=-1; in ICreateFeature()
370 …for (int i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=poHeader->getClosestPoint(poLinearRing->g… in ICreateFeature()
374 for (int i=0;i<poHeader->nPointsPerElement;++i) if (anMap[i]==-1) { in ICreateFeature()
376 anMap[i]=poHeader->nPoints-1; in ICreateFeature()
383 … poHeader->panConnectivity[poHeader->nPointsPerElement*(poHeader->nElements-1)+i]=anMap[i]+1; in ICreateFeature()
386 CPLFree(anMap); in ICreateFeature()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/selafin/
H A Dogrselafinlayer.cpp359 int *anMap = (int*)
361 if (anMap==nullptr) {
364 for (int i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=-1;
370 …for (int i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=poHeader->getClosestPoint(poLinearRing->g…
374 for (int i=0;i<poHeader->nPointsPerElement;++i) if (anMap[i]==-1) {
376 anMap[i]=poHeader->nPoints-1;
383 … poHeader->panConnectivity[poHeader->nPointsPerElement*(poHeader->nElements-1)+i]=anMap[i]+1;
386 CPLFree(anMap);
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/selafin/
H A Dogrselafinlayer.cpp359 int *anMap = (int*) in ICreateFeature() local
361 if (anMap==nullptr) { in ICreateFeature()
364 for (int i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=-1; in ICreateFeature()
370 …for (int i=0;i<poHeader->nPointsPerElement;++i) anMap[i]=poHeader->getClosestPoint(poLinearRing->g… in ICreateFeature()
374 for (int i=0;i<poHeader->nPointsPerElement;++i) if (anMap[i]==-1) { in ICreateFeature()
376 anMap[i]=poHeader->nPoints-1; in ICreateFeature()
383 … poHeader->panConnectivity[poHeader->nPointsPerElement*(poHeader->nElements-1)+i]=anMap[i]+1; in ICreateFeature()
386 CPLFree(anMap); in ICreateFeature()
/dports/graphics/py-gdal/gdal-3.3.3/apps/
H A Dogr2ogr_lib.cpp3946 std::vector<int> anMap(nSrcFieldCount, -1); in Setup() local
3969 anMap[iField] = bIdentity? iField : atoi(m_papszFieldMap[iField]); in Setup()
3970 if (anMap[iField] >= poDstFDefn->GetFieldCount()) in Setup()
3972 … CPLError( CE_Failure, CPLE_AppDefined, "Invalid destination field index %d.", anMap[iField]); in Setup()
4004 anMap[iSrcField] = iDstField; in Setup()
4022 anMap[iSrcField] = nDstFieldCount; in Setup()
4171 anMap[iField] = oIter->second; in Setup()
4271 anMap[iField] = nDstFieldCount; in Setup()
4314 anMap[iField] = iDstField; in Setup()
4347 psInfo->m_anMap = std::move(anMap); in Setup()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/apps/
H A Dogr2ogr_lib.cpp3946 std::vector<int> anMap(nSrcFieldCount, -1); in Setup() local
3969 anMap[iField] = bIdentity? iField : atoi(m_papszFieldMap[iField]); in Setup()
3970 if (anMap[iField] >= poDstFDefn->GetFieldCount()) in Setup()
3972 … CPLError( CE_Failure, CPLE_AppDefined, "Invalid destination field index %d.", anMap[iField]); in Setup()
4004 anMap[iSrcField] = iDstField; in Setup()
4022 anMap[iSrcField] = nDstFieldCount; in Setup()
4171 anMap[iField] = oIter->second; in Setup()
4271 anMap[iField] = nDstFieldCount; in Setup()
4314 anMap[iField] = iDstField; in Setup()
4347 psInfo->m_anMap = std::move(anMap); in Setup()
/dports/graphics/gdal/gdal-3.3.3/apps/
H A Dogr2ogr_lib.cpp3946 std::vector<int> anMap(nSrcFieldCount, -1); in Setup() local
3969 anMap[iField] = bIdentity? iField : atoi(m_papszFieldMap[iField]); in Setup()
3970 if (anMap[iField] >= poDstFDefn->GetFieldCount()) in Setup()
3972 … CPLError( CE_Failure, CPLE_AppDefined, "Invalid destination field index %d.", anMap[iField]); in Setup()
4004 anMap[iSrcField] = iDstField; in Setup()
4022 anMap[iSrcField] = nDstFieldCount; in Setup()
4171 anMap[iField] = oIter->second; in Setup()
4271 anMap[iField] = nDstFieldCount; in Setup()
4314 anMap[iField] = iDstField; in Setup()
4347 psInfo->m_anMap = std::move(anMap); in Setup()