Lines Matching refs:success
516 bool success = false;
523 success = type.GetIconForType(mimeString, icon, which) == B_OK;
534 if (!success && nodeType.GetPreferredApp(signature) == B_OK) {
536 success = type.GetIconForType(mimeString, icon, which) == B_OK;
541 if (!success)
542 success = nodeType.GetIcon(icon, which) == B_OK;
544 // Get the super type if still no success.
546 if (!success && nodeType.GetSupertype(&superType) == B_OK) {
552 success = type.GetIconForType(superType.Type(), icon,
556 if (!success)
557 success = superType.GetIcon(icon, which) == B_OK;
560 if (success)