Searched refs:new (Results 1 - 25 of 62) sorted by relevance

123

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Debug.h33 #if defined(new)
34 #error new has already been defined!
50 extern void * operator new(size_t size, const char * filename, int linenumber);
51 extern void * operator new[](size_t size, const char * filename, int linenumber);
54 /* VC 6.0 is more strict about enforcing matching placement new & delete */
68 #define new new(__FILE__, __LINE__) macro
H A DHashtable.h102 * Constructs a new, empty hashtable with the specified initial
129 return new HashtableEnumerator(table, capacity, TRUE);
138 return new HashtableEnumerator(table, capacity, FALSE);
/openjdk7/jdk/test/com/sun/jdi/
H A DArrayLengthDumpTest.sh50 ArrayLengthDumpTarg u[] = { new ArrayLengthDumpTarg(),
51 new ArrayLengthDumpTarg(),
52 new ArrayLengthDumpTarg(),
53 new ArrayLengthDumpTarg(),
54 new ArrayLengthDumpTarg(),
55 new ArrayLengthDumpTarg() };
70 ArrayLengthDumpTarg my = new ArrayLengthDumpTarg();
H A DCatchPatternTest.sh41 throw new IllegalArgumentException("IllegalArgumentException");
43 throw new ArithmeticException("ArithmeticException");
45 throw new IllegalMonitorStateException("IllegalMonitorStateException");
47 throw new IndexOutOfBoundsException("IndexOutOfBoundsException");
49 throw new Error("should not happen");
72 $classname my = new $classname();
H A DRedefineAnnotation.sh29 # new annotation is returned.
55 MySubClass sub = new MySubClass();
56 MySubSubClass subsub = new MySubSubClass();
57 new $1().hi(false);
58 new $1().hi(true); // @1 breakpoint
78 throw new Error("FAIL: cannot get class_annotation from "
97 throw new Error("FAIL: cannot get field_annotation from "
111 throw new Error("FAIL: cannot find field 'dummy_field' in "
117 Class params[] = new Class[1];
122 throw new Erro
[all...]
H A DJdbMissStep.sh46 $classname dbb = new $classname();
48 jj2 gus = new jj2();
H A DRedefineFinal.sh51 throw new IllegalArgumentException();
62 new $1();
H A DStringConvertTest.sh54 static JJ2[] x3 = new JJ2[2];
58 static StringBuffer sbGrower = new StringBuffer("sbGrower");
70 StringBuffer sbTim = new StringBuffer("tim");
85 x1 = new JJ1("first JJ1");
86 x2 = new JJ2("first JJ2");
87 x3[0] = new JJ2("array0");
88 x3[1] = new JJ2("array1");
89 $classname loc1 = new $classname("first me");
H A DWatchFramePop.sh48 $1 mine = new $1();
H A DEvalArgs.sh67 myjj1 = new jj1();
68 myjj2 = new jj2();
69 myoranges = new oranges();
H A DRedefineChangeClassOrder.sh51 new $1().hi(false);
52 new $1().hi(true); // @1 breakpoint
67 Foo1 foo1 = new Foo1(); // @1 commentout
92 Foo2 foo2 = new Foo2();
95 // @1 uncomment Foo1 foo1 = new Foo1();
H A DDeferredStepTest.sh80 jj1 aRP = new jj1();
81 jj2 asRP = new jj2();
82 new Thread(aRP, "jj1 *").start();
83 new Thread(asRP, "jj2 **").start();
84 // new Thread(aRP, "jj3 ***").start();
85 // new Thread(asRP, "jj4 ****").start();
H A DCatchCaughtTest.sh45 CatchCaughtTestTarg my = new CatchCaughtTestTarg();
H A DRedefineClasses.sh74 //ThreadGroup k = new ThreadGroup("group");
109 byte xyz[] = new byte[] { 'a', 'b', 'c' };
119 int[] m = new int[] { 100, 200, 300 };
121 $1 untitled31 = new $1();
H A DBreakpointWithFullGC.sh52 public static List<Object> objList = new ArrayList<Object>();
56 objList.add(new Object());
H A DRedefineException.sh51 $1 mine = new $1();
83 throw new Exception("This is the exception");
H A DRedefineIntConstantToLong.sh70 throw new Exception("FAILURE: Expected value: " + r1 + " Actual value: " + r2);
77 new $1().doit();
/openjdk7/jdk/src/windows/bin/
H A Dcmdtoargs.c240 // new CmdToArgs method.
320 Vector* v = new Vector(argv[0], "abcd");
326 v = new Vector(argv[0], "\"a b c d\"");
332 v = new Vector(argv[0], "a\"b c d\"e");
338 v = new Vector(argv[0], "ab\\\"cd");
344 v = new Vector(argv[0], "\"a b c d\\\\\"");
350 v = new Vector(argv[0], "ab\\\\\\\"cd");
357 v = new Vector(argv[0], "a\\\\\\c");
363 v = new Vector(argv[0], "\"a\\\\\\d\"");
369 v = new Vecto
[all...]
/openjdk7/jdk/make/java/nio/
H A DgenCharsetProvider.sh82 printf " static final String[] aliases_%s = new String[] {\n", cln;
127 super("$PKG", new Aliases(), new Classes(), new Cache());
/openjdk7/jdk/test/sun/tools/jrunscript/
H A Djrunscript-cpTest.sh51 try { v = new Packages.Hello(); } catch (e) { println(e); exit(1) }
63 try { v = new Packages.Hello(); } catch (e) { println(e); exit(1) }
H A DjrunscriptTest.sh49 new java.lang.Runnable() { run: function() { println('I am runnable'); }}.run();
67 new java.lang.Runnable() { run: function() { println('I am runnable'); }}.run();
/openjdk7/jdk/test/sun/security/tools/jarsigner/
H A Ddiffend.sh92 -signedjar diffend.new.jar \
95 unzip -p diffend.new.jar META-INF/MANIFEST.MF | grep Today || exit 1
106 -signedjar diffend.new.jar \
109 unzip -p diffend.new.jar META-INF/MANIFEST.MF | grep Today || exit 2
/openjdk7/hotspot/test/gc/6941923/
H A Dtest6941923.sh4 ## @summary test new added flags for gc log rotation
43 Test t = new Test();
45 Thread thr = new Thread(t);
66 Vector< byte[] > v = new Vector< byte[] >(cap);
68 byte[] g = new byte[fix_size];
75 v = new Vector< byte[] >(cap);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A Dkeysym2ucs.h100 tojava static Hashtable<Long, Keysym2JavaKeycode> keysym2JavaKeycodeHash = new Hashtable<Long, Keysym2JavaKeycode>();
101 tojava static Hashtable<Long, Character> keysym2UCSHash = new Hashtable<Long, Character>();
102 tojava static Hashtable<Long, Long> uppercaseHash = new Hashtable<Long, Long>();
107 tojava static Hashtable<Integer, Long> javaKeycode2KeysymHash = new Hashtable<Integer, Long>();
110 tojava static Keysym2JavaKeycode kanaLock = new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_KANA_LOCK,
2412 tojava keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_a), new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_A, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
2413 tojava keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_b), new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_B, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
2414 tojava keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_c), new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_C, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
2415 tojava keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_d), new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_D, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
2416 tojava keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_e), new Keysym2JavaKeycod
[all...]
/openjdk7/jdk/src/share/native/common/
H A Dsizecalc.h80 * using the C++ new[] operator.
90 (IS_SAFE_SIZE_MUL(sizeof(type), (n)) ? (new type[(n)]) : throw std::bad_alloc())
94 (new type[(n) * (m)]) : throw std::bad_alloc())

Completed in 518 milliseconds

123