/external/v8/test/mjsunit/compiler/ |
null-compare.js | 29 if (x == null) return true; else return false; 32 assertTrue(IsNull(null), "null == null"); 33 assertTrue(IsNull(void 0), "void 0 == null"); 34 assertFalse(IsNull(42), "42 != null"); 38 if (x === null) return true; else return false; 41 assertTrue(IsNullStrict(null), "null === null"); [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPSchemaRegistryImpl.java | 94 if (registeredPrefix != null) 101 if (registeredNS != null) 129 if (prefixToDelete != null) 151 if (namespacePrefix != null && !namespacePrefix.endsWith(":")) 256 if (aliasPrefix == null) 258 return null; 281 if (prefix != null) 312 * The namespace URI for the alias. Must not be null or the empty 315 * The name of the alias. Must be a simple name, not null or the 318 * The namespace URI for the actual. Must not be null or th [all...] |
/frameworks/base/core/java/android/app/ |
TabActivity.java | 56 private String mDefaultTab = null; 78 mDefaultTab = null; 87 if (cur != null) { 91 if (mDefaultTab != null) { 114 if (currentTabTag != null) { 130 if (mTabHost == null) { 139 if (mTabHost == null) { 150 if (tabView != null && tabView instanceof TextView) {
|
/frameworks/base/core/java/android/util/ |
Base64OutputStream.java | 31 private byte[] buffer = null; 64 coder = new Base64.Encoder(flags, null); 66 coder = new Base64.Decoder(flags, null); 76 if (buffer == null) { 105 IOException thrown = null; 120 if (thrown != null) { 125 if (thrown != null) { 149 if (b == null || b.length < len) {
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTestRunner.java | 30 if (ssidStr != null) { 34 if (serverStr != null) {
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
UsbAccessory.java | 99 if (s1 == null) return (s2 == null); 119 return ((mManufacturer == null ? 0 : mManufacturer.hashCode()) ^ 120 (mModel == null ? 0 : mModel.hashCode()) ^ 121 (mDescription == null ? 0 : mDescription.hashCode()) ^ 122 (mVersion == null ? 0 : mVersion.hashCode()) ^ 123 (mUri == null ? 0 : mUri.hashCode()) ^ 124 (mSerial == null ? 0 : mSerial.hashCode()));
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfoAsyncQuery.java | 133 if (cw == null) { 139 if (DBG) Rlog.d(LOG_TAG, "Unexpected command (CookieWrapper is null): " + msg.what + 205 if (cw == null) { 210 if (DBG) Rlog.d(LOG_TAG, "Cookie is null, ignoring onQueryComplete() request."); 220 if (mCallerInfo == null) { 221 if ((mQueryContext == null) || (mQueryUri == null)) { 284 startQuery(token, endMarker, null, null, null, null, null) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
Looper_Accessor.java | 31 sMainLooper.set(null, null);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
Stack.java | 49 * @return the removed object or null if the stack was empty. 56 return null; 61 * @return the object at the top or null if the stack is empty. 68 return null;
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
DelegateMethodAdapter2.java | 80 * Null when dealing with a native original method. */ 82 /** The parent method writer to generate the delegating method. Never null. */ 105 * @param log The logger object. Must not be null. 107 * Must be {@code null} when dealing with a native original method. 109 * Must never be null. 176 if (aw != null) { 182 if (mDelegateLineNumber != null) { 194 Type outerType = null; 209 if (outerType != null) { 271 if (mOrgWriter != null) { [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
KeyManagerFactoryImpl.java | 53 if (ks != null) { 55 if (password != null) { 63 String keyStorePwd = null; 64 if (keyStoreName == null || keyStoreName.equalsIgnoreCase("NONE") || keyStoreName.isEmpty()) { 66 keyStore.load(null, null); 74 if (keyStorePwd == null) { 110 if (keyStore == null) {
|
OpenSSLContextImpl.java | 39 if (sslParameters == null) { 47 if (sslParameters == null) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
HeapCharBufferTest.java | 32 buf = null; 33 baseBuf = null;
|
HeapDoubleBufferTest.java | 30 buf = null; 31 baseBuf = null;
|
HeapFloatBufferTest.java | 30 buf = null; 31 baseBuf = null;
|
HeapIntBufferTest.java | 30 buf = null; 31 baseBuf = null;
|
HeapLongBufferTest.java | 30 buf = null; 31 baseBuf = null;
|
HeapShortBufferTest.java | 30 buf = null; 31 baseBuf = null;
|
/libcore/json/src/main/java/org/json/ |
JSON.java | 41 return null; 55 return null; 69 return null; 83 return null; 89 } else if (value != null) { 92 return null; 97 if (actual == null) { 98 throw new JSONException("Value at " + indexOrName + " is null."); 108 if (actual == null) { 109 throw new JSONException("Value is null.") [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
InvocationTargetException.java | 35 * {@code null} cause / target exception. 38 super((Throwable) null); 50 super(null, exception); 70 * Returns the target exception, which may be {@code null}. 79 * Returns the cause of this exception, which may be {@code null}.
|
/libcore/luni/src/main/java/java/security/cert/ |
CertPathBuilder.java | 97 * if the algorithm is {@code null}. 103 if (algorithm == null) { 104 throw new NullPointerException("algorithm == null"); 106 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 124 * if algorithm is {@code null}. 125 * @throws IllegalArgumentException if {@code provider == null || provider.isEmpty()} 129 if (provider == null || provider.isEmpty()) { 130 throw new IllegalArgumentException("provider == null || provider.isEmpty()"); 133 if (impProvider == null) { 151 * @throws IllegalArgumentException if {@code provider == null} [all...] |
CertPathValidator.java | 99 * if algorithm is {@code null}. 103 if (algorithm == null) { 104 throw new NullPointerException("algorithm == null"); 106 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 125 * if algorithm is {@code null}. 126 * @throws IllegalArgumentException if {@code provider == null || provider.isEmpty()} 131 if (provider == null || provider.isEmpty()) { 135 if (impProvider == null) { 153 * @throws IllegalArgumentException if {@code provider == null} 155 * if algorithm is {@code null} [all...] |
/libcore/luni/src/main/java/java/security/spec/ |
ECPrivateKeySpec.java | 43 // throw NullPointerException if s or params is null 44 if (this.s == null) { 45 throw new NullPointerException("s == null"); 47 if (this.params == null) { 48 throw new NullPointerException("params == null");
|
ECPublicKeySpec.java | 43 // throw NullPointerException if w or params is null 44 if (this.w == null) { 45 throw new NullPointerException("w == null"); 47 if (this.params == null) { 48 throw new NullPointerException("params == null");
|
/libcore/luni/src/main/java/javax/net/ssl/ |
TrustManagerFactory.java | 55 return (algorithm != null ? algorithm : DEFAULT_PROPERTY); 68 * if {@code algorithm} is {@code null} (instead of 73 if (algorithm == null) { 74 throw new NullPointerException("algorithm == null"); 76 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 96 * if {@code algorithm} is {@code null} (instead of 101 if ((provider == null) || (provider.length() == 0)) { 102 throw new IllegalArgumentException("Provider is null or empty"); 105 if (impProvider == null) { 124 * if {@code algorithm} is {@code null} (instead o [all...] |