Home
last modified time | relevance | path

Searched refs:stringB (Results 1 – 4 of 4) sorted by relevance

/haiku/src/build/libshared/
H A DNaturalCompare.cpp81 NaturalCompare(const char* stringA, const char* stringB) in NaturalCompare() argument
84 return stringB == NULL ? 0 : -1; in NaturalCompare()
85 if (stringB == NULL) in NaturalCompare()
103 if (stringB[indexB] == '\0') in NaturalCompare()
105 else if (isdigit(stringB[indexB]) || isspace(stringB[indexB])) in NaturalCompare()
118 return strcasecmp(&stringA[indexA], &stringB[indexB]); in NaturalCompare()
123 indexB += FetchNaturalChunk(b, &stringB[indexB]); in NaturalCompare()
/haiku/src/kits/shared/
H A DNaturalCompare.cpp28 NaturalCompare(const char* stringA, const char* stringB) in NaturalCompare() argument
40 return collator->Compare(stringA, stringB); in NaturalCompare()
/haiku/headers/private/shared/
H A DNaturalCompare.h16 int NaturalCompare(const char* stringA, const char* stringB);
/haiku/src/preferences/filetypes/
H A DMimeTypeListView.cpp230 const BStringItem* stringB = dynamic_cast<const BStringItem*>(b); in Compare() local
232 if (stringA != NULL && stringB != NULL) in Compare()
233 return strcasecmp(stringA->Text(), stringB->Text()); in Compare()
256 const BStringItem* stringB = dynamic_cast<const BStringItem*>(b); in CompareLabels() local
258 if (stringA != NULL && stringB != NULL) in CompareLabels()
259 return strcasecmp(stringA->Text(), stringB->Text()); in CompareLabels()