| /glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/ |
| H A D | MsgAjp.java | 91 private int pos; field in class:MsgAjp 132 pos = 4; 141 len=pos; 166 buf[pos++] = (byte) ((val >>> 8) & 0xFF); 167 buf[pos++] = (byte) (val & 0xFF); 171 buf[pos++] = (byte)val; 175 buf[pos++] = (byte) ((val >>> 24) & 0xFF); 176 buf[pos++] = (byte) ((val >>> 16) & 0xFF); 177 buf[pos++] = (byte) ((val >>> 8) & 0xFF); 178 buf[pos [all...] |
| H A D | ChannelSocket.java | 664 int pos = 0; 667 while(pos < len) { 669 got = is.read(b, pos + offset, len - pos); 671 if(pos > 0) { 672 log.log(Level.INFO, "Error reading data after "+pos+"bytes",sex); 692 pos += got; 694 return pos;
|
| /glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/ |
| H A D | CharSpool.java | 57 private int pos; field in class:CharSpool 62 int sz = Math.min(last.length-pos,len); 63 System.arraycopy(cbuf,off,last,pos,sz); 66 pos += sz; 72 if(pos<last.length) 79 pos = 0; 85 last[pos++] = (char)c; 104 w.write(last,0,pos);
|
| /glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/readers/ |
| H A D | InputReader.java | 160 int pos = 0; 165 pos = 1; 170 while ((pos < n) && ((len = reader.read(buffer, pos, n - pos)) != -1)) { 171 pos += len; 176 this.index += pos; 178 if (pos < n) {
|
| /glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/elements/ |
| H A D | MimeTypeElement.java | 78 int pos = mimeType.indexOf("/"); 82 if (mimeType.substring(pos+1).startsWith("X-") || mimeType.substring(pos+1).startsWith("x-")) { 86 } else if (mimeType.substring(0,pos).equals("text")) { 87 if (Arrays.asList(text).contains(mimeType.substring(pos+1,mimeType.length()))) { 90 } else if (mimeType.substring(0,pos).equals("multipart")) { 91 if (Arrays.asList(multipart).contains(mimeType.substring(pos+1,mimeType.length()))) { 94 } else if (mimeType.substring(0,pos).equals("message")) { 95 if (Arrays.asList(message).contains(mimeType.substring(pos+1,mimeType.length()))) { 98 } else if (mimeType.substring(0,pos) [all...] |
| /glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/util/ |
| H A D | LogOutputStream.java | 57 private int pos = 0; field in class:LogOutputStream 85 buf[pos++] = (byte)b; 103 System.arraycopy(b, start, buf, pos, i - start); 104 pos += i - start; 110 System.arraycopy(b, start, buf, pos, i - start); 111 pos += i - start; 120 System.arraycopy(b, start, buf, pos, len - start); 121 pos += len - start; 137 String msg = new String(buf, 0, pos); 138 pos [all...] |
| /glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/ |
| H A D | ResourceCache.java | 306 int pos = 0; 312 if ((pos + 1) < entriesFound) { 313 n = toRemove[pos + 1]; 314 pos++; 316 pos++; 320 newCache[i - pos] = cache[i]; 336 int pos = find(cache, name); 337 if ((pos != -1) && (name.equals(cache[pos].name))) { 338 cacheEntry = cache[pos]; [all...] |
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
| H A D | ParameterParser.java | 88 private int pos = 0; field in class:ParameterParser 124 return this.pos < this.len; 192 i1 = pos; 193 i2 = pos; 195 ch = chars[pos]; 200 pos++; 217 i1 = pos; 218 i2 = pos; 222 ch = chars[pos]; 231 pos [all...] |
| H A D | MultipartStream.java | 669 * @param pos The starting position for searching. 675 int pos) { 676 for (int i = pos; i < tail; i++) { 780 private int pos; field in class:MultipartStream.ItemInputStream 796 pos = MultipartStream.this.findSeparator(); 797 if (pos == -1) { 822 if (pos == -1) { 825 return pos - head; 941 if (pos != -1) { 970 if (av > 0 || pos ! 674 findByte(byte value, int pos) argument [all...] |
| H A D | ByteArrayOutputStream.java | 318 int pos = 0; 322 System.arraycopy(buf, 0, newbuf, pos, c); 323 pos += c;
|
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/ |
| H A D | CoyoteAdapter.java | 671 int pos = 0; 676 for (pos = start; pos < end; pos++) { 677 if (b[pos] == (byte) '\\') { 679 b[pos] = (byte) '/'; 684 if (b[pos] == (byte) 0) { 696 for (pos = start; pos < (end - 1); pos [all...] |
| H A D | CoyoteReader.java | 244 int pos = 0; 250 while ((pos < MAX_LINE_LENGTH) && (end < 0)) { 251 int nRead = read(lineBuffer, pos, MAX_LINE_LENGTH - pos); 253 if (pos == 0 && aggregator == null) { 256 end = pos; 257 skip = pos; 259 for (int i = pos; (i < (pos + nRead)) && (end < 0); i++) { 264 if (i == (pos [all...] |
| /glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
| H A D | GlobalTID.java | 281 for( int pos = 0; pos < firstGTRID && result; pos++ ) 282 result = (realTID.tid[pos] == otherTID.tid[pos] ); 308 for( int pos = 0; pos < realTID.tid.length; pos++ ) 309 hashCode += realTID.tid[pos]; 440 int pos [all...] |
| /glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/ |
| H A D | GSSUtils.java | 183 int pos = 4 + mechoidlen; 185 int namelen = (((int) externalName[pos]) << 24) 186 + (((int) externalName[pos+1]) << 16) 187 + (((int) externalName[pos+2]) << 8) 188 + (((int) externalName[pos+3])); 190 pos += 4; // start of the mechanism specific exported name 195 byte[] name = new byte[externalName.length - pos]; 196 System.arraycopy(externalName, pos, name, 0, externalName.length - pos); 270 int pos [all...] |
| /glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/glassfish/ |
| H A D | ASenvPropertyReader.java | 277 int pos = line.indexOf("="); 279 if (pos > 0) { 280 String lhs = (line.substring(0, pos)).trim(); 281 String rhs = (line.substring(pos + 1)).trim(); 287 pos = rhs.indexOf("\""); 288 if (pos != -1) { 289 rhs = (rhs.substring(pos + 1)).trim(); 290 pos = rhs.indexOf("\""); 291 if (pos != -1) { 292 rhs = (rhs.substring(0, pos)) [all...] |
| /glassfish-3.1.2/tests/embedded/maven-plugin/queryString/src/test/java/org/glassfish/tests/queryString/ |
| H A D | WebTest.java | 90 int pos = line.indexOf("Location"); 91 if (pos != -1){ 92 contextPath = line.substring(pos + "Location:".length()).trim();
|
| /glassfish-3.1.2/installer/src/cpp/share/launcher/ |
| H A D | zip_util.c | 151 jint len, pos; local 155 len = pos = lseek(fd, 0, SEEK_END); 167 while (len - pos < 0xFFFF) 171 int count = 0xFFFF - (len - pos); 177 pos -= count; 178 if (lseek(fd, pos, SEEK_SET) == -1) 188 jint endpos = pos + (bp - buf); 446 zc->pos = CENOFF(cp) + locpos; 634 if (lseek(zip->fd, zc->pos, SEEK_SET) == -1) 719 ze->pos 818 zipRead(jzfile *zip, jzentry *entry, jint pos, void *buf, jint len) argument 861 jint pos = 0, count = entry->csize; local 952 jint pos = 0, count = entry->size; local [all...] |
| H A D | zip_util.h | 140 * - If pos is negative then is position of entry LOC header. It is set 152 jint pos; /* position of LOC header (if negative) or data */ member in struct:jzentry 163 jint pos; /* Offset of LOC within ZIP file */ member in struct:jzcell 228 jint zipRead(jzfile *zip, jzentry *entry, jint pos, void *buf, jint len);
|
| /glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/ |
| H A D | LogViewerResource.java | 265 protected int pos; field in class:LogViewerResource.Mark 292 pos = 0; 295 this.pos = that.pos; 300 os.write(buf.buf, 0, pos); 301 return pos; 316 while (pos == buf.size) { 323 pos = 0; 326 byte b = buf.buf[pos++];
|
| /glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/ |
| H A D | ApplicationFilterChain.java | 122 private int pos = 0; field in class:ApplicationFilterChain 232 if (pos < n) { 233 ApplicationFilterConfig filterConfig = filters[pos++]; 373 pos = 0;
|
| /glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/ |
| H A D | effects.js | 167 sinoidal: function(pos) { 168 return (-Math.cos(pos*Math.PI)/2) + 0.5; 170 reverse: function(pos) { 171 return 1-pos; 173 flicker: function(pos) { 174 return ((-Math.cos(pos*Math.PI)/4) + 0.75) + Math.random()/4; 176 wobble: function(pos) { 177 return (-Math.cos(pos*Math.PI*(9*pos))/2) + 0.5; 179 pulse: function(pos, pulse [all...] |
| /glassfish-3.1.2/tests/quicklook/web/jruby/helloapp/public/javascripts/ |
| H A D | effects.js | 72 sinoidal: function(pos) { 73 return (-Math.cos(pos*Math.PI)/2) + .5; 75 reverse: function(pos) { 76 return 1-pos; 78 flicker: function(pos) { 79 var pos = ((-Math.cos(pos*Math.PI)/4) + .75) + Math.random()/4; 80 return pos > 1 ? 1 : pos; 82 wobble: function(pos) { [all...] |
| /glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/ |
| H A D | IASEjbExtraDescriptors.java | 519 int pos = method.indexOf(LEFT_PAREN); 522 methodName = method.substring(0, pos).trim(); 524 if (pos < pos2-1) { 525 methodParams = method.substring(pos+1, pos2).trim();
|
| /glassfish-3.1.2/extras/embedded/common/osgi-main/src/main/java/org/glassfish/uberjar/osgimain/ |
| H A D | ModuleExtractor.java | 157 final PipedOutputStream pos = new PipedOutputStream(); 158 final PipedInputStream pis = new PipedInputStream(pos); 189 final JarOutputStream jos = new JarOutputStream(pos, m); 224 pos.close();
|
| /glassfish-3.1.2/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/lb/ |
| H A D | LoadBalancerStats.java | 127 int pos = _ClusterStats.indexOf(value); 128 if (pos >= 0) { 129 _ClusterStats.remove(pos); 131 return pos;
|