Ejemplo n.º 1
0
void  myReadFilename(UINT8* dstname, UINT8* scrame)
{
	UINT8  *longname;
	
	longname = vfsLongFileNameGet(scrame);
	if(strlen(longname)==0)
		strcpy(dstname, scrame);
	else
		strcpy(dstname, longname);
	myUpper(dstname);
}
Ejemplo n.º 2
0
/**
 * Converts the given String to upper case (using ASCII locale) and returns
 * the address of the string.
 */
char* toUpper(char *s)
{
    for (char *it = s; *it; ++it)
        myUpper(*it);
    return s;
}
Ejemplo n.º 3
0
/**
 * Converts the given String to upper case (using ASCII locale) and returns
 * the address of the string.
 */
std::string& toUpper(std::string &s)
{
    for (auto it = s.begin(); it != s.end(); ++it)
        myUpper(*it);
    return s;
}