Searched +refs:val +refs:index (Results 1 - 25 of 202) sorted by relevance

123456789

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/tree/
H A DBooleanTreeNodeAdapter.java32 private boolean val; field in class:BooleanTreeNodeAdapter
34 public BooleanTreeNodeAdapter(boolean val, FieldIdentifier id) { argument
35 this(val, id, false);
38 public BooleanTreeNodeAdapter(boolean val, FieldIdentifier id, boolean treeTableMode) { argument
40 this.val = val;
47 public SimpleTreeNode getChild(int index) { argument
60 return (val ? "true" : "false");
H A DCharTreeNodeAdapter.java32 private char val; field in class:CharTreeNodeAdapter
34 public CharTreeNodeAdapter(char val, FieldIdentifier id) { argument
35 this(val, id, false);
38 public CharTreeNodeAdapter(char val, FieldIdentifier id, boolean treeTableMode) { argument
40 this.val = val;
47 public SimpleTreeNode getChild(int index) { argument
60 return "'" + val + "'";
H A DDoubleTreeNodeAdapter.java32 private double val; field in class:DoubleTreeNodeAdapter
34 public DoubleTreeNodeAdapter(double val, FieldIdentifier id) { argument
35 this(val, id, false);
38 public DoubleTreeNodeAdapter(double val, FieldIdentifier id, boolean treeTableMode) { argument
40 this.val = val;
47 public SimpleTreeNode getChild(int index) { argument
60 return Double.toString(val);
H A DFloatTreeNodeAdapter.java32 private float val; field in class:FloatTreeNodeAdapter
34 public FloatTreeNodeAdapter(float val, FieldIdentifier id) { argument
35 this(val, id, false);
38 public FloatTreeNodeAdapter(float val, FieldIdentifier id, boolean treeTableMode) { argument
40 this.val = val;
47 public SimpleTreeNode getChild(int index) { argument
60 return Float.toString(val);
H A DLongTreeNodeAdapter.java32 private long val; field in class:LongTreeNodeAdapter
35 public LongTreeNodeAdapter(long val, FieldIdentifier id) { argument
36 this(val, id, false);
39 public LongTreeNodeAdapter(long val, FieldIdentifier id, boolean treeTableMode) { argument
41 this.val = val;
56 public SimpleTreeNode getChild(int index) { argument
70 return "0x" + Long.toHexString(val);
72 return Long.toString(val);
H A DCStringTreeNodeAdapter.java32 private String val; field in class:CStringTreeNodeAdapter
34 public CStringTreeNodeAdapter(String val, FieldIdentifier id) { argument
35 this(val, id, false);
38 public CStringTreeNodeAdapter(String val, FieldIdentifier id, boolean treeTableMode) { argument
40 this.val = val;
47 public SimpleTreeNode getChild(int index) { argument
60 return "\"" + val + "\"";
H A DRootTreeNodeAdapter.java32 private String val; field in class:RootTreeNodeAdapter
34 public RootTreeNodeAdapter(String val, FieldIdentifier id) { argument
35 this(val, id, false);
39 public RootTreeNodeAdapter(String val, FieldIdentifier id, boolean treeTableMode) { argument
41 this.val = val;
48 public SimpleTreeNode getChild(int index) { argument
61 return val;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/tree/
H A DAddressTreeNodeAdapter.java34 private Address val; field in class:AddressTreeNodeAdapter
36 public AddressTreeNodeAdapter(Address val, FieldIdentifier id) { argument
37 this(val, id, false);
40 public AddressTreeNodeAdapter(Address val, FieldIdentifier id, boolean treeTableMode) { argument
42 this.val = val;
49 public SimpleTreeNode getChild(int index) { argument
62 if (val != null) {
63 return val.toString();
H A DDoubleTreeNodeAdapter.java33 private double val; field in class:DoubleTreeNodeAdapter
35 public DoubleTreeNodeAdapter(double val, FieldIdentifier id) { argument
36 this(val, id, false);
39 public DoubleTreeNodeAdapter(double val, FieldIdentifier id, boolean treeTableMode) { argument
41 this.val = val;
48 public SimpleTreeNode getChild(int index) { argument
61 return Double.toString(val);
H A DFloatTreeNodeAdapter.java33 private float val; field in class:FloatTreeNodeAdapter
35 public FloatTreeNodeAdapter(float val, FieldIdentifier id) { argument
36 this(val, id, false);
39 public FloatTreeNodeAdapter(float val, FieldIdentifier id, boolean treeTableMode) { argument
41 this.val = val;
48 public SimpleTreeNode getChild(int index) { argument
61 return Float.toString(val);
H A DLongTreeNodeAdapter.java33 private long val; field in class:LongTreeNodeAdapter
35 public LongTreeNodeAdapter(long val, FieldIdentifier id) { argument
36 this(val, id, false);
39 public LongTreeNodeAdapter(long val, FieldIdentifier id, boolean treeTableMode) { argument
41 this.val = val;
48 public SimpleTreeNode getChild(int index) { argument
61 return Long.toString(val);
H A DObjectTreeNodeAdapter.java63 public SimpleTreeNode getChild(int index) { argument
68 Fetcher f = new Fetcher(index);
100 public void doBit(FieldIdentifier f, long val) { ++numFields; } argument
101 public void doInt(FieldIdentifier f, long val) { ++numFields; } argument
102 public void doEnum(FieldIdentifier f, long val, String enumName) { ++numFields; } argument
103 public void doFloat(FieldIdentifier f, float val) { ++numFields; } argument
104 public void doDouble(FieldIdentifier f, double val) { ++numFields; } argument
105 public void doPointer(FieldIdentifier f, Address val) { ++numFields; } argument
106 public void doArray(FieldIdentifier f, Address val) { ++numFields; } argument
107 public void doRef(FieldIdentifier f, Address val) { argument
113 private int index; field in class:ObjectTreeNodeAdapter.Fetcher
117 Fetcher(int index) argument
125 doBit(FieldIdentifier f, long val) argument
132 doInt(FieldIdentifier f, long val) argument
139 doEnum(FieldIdentifier f, long val, String enumName) argument
146 doFloat(FieldIdentifier f, float val) argument
153 doDouble(FieldIdentifier f, double val) argument
160 doPointer(FieldIdentifier f, Address val) argument
167 doArray(FieldIdentifier f, Address val) argument
174 doRef(FieldIdentifier f, Address val) argument
181 doCompound(FieldIdentifier f, Address val) argument
193 private int index = -1; field in class:ObjectTreeNodeAdapter.Finder
204 doBit(FieldIdentifier f, long val) argument
205 doInt(FieldIdentifier f, long val) argument
206 doEnum(FieldIdentifier f, long val, String enumName) argument
208 doFloat(FieldIdentifier f, float val) argument
209 doDouble(FieldIdentifier f, double val) argument
210 doPointer(FieldIdentifier f, Address val) argument
211 doArray(FieldIdentifier f, Address val) argument
212 doRef(FieldIdentifier f, Address val) argument
213 doCompound(FieldIdentifier f, Address val) argument
[all...]
H A DEnumTreeNodeAdapter.java33 private long val; field in class:EnumTreeNodeAdapter
36 public EnumTreeNodeAdapter(String enumName, long val, FieldIdentifier id) { argument
37 this(enumName, val, id, false);
40 public EnumTreeNodeAdapter(String enumName, long val, FieldIdentifier id, boolean treeTableMode) { argument
43 this.val = val;
50 public SimpleTreeNode getChild(int index) { argument
66 return Long.toString(val);
/openjdk7/hotspot/src/share/vm/oops/
H A DfieldInfo.hpp59 void set_name_index(u2 val) { _shorts[name_index_offset] = val; } argument
60 void set_signature_index(u2 val) { _shorts[signature_index_offset] = val; } argument
61 void set_initval_index(u2 val) { _shorts[initval_index_offset] = val; } argument
68 static FieldInfo* from_field_array(typeArrayOop fields, int index) { argument
69 return ((FieldInfo*)fields->short_at_addr(index * field_slots));
71 static FieldInfo* from_field_array(u2* fields, int index) { argument
72 return ((FieldInfo*)(fields + index * field_slot
91 int index = name_index(); local
99 int index = signature_index(); local
106 set_access_flags(u2 val) argument
107 set_offset(u4 val) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DJavaLazyReadObject.java118 // read object ID from given index from given byte array
119 protected final long objectIdAt(int index, byte[] data) { argument
122 return ((long)intAt(index, data)) & Snapshot.SMALL_ID_MASK;
124 return longAt(index, data);
129 protected static byte byteAt(int index, byte[] value) { argument
130 return value[index];
133 protected static boolean booleanAt(int index, byte[] value) { argument
134 return (value[index] & 0xff) == 0? false: true;
137 protected static char charAt(int index, byte[] value) { argument
138 int b1 = ((int) value[index
143 shortAt(int index, byte[] value) argument
149 intAt(int index, byte[] value) argument
157 longAt(int index, byte[] value) argument
167 floatAt(int index, byte[] value) argument
172 doubleAt(int index, byte[] value) argument
[all...]
H A DJavaValueArray.java207 int index = 0;
212 res[i] = booleanAt(index, data);
213 index++;
220 res[i] = byteAt(index, data);
221 index++;
228 res[i] = charAt(index, data);
229 index += 2;
236 res[i] = shortAt(index, data);
237 index += 2;
244 res[i] = intAt(index, dat
283 checkIndex(int index) argument
295 getBooleanAt(int index) argument
301 getByteAt(int index) argument
307 getCharAt(int index) argument
313 getShortAt(int index) argument
319 getIntAt(int index) argument
325 getLongAt(int index) argument
331 getFloatAt(int index) argument
337 getDoubleAt(int index) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DZoneInfoFile.java601 int index = 0;
612 for (index = 0; index < JAVAZI_LABEL.length; index++) {
613 if (buf[index] != JAVAZI_LABEL[index]) {
618 if (buf[index++] > JAVAZI_VERSION) {
620 + buf[index - 1] + "): " + id);
624 while (index < filesize) {
625 byte tag = buf[index
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/
H A DVariableStack.java86 * The bottom index of the current frame (relative to <code>_stackFrames</code>).
105 * Get the element at the given index, regardless of stackframe.
107 * @param i index from zero.
109 * @return The item at the given index.
236 * @param index Local variable index relative to the current stack
239 * @param val The value of the variable that is being set.
241 public void setLocalVariable(int index, XObject val) argument
243 _stackFrames[index
256 setLocalVariable(int index, XObject val, int stackFrame) argument
275 getLocalVariable(XPathContext xctxt, int index) argument
307 getLocalVariable(int index, int frame) argument
332 getLocalVariable(XPathContext xctxt, int index, boolean destructiveOK) argument
362 isLocalSet(int index) argument
396 setGlobalVariable(final int index, final XObject val) argument
415 getGlobalVariable(XPathContext xctxt, final int index) argument
442 getGlobalVariable(XPathContext xctxt, final int index, boolean destructiveOK) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/
H A DCacheTable.java38 int val; field in class:CacheTable.Entry
43 val = v;
85 put_table(e.key, e.val);
100 private int hash(int val) { argument
101 return moduloTableSize(val);
103 public final void put(java.lang.Object key, int val) { argument
104 if (put_table(key, val)) {
110 private boolean put_table(java.lang.Object key, int val) { argument
111 int index = hash(key);
112 for (Entry e = map[index];
145 containsVal(int val) argument
148 containsOrderedVal(int val) argument
151 getKey(int val) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/util/
H A DIPAddressUtil.java48 long val;
57 val = Long.parseLong(s[0]);
58 if (val < 0 || val > 0xffffffffL)
60 res[0] = (byte) ((val >> 24) & 0xff);
61 res[1] = (byte) (((val & 0xffffff) >> 16) & 0xff);
62 res[2] = (byte) (((val & 0xffff) >> 8) & 0xff);
63 res[3] = (byte) (val & 0xff);
74 val = Integer.parseInt(s[0]);
75 if (val <
[all...]
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/
H A DJvmMemPoolEntryImpl.java59 * "An index value opaquely computed by the agent which uniquely
181 public JvmMemPoolEntryImpl(MemoryPoolMXBean mp, final int index) { argument
183 this.jvmMemPoolIndex = index;
184 this.entryMemoryTag = memoryTag + "." + index;
185 this.entryPeakMemoryTag = peakMemoryTag + "." + index;
186 this.entryCollectMemoryTag = collectMemoryTag + "." + index;
193 final long val = getMemoryUsage().getMax();
194 if (val > -1) return new Long(val);
202 final long val
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvframe_hp.cpp80 jvmtiDeferredLocalVariable* val = deferred->at(l); local
81 switch (val->type()) {
83 result->set_int_at(val->index(), val->value().z);
86 result->set_int_at(val->index(), val->value().c);
89 result->set_float_at(val->index(), va
127 update_local(BasicType type, int index, jvalue value) argument
343 set_local_at(int idx, BasicType type, jvalue val) argument
365 jvmtiDeferredLocalVariable(int index, BasicType type, jvalue value) argument
[all...]
H A DstackValueCollection.cpp44 intptr_t val = at(slot)->get_int(); local
45 jint ival = *((jint*) (&val));
92 intptr_t val; local
93 *((jint*) (&val)) = value;
94 at(slot)->set_int(val);
122 } val; local
124 val.array[0] = *(jint*)(&value);
125 val.array[1] = 0;
126 at(slot)->set_int(val.jd);
150 for(int index
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DAttributesImplSerializer.java34 * faster lookup of an index by qName, which is commonly done in the stream
44 * Hash table of qName/index values to quickly lookup the index
48 * The keys to the hashtable to find the index are either
68 * This method gets the index of an attribute given its qName.
70 * @return the integer index of the attribute.
75 int index;
81 index = super.getIndex(qname);
82 return index;
88 index
105 addAttribute( String uri, String local, String qname, String type, String val) argument
[all...]
/openjdk7/corba/src/share/classes/org/omg/CORBA/
H A DNVList.java82 * at a given index, and a method for removing a <code>NamedValue</code> object
83 * at a given index.
139 * @param val an <code>Any</code> object containing the value
147 public abstract NamedValue add_value(String item_name, Any val, int flags); argument
150 * Retrieves the <code>NamedValue</code> object at the given index.
152 * @param index the index of the desired <code>NamedValue</code> object,
154 * minus one, inclusive. The first item is at index zero.
155 * @return the <code>NamedValue</code> object at the given index
156 * @exception org.omg.CORBA.Bounds if the index i
160 item(int index) argument
176 remove(int index) argument
[all...]

Completed in 328 milliseconds

123456789