public static final int GRE_GetGREPathWithProperties (GREVersionRange versions, int versionsLength, GREProperty properties, int propertiesLength, int /*long*/ buffer, int buflen) { lock.lock(); try { return _GRE_GetGREPathWithProperties(versions, versionsLength, properties, propertiesLength, buffer, buflen); } finally { lock.unlock(); } } /** @param place cast=(const char *) */
public static final int XPCOMGlueShutdown () { lock.lock(); try { return _XPCOMGlueShutdown(); } finally { lock.unlock(); } } }
public static final int XPCOMGlueStartup (byte[] place) { lock.lock(); try { return _XPCOMGlueStartup(place); } finally { lock.unlock(); } } public static final native int _XPCOMGlueShutdown ();
int rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 1, greBuffer, length); rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */ if (rc != XPCOM.NS_OK) { C.memmove (lower, bytes, bytes.length); range.lower = lower; rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */
int rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc != XPCOM.NS_OK) { MozillaPath = MozillaPath.substring (0, MozillaPath.lastIndexOf (SEPARATOR_OS)); MozillaPath += MozillaDelegate.getLibraryName (MozillaPath); bytes = MozillaDelegate.wcsToMbcs (null, MozillaPath, true); rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc == XPCOM.NS_OK) {
XPCOMInit.XPCOMGlueShutdown (); XPCOMInitWasGlued = false;
int rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 1, greBuffer, length); rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */ if (rc != XPCOM.NS_OK) { C.memmove (lower, bytes, bytes.length); range.lower = lower; rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */
int rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc != XPCOM.NS_OK) { MozillaPath = MozillaPath.substring (0, MozillaPath.lastIndexOf (SEPARATOR_OS)); MozillaPath += SEPARATOR_OS + MozillaDelegate.getLibraryName (); bytes = MozillaDelegate.wcsToMbcs (null, MozillaPath, true); rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc == XPCOM.NS_OK) {
XPCOMInit.XPCOMGlueShutdown (); XPCOMInitWasGlued = false;
public static final int XPCOMGlueShutdown () { lock.lock(); try { return _XPCOMGlueShutdown(); } finally { lock.unlock(); } } }
public static final int XPCOMGlueStartup (byte[] place) { lock.lock(); try { return _XPCOMGlueStartup(place); } finally { lock.unlock(); } } public static final native int _XPCOMGlueShutdown ();
public static final int GRE_GetGREPathWithProperties (GREVersionRange versions, int versionsLength, GREProperty properties, int propertiesLength, int /*long*/ buffer, int buflen) { lock.lock(); try { return _GRE_GetGREPathWithProperties(versions, versionsLength, properties, propertiesLength, buffer, buflen); } finally { lock.unlock(); } } /** @param place cast=(const char *) */
int rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 1, greBuffer, length); rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */ if (rc != XPCOM.NS_OK) { C.memmove (lower, bytes, bytes.length); range.lower = lower; rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */
int rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc != XPCOM.NS_OK) { MozillaPath = MozillaPath.substring (0, MozillaPath.lastIndexOf (SEPARATOR_OS)); MozillaPath += MozillaDelegate.getLibraryName (MozillaPath); bytes = MozillaDelegate.wcsToMbcs (null, MozillaPath, true); rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc == XPCOM.NS_OK) {
XPCOMInit.XPCOMGlueShutdown (); XPCOMInitWasGlued = false;
public static final int XPCOMGlueShutdown () { lock.lock(); try { return _XPCOMGlueShutdown(); } finally { lock.unlock(); } } }
public static final int XPCOMGlueStartup (byte[] place) { lock.lock(); try { return _XPCOMGlueStartup(place); } finally { lock.unlock(); } } public static final native int _XPCOMGlueShutdown ();
public static final int GRE_GetGREPathWithProperties (GREVersionRange versions, int versionsLength, GREProperty properties, int propertiesLength, long /*int*/ buffer, int buflen) { lock.lock(); try { return _GRE_GetGREPathWithProperties(versions, versionsLength, properties, propertiesLength, buffer, buflen); } finally { lock.unlock(); } } /** @param place cast=(const char *) */
int rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 1, greBuffer, length); rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */ if (rc != XPCOM.NS_OK) { C.memmove (lower, bytes, bytes.length); range.lower = lower; rc = XPCOMInit.GRE_GetGREPathWithProperties (range, 1, property, 0, greBuffer, length); /* note: propertiesLength is 0 */
int rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc != XPCOM.NS_OK) { MozillaPath = MozillaPath.substring (0, MozillaPath.lastIndexOf (SEPARATOR_OS)); MozillaPath += MozillaDelegate.getLibraryName (MozillaPath); bytes = MozillaDelegate.wcsToMbcs (null, MozillaPath, true); rc = XPCOMInit.XPCOMGlueStartup (bytes); if (rc == XPCOM.NS_OK) {