get_ref_for_path
status_t get_ref_for_path(const char *path, entry_ref *ref);
status_t get_ref_for_path(const char* path, entry_ref* ref);
status = get_ref_for_path(path, &ref);
if (get_ref_for_path(image.name, &addonRef) != B_OK)
get_ref_for_path(path.Path(), &ref);
return get_ref_for_path(fPath.Path(), &ref);
status = get_ref_for_path(path.Path(), &ref);
if (get_ref_for_path("/bin/open", &ref))
if (get_ref_for_path(fFile.String(), &ref) != B_OK
get_ref_for_path(parent.Path(), &base) == B_OK)
status_t err = get_ref_for_path(data, &r);
get_ref_for_path(g_pLogPath, &ref);
::get_ref_for_path("/boot/optional/sound/virtual (void)", &inRef);
::get_ref_for_path("/tmp/node_log", &logRef);
if (get_ref_for_path(path.Path(), &ref) == B_OK) {
if (get_ref_for_path(path.Path(), &ref) == B_OK) {
if (get_ref_for_path(path.Path(), &ref) != B_OK)
if (get_ref_for_path(item->Label(), &ref) == B_OK) {
if (get_ref_for_path(path.Path(), &ref) == B_OK) {
get_ref_for_path(kernelPath.Path(), &appInfo.ref);
error = get_ref_for_path(fReportPath, &ref);
error = get_ref_for_path(path.Path(), &ref);
status_t err = get_ref_for_path(argv[i], &ref);
get_ref_for_path(parent.Path(), &fDestRef);
return get_ref_for_path(path.Path(), &ref);
status = get_ref_for_path(path.Path(), &ref);
if (get_ref_for_path(argv[i], &ref) == B_OK) {
get_ref_for_path(path.Path(), &ref);
get_ref_for_path(path.Path(),&ref);
get_ref_for_path("/boot/home/Desktop/test.wav", &ref);
if (get_ref_for_path(path, &ref) == B_OK) {
if ((err = get_ref_for_path(path.Path(), &refPath)) == B_OK) {
status_t err = get_ref_for_path(path.Path(), &refPath);
&& get_ref_for_path(info.name, &ref) == B_OK) {
status_t ret = get_ref_for_path(path.Path(), &ref);
&& get_ref_for_path(info.name, &ref) == B_OK) {
if (get_ref_for_path (info.name, &ref) == B_OK)
get_ref_for_path(kernelPath.Path(), &info.ref);
if (get_ref_for_path(path, &ref) == B_OK)
status_t err = get_ref_for_path(path.Path(), &ref);
get_ref_for_path(path.Path(), &ref);
get_ref_for_path(documentPath.Path(), &documentRef);
if (get_ref_for_path(path.String(), &ref) == B_OK)
if (get_ref_for_path(filePath.String(), &file_ref) != B_OK)
if (get_ref_for_path(fModel->fFilePanelPath.String(), &path) != B_OK) {
if (get_ref_for_path(home.Path(), &path) != B_OK) {
status = get_ref_for_path(path->Path(), &folderRef);
status = get_ref_for_path(path.Path(), &ref);
ret = get_ref_for_path(pathToPageSource.Path(), &ref);
&& get_ref_for_path(bookmarkPath.Path(), &bookmarkRef) == B_OK) {
status_t status = get_ref_for_path(fPath.Path(), &ref);
status_t status = get_ref_for_path(fDownloadPath.String(), &ref);
status_t status = get_ref_for_path(path, &ref);
if (get_ref_for_path(argv[0], &ref) == B_OK) {
if (get_ref_for_path(valuestring + 5, &file_ref) != B_OK)
if(get_ref_for_path(argv[2], &ref)!=B_OK || !BEntry(&ref, true).Exists()) {
if (get_ref_for_path(uri, &ref) != B_OK) {
status = get_ref_for_path(mountPoint.Path(), &ref);
if (get_ref_for_path(fIconFile.String(), &fFileRef) < B_OK) {
if (get_ref_for_path(argument, &fFile) != B_OK) {
if (get_ref_for_path(argument, &ref) != B_OK) {
if (get_ref_for_path(value, &appHint) != B_OK)
err = get_ref_for_path(f, &er);
if (get_ref_for_path(path.String(), &ref) < B_OK)
if (get_ref_for_path(prettyPath.String(), &ref) < B_OK)
status_t error = get_ref_for_path(filename, &ref);
error = get_ref_for_path(path, ref);
if (get_ref_for_path(file, &node) != B_OK)
if (get_ref_for_path(inFile, &file) != B_OK)
status_t status = get_ref_for_path(path.Path(), &fRef);
if (get_ref_for_path(info.name, &ref) != B_OK) {
status_t status = get_ref_for_path(path, &ref);
fStatus = get_ref_for_path(path, &ref);
status_t status = get_ref_for_path(path, &ref);
result = get_ref_for_path(path, ref);
get_ref_for_path(path.Path(), &submenuRef);
if (get_ref_for_path(path.Path(), &ref) == B_OK)
status_t err = get_ref_for_path(path, &ref);
|| get_ref_for_path(path.Path(), &ref) != B_OK) {
|| get_ref_for_path(homePath.Path(), &ref) != B_OK) {
if (get_ref_for_path(path.Path(), &ref) == B_OK) {
get_ref_for_path(path.Path(), &ref);
} else if (get_ref_for_path(argv[index], &ref) == B_OK)
if (get_ref_for_path(path.Path(), _ref) != B_OK)
get_ref_for_path(path.Path(), &ref);
status_t error = get_ref_for_path(path.Path(), &fCurrentRef);
status_t error = get_ref_for_path(pathString.String(), &fCurrentRef);
status_t error = get_ref_for_path(path.Path(), &fCurrentRef);
get_ref_for_path(path, &ref);
return get_ref_for_path(path.Path(), &ref);
get_ref_for_path(path.Path(), &ref);
get_ref_for_path(path.Path(), &ref);
get_ref_for_path(path.Path(), &fPathRef);
::get_ref_for_path(path, &ref);
::get_ref_for_path(path.Path(), &ref);
::get_ref_for_path(item_path.Path(), &ref);
status_t status = get_ref_for_path(
if (get_ref_for_path(path.Path(), &ref) == B_OK) {
get_ref_for_path(path, &ref);
streamError = get_ref_for_path(path, &ref);
err = get_ref_for_path(Path.Path(), &sRef);
get_ref_for_path("/boot/beos/apps/camera", &ref);
get_ref_for_path("/boot/develop/headers/be/Be.h", &ref);
error = get_ref_for_path(path.String(), ref);
get_ref_for_path(command, &fRef);
if (get_ref_for_path(argv[1], &ref) != B_OK) {
CPPUNIT_ASSERT( get_ref_for_path(path, &ref) == B_ENTRY_NOT_FOUND );
CPPUNIT_ASSERT( get_ref_for_path(path, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(path2, &ref2) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path("/", &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path("/boot", &ref) == B_OK );
CHK(get_ref_for_path("/boot/beos/apps/StyledEdit", &appHintRef) == B_OK);
CHK(get_ref_for_path("/boot/beos/apps/NetPositive", &appHintRef2) == B_OK);
CHK(get_ref_for_path(filename, &ref) == B_OK);
CHK(get_ref_for_path(filename.c_str(), &ref) == B_OK);
CHK(get_ref_for_path(filename, &ref) == B_OK);
CHK(get_ref_for_path(testFile3, &testRef1) == B_OK);
CHK(get_ref_for_path(testFile4, &testRef2) == B_OK);
CHK(get_ref_for_path(abstractTestEntry, &abstractRef) == B_OK);
CHK(get_ref_for_path(testFile1, &testRef1) == B_OK);
CPPUNIT_ASSERT( get_ref_for_path(entry->cpath, &ref) == B_OK );
get_ref_for_path(path, &ref);
CPPUNIT_ASSERT( get_ref_for_path(x86ResFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(ppcResFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(elfFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(pefFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(emptyFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(noResFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(noSuchFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(x86ResFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(ppcResFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(elfFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(pefFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(emptyFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(noResFile, &ref) == B_OK );
CPPUNIT_ASSERT( get_ref_for_path(noSuchFile, &ref) == B_OK );
status_t error = get_ref_for_path(program.c_str(), &ref);