Lines Matching refs:appRef

311 	\param appRef A pointer to a pre-allocated entry_ref to be filled with
316 \retval B_BAD_VALUE: \c NULL \a signature or \a appRef.
321 query_for_app(const char* signature, entry_ref* appRef)
323 if (signature == NULL || appRef == NULL)
381 if ((!appFound || compare_queried_apps(appRef, &ref) < 0)
383 *appRef = ref;
436 const entry_ref* appRef,
478 of the entry \a appRef refers to, then follow all elements of \a args
482 vector contains only one element, the path associated with \a appRef.
486 \param appRef entry_ref referring to the entry whose path shall be the
492 - \c B_BAD_VALUE: \c NULL \a appRef.
493 - \c B_ENTRY_NOT_FOUND or other file system error codes: \a appRef could
499 const entry_ref* appRef, const entry_ref* docRef)
503 status_t error = appRef ? B_OK : B_BAD_VALUE;
506 error = fAppPath.SetTo(appRef);
1916 entry_ref appRef;
1918 error = _ResolveApp(mimeType, docRef, &appRef, signature,
1927 error = argVector.Init(argc, args, &appRef,
1935 bool isScript = wasDocument && docRef != NULL && *docRef == appRef;
1937 error = _AddApplication(signature, &appRef, appFlags, -1, -1, -1,
1944 error = _IsAppRegistered(&appRef, team, appToken, NULL,
1999 if (appRef == hintRef)
2007 && appRef == hintRef) {
2099 \param appRef A pointer to a pre-allocated entry_ref to be filled with
2129 entry_ref appRef;
2133 error = _TranslateType(inType, &appMeta, &appRef, &appFile);
2137 error = _TranslateRef(ref, &appMeta, &appRef, &appFile,
2144 if (path.SetTo(&appRef) == B_OK)
2159 appMeta.SetAppHint(&appRef);
2171 *_appRef = appRef;
2193 *_appRef = appRef;
2213 \param appRef A pointer to a pre-allocated entry_ref to be filled with
2223 \retval B_BAD_VALUE: \c NULL \a ref, \a appMeta, \a appRef or \a appFile.
2229 entry_ref* appRef, BFile* appFile, bool* _wasDocument) const
2231 if (ref == NULL || appMeta == NULL || appRef == NULL || appFile == NULL)
2296 // If we were given a symlink, point appRef to it in case its name
2298 *appRef = originalRef;
2320 && _TranslateType(preferredApp, appMeta, appRef, appFile) == B_OK) {
2337 error = _TranslateType(fileType, appMeta, appRef, appFile);
2355 \param appRef A pointer to a pre-allocated entry_ref to be filled with
2362 \retval B_BAD_VALUE \c NULL \a mimeType, \a appMeta, \a appRef or
2369 entry_ref* appRef, BFile* appFile) const
2371 if (mimeType == NULL || appMeta == NULL || appRef == NULL
2505 if (error == B_OK && appMeta->GetAppHint(appRef) == B_OK) {
2508 if (entry.SetTo(appRef, true) == B_OK && entry.IsFile()
2509 && entry.GetRef(appRef) == B_OK) {
2520 error = query_for_app(appMeta->Type(), appRef);
2523 error = appFile->SetTo(appRef, B_READ_ONLY);
2527 error = can_app_be_used(appRef);