Searched defs:alloc (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DListView.java74 Rectangle alloc = allocation.getBounds();
80 if ((clip.x + clip.width) < (alloc.x + getLeftInset())) {
81 Rectangle childRect = alloc;
82 alloc = getInsideAllocation(allocation);
86 childRect.setBounds(alloc);
108 * @param alloc the allocated region to render the child into
111 protected void paintChild(Graphics g, Rectangle alloc, int index) { argument
112 listPainter.paint(g, alloc.x, alloc.y, alloc
[all...]
H A DTableView.java135 protected View getViewAtPoint(int x, int y, Rectangle alloc) { argument
140 allocation.setBounds(alloc);
146 alloc.setBounds(allocation);
151 return super.getViewAtPoint(x, y, alloc);
900 Rectangle alloc = (a instanceof Rectangle) ? (Rectangle)a :
902 c.repaint(alloc.x, alloc.y, alloc.width, alloc.height);
1350 View findViewAtPoint(int x, int y, Rectangle alloc) { argument
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DperfMemory.cpp205 char* PerfMemory::alloc(size_t size) { function in class:PerfMemory
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextAreaUI.java377 protected boolean isBefore(int x, int y, Rectangle alloc) { argument
381 protected boolean isAfter(int x, int y, Rectangle alloc) { argument
385 protected View getViewAtPoint(int x, int y, Rectangle alloc) { argument
H A DBasicTextUI.java735 Rectangle alloc = getVisibleEditorRect();
736 if (alloc != null) {
737 rootView.paint(g, alloc);
995 Rectangle alloc = editor.getBounds();
996 if ((alloc.width > 0) && (alloc.height > 0)) {
997 alloc.x = alloc.y = 0;
999 alloc.x += insets.left;
1000 alloc
1986 calculateViewPosition(Shape alloc, View v) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DCompositeView.java231 Rectangle alloc = getInsideAllocation(a);
232 childAllocation(index, alloc);
233 return alloc;
304 Rectangle alloc = getInsideAllocation(a);
305 Rectangle r0 = new Rectangle(alloc);
308 Rectangle r1 = new Rectangle(alloc);
346 tempRect.setBounds(alloc);
391 Rectangle alloc = getInsideAllocation(a);
392 if (isBefore((int) x, (int) y, alloc)) {
406 } else if (isAfter((int) x, (int) y, alloc)) {
513 isBefore(int x, int y, Rectangle alloc) argument
523 isAfter(int x, int y, Rectangle alloc) argument
534 getViewAtPoint(int x, int y, Rectangle alloc) argument
[all...]
H A DTextLayoutStrategy.java65 * @param alloc the current allocation of the view inside of the insets.
69 public void insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) { argument
71 super.insertUpdate(fv, e, alloc);
79 * @param alloc the current allocation of the view inside of the insets.
82 public void removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) { argument
84 super.removeUpdate(fv, e, alloc);
96 public void changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) { argument
98 super.changedUpdate(fv, e, alloc);
H A DUtilities.java910 static void paintComposedText(Graphics g, Rectangle alloc, GlyphView v) { argument
919 int y = alloc.y + alloc.height - (int)v.getGlyphPainter().getDescent(v);
920 int x = alloc.x;
993 Shape alloc, int direction,
1007 Shape childBounds = v.getChildAllocation(childIndex, alloc);
1015 childBounds = v.getChildAllocation(1, alloc);
1031 Shape childBounds = v.getChildAllocation(childIndex, alloc);
1044 childBounds = v.getChildAllocation(childIndex, alloc);
1052 alloc, directio
992 getNextVisualPositionFrom(View v, int pos, Position.Bias b, Shape alloc, int direction, Position.Bias[] biasRet) argument
[all...]
H A DFlowView.java363 * @param alloc the current allocation of the view inside of the insets.
367 public void insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) { argument
374 if (alloc != null) {
377 host.repaint(alloc.x, alloc.y, alloc.width, alloc.height);
389 * @param alloc the current allocation of the view inside of the insets.
392 public void removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) { argument
394 if (alloc !
414 changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) argument
824 isBefore(int x, int y, Rectangle alloc) argument
838 isAfter(int x, int y, Rectangle alloc) argument
853 getViewAtPoint(int x, int y, Rectangle alloc) argument
[all...]
H A DBoxView.java156 * @param alloc the allocated region to paint into
159 protected void paintChild(Graphics g, Rectangle alloc, int index) { argument
161 child.paint(g, alloc);
251 Rectangle alloc = getInsideAllocation(a);
253 alloc.x += majorOffsets[index];
254 alloc.width -= majorOffsets[index];
256 alloc.y += minorOffsets[index];
257 alloc.height -= minorOffsets[index];
259 c.repaint(alloc.x, alloc
656 getViewAtPoint(int x, int y, Rectangle alloc) argument
694 childAllocation(int index, Rectangle alloc) argument
[all...]
H A DAsyncBoxView.java606 * @param alloc the allocated region to render into
609 public void paint(Graphics g, Shape alloc) { argument
611 locator.setAllocation(alloc);
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1HRPrinter.hpp97 void alloc(HeapRegion* hr, RegionType type, bool force = false) { function in class:VALUE_OBJ_CLASS_SPEC
103 void alloc(RegionType type, HeapRegion* hr, HeapWord* top) { function in class:VALUE_OBJ_CLASS_SPEC
H A DheapRegionRemSet.cpp198 static PerRegionTable* alloc(HeapRegion* hr) { function in class:PerRegionTable
483 prt = PerRegionTable::alloc(from_hr);
/openjdk7/hotspot/src/share/vm/memory/
H A DthreadLocalAllocBuffer.cpp149 size_t alloc = (size_t)(_allocation_fraction.average() * local
151 size_t new_size = alloc / _target_refills;
159 " refills %d alloc: %8.6f desired_size: " SIZE_FORMAT " -> " SIZE_FORMAT "\n",
282 size_t alloc = _number_of_refills * _desired_size; local
283 double waste_percent = alloc == 0 ? 0.0 :
284 100.0 * waste / alloc;
290 " alloc:%8.5f %8.0fKB refills: %d waste %4.1f%% gc: %dB"
346 cname = PerfDataManager::counter_name("tlab", "alloc");
/openjdk7/hotspot/src/share/vm/utilities/
H A Dstack.inline.hpp140 E* Stack<E, F>::alloc(size_t bytes) function in class:Stack
162 next = alloc(segment_bytes());
207 this->_cur_seg_size = this->_seg_size; // So push() will alloc a new segment.
247 E* ResourceStack<E, F>::alloc(size_t bytes) function in class:ResourceStack
/openjdk7/jdk/src/share/javavm/export/
H A DjdwpTransport.h131 void *(*alloc)(jint numBytes); /* Call this for all allocations */ member in struct:jdwpTransportCallback
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmpi.h228 #define MP_ALLOC(MP) ((MP)->alloc)
238 mp_size alloc; /* how many digits allocated */ member in struct:__anon943
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJEditorPane.java2248 protected boolean isBefore(int x, int y, Rectangle alloc) { argument
2252 protected boolean isAfter(int x, int y, Rectangle alloc) { argument
2256 protected View getViewAtPoint(int x, int y, Rectangle alloc) { argument
/openjdk7/hotspot/src/share/vm/opto/
H A Dcallnode.cpp1084 AllocateNode* alloc,
1090 _alloc(alloc),
1082 SafePointScalarObjectNode(const TypeOopPtr* tp, AllocateNode* alloc, uint first_index, uint n_fields) argument
H A Dcallnode.hpp462 AllocateNode* alloc,
475 AllocateNode* alloc() const { return _alloc; } function in class:SafePointScalarObjectNode
H A Descape.cpp1374 Node* alloc = pta->ideal_node(); local
1377 if (alloc->is_Allocate())
1379 assert(alloc->as_CallStaticJava(), "sanity");
1381 if (alloc->as_CallStaticJava()->method() == NULL) {
1382 const char* name = alloc->as_CallStaticJava()->_name;
1402 if (!alloc->is_Allocate())
1405 InitializeNode* ini = alloc->as_Allocate()->initialization();
1441 (base->in(0) == alloc),"unexpected pointer type");
1739 Node *alloc = storestore->in(MemBarNode::Precedent)->in(0); local
1740 assert (alloc
2545 AllocateNode* alloc = proj_in->as_Initialize()->allocation(); local
2721 CallNode *alloc = n->as_Call(); local
[all...]
H A Dstringopts.cpp103 void set_allocation(AllocateNode* alloc) { argument
104 _begin = alloc;
425 AllocateNode* alloc = NULL; local
437 alloc = recv->isa_Allocate();
438 if (alloc == NULL) {
442 Node* result = alloc->result_cast();
443 if (result == NULL || !result->is_CheckCastPP() || alloc->in(TypeFunc::Memory)->is_top()) {
448 alloc->jvms()->dump_spec(tty); tty->cr();
475 alloc->jvms()->dump_spec(tty); tty->cr();
501 alloc
[all...]
H A Dmacro.cpp307 static Node *scan_mem_chain(Node *mem, int alias_idx, int offset, Node *start_mem, Node *alloc, PhaseGVN *phase) { argument
309 Node *alloc_mem = alloc->in(TypeFunc::Memory);
320 if (in->is_Initialize() && in->as_Initialize()->allocation() == alloc) {
342 if (adr_offset == offset && adr_iid == alloc->_idx)
349 if (!ClearArrayNode::step_through(&mem, alloc->_idx, phase)) {
353 assert(alloc == AllocateNode::Ideal_allocation(mem->in(3), phase, offset), "sanity");
354 InitializeNode* init = alloc->as_Allocate()->initialization();
360 return alloc->in(TypeFunc::Memory); // It will produce zero value (see callers).
384 Node *PhaseMacroExpand::value_from_mem_phi(Node *mem, BasicType ft, const Type *phi_type, const TypeOopPtr *adr_t, Node *alloc, Node_Stack *value_phis, int level) { argument
408 Node *alloc_mem = alloc
472 value_from_mem(Node *sfpt_mem, BasicType ft, const Type *ftype, const TypeOopPtr *adr_t, Node *alloc) argument
562 can_eliminate_allocation(AllocateNode *alloc, GrowableArray <SafePointNode *>& safepoints) argument
681 scalar_replacement(AllocateNode *alloc, GrowableArray <SafePointNode *>& safepoints) argument
852 process_users_of_allocation(AllocateNode *alloc) argument
948 eliminate_allocate_node(AllocateNode *alloc) argument
1082 expand_allocate_common( AllocateNode* alloc, Node* length, const TypeFunc* slow_call_type, address slow_call_address ) argument
1547 initialize_object(AllocateNode* alloc, Node* control, Node* rawmem, Node* object, Node* klass_node, Node* length, Node* size_in_bytes) argument
1762 expand_allocate(AllocateNode *alloc) argument
1768 expand_allocate_array(AllocateArrayNode *alloc) argument
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dunpack.h175 fillbytes smallbuf; // supplies small alloc requests
176 fillbytes tsmallbuf; // supplies temporary small alloc requests
400 void* alloc(size_t size) { return alloc_heap(size, true); } function in struct:unpacker
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcompactibleFreeListSpace.cpp2629 HeapWord* CFLS_LAB::alloc(size_t word_sz) { function in class:CFLS_LAB

Completed in 145 milliseconds

12