Lines Matching refs:valid
60 static const char *testTypeInvalid = "text/Are spaces valid?";
61 static const char *testTypeSuperValid = "valid-but-fake-supertype";
1653 // be valid MIME strings)
1660 // If the entry designates a valid MIME string, find it
1679 // Verify it's a valid mime string. If so, find and remove from our set
1733 // be valid MIME strings)
1750 // If the entry designates a valid MIME string, find it
1769 // Verify it's a valid mime string. If so, find and remove from our set
2269 // Make sure it's a valid type string, since the R5::GetInstalled*Types()
2800 // valid type
2842 // valid type
2888 // valid type
2978 // valid types
3052 bool valid = (test.error == B_OK);
3053 bool validSuper = (valid && test.super_type);
3055 if (valid)
3060 CHK(type.IsValid() == valid);
3062 CHK(BMimeType::IsValid(test.type) == valid);
3064 if (valid && !validSuper) {
3083 bool validSuper2 = (valid && test2.super_type);
3086 if (valid || valid2) {
3094 if (valid || valid2) {
4197 bool valid;
4210 if (testCase.valid) {
4216 // the two valid and one invalid icon size
4222 bool valid = testCase.valid && validSizes[k];
4224 if (valid) {
4247 // test a couple of valid and invalid rules
4250 const char *error; // NULL, if valid
4252 // valid rules