/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 53 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 81 this.outstream = outstream; 82 this.buffer = new ByteArrayBuffer(buffersize); 83 this.charset = HttpProtocolParams.getHttpElementCharset(params); 84 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII [all...] |
ContentLengthOutputStream.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 49 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 89 this.out = out; 90 this.contentLength = contentLength; 99 if (!this.closed) { 100 this.closed = true; 101 this.out.flush() [all...] |
/external/guava/guava/src/com/google/common/hash/ |
BloomFilter.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 32 * with one-sided error: if it claims that an element is contained in it, this might be in error, 33 * but if it claims that an element is <i>not</i> contained in it, then this is definitely true. 35 * <p>If you are unfamiliar with Bloom filters, this nice 65 * <p>Returns whether any bits changed as a result of this operation. 77 * Identifier used to encode this strategy, when marshalled as part of a BloomFilter. 109 this.bits = checkNotNull(bits); 110 this.numHashFunctions = numHashFunctions; 111 this.funnel = checkNotNull(funnel); 112 this.strategy = checkNotNull(strategy) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
CalculationBone.java | 12 * The purpose of this class is to imitate bone's movement when calculating inverse kinematics.
30 this.bone = bone;
31 this.startRotation = bone.getModelSpaceRotation().clone();
32 this.startTranslation = bone.getModelSpacePosition().clone();
33 this.startScale = bone.getModelSpaceScale().clone();
34 this.reset();
36 this.translations = new Vector3f[boneFramesCount];
37 this.rotations = new Quaternion[boneFramesCount];
38 this.scales = new Vector3f[boneFramesCount];
40 Arrays.fill(this.translations, 0, boneFramesCount, this.startTranslation); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 64 this.pipeline = pipeline; 68 if (this.isCancelled) 80 this.isCancelled = true; 95 this.length = length; 96 this.bytes = bytes; 107 if (this.readTimeout == -1 [all...] |
/external/apache-harmony/support/src/test/java/tests/util/ |
CallVerificationStack.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 82 if (!eles[i].getClassName().equals(this.getClass().getName())) { 86 this.callStack.push(eles[i]); 95 return this.callStack.peek().getClassName(); 104 return this.callStack.peek().getMethodName(); 112 this.callStack.clear(); 123 * Pushes a boolean onto the top of this stack. 128 this.push(new BaseTypeWrapper(val)) [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 42 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 67 this.inTransportMetric = inTransportMetric; 68 this.outTransportMetric = outTransportMetric; 74 if (this.inTransportMetric != null) { 75 return this.inTransportMetric.getBytesTransferred(); 82 if (this.outTransportMetric != null) [all...] |
SocketHttpClientConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 58 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 73 if (this.open) { 79 if (!this.open) { 107 this.socket = socket; 116 this.open = true; 120 return this.open [all...] |
SocketHttpServerConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 58 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 73 if (this.open) { 79 if (!this.open) { 105 this.socket = socket; 114 this.open = true; 118 return this.socket [all...] |
AbstractHttpClientConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 68 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 87 this.entityserializer = createEntitySerializer(); 88 this.entitydeserializer = createEntityDeserializer(); 130 this.inbuffer = inbuffer; 131 this.outbuffer = outbuffer; 132 this.responseParser = createResponseParser [all...] |
AbstractHttpServerConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 67 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 86 this.entityserializer = createEntitySerializer(); 87 this.entitydeserializer = createEntityDeserializer(); 130 this.inbuffer = inbuffer; 131 this.outbuffer = outbuffer; 132 this.requestParser = createRequestParser [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 70 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 82 /** The route for which this entry gets allocated. */ 98 * @param connOperator the Connection Operator for this entry 108 this.connOperator = connOperator; 109 this.connection = connOperator.createConnection(); 110 this.route = route [all...] |
/external/jetty/src/java/org/eclipse/jetty/io/ |
UncheckedPrintWriter.java | 5 // All rights reserved. This program and the accompanying materials 7 // and Apache License v2.0 which accompanies this distribution. 15 // You may elect to redistribute this code under either of these licenses. 48 * Line separator string. This is the value of the line.separator property 55 this(out,false); 71 this._autoFlush = autoFlush; 72 this._lineSeparator = System.getProperty("line.separator"); 78 * existing OutputStream. This convenience constructor creates the necessary 89 this(out,false); 94 * Create a new PrintWriter from an existing OutputStream. This convenienc [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
Constraint.java | 23 /** The name of this constraint. */
37 * This constructor creates the constraint instance.
48 * this exception is thrown when the blender file is somehow
53 this.blenderContext = blenderContext;
54 this.name = constraintStructure.getFieldValue("name").toString();
65 this.target = new Feature(target, targetSpace, targetOMA, blenderContext);
67 this.target = null;
73 this.owner = new Feature(ownerSpace, ownerOMA, blenderContext);
74 this.ipo = influenceIpo;
78 * This method bakes the required sontraints into its owner. [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderLuminance.java | 50 this.getTinAndAlpha(data, format, neg, tinAndAlpha);
51 this.blendPixel(resultPixel, materialColor, color, tinAndAlpha[0], affectFactor, blendType, blenderContext);
67 * This method return texture intensity and alpha value.
104 * This method blends the texture with an appropriate color.
215 this.blendHSV(blendtype, result, textureIntensity, color, blenderContext);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 55 this.channel1 = SocketChannel.open(); 56 this.channel2 = SocketChannel.open(); 57 this.server1 = new ServerSocket(0); 58 this.localAddr1 = (InetSocketAddress) server1.getLocalSocketAddress(); 63 if (null != this.channel1) { 65 this.channel1.close(); 70 if (null != this.channel2) [all...] |
/libcore/support/src/test/java/tests/util/ |
CallVerificationStack.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 83 if (!eles[i].getClassName().equals(this.getClass().getName())) { 87 this.callStack.push(eles[i]); 96 return this.callStack.peek().getClassName(); 105 return this.callStack.peek().getMethodName(); 114 this.callStack.clear(); 125 * Pushes a boolean onto the top of this stack. 131 this.push(new BaseTypeWrapper(val)) [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitTestSuite.java | 10 notice, this list of conditions and the following disclaimer. 12 notice, this list of conditions and the following disclaimer in the 15 derived from this software without specific prior written permission. 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 26 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 this.rule = rule; 54 this.rule = rule; 55 this.treeRule = treeRule; 58 public void setRuleName(String ruleName) { this.rule = ruleName; } 59 public void setLexicalRuleName(String lexicalRule) { this.lexicalRule = lexicalRule; this.isLexicalRule = true; [all...] |
/external/apache-http/src/org/apache/http/conn/params/ |
ConnPerRouteBean.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 39 * This class maintains a map of HTTP routes to maximum number of connections allowed 40 * for those routes. This class can be used by pooling 51 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 66 this.maxPerHostMap = new HashMap<HttpRoute, Integer>(); 71 this(DEFAULT_MAX_CONNECTIONS_PER_ROUTE); 75 return this.defaultMax [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
WaitingThread.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 40 * This class implements throwaway objects. It is instantiated whenever 46 * Instances of this class do <i>not</i> synchronize access! 51 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 67 /** True if this was interrupted. */ 84 this.cond = cond; 85 this.pool = pool [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
UriPatternMatcher.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 53 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 63 this.handlerMap = new HashMap(); 73 this.handlerMap.put(pattern, handler); 80 this.handlerMap.remove(pattern); 87 this.handlerMap.clear(); 88 this.handlerMap.putAll(map) [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
Announcer.java | 30 this.setTaskState(DNSState.ANNOUNCING_1); 31 this.associate(DNSState.ANNOUNCING_1); 40 return "Announcer(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; 49 return super.toString() + " state: " + this.getTaskState(); 58 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { 59 timer.schedule(this, DNSConstants.ANNOUNCE_WAIT_INTERVAL, DNSConstants.ANNOUNCE_WAIT_INTERVAL); 65 this.removeAssociation(); 85 return !this.getDns().isCanceling() && !this.getDns().isCanceled() [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PAssertedService.java | 5 * This software was developed by employees of the National Institute of 12 * This software is provided by NIST as a service and is expressly 21 * Permission to use this software is contingent upon your acceptance 22 * of the terms of this agreement 56 if(this.subServiceIds!=null) 60 retval.append(this.getSubserviceIdentifiers()); 63 else if(this.subAppIds!=null) 66 retval.append(this.getApplicationIdentifiers()); 78 if(this.subAppIds.charAt(0)=='.') 80 return this.subAppIds.substring(1) [all...] |
PPreferredService.java | 5 * This software was developed by employees of the National Institute of 12 * This software is provided by NIST as a service and is expressly 21 * Permission to use this software is contingent upon your acceptance 22 * of the terms of this agreement 55 if(this.subServiceIds!=null) 59 retval.append(this.getSubserviceIdentifiers()); 63 else if(this.subAppIds!=null) 66 retval.append(this.getApplicationIdentifiers()); 78 if(this.subAppIds.charAt(0)=='.') 80 return this.subAppIds.substring(1) [all...] |
/external/apache-http/src/org/apache/http/client/protocol/ |
ClientContextConfigurer.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 43 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 55 this.context = context; 59 this.context.setAttribute(COOKIESPEC_REGISTRY, registry); 63 this.context.setAttribute(AUTHSCHEME_REGISTRY, registry); 67 this.context.setAttribute(COOKIE_STORE, store); 71 this.context.setAttribute(CREDS_PROVIDER, provider) [all...] |