Lines Matching refs:ver
414 static int crStrParseGlSubver(const char * ver, const char ** pNext, bool bSpacePrefixAllowed)
416 const char * initVer = ver;
419 for(;;++ver)
421 if(*ver >= '0' && *ver <= '9')
425 if(*ver == '0')
432 val += *ver - '0';
434 else if(*ver == '.')
436 *pNext = ver+1;
439 else if(*ver == '\0')
444 else if(*ver == ' ' || *ver == '\t' || *ver == 0x0d || *ver == 0x0a)
469 int crStrParseGlVersion(const char * ver)
471 const char * initVer = ver;
473 int iVer = crStrParseGlSubver(ver, &ver, true);
487 if(!ver)
493 tmp = crStrParseGlSubver(ver, &ver, false);
508 if (!ver)
514 tmp = crStrParseGlSubver(ver, &ver, false);