Searched refs:parseInt (Results 1 - 25 of 171) sorted by relevance

1234567

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DJDK.java117 major = Integer.parseInt(ss[0]);
118 minor = Integer.parseInt(ss[1]);
124 subminor = Integer.parseInt(ss[0]);
127 update = Integer.parseInt(ss[1]);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/packaging/
H A DDeweyDecimal.java54 major = Integer.parseInt(s);
57 major = Integer.parseInt(s.substring(0, idxOfFirstDot));
61 minor = Integer.parseInt(s.substring(idxOfFirstDot + 1));
65 Integer.parseInt(
68 micro = Integer.parseInt(s.substring(idxOfSecondDot + 1));
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DJvmOptionBag.java113 return Integer.parseInt(second.substring(0, second.length()-1)) * 1024; //I don't think we'll have an overflow
115 return Integer.parseInt(second.substring(0, second.length()-1));
117 return Integer.parseInt(second.substring(0, second.length()-1)) / 1024; //beware, integer division
119 return Integer.parseInt(second) / (1024*1024); //bytes, this is a rare case, hopefully -- who does -Xmx1073741824 to specify a meg?
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/datatypes/
H A DPort.java69 int port = Integer.parseInt(value);
/glassfish-3.1.2/admingui/war/src/main/webapp/resources/yui/
H A Dresize-min.js8 }for(var H in this._handles){if(C.hasOwnProperty(this._handles,H)){if(this._handles[H]==D){this._currentHandle=H;var I="_handle_for_"+H;E.addClass(D,this.CSS_HANDLE+"-"+H+"-active");F.on("dragEvent",this[I],this,true);F.on("mouseUpEvent",this._handleMouseUp,this,true);break;}}}E.addClass(D,this.CSS_HANDLE+"-active");if(this.get("proxy")){var J=E.getXY(this.get("element"));E.setXY(this._proxy,J);if(this.get("ghost")){this.addClass(this.CSS_GHOST);}}E.addClass(this._wrap,this.CSS_RESIZING);this._setCache();this._updateStatus(this._cache.height,this._cache.width,this._cache.top,this._cache.left);this.fireEvent("startResize",{type:"startresize",target:this});}},_setCache:function(){this._cache.xy=E.getXY(this._wrap);E.setXY(this._wrap,this._cache.xy);this._cache.height=this.get("clientHeight");this._cache.width=this.get("clientWidth");this._cache.start.height=this._cache.height;this._cache.start.width=this._cache.width;this._cache.start.top=this._cache.xy[1];this._cache.start.left=this._cache.xy[0];this._cache.top=this._cache.xy[1];this._cache.left=this._cache.xy[0];this.set("height",this._cache.height,true);this.set("width",this._cache.width,true);},_handleMouseUp:function(F){this._active=false;var G="_handle_for_"+this._currentHandle;this._currentDD.unsubscribe("dragEvent",this[G],this,true);this._currentDD.unsubscribe("mouseUpEvent",this._handleMouseUp,this,true);if(this._proxy){this._proxy.style.visibility="hidden";this._proxy.style.zIndex="-1";if(this.get("setSize")){this.resize(F,this._cache.height,this._cache.width,this._cache.top,this._cache.left,true);}else{this.fireEvent("resize",{ev:"resize",target:this,height:this._cache.height,width:this._cache.width,top:this._cache.top,left:this._cache.left});}if(this.get("ghost")){this.removeClass(this.CSS_GHOST);}}if(this.get("hover")){E.addClass(this._wrap,this.CSS_HOVER);}if(this._status){E.setStyle(this._status,"display","none");}if(this.browser.ie){document.body.onselectstart=this._ieSelectBack;}if(this.browser.ie){E.removeClass(this._wrap,this.CSS_RESIZE);}for(var D in this._handles){if(C.hasOwnProperty(this._handles,D)){E.removeClass(this._handles[D],this.CSS_HANDLE+"-active");}}if(this.get("hover")&&!this._active){E.addClass(this._wrap,this.CSS_HOVER);}E.removeClass(this._wrap,this.CSS_RESIZING);E.removeClass(this._handles[this._currentHandle],this.CSS_HANDLE+"-"+this._currentHandle+"-active");E.removeClass(this._handles[this._currentHandle],this.CSS_HANDLE+"-active");if(this.browser.ie){E.addClass(this._wrap,this.CSS_RESIZE);}this._resizeEvent=null;this._currentHandle=null;if(!this.get("animate")){this.set("height",this._cache.height,true);this.set("width",this._cache.width,true);}this.fireEvent("endResize",{ev:"endResize",target:this,height:this._cache.height,width:this._cache.width,top:this._cache.top,left:this._cache.left});},_setRatio:function(K,N,Q,I){var O=K,G=N;if(this.get("ratio")){var P=this._cache.height,H=this._cache.width,F=parseInt(this.get("height"),10),L=parseInt(this.get("width"),10),M=this.get("maxHeight"),R=this.get("minHeight"),D=this.get("maxWidth"),J=this.get("minWidth");switch(this._currentHandle){case"l":K=F*(N/L);K=Math.min(Math.max(R,K),M);N=L*(K/F);Q=(this._cache.start.top-(-((F-K)/2)));I=(this._cache.start.left-(-((L-N))));break;case"r":K=F*(N/L);K=Math.min(Math.max(R,K),M);N=L*(K/F);Q=(this._cache.start.top-(-((F-K)/2)));break;case"t":N=L*(K/F);K=F*(N/L);I=(this._cache.start.left-(-((L-N)/2)));Q=(this._cache.start.top-(-((F-K))));break;case"b":N=L*(K/F);K=F*(N/L);I=(this._cache.start.left-(-((L-N)/2)));break;case"bl":K=F*(N/L);N=L*(K/F);I=(this._cache.start.left-(-((L-N))));break;case"br":K=F*(N/L);N=L*(K/F);break;case"tl":K=F*(N/L);N=L*(K/F);I=(this._cache.start.left-(-((L-N))));Q=(this._cache.start.top-(-((F-K))));break;case"tr":K=F*(N/L);N=L*(K/F);I=(this._cache.start.left);Q=(this._cache.start.top-(-((F-K))));break;}O=this._checkHeight(K);G=this._checkWidth(N);if((O!=K)||(G!=N)){Q=0;I=0;if(O!=K){G=this._cache.width;}if(G!=N){O=this._cache.height;}}}return[O,G,Q,I];},_updateStatus:function(K,G,J,F){if(this._resizeEvent&&(!C.isString(this._resizeEvent))){K=((K===0)?this._cache.start.height:K);G=((G===0)?this._cache.start.width:G);var I=parseInt(this.get("height"),10),D=parseInt(this.get("width"),10);if(isNaN(I)){I=parseInt(K,10);}if(isNaN(D)){D=parseInt(G,10);}var L=(parseInt(K,10)-I);var H=(parseInt(G,10)-D);this._cache.offsetHeight=L;this._cache.offsetWidth=H;if(this.get("status")){E.setStyle(this._status,"display","inline");this._status.innerHTML="<strong>"+parseInt(K,10)+" x "+parseInt(
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/base/container/util/
H A DCacheProperties.java137 Integer.parseInt(ejbContainer.getCacheResizeQuantity());
140 Integer.parseInt(ejbContainer.getMaxCacheSize());
142 cacheIdleTimeoutInSeconds = Integer.parseInt(
146 Integer.parseInt(ejbContainer.getRemovalTimeoutInSeconds());
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
H A DConnectionPoolValidator.java85 if (Integer.parseInt(maxPoolSize) <
86 (Integer.parseInt(steadyPoolSize))) {
100 if (Integer.parseInt(maxPoolSize) <
101 (Integer.parseInt(steadyPoolSize))) {
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/connection/
H A DConnectionManager.java111 url = new URL(HTTP_PROTOCOL, _lbHost, Integer.parseInt(_lbPort), contextRoot);
114 new InetSocketAddress(_lbProxyHost, Integer.parseInt(_lbProxyPort)));
169 url = new URL(HTTPS_PROTOCOL, _lbHost, Integer.parseInt(_lbPort), contextRoot);
172 new InetSocketAddress(_lbProxyHost, Integer.parseInt(_lbProxyPort)));
/glassfish-3.1.2/core/branding/src/main/java/org/glassfish/branding/
H A DGlassFishBrandingTemplate104 if (Integer.parseInt(minor_version) > 0) {
106 if (Integer.parseInt(update_version) > 0) {
116 if (Integer.parseInt(update_version) > 0) {
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/server/util/
H A DVersionTemplate98 if (Integer.parseInt(minor_version) > 0) {
100 if (Integer.parseInt(update_version) > 0) {
110 if (Integer.parseInt(update_version) > 0) {
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DBasePersistenceStrategyBuilder.java160 reapInterval = Integer.parseInt(reapIntervalInSecondsString);
177 maxSessions = Integer.parseInt(maxSessionsString);
219 maxIdleBackup = Integer.parseInt(value);
236 storeReapInterval = Integer.parseInt(reapIntervalInSecondsString);
263 sessionMaxInactiveInterval = Integer.parseInt(timeoutSecondsString);
291 reapInterval = Integer.parseInt(value);
297 maxSessions = Integer.parseInt(value);
303 maxIdleBackup = Integer.parseInt(value);
329 storeReapInterval = Integer.parseInt(value);
H A DProxyHandlerImpl.java112 keySize = Integer.parseInt(header);
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/
H A DDisableHTTPLBServerCommand.java96 int t = Integer.parseInt(timeout);
118 int curTout = Integer.parseInt(sRef.getDisableTimeoutInMinutes());
151 int curTout = Integer.parseInt(sRef.getDisableTimeoutInMinutes());
/glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/
H A DSecIORInterceptor.java202 return Integer.parseInt(ilisten.getPort());
208 return Integer.parseInt(ilisten.getPort());
211 return Integer.parseInt(ilisten.getPort());
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DTargetServerHelper.java59 private static int DEFAULT_ENDPOINT_PORT = Integer.parseInt(GlassFishORBHelper.DEFAULT_ORB_INIT_PORT);
198 port = Integer.parseInt(endpointText.substring(colon+1));
/glassfish-3.1.2/common/simple-glassfish-api/src/main/java/org/glassfish/embeddable/
H A DGlassFishProperties.java240 port = Integer.parseInt(portStr);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DErrorPageDescriptor.java97 int errorCode = Integer.parseInt(errorSignifier);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DConnectorServiceConfigTest.java90 final String newValue = "" + (Integer.parseInt(value) + 1);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/deploy/
H A DErrorPage.java141 this.errorCode = Integer.parseInt(errorCode);
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/util/
H A DPortUtils.java78 boolean wasAdded = ports.add(Integer.parseInt(val));
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/
H A DConnectionPool.java177 idletime = Integer.parseInt(poolResource.getIdleTimeoutInSeconds()) * 1000L;
178 maxPoolSize = Integer.parseInt(poolResource.getMaxPoolSize());
179 steadyPoolSize = Integer.parseInt(poolResource.getSteadyPoolSize());
184 resizeQuantity = Integer.parseInt(poolResource.getPoolResizeQuantity());
186 maxWaitTime = Integer.parseInt(poolResource.getMaxWaitTimeInMillis());
1362 int _idleTime = Integer.parseInt(poolResource.getIdleTimeoutInSeconds())
1376 resizeQuantity = Integer.parseInt(poolResource.getPoolResizeQuantity());
1378 maxWaitTime = Integer.parseInt(poolResource.getMaxWaitTimeInMillis());
1391 int _maxPoolSize = Integer.parseInt(poolResource.getMaxPoolSize());
1405 int _steadyPoolSize = Integer.parseInt(poolResourc
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DTimerSchedule.java228 paramCount_ = Integer.parseInt(sp[12]);
773 int begin = parseInt(arr[0], DAY_OF_MONTH);
776 end = parseInt(arr[1], DAY_OF_MONTH);
808 years.add(assertValidYear(parseInt(arr[i], YEAR)));
822 years.add(assertValidYear(parseInt(year_, YEAR)));
830 int begin = parseInt(arr[0], field);
831 int end = parseInt(arr[1], field);
900 i = parseInt(s, field);
928 int i = parseInt(s0, DAY_OF_MONTH);
935 dayBeforeEndOfMonth = parseInt(s
1086 private int parseInt(String s, String field) { method in class:TimerSchedule
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/connector/coyote/
H A DPECoyoteConnector.java862 Integer.parseInt(transport.getMaxConnectionsCount()));
887 setMaxHttpHeaderSize(Integer.parseInt(http.getSendBufferSizeBytes()));
912 setProxyPort(Integer.parseInt(serverPort));
928 setRedirectPort(Integer.parseInt(redirectPort));
945 setSelectorReadThreadsCount(Integer.parseInt(
1036 setSecondsMaxAge(Integer.parseInt(fileCache.getMaxAgeSeconds()));
1039 setMaxCacheEntries(Integer.parseInt(
1043 setMaxLargeCacheSize(Integer.parseInt(fileCache.getMaxCacheSizeBytes()));
1058 setMaxProcessors(Integer.parseInt(
1067 setMinProcessors(Integer.parseInt(
[all...]
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DTransactionServiceConfigListener.java131 tm.setDefaultTransactionTimeout(Integer.parseInt((String)newValue,10));
150 tm.setPurgeCancelledTtransactionsAfter(Integer.parseInt(v,10));
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DExtension.java325 fVersion = Integer.parseInt(fTok.nextToken());
329 sVersion = Integer.parseInt(sTok.nextToken());

Completed in 37 milliseconds

1234567