Lines Matching defs:NULL

104 install_type(const char *type, const char *preferredApp = NULL,
105 const char *snifferRule = NULL)
170 const char *preferredApp = NULL, const char *appHintPath = NULL,
171 const char *contents = NULL)
426 set_file_time(appFile2, time(NULL) + 1);
463 set_file_time(appFile2, time(NULL) + 1);
500 set_file_time(appFile2, time(NULL) + 1);
657 textType.SetPreferredApp(hasPreferredApp ? preferredApp : NULL);
704 installed, app has signature, team is NULL
717 CHK(context(caller, fileType1, NULL) == B_OK);
956 set_file_time(appFile2, time(NULL) + 1);
1015 set_file_time(appFile2, time(NULL) + 1);
1158 set_file_time(appFile2, time(NULL) + 1);
1203 set_file_time(appFile2, time(NULL) + 1);
1254 set_file_time(appFile2, time(NULL) + 1);
1301 set_file_time(appFile2, time(NULL) + 1);
1390 create_app(appFile1, NULL);
1446 @case 1 mimeType is NULL
1453 CHK(roster.Launch((const char*)NULL, &message, NULL) == B_BAD_VALUE);
1466 CHK(roster.Launch("invalid/mine/type", &message, NULL) == B_BAD_VALUE);
1476 : NULL);
1507 installed, app has signature, NULL initialMsg
1520 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc,
1540 @case 1 mimeType is NULL
1547 CHK(roster.Launch((const char*)NULL, &list, NULL) == B_BAD_VALUE);
1560 CHK(roster.Launch("invalid/mine/type", &list, NULL) == B_BAD_VALUE);
1600 installed, app has signature, NULL messageList
1613 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc,
1668 @case 1 mimeType is NULL or argc > 0 and args is NULL
1675 CHK(roster.Launch((const char*)NULL, 1, argv, NULL) == B_BAD_VALUE);
1676 CHK(roster.Launch((const char*)NULL, 1, (char**)NULL, NULL)
1691 CHK(roster.Launch("invalid/mine/type", 1, argv, NULL) == B_BAD_VALUE);
1731 installed, app has signature, NULL args, argc is 0
1744 CHK(context(caller, fileType1, NULL, 0, (const char**)NULL, &team) == B_OK);
1751 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
1771 : NULL);
1794 : NULL);
1813 : NULL);
1814 fRef = create_file(testFile1, type, NULL, NULL, "UnIQe pAtTeRn");
1815 install_type(fileType1, NULL, "1.0 [0] ('UnIQe pAtTeRn')");
1828 @case 1 ref is NULL
1835 CHK(roster.Launch((const entry_ref*)NULL, &message, NULL) == B_BAD_VALUE);
1849 CHK(roster.Launch(&fileRef, &message, NULL) == B_ENTRY_NOT_FOUND);
1904 entry_ref fileRef(create_file(testFile1, NULL, appType1));
1943 entry_ref fileRef(create_file(testFile1, fileType1, NULL, appFile2));
2074 NULL initialMessage
2083 entry_ref fileRef(create_file(testFile1, NULL, appType1));
2087 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc,
2149 create_app(appFile1, NULL);
2168 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2169 0, NULL, MSG_MAIN_ARGS));
2172 // CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2230 fRef = create_file(testFile1, type, NULL, NULL, "UnIQe pAtTeRn");
2231 install_type(fileType1, NULL, "1.0 [0] ('UnIQe pAtTeRn')");
2244 @case 1 ref is NULL
2251 CHK(roster.Launch((const entry_ref*)NULL, &list, NULL) == B_BAD_VALUE);
2266 CHK(roster.Launch(&fileRef, &list, NULL) == B_ENTRY_NOT_FOUND);
2321 entry_ref fileRef(create_file(testFile1, NULL, appType1));
2360 entry_ref fileRef(create_file(testFile1, fileType1, NULL, appFile2));
2490 NULL messageList
2499 entry_ref fileRef(create_file(testFile1, NULL, appType1));
2503 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc,
2535 entry_ref fileRef(create_file(testFile1, NULL, appType1));
2604 create_app(appFile1, NULL);
2623 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2624 0, NULL, MSG_MAIN_ARGS));
2627 // CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2685 fRef = create_file(testFile1, type, NULL, NULL, "UnIQe pAtTeRn");
2686 install_type(fileType1, NULL, "1.0 [0] ('UnIQe pAtTeRn')");
2699 @case 1 ref is NULL
2706 CHK(roster.Launch((const entry_ref*)NULL, 1, argv, NULL) == B_BAD_VALUE);
2721 CHK(roster.Launch(&fileRef, 1, argv, NULL) == B_ENTRY_NOT_FOUND);
2776 entry_ref fileRef(create_file(testFile1, NULL, appType1));
2815 entry_ref fileRef(create_file(testFile1, fileType1, NULL, appFile2));
2952 NULL args, argc is 0
2961 entry_ref fileRef(create_file(testFile1, NULL, appType1));
2965 CHK(context(caller, fileType1, NULL, 0, NULL, &team) == B_OK);
2973 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
2987 NULL args, argc > 0
2996 entry_ref fileRef(create_file(testFile1, NULL, appType1));
3000 CHK(context(caller, fileType1, NULL, 1, NULL, &team) == B_OK);
3008 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
3063 create_app(appFile1, NULL);
3082 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
3088 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,