Searched refs:std (Results 1 - 25 of 68) sorted by relevance

123

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dalloc.h31 // By defining std::bad_alloc in a local header file instead of including
34 namespace std { namespace
88 // These three functions throw std::bad_alloc in an out of memory condition
91 void *safe_Malloc(size_t size) throw (std::bad_alloc);
92 void *safe_Calloc(size_t num, size_t size) throw (std::bad_alloc);
93 void *safe_Realloc(void *memblock, size_t size) throw (std::bad_alloc);
96 // std::bad_alloc if a java.lang.OutOfMemoryError is currently pending
98 jthrowable safe_ExceptionOccurred(JNIEnv *env) throw (std::bad_alloc);
116 // This function is called when a std::bad_alloc exception is caught
124 throw (std
[all...]
H A Dawt_new.cpp81 // These three functions throw std::bad_alloc in an out of memory condition
84 void *safe_Malloc(size_t size) throw (std::bad_alloc) {
87 throw std::bad_alloc();
93 void *safe_Calloc(size_t num, size_t size) throw (std::bad_alloc) {
96 throw std::bad_alloc();
102 void *safe_Realloc(void *memblock, size_t size) throw (std::bad_alloc) {
111 throw std::bad_alloc();
120 // std::bad_alloc in an out of memory situation. Instead, VC++ 5.0 returns 0.
123 void * CDECL operator new(size_t size) throw (std::bad_alloc) {
147 // This function is called when a std
[all...]
H A Dawt_AWTEvent.cpp49 throw std::bad_alloc();
109 throw std::bad_alloc();
H A Dawt_Clipboard.cpp232 throw std::bad_alloc();
249 throw std::bad_alloc();
267 throw std::bad_alloc();
290 throw std::bad_alloc();
325 throw std::bad_alloc();
409 throw std::bad_alloc();
416 throw std::bad_alloc();
454 throw std::bad_alloc();
H A Dawt_InputTextInfor.cpp216 } catch (std::bad_alloc&) {
240 } catch (std::bad_alloc&) {
303 } catch (std::bad_alloc&) {
352 } catch (std::bad_alloc&) {
387 } catch (std::bad_alloc&) {
H A DWPrinterJob.cpp146 throw std::bad_alloc();
158 throw std::bad_alloc();
163 } catch (std::bad_alloc&) {
287 throw std::bad_alloc();
334 throw std::bad_alloc();
382 throw std::bad_alloc();
432 throw std::bad_alloc();
484 throw std::bad_alloc();
494 throw std::bad_alloc();
500 throw std
[all...]
H A Dawt_Debug.cpp44 throw std::bad_alloc();
53 throw std::bad_alloc();
H A Dawt_DataTransferer.cpp162 throw std::bad_alloc();
201 throw std::bad_alloc();
264 throw std::bad_alloc();
281 throw std::bad_alloc();
297 throw std::bad_alloc();
308 } catch (std::bad_alloc&) {
560 throw std::bad_alloc();
722 } catch (std::bad_alloc &) {
790 } catch (std::bad_alloc &) {
811 throw std
[all...]
H A Dawt_DnDDT.cpp192 } catch (std::bad_alloc&) {
252 } catch (std::bad_alloc&) {
293 } catch (std::bad_alloc&) {
353 } catch (std::bad_alloc&) {
554 jobject AwtDropTarget::ConvertNativeData(JNIEnv* env, jlong fmt, STGMEDIUM *pmedium) /*throw std::bad_alloc */
569 } catch (std::bad_alloc&) {
618 } catch (std::bad_alloc&) {
636 } catch (std::bad_alloc&) {
681 } catch (std::bad_alloc&) {
722 } catch (std
[all...]
H A Dawt_Robot.cpp218 throw std::bad_alloc();
237 if (!IS_SAFE_SIZE_MUL(width, height)) throw std::bad_alloc();
239 if (!IS_SAFE_SIZE_MUL(BYTES_PER_PIXEL, numPixels)) throw std::bad_alloc();
250 throw std::bad_alloc();
/openjdk7/jdk/src/share/native/common/
H A Dsizecalc.h38 * helper macros throw the std::bad_alloc instead of returning NULL.
60 #define FAILURE_RESULT throw std::bad_alloc()
84 * This macro throws the std::bad_alloc C++ exception to indicate
90 (IS_SAFE_SIZE_MUL(sizeof(type), (n)) ? (new type[(n)]) : throw std::bad_alloc())
94 (new type[(n) * (m)]) : throw std::bad_alloc())
/openjdk7/hotspot/src/share/vm/adlc/
H A Dadlc.hpp42 using namespace std;
H A Dfilebuff.hpp31 using namespace std;
/openjdk7/hotspot/src/share/vm/utilities/
H A Ddecoder.cpp67 decoder = new (std::nothrow) WindowsDecoder();
69 decoder = new (std::nothrow)MachODecoder();
71 decoder = new (std::nothrow)ElfDecoder();
H A Ddecoder_elf.cpp66 file = new (std::nothrow)ElfFile(filepath);
H A DelfFile.cpp124 ElfStringTable* table = new (std::nothrow) ElfStringTable(m_file, shdr, index);
131 ElfSymbolTable* table = new (std::nothrow) ElfSymbolTable(m_file, shdr);
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkCompiler.cpp53 cl::opt<std::string>
56 cl::list<std::string>
86 std::string cpu("-mcpu=" + llvm::sys::getHostCPUName());
88 std::vector<const char*> args;
92 std::string mattr("-mattr=");
97 std::string attr(I->first());
108 std::string ErrorMsg;
285 std::vector<const char*> args;
H A DsharkMemoryManager.hpp50 std::map<const llvm::Function*, SharkEntry*> _entry_map;
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageCopy_blk.s185 std O0,[da + 0]; \
186 std O1,[da + 8]; \
187 std O2,[da + 16]; \
188 std O3,[da + 24]; \
189 std O4,[da + 32]; \
190 std O5,[da + 40]; \
191 std O6,[da + 48]; \
192 std O7,[da + 56]; \
/openjdk7/hotspot/src/share/vm/services/
H A DmemTrackWorker.hpp94 _NOINLINE_ void* operator new(size_t size, const std::nothrow_t& nothrow_constant);
H A DmemRecorder.cpp61 _pointer_records = new (std::nothrow)FixedSizeMemPointerArray<SeqMemPointerRecordEx,
64 _pointer_records = new (std::nothrow)FixedSizeMemPointerArray<SeqMemPointerRecord,
H A DmemSnapshot.cpp361 _malloc_data = new (std::nothrow)MemPointerArrayImpl<SeqMemPointerRecordEx>();
362 _vm_data = new (std::nothrow)MemPointerArrayImpl<SeqMemPointerRecordEx>();
364 _malloc_data = new (std::nothrow)MemPointerArrayImpl<SeqMemPointerRecord>();
365 _vm_data = new (std::nothrow)MemPointerArrayImpl<SeqMemPointerRecord>();
392 _alloc_ptrs = new (std::nothrow) MemPointerArrayImpl<MemPointerRecordEx>();
393 _vm_ptrs = new (std::nothrow)MemPointerArrayImpl<VMMemRegionEx>(64, true);
395 _alloc_ptrs = new (std::nothrow) MemPointerArrayImpl<MemPointerRecord>();
396 _vm_ptrs = new (std::nothrow)MemPointerArrayImpl<VMMemRegion>(64, true);
400 _lock = new (std::nothrow) Mutex(Monitor::max_nonleaf - 1, "memSnapshotLock");
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DOldMBeanServerTest.java1021 private final Object std; field in class:OldMBeanServerTest.OldMBeanServer.StandardWrapper
1023 StandardWrapper(Object std) throws NotCompliantMBeanException { argument
1024 this.std = std;
1025 Class<?> intf = mbeanInterface(std.getClass());
1222 for (Constructor constr : std.getClass().getConstructors())
1227 if (std instanceof NotificationBroadcaster)
1228 notifs = ((NotificationBroadcaster) std).getNotificationInfo();
1232 String className = std.getClass().getName();
1243 return invokeSomething(m, std,arg
1268 standardToDynamic(Object std) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dallocation.hpp185 _NOINLINE_ void* operator new (size_t size, const std::nothrow_t& nothrow_constant,
324 void* operator new (size_t size, const std::nothrow_t& nothrow_constant);
328 void* operator new(size_t size, const std::nothrow_t& nothrow_constant, MEMFLAGS flags);
496 void* operator new(size_t size, const std::nothrow_t& nothrow_constant) {
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/
H A Dlinux_sparc.s81 std %o2, [%o1]
90 std %o2, [%o1+%o4]

Completed in 116 milliseconds

123