/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KSBuilder_ImplTest.java | 118 KeyStore.Builder.newInstance(null, protPass); in testNewInstanceKeyStoreProtectionParameter() 129 KeyStore.Builder.newInstance(ks, null); in testNewInstanceKeyStoreProtectionParameter() 151 KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 156 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 161 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 250 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass); in testNewInstanceStringProviderFileProtectionParameter() 255 KeyStore.Builder.newInstance(defaultType, defaultProvider, null, in testNewInstanceStringProviderFileProtectionParameter() 262 .newInstance(defaultType, defaultProvider, fl, null); in testNewInstanceStringProviderFileProtectionParameter() 268 .newInstance(defaultType, defaultProvider, fl, myPP); in testNewInstanceStringProviderFileProtectionParameter() 273 KeyStore.Builder.newInstance(defaultType, defaultProvider, in testNewInstanceStringProviderFileProtectionParameter() [all …]
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 93 CodedInputStream input = CodedInputStream.newInstance(data); in assertReadVarint() 96 input = CodedInputStream.newInstance(data); in assertReadVarint() 102 input = CodedInputStream.newInstance( in assertReadVarint() 106 input = CodedInputStream.newInstance( in assertReadVarint() 130 CodedInputStream input = CodedInputStream.newInstance(data); in assertReadVarintFailure() 138 input = CodedInputStream.newInstance(data); in assertReadVarintFailure() 200 CodedInputStream input = CodedInputStream.newInstance(data); in assertReadLittleEndian32() 206 input = CodedInputStream.newInstance( in assertReadLittleEndian32() 219 CodedInputStream input = CodedInputStream.newInstance(data); in assertReadLittleEndian64() 225 input = CodedInputStream.newInstance( in assertReadLittleEndian64() [all …]
|
D | CodedOutputStreamTest.java | 83 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 95 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 111 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 120 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 165 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteLittleEndian32() 173 output = CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteLittleEndian32() 187 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteLittleEndian64() 195 output = CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteLittleEndian64() 288 CodedOutputStream.newInstance(rawOutput, blockSize); in testWriteWholeMessage()
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | V8Utilities.h | 109 static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>); 110 static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::ObjectTemplate>); 111 …static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>, int argc, v8::Handle<v8:… 114 v8::Local<v8::Object> SafeAllocation::newInstance(v8::Handle<v8::Function> function) in newInstance() function 122 v8::Local<v8::Object> SafeAllocation::newInstance(v8::Handle<v8::ObjectTemplate> objectTemplate) in newInstance() function 130 …v8::Local<v8::Object> SafeAllocation::newInstance(v8::Handle<v8::Function> function, int argc, v8:… in newInstance() function
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
D | DelegatedData.java | 46 protected DelegatedData newInstance(Data newDelegate) { in newInstance() method in DelegatedData 118 return newInstance(getDelegate().getRoot()); in getRoot() 123 return newInstance(getDelegate().getParent()); in getParent() 138 return newInstance(getDelegate().getNextSibling()); in getNextSibling() 162 return newInstance(iterator.next()); in next() 197 return newInstance(getDelegate().getChild(path)); in getChild() 202 return newInstance(getDelegate().createChild(path)); in createChild() 229 return newInstance(getDelegate().getSymlink()); in getSymlink()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
D | ConstructorTest.java | 176 test = (ConstructorTestHelper) ctor.newInstance((Object[]) null); in test_newInstance$Ljava_lang_Object() 189 constructor.newInstance(new Object[] { null }); in test_newInstance_IAE() 200 constructor.newInstance(InvocationTargetException.class); in test_newInstance_InvocationTargetException() 207 constructor.newInstance(IllegalAccessException.class); in test_newInstance_InvocationTargetException() 214 constructor.newInstance(IllegalArgumentException.class); in test_newInstance_InvocationTargetException() 221 constructor.newInstance(InvocationTargetException.class); in test_newInstance_InvocationTargetException() 228 constructor.newInstance(Throwable.class); in test_newInstance_InvocationTargetException()
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | AbstractMessageLite.java | 63 final CodedOutputStream output = CodedOutputStream.newInstance(result); in toByteArray() 78 CodedOutputStream.newInstance(output, bufferSize); in writeTo() 88 CodedOutputStream.newInstance(output, bufferSize); in writeDelimitedTo() 161 CodedInputStream.newInstance(data, off, len); in mergeFrom() 187 CodedInputStream.newInstance(data, off, len); in mergeFrom() 201 final CodedInputStream codedInput = CodedInputStream.newInstance(input); in mergeFrom() 211 final CodedInputStream codedInput = CodedInputStream.newInstance(input); in mergeFrom()
|
D | CodedOutputStream.java | 94 public static CodedOutputStream newInstance(final OutputStream output) { in newInstance() method in CodedOutputStream 95 return newInstance(output, DEFAULT_BUFFER_SIZE); in newInstance() 102 public static CodedOutputStream newInstance(final OutputStream output, in newInstance() method in CodedOutputStream 114 public static CodedOutputStream newInstance(final byte[] flatArray) { in newInstance() method in CodedOutputStream 115 return newInstance(flatArray, 0, flatArray.length); in newInstance() 125 public static CodedOutputStream newInstance(final byte[] flatArray, in newInstance() method in CodedOutputStream
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/ |
D | PluginObject.cpp | 1140 PluginObject* newInstance = (PluginObject*)malloc(sizeof(PluginObject)); in pluginAllocate() local 1147 newInstance->pluginTest = 0; in pluginAllocate() 1148 newInstance->npp = npp; in pluginAllocate() 1149 newInstance->testObject = browser->createobject(npp, getTestClass()); in pluginAllocate() 1150 newInstance->rememberedObject = 0; in pluginAllocate() 1151 newInstance->eventLogging = FALSE; in pluginAllocate() 1152 newInstance->onStreamLoad = 0; in pluginAllocate() 1153 newInstance->onStreamDestroy = 0; in pluginAllocate() 1154 newInstance->onDestroy = 0; in pluginAllocate() 1155 newInstance->onURLNotify = 0; in pluginAllocate() [all …]
|
D | TestObject.cpp | 112 TestObject* newInstance = static_cast<TestObject*>(malloc(sizeof(TestObject))); in testAllocate() local 113 newInstance->testObject = 0; in testAllocate() 121 return reinterpret_cast<NPObject*>(newInstance); in testAllocate()
|
/external/webkit/Source/WebCore/bridge/ |
D | testbindings.cpp | 291 MyObject *newInstance = (MyObject *)malloc (sizeof(MyObject)); in myAllocate() local 299 newInstance->doubleValue = 666.666; in myAllocate() 300 newInstance->intValue = 1234; in myAllocate() 301 newInstance->boolValue = true; in myAllocate() 302 newInstance->stringValue.type = NPVariantType_String; in myAllocate() 303 newInstance->stringValue.value.stringValue.UTF8Length = strlen ("Hello world"); in myAllocate() 304 newInstance->stringValue.value.stringValue.UTF8Characters = strdup ("Hello world"); in myAllocate() 306 return (NPObject *)newInstance; in myAllocate()
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxyFactoryCompatibilityTest.java | 54 TestClass proxy1 = (TestClass)proxyClass1.newInstance(); in testFactoryCompatibility() 61 TestClass proxy2 = (TestClass)proxyClass2.newInstance(); in testFactoryCompatibility() 79 TestClass proxy3 = (TestClass)proxyClass3.newInstance(); in testFactoryCompatibility() 85 TestClass proxy4 = (TestClass)proxyClass4.newInstance(); in testFactoryCompatibility()
|
D | ProxySimpleTest.java | 25 Object data = pf.createClass().newInstance(); in testReadWrite() 46 Object data = pf.createClass().newInstance(); in testWriteReplace() 51 Object data2 = pf2.createClass().newInstance(); in testWriteReplace()
|
D | ProxyCacheGCTest.java | 96 MethodHandler handler= (MethodHandler)javaHandlerClass.newInstance(); in createProxy() 97 MethodFilter filter = (MethodFilter)javaFilterClass.newInstance(); in createProxy() 105 Object target = proxyClass.newInstance(); in createProxy()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLClassLoaderTest.java | 173 ucl = URLClassLoader.newInstance(urls); in test_newInstance$Ljava_net_URL() 183 ucl = URLClassLoader.newInstance(urls); in test_newInstance$Ljava_net_URL() 195 ucl = URLClassLoader.newInstance(u, cl); in test_newInstance$Ljava_net_URLLjava_lang_ClassLoader() 238 URLClassLoader ucl = URLClassLoader.newInstance(urls, null); in test_findClassLjava_lang_String() 252 ucl = URLClassLoader.newInstance(urls, null); in test_findClassLjava_lang_String() 294 ucl = URLClassLoader.newInstance(urls, null); in test_findClassLjava_lang_String() 298 ucl = URLClassLoader.newInstance(urls, null); in test_findClassLjava_lang_String() 311 ucl = URLClassLoader.newInstance(urls, null); in test_findClassLjava_lang_String() 410 URLClassLoader urlClassloader = URLClassLoader.newInstance( in test_findResource() 517 ucl = URLClassLoader.newInstance(urls, null); in test_findClassLjava_lang_String_Jar_Class_Path()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | SerializerFactory.java | 133 Object obj = cls.newInstance(); in getSerializer() 138 ser = (Serializer) cls.newInstance(); in getSerializer() 159 (SerializationHandler) cls.newInstance(); in getSerializer()
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/ |
D | JAXPTest.java | 44 SAXParserFactory spf = SAXParserFactory.newInstance(); in test() 50 Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(f); in test()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitBaseTest.java | 89 … Lexer lexObj = (Lexer)lexConstructor.newInstance(lexArgs); // makes new instance of lexer in execLexer() 183 … Lexer lexObj = (Lexer)lexConstructor.newInstance(lexArgs); // makes new instance of lexer in execParser() 191 … Parser parObj = (Parser)parConstructor.newInstance(parArgs); // makes new instance of parser in execParser() 198 _setTreeAdaptor.invoke(parObj, _treeAdaptor.newInstance()); in execParser() 328 … Object lexObj = lexConstructor.newInstance(lexArgs); // makes new instance of lexer in execTreeParser() 336 … Object parObj = parConstructor.newInstance(parArgs); // makes new instance of parser in execTreeParser() 344 customTreeAdaptor = (TreeAdaptor) _treeAdaptor.newInstance(); in execTreeParser() 381 …Object treeParObj = treeParConstructor.newInstance(treeParArgs); // makes new instance of tree par… in execTreeParser()
|
D | gUnitExecutor.java | 244 Object lexObj = lexConstructor.newInstance(lexArgs); // makes new instance of lexer in runLexer() 321 Object lexObj = lexConstructor.newInstance(lexArgs); // makes new instance of lexer in runParser() 329 Object parObj = parConstructor.newInstance(parArgs); // makes new instance of parser in runParser() 336 _setTreeAdaptor.invoke(parObj, _treeAdaptor.newInstance()); in runParser() 462 Object lexObj = lexConstructor.newInstance(lexArgs); // makes new instance of lexer in runTreeParser() 470 Object parObj = parConstructor.newInstance(parArgs); // makes new instance of parser in runTreeParser() 478 customTreeAdaptor = (TreeAdaptor) _treeAdaptor.newInstance(); in runTreeParser() 515 …Object treeParObj = treeParConstructor.newInstance(treeParArgs); // makes new instance of tree par… in runTreeParser()
|
/external/junit/src/org/junit/internal/builders/ |
D | AnnotatedBuilder.java | 31 return runnerClass.getConstructor(Class.class).newInstance( in buildRunner() 36 RunnerBuilder.class).newInstance( in buildRunner()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Platform.java | 65 return (T[]) Array.newInstance(type, length); in newArray() 81 T[] result = (T[]) Array.newInstance(type, length); in newArray()
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
D | MessageMicro.java | 91 … final CodedOutputStreamMicro output = CodedOutputStreamMicro.newInstance(data, offset, length); in toByteArray() 115 final CodedInputStreamMicro input = CodedInputStreamMicro.newInstance(data, off, len); in mergeFrom()
|
D | CodedOutputStreamMicro.java | 82 public static CodedOutputStreamMicro newInstance(final OutputStream output) { in newInstance() method in CodedOutputStreamMicro 83 return newInstance(output, DEFAULT_BUFFER_SIZE); in newInstance() 90 public static CodedOutputStreamMicro newInstance(final OutputStream output, in newInstance() method in CodedOutputStreamMicro 101 public static CodedOutputStreamMicro newInstance(final byte[] flatArray) { in newInstance() method in CodedOutputStreamMicro 102 return newInstance(flatArray, 0, flatArray.length); in newInstance() 111 public static CodedOutputStreamMicro newInstance(final byte[] flatArray, in newInstance() method in CodedOutputStreamMicro
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/ |
D | JmeDesktopSystem.java | 134 return ctxClazz.newInstance(); in newContextLwjgl() 161 return ctxClazz.newInstance(); in newContextJogl() 180 return ctxClazz.newInstance(); in newContextCustom() 233 AudioRenderer ar = clazz.newInstance(); in newAudioRenderer()
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
D | CompactArray.java | 233 … T[] compactArr = (T[]) Array.newInstance(getElementClass(), getSerializedSize() / getTupleSize()); in toObjectArray() 235 compactArr[i] = getElementClass().newInstance(); in toObjectArray() 239 T[] objArr = (T[]) Array.newInstance(getElementClass(), getTotalObjectSize()); in toObjectArray()
|