/external/svox/pico/lib/ |
picoknow.c | 5 * you may not use this file except in compliance with the License. 46 picoknow_KnowledgeBase this; local 49 this = picoos_allocate(mm,sizeof(*this)); 50 if (NULL != this) { 51 PICODBG_TRACE(("allocated KnowledgeBase at address %i with size %i",(picoos_uint32)this,sizeof(*this))); 53 this->next = NULL; 54 this->id = PICOKNOW_KBID_NULL; 55 this->base = NULL [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeOutputStream.java | 24 this.output1 = output1; 25 this.output2 = output2; 31 this.output1.write(buf); 32 this.output2.write(buf); 38 this.output1.write(buf, off, len); 39 this.output2.write(buf, off, len); 45 this.output1.write(b); 46 this.output2.write(b); 52 this.output1.flush(); 53 this.output2.flush() [all...] |
TeeInputStream.java | 24 this.input = input; 25 this.output = output; 63 this.input.close(); 64 this.output.close();
|
/frameworks/base/core/java/android/os/ |
ConditionVariable.java | 5 * you may not use this file except in compliance with the License. 23 * This differs from the built-in java.lang.Object wait() and notify() 24 * in that this class contains the condition to wait on itself. That means 29 * This class uses itself as the object to wait on, so if you wait() 64 synchronized (this) { 68 this.notifyAll(); 81 synchronized (this) { 94 synchronized (this) { 97 this.wait(); 119 // Object.wait(0) means wait forever, to mimic this, we jus [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProvider.java | 5 * you may not use this file except in compliance with the License. 31 * <p>Extend this class and override one or more of the {@link #onUpdate}, {@link #onDeleted}, 66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds); 73 this.onDeleted(context, new int[] { appWidgetId }); 81 this.onAppWidgetOptionsChanged(context, AppWidgetManager.getInstance(context), 85 this.onEnabled(context); 87 this.onDisabled(context); 94 this.onRestored(context, oldIds, newIds); 95 this.onUpdate(context, AppWidgetManager.getInstance(context), newIds); 104 * {@link AppWidgetManager#ACTION_APPWIDGET_RESTORED} broadcasts when this AppWidge [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
NullCipher.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 32 * This class provides an identity cipher that does not transform the input data 43 this.init(Cipher.ENCRYPT_MODE, (Key)null, (SecureRandom)null);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
SQL_Results.java | 3 * All rights reserved. This program and the accompanying materials 5 * which accompanies this distribution, and is available at 46 if (this.queryBuildScenarios != null) 47 this.queryBuildScenarios.close(); 48 if (this.queryBuildAllScenarios != null) 49 this.queryBuildAllScenarios.close(); 50 if (this.queryScenarioSummaries != null) 51 this.queryScenarioSummaries.close(); 52 if (this.queryAllComments != null) 53 this.queryAllComments.close() [all...] |
/dalvik/dx/src/com/android/dx/merge/ |
InstructionTransformer.java | 5 * you may not use this file except in compliance with the License. 33 this.indexMap = indexMap; 34 this.reader = new CodeReader(); 35 this.reader.setAllVisitors(new GenericVisitor()); 36 this.reader.setStringVisitor(new StringVisitor()); 37 this.reader.setTypeVisitor(new TypeVisitor()); 38 this.reader.setFieldVisitor(new FieldVisitor()); 39 this.reader.setMethodVisitor(new MethodVisitor());
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
ClassDoesWorkInConstructor.java | 5 * you may not use this file except in compliance with the License. 26 this.fooInt(1); 27 this.fooByte((byte) 1); 28 this.fooShort((short) 1); 29 this.fooChar('a'); 30 this.fooLong(1L); 31 this.fooFloat(1.0f); 32 this.fooDouble(1.0); 33 this.fooBoolean(true); 34 this.fooObject("hello") [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionOutputBuffer.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 47 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 66 this.out = out; 67 this.wire = wire; 71 this.out.write(b, off, len); 72 if (this.wire.enabled()) { 73 this.wire.output(b, off, len) [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
ServiceEventImpl.java | 34 * The service info record, or null if the service could be be resolved. This is also null, if the event was fired to a service type listener. 52 this._type = type; 53 this._name = name; 54 this._info = info; 91 buf.append("[" + this.getClass().getSimpleName() + "@" + System.identityHashCode(this) + " "); 93 buf.append(this.getName()); 95 buf.append(this.getType()); 97 buf.append(this.getInfo()); 120 ServiceInfoImpl newInfo = new ServiceInfoImpl(this.getInfo()) [all...] |
SocketListener.java | 30 this.setDaemon(true); 31 this._jmDNSImpl = jmDNSImpl; 39 while (!this._jmDNSImpl.isCanceling() && !this._jmDNSImpl.isCanceled()) { 41 this._jmDNSImpl.getSocket().receive(packet); 42 if (this._jmDNSImpl.isCanceling() || this._jmDNSImpl.isCanceled() || this._jmDNSImpl.isClosing() || this._jmDNSImpl.isClosed()) { 46 if (this._jmDNSImpl.getLocalHost().shouldIgnorePacket(packet)) [all...] |
DNSOutgoing.java | 36 this(size, out, 0); 46 this.write(value & 0xFF); 136 _out._names.put(aName, Integer.valueOf(this.size() + _offset)); 161 MessageOutputStream record = new MessageOutputStream(512, _out, _offset + this.size() + 2); 172 * This can be used to turn off domain name compression. This was helpful for tracking problems interacting with other mdns implementations. 196 this(flags, true, DNSConstants.MAX_MSG_TYPICAL); 206 this(flags, multicast, DNSConstants.MAX_MSG_TYPICAL); 221 _questionsBytes = new MessageOutputStream(senderUDPPayload, this); 222 _answersBytes = new MessageOutputStream(senderUDPPayload, this); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
TeeOutputStream.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 41 this.branch = branch; 51 this.branch.write(b); 63 this.branch.write(b, off, len); 73 this.branch.write(b); 82 this.branch.flush(); 91 this.branch.close();
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/ |
DialogActivity.java | 5 * you may not use this file except in compliance with the License. 37 DialogActivity.this.finish();
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Curve.java | 10 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 17 * may be used to endorse or promote products derived from this software 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 64 * @param controlPoints the control points to use to create this curve 68 this(new Spline(Spline.SplineType.CatmullRom, controlPoints, 10, false), nbSubSegments); 79 this.spline = spline; 82 this.createCatmullRomMesh(nbSubSegments); 85 this.createBezierMesh(nbSubSegments) [all...] |
Surface.java | 16 * This class represents a surface described by knots, weights and control points.
42 this.validateInputData(controlPoints, nurbKnots, uSegments, vSegments);
43 this.type = SplineType.Nurb;
44 this.uSegments = uSegments;
45 this.vSegments = vSegments;
46 this.controlPoints = controlPoints;
47 this.knots = nurbKnots;
48 this.basisUFunctionDegree = basisUFunctionDegree;
51 this.basisVFunctionDegree = basisVFunctionDegree;
55 this.buildSurface(); [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
TestHttpClient.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 70 this.params = new BasicHttpParams(); 71 this.params 77 this.httpproc = new BasicHttpProcessor(); 79 this.httpproc.addInterceptor(new RequestContent()); 80 this.httpproc.addInterceptor(new RequestTargetHost()); 82 this.httpproc.addInterceptor(new RequestConnControl()) [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
StreamHandler.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 33 * <li>java.util.logging.StreamHandler.encoding specifies the encoding this 37 * class to be associated with this handler. No <code>Filter</code> is used by 40 * formatter class to be associated with this handler. Default is 46 * This class is not thread-safe. 50 // the output stream this handler writes to 65 this.os = null; 66 this.writer = null [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
IdentityOutputStream.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> 68 this.out = out; 77 if (!this.closed) { 78 this.closed = true; 79 this.out.flush(); 84 this.out.flush() [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
LRUCache.java | 7 // This module is multi-licensed and may be used under the terms
19 // This module is provided "as is", without warranties of any kind.
29 * This cache has a fixed maximum number of elements (<code>cacheSize</code>).
34 * This class is thread-safe. All methods of this class are synchronized.
50 * the maximum number of entries that will be kept in this cache.
53 this.cacheSize = cacheSize;
55 this.map = new LinkedHashMap<K, V>(hashTableCapacity, LRUCache.hashTableLoadFactor, true) {
62 return this.size() > LRUCache.this.cacheSize; [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
NoiseAggregator.java | 9 * - Redistributions of source code must retain the above copyright notice, this
13 * this list of conditions and the following disclaimer in the documentation
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
48 this.a = a;
49 this.b = b;
50 this.rate = rate;
55 this.a.init();
56 this.b.init();
61 return this.a.value(x, y, z) * (1 - this.rate) + this.rate * this.b.value(x, y, z); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
PriorityParser.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 77 this.lexer.SPorHT(); 78 /*this.lexer.match(TokenTypes.ID); 83 // This is in violation of the RFC but 85 priority.setPriority(this.lexer.ttokenSafe()); 87 this.lexer.SPorHT(); 88 this.lexer.match('\n') [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
NotificationCompatSideChannelService.java | 5 * you may not use this file except in compliance with the License. 30 * <p>To receive side channel notifications, extend this service and register it in your 80 NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification); 91 NotificationCompatSideChannelService.this.cancel(packageName, id, tag); 102 NotificationCompatSideChannelService.this.cancelAll(packageName);
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMTreeWalker.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 31 * This class does a pre-order walk of the DTM tree, calling a ContentHandler 35 * I think normally this class should not be needed, because 45 /** DomHelper for this TreeWalker */ 93 this.m_contentHandler = contentHandler; 108 // %REVIEW% Why isn't this just traverse(pos,pos)? 110 int top = pos; // Remember the root of this subtree 131 // %REVIEW% This condition isn't tested in traverse(pos,top [all...] |