Lines Matching refs:ref

121 	entry_ref ref;
124 CHK(entry.GetRef(&ref) == B_OK);
125 return ref;
136 return info.ref;
329 entry_ref ref = ref_for_team(team);
330 CHK(ref_for_path(appFile1) == ref);
335 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
337 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
362 entry_ref ref = ref_for_team(team);
363 CHK(ref_for_path(appFile1) == ref);
368 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
370 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
395 entry_ref ref = ref_for_team(team);
396 CHK(ref_for_path(appFile1) == ref);
401 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
403 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
430 entry_ref ref = ref_for_team(team);
431 CHK(ref_for_path(appFile2) == ref);
436 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
438 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
467 entry_ref ref = ref_for_team(team);
468 CHK(ref_for_path(appFile1) == ref);
473 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
475 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
504 entry_ref ref = ref_for_team(team);
505 CHK(ref_for_path(appFile1) == ref);
510 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
512 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
542 entry_ref ref = ref_for_team(team);
543 CHK(ref_for_path(appFile1) == ref);
554 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
556 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
583 entry_ref ref = ref_for_team(team);
584 CHK(ref_for_path(appFile1) == ref);
589 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
591 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
614 entry_ref ref = ref_for_team(team);
615 CHK(ref_for_path(appFile1) == ref);
620 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
622 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
669 entry_ref ref = ref_for_team(team);
670 CHK(ref_for_path(appFile1) == ref);
675 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
677 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
721 entry_ref ref = ref_for_team(team);
722 CHK(ref_for_path(appFile1) == ref);
727 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
729 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1397 entry_ref ref = ref_for_team(team);
1398 CHK(ref_for_path(appFile1) == ref);
1417 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1419 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1522 entry_ref ref = ref_for_team(team);
1523 CHK(ref_for_path(appFile1) == ref);
1528 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1530 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1615 entry_ref ref = ref_for_team(team);
1616 CHK(ref_for_path(appFile1) == ref);
1621 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1623 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1650 entry_ref ref = ref_for_team(team);
1651 CHK(ref_for_path(appFile1) == ref);
1656 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1658 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1745 entry_ref ref = ref_for_team(team);
1746 CHK(ref_for_path(appFile1) == ref);
1751 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
1753 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1764 SimpleFileCaller1(const entry_ref &ref) : fRef(ref) {}
1826 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
1828 @case 1 ref is NULL
1839 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
1841 @case 2 ref doesn't refer to an existing entry
1853 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
1855 @case 3 ref is valid, file has type and preferred app, app type is
1875 entry_ref ref = ref_for_team(team);
1876 CHK(ref_for_path(appFile2) == ref);
1882 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1884 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1892 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
1894 @case 4 ref is valid, file has no type, but preferred app,
1911 entry_ref ref = ref_for_team(team);
1912 CHK(ref_for_path(appFile1) == ref);
1918 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1920 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1928 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
1930 @case 5 ref is valid, file has type and app hint, the type's
1950 entry_ref ref = ref_for_team(team);
1951 CHK(ref_for_path(appFile1) == ref);
1957 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1959 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1967 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
1969 @case 6 ref is valid, file has type, the type's preferred app
1991 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
1993 @case 7 ref is valid and refers to a link to a file, file has type,
2015 entry_ref ref = ref_for_team(team);
2016 CHK(ref_for_path(appFile1) == ref);
2022 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2024 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2032 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
2034 @case 8 ref is valid, file has no type, sniffing results in a type,
2051 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
2053 @case 9 ref is valid, file has no type, sniffing results in a type,
2070 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
2072 @case 10 ref is valid, file has no type, but preferred app, app
2089 entry_ref ref = ref_for_team(team);
2090 CHK(ref_for_path(appFile1) == ref);
2096 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2098 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2106 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
2108 @case 11 ref is valid and refers to a cyclic link
2123 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
2125 @case 12 ref is valid and refers to a link to void
2140 status_t Launch(const entry_ref *ref, const BMessage *initialMessage,
2142 @case 13 ref is valid and refers to an executable without signature
2157 entry_ref ref = ref_for_team(team);
2158 CHK(ref_for_path(appFile1) == ref);
2167 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2168 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2171 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2172 // CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2185 SimpleFileCaller2(const entry_ref &ref) : fRef(ref) {}
2242 status_t Launch(const entry_ref *ref, const BList *messageList,
2244 @case 1 ref is NULL
2255 status_t Launch(const entry_ref *ref, const BList *messageList,
2257 @case 2 ref doesn't refer to an existing entry
2270 status_t Launch(const entry_ref *ref, const BList *messageList,
2272 @case 3 ref is valid, file has type and preferred app, app type is
2292 entry_ref ref = ref_for_team(team);
2293 CHK(ref_for_path(appFile2) == ref);
2299 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2301 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2309 status_t Launch(const entry_ref *ref, const BList *messageList,
2311 @case 4 ref is valid, file has no type, but preferred app,
2328 entry_ref ref = ref_for_team(team);
2329 CHK(ref_for_path(appFile1) == ref);
2335 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2337 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2345 status_t Launch(const entry_ref *ref, const BList *messageList,
2347 @case 5 ref is valid, file has type and app hint, the type's
2367 entry_ref ref = ref_for_team(team);
2368 CHK(ref_for_path(appFile1) == ref);
2374 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2376 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2384 status_t Launch(const entry_ref *ref, const BList *messageList,
2386 @case 6 ref is valid, file has type, the type's preferred app
2407 status_t Launch(const entry_ref *ref, const BList *messageList,
2409 @case 7 ref is valid and refers to a link to a file, file has type,
2431 entry_ref ref = ref_for_team(team);
2432 CHK(ref_for_path(appFile1) == ref);
2438 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2440 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2448 status_t Launch(const entry_ref *ref, const BList *messageList,
2450 @case 8 ref is valid, file has no type, sniffing results in a type,
2467 status_t Launch(const entry_ref *ref, const BList *messageList,
2469 @case 9 ref is valid, file has no type, sniffing results in a type,
2486 status_t Launch(const entry_ref *ref, const BList *messageList,
2488 @case 10 ref is valid, file has no type, but preferred app, app
2505 entry_ref ref = ref_for_team(team);
2506 CHK(ref_for_path(appFile1) == ref);
2512 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2514 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2522 status_t Launch(const entry_ref *ref, const BList *messageList,
2524 @case 11 ref is valid, file has no type, but preferred app, app
2542 entry_ref ref = ref_for_team(team);
2543 CHK(ref_for_path(appFile1) == ref);
2549 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2551 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2559 status_t Launch(const entry_ref *ref, const BList *messageList,
2561 @case 12 ref is valid and refers to a cyclic link
2577 status_t Launch(const entry_ref *ref, const BList *messageList,
2579 @case 13 ref is valid and refers to a link to void
2595 status_t Launch(const entry_ref *ref, const BList *messageList,
2597 @case 14 ref is valid and refers to an executable without signature
2612 entry_ref ref = ref_for_team(team);
2613 CHK(ref_for_path(appFile1) == ref);
2622 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2623 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2626 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2627 // CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2640 SimpleFileCaller3(const entry_ref &ref) : fRef(ref) {}
2697 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2699 @case 1 ref is NULL
2710 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2712 @case 2 ref doesn't refer to an existing entry
2725 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2727 @case 3 ref is valid, file has type and preferred app, app type is
2747 entry_ref ref = ref_for_team(team);
2748 CHK(ref_for_path(appFile2) == ref);
2754 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2756 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2764 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2766 @case 4 ref is valid, file has no type, but preferred app,
2783 entry_ref ref = ref_for_team(team);
2784 CHK(ref_for_path(appFile1) == ref);
2790 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2792 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2800 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2802 @case 5 ref is valid, file has type and app hint, the type's
2822 entry_ref ref = ref_for_team(team);
2823 CHK(ref_for_path(appFile1) == ref);
2829 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2831 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2839 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2841 @case 6 ref is valid, file has type, the type's preferred app
2862 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2864 @case 7 ref is valid and refers to a link to a file, file has type,
2886 entry_ref ref = ref_for_team(team);
2887 CHK(ref_for_path(appFile1) == ref);
2893 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2894 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, &fileRef,
2898 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2899 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, &fileRef,
2910 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2912 @case 8 ref is valid, file has no type, sniffing results in a type,
2929 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2931 @case 9 ref is valid, file has no type, sniffing results in a type,
2948 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2950 @case 10 ref is valid, file has no type, but preferred app, app
2966 entry_ref ref = ref_for_team(team);
2967 CHK(ref_for_path(appFile1) == ref);
2973 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
2975 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2983 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
2985 @case 11 ref is valid, file has no type, but preferred app, app
3001 entry_ref ref = ref_for_team(team);
3002 CHK(ref_for_path(appFile1) == ref);
3008 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
3010 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
3018 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
3020 @case 12 ref is valid and refers to a cyclic link
3036 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
3038 @case 13 ref is valid and refers to a link to void
3054 status_t Launch(const entry_ref *ref, int argc, const char * const *args,
3056 @case 14 ref is valid and refers to an executable without signature
3071 entry_ref ref = ref_for_team(team);
3072 CHK(ref_for_path(appFile1) == ref);
3081 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
3082 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
3087 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
3088 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,