Searched defs:index (Results 376 - 400 of 1255) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DgcTaskThread.cpp67 GCTaskTimeStamp* GCTaskThread::time_stamp_at(uint index) { argument
68 guarantee(index < GCTaskTimeStampEntries, "increase GCTaskTimeStampEntries");
70 return &(_time_stamps[index]);
/openjdk7/hotspot/src/share/vm/oops/
H A DobjArrayOop.hpp40 template <class T> T* obj_at_addr(int index) const {
41 assert(is_within_bounds(index), "index out of bounds");
42 return &((T*)base())[index];
81 oop obj_at(int index) const {
85 return load_decode_heap_oop(obj_at_addr<narrowOop>(index));
87 return load_decode_heap_oop(obj_at_addr<oop>(index));
91 void obj_at_put(int index, oop value) { argument
93 oop_store(obj_at_addr<narrowOop>(index), value);
95 oop_store(obj_at_addr<oop>(index), valu
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpCounter64.java123 * Extracts the counter from an index OID and returns its
125 * @param index The index array.
126 * @param start The position in the index array.
131 public static SnmpOid toOid(long[] index, int start) throws SnmpStatusException { argument
133 return new SnmpOid(index[start]) ;
141 * Scans an index OID, skips the counter value and returns the position
143 * @param index The index array.
144 * @param start The position in the index arra
149 nextOid(long[] index, int start) argument
[all...]
H A DSnmpInt.java169 * Extracts the integer from an index OID and returns its
171 * @param index The index array.
172 * @param start The position in the index array.
177 public static SnmpOid toOid(long[] index, int start) throws SnmpStatusException { argument
179 return new SnmpOid(index[start]) ;
187 * Scans an index OID, skips the integer value and returns the position
189 * @param index The index array.
190 * @param start The position in the index arra
195 nextOid(long[] index, int start) argument
[all...]
H A DSnmpIpAddress.java130 * Extracts the ip address from an index OID and returns its
132 * @param index The index array.
133 * @param start The position in the index array.
138 public static SnmpOid toOid(long[] index, int start) throws SnmpStatusException { argument
139 if (start + 4 <= index.length) {
142 index[start],
143 index[start+1],
144 index[start+2],
145 index[star
165 nextOid(long[] index, int start) argument
[all...]
H A DSnmpString.java169 * Extracts the string from an index OID and returns its
171 * @param index The index array.
172 * @param start The position in the index array.
177 public static SnmpOid toOid(long[] index, int start) throws SnmpStatusException { argument
179 if (index[start] > Integer.MAX_VALUE) {
182 int strLen = (int)index[start++] ;
185 ids[i] = index[start + i] ;
195 * Scans an index OID, skips the string value and returns the position
197 * @param index Th
203 nextOid(long[] index, int start) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAbstractMidiDeviceProvider.java136 int index = thisInfo.getIndex();
137 if (index >= 0 && index < devices.length && infos[index] == info) {
138 if (devices[index] == null) {
139 devices[index] = createDevice(thisInfo);
141 if (devices[index] != null) {
142 return devices[index];
156 * Info class for MidiDevices. Adds an index value for
160 private int index; field in class:AbstractMidiDeviceProvider.Info
162 Info(String name, String vendor, String description, String version, int index) argument
179 setIndex(int index) argument
194 createInfo(int index) argument
[all...]
H A DDirectAudioDeviceProvider.java129 int index = info.getIndex();
130 if (devices[index] == null) {
131 devices[index] = new DirectAudioDevice(info);
133 return devices[index];
140 * Info class for DirectAudioDevices. Adds an index value and a string for
145 private final int index; field in class:DirectAudioDeviceProvider.DirectAudioDeviceInfo
148 // For ALSA, the deviceID contains the encoded card index, device index, and sub-device-index
151 private DirectAudioDeviceInfo(int index, in argument
[all...]
H A DMidiInDevice.java58 int index = ((MidiInDeviceProvider.MidiInDeviceInfo)getDeviceInfo()).getIndex();
59 id = nOpen(index); // can throw MidiUnavailableException
184 private native long nOpen(int index) throws MidiUnavailableException; argument
H A DMidiInDeviceProvider.java66 AbstractMidiDeviceProvider.Info createInfo(int index) { argument
70 return new MidiInDeviceInfo(index, MidiInDeviceProvider.class);
111 private MidiInDeviceInfo(int index, Class providerClass) { argument
112 super(nGetName(index), nGetVendor(index), nGetDescription(index), nGetVersion(index), index);
122 private static native String nGetName(int index); argument
123 private static native String nGetVendor(int index); argument
124 nGetDescription(int index) argument
125 nGetVersion(int index) argument
[all...]
H A DMidiOutDevice.java53 int index = ((AbstractMidiDeviceProvider.Info)getDeviceInfo()).getIndex();
54 id = nOpen(index); // can throw MidiUnavailableException
169 private native long nOpen(int index) throws MidiUnavailableException; argument
H A DMidiOutDeviceProvider.java66 AbstractMidiDeviceProvider.Info createInfo(int index) { argument
70 return new MidiOutDeviceInfo(index, MidiOutDeviceProvider.class);
109 private MidiOutDeviceInfo(int index, Class providerClass) { argument
110 super(nGetName(index), nGetVendor(index), nGetDescription(index), nGetVersion(index), index);
120 private static native String nGetName(int index); argument
121 private static native String nGetVendor(int index); argument
122 nGetDescription(int index) argument
123 nGetVersion(int index) argument
[all...]
H A DPortMixerProvider.java119 int index = info.getIndex();
120 if (devices[index] == null) {
121 devices[index] = new PortMixer(info);
123 return devices[index];
130 * Info class for PortMixers. Adds an index value for
135 private final int index; field in class:PortMixerProvider.PortMixerInfo
137 private PortMixerInfo(int index, String name, String vendor, String description, String version) { argument
139 this.index = index;
143 return index;
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DThreadInfo.java79 public StackFrame getFrame(int index) throws VMNotInterruptedException { argument
83 return thread.frame(index);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DMonitorTool.java73 int index = list.getSelectedIndex();
74 if (index != -1) {
105 int index,
114 super.getListCellRendererComponent(list, value, index,
103 getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
/openjdk7/hotspot/src/os/bsd/dtrace/
H A DgenerateJvmOffsets.cpp98 #Type #Name, index++); \
113 #Type, index++); \
126 printf("#define IDX_%-40s %d\n", #String, index++); \
169 int index = 0; /* It is used to generate JvmOffsetsIndex.h */ local
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DFilterChain.java59 public Filter getFilterAt(int index) { argument
60 assert index >= 0 && index < filters.size();
61 return filters.get(index);
126 int index = filters.indexOf(filter);
127 if (index != 0) {
128 filters.remove(index);
129 filters.add(index - 1, filter);
138 int index = filters.indexOf(filter);
139 if (index !
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DSlotWidget.java120 protected double calculateRelativeY(int size, int index) { argument
121 assert index >= 0 && index < size;
124 return height * (index + 1) / (size + 1);
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DUtility.java32 static byte peekByte(String s, int index) { argument
33 char c = s.charAt(index/2);
34 return ((index&1)==0)?(byte)(c>>8):(byte)c;
37 static short peekShort(String s, int index) { argument
38 return (short)s.charAt(index);
41 static int peekInt(String s, int index) { argument
42 index *= 2;
43 return (((int)s.charAt(index)) << 16) | s.charAt(index+1);
46 static void poke(String s, int index, byt argument
66 poke(String s, int index, short value) argument
78 poke(String s, int index, int value) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneContrastUI.java95 protected boolean isPressedAt(int index) { argument
96 return ((MouseHandler)mouseListener).trackingTab == index;
103 protected State getState(final int index, final boolean frameActive, final boolean isSelected) { argument
106 if (pressedTab == index) return State.PRESSED;
110 protected SegmentTrailingSeparator getSegmentTrailingSeparator(final int index, final int selectedIndex, final boolean isLeftToRight) { argument
111 if (isTabBeforeSelectedTab(index, selectedIndex, isLeftToRight)) return SegmentTrailingSeparator.NO;
115 protected SegmentLeadingSeparator getSegmentLeadingSeparator(final int index, final int selectedIndex, final boolean isLeftToRight) { argument
116 if (index == selectedIndex) return SegmentLeadingSeparator.YES;
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWChoicePeer.java92 public void add(final String item, final int index) { argument
94 getDelegate().insertItemAt(item, index);
99 public void remove(final int index) { argument
103 getDelegate().removeItemAt(index);
116 public void select(final int index) { argument
118 if (index != getDelegate().getSelectedIndex()) {
120 getDelegate().setSelectedIndex(index);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCMenu.java86 public void delItem(int index) { argument
87 nativeDeleteItem(getModel(), index);
114 private native void nativeDeleteItem(long menuPtr, int index); argument
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/
H A DPropertyElementHandler.java43 * If the {@code index} attribute is specified
51 * &lt;property name="object" index="10"/&gt;</pre>
70 * <dt>index
71 * <dd>the property index
84 private Integer index; field in class:PropertyElementHandler
92 * <dt>index
93 * <dd>the property index
103 if (name.equals("index")) { // NON-NLS: the attribute name
104 this.index = Integer.valueOf(value);
132 return getPropertyValue(getContextBean(), name, this.index);
170 getPropertyValue(Object bean, String name, Integer index) argument
195 setPropertyValue(Object bean, String name, Integer index, Object value) argument
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DfieldDescriptor.cpp64 return typeArrayOop(md->obj_at(index()));
91 void fieldDescriptor::initialize(klassOop k, int index) { argument
94 FieldInfo* f = ik->field(index);
98 guarantee(f->name_index() != 0 && f->signature_index() != 0, "bad constant pool index for fieldDescriptor");
99 _index = index;
H A DregisterMap.hpp105 int index = reg->value() / location_valid_type_size; local
107 assert(0 <= index && index < location_valid_size, "range check");
108 if (_location_valid[index] & ((LocationValidType)1 << (reg->value() % location_valid_type_size))) {
116 int index = reg->value() / location_valid_type_size; local
118 assert(0 <= index && index < location_valid_size, "range check");
121 _location_valid[index] |= ((LocationValidType)1 << (reg->value() % location_valid_type_size));

Completed in 72 milliseconds

<<11121314151617181920>>