Lines Matching defs:text
666 const char* text, uint32 resizingMode, uint32 flags)
668 BStringView(bounds, name, text, resizingMode, flags),
678 const char* text, BBitmap* inBitmap, uint32 resizingMode, uint32 flags)
680 BStringView(bounds, name, text, resizingMode, flags),
1238 StringToScalar(const char* text)
1243 char* buffer = new char [strlen(text) + 1];
1244 strcpy(buffer, text);
1660 ComputeTypeAheadScore(const char* text, const char* match, bool wordMode)
1663 const char* found = strcasestr(text, match);
1665 if (found == text)
1668 return 1.f / (found - text);
1677 while (text[k]
1678 && tolower(text[k]) != tolower(match[j])) {
1681 if (text[k] == '\0') {
1686 bool wordStart = k == 0 || isspace(text[k - 1]);
1690 bool wordEnd = !text[k + 1] || isspace(text[k + 1]);
1693 if (match[j - 1] == text[k - 1])