Lines Matching defs:str
444 bool parseTextCoord(const char* str, int* dest) {
445 if (strcmp("c", str) == 0) {
451 int val = (int) strtol(str, &end, 0);
452 if (end == str || *end != '\0' || val == INT_MAX || val == INT_MIN) {
482 // characters in str is a hex number in [0, 255], which are converted to
488 static bool parseColor(const char str[7], float color[3]) {
494 char c = str[2*i + j];
557 void BootAnimation::drawText(const char* str, const Font& font, bool bold, int* x, int* y) {
561 const int len = strlen(str);
578 char c = str[i];