Lines Matching defs:NULL
74 install_type(const char *type, const char *preferredApp = NULL,
75 const char *snifferRule = NULL)
101 create_app(const char *filename, const char *signature = NULL,
122 const char *preferredApp = NULL, const char *appHintPath = NULL,
123 const char *contents = NULL)
341 set_file_time(appFile2, time(NULL) + 1);
365 set_file_time(appFile2, time(NULL) + 1);
389 set_file_time(appFile2, time(NULL) + 1);
493 textType.SetPreferredApp(hasPreferredApp ? preferredApp : NULL);
589 @case 1 mimeType or app are NULL
595 CHK(roster.FindApp((const char*)NULL, NULL) == B_BAD_VALUE);
596 // R5: crashes when passing a non-NULL type, but a NULL ref.
598 CHK(roster.FindApp("image/gif", NULL) == B_BAD_VALUE);
601 CHK(roster.FindApp((const char*)NULL, &ref) == B_BAD_VALUE);
644 @case 1 ref or app are NULL
650 CHK(roster.FindApp((entry_ref*)NULL, NULL) == B_BAD_VALUE);
651 // R5: Crashes when passing a NULL (app) ref.
655 CHK(roster.FindApp(&fileRef, NULL) == B_BAD_VALUE);
658 CHK(roster.FindApp((entry_ref*)NULL, &ref) == B_BAD_VALUE);
722 entry_ref fileRef(create_file(testFile1, NULL, appType1));
744 entry_ref fileRef(create_file(testFile1, fileType1, NULL, appFile2));
831 entry_ref fileRef(create_file(testFile1, type, NULL, NULL,
833 install_type(fileType1, NULL, "1.0 [0] ('UnIQe pAtTeRn')");