MCPcopy Create free account
hub / github.com/OSGeo/gdal / CPLStrnlen

Function CPLStrnlen

port/cpl_string.cpp:3114–3123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3112 */
3113
3114size_t CPLStrnlen(const char *pszStr, size_t nMaxLen)
3115{
3116 size_t nLen = 0;
3117 while (nLen < nMaxLen && *pszStr != '\0')
3118 {
3119 ++nLen;
3120 ++pszStr;
3121 }
3122 return nLen;
3123}
3124
3125/************************************************************************/
3126/* CSLParseCommandLine() */

Callers 15

importFromPCIMethod · 0.85
ACTextUnescapeFunction · 0.85
ICreateFeatureMethod · 0.85
CorrectURLsFunction · 0.85
ResolveFunction · 0.85
OpenMethod · 0.85
OGRGetDateTimeFieldTypeFunction · 0.85
EscapeStringFunction · 0.85
UnescapeStringFunction · 0.85
ParseTABFileFieldsMethod · 0.85
ParseMIFHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected