Searched refs:elem (Results 1 - 25 of 241) sorted by relevance

12345678910

/openjdk7/langtools/test/tools/javac/generics/odersky/
H A DCell.java25 A elem; field in class:Cell
26 Cell(A elem) { argument
27 this.elem = elem;
/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/
H A DTagElement.java38 Element elem; field in class:TagElement
42 public TagElement ( Element elem ) {
43 this(elem, false);
46 public TagElement (Element elem, boolean fictional) { argument
47 this.elem = elem;
48 htmlTag = HTML.getTag(elem.getName());
50 htmlTag = new HTML.UnknownTag(elem.getName());
64 return elem;
H A DTagStack.java49 Element elem; field in class:TagStack
62 this.elem = tag.getElement();
65 Element elem = tag.getElement();
66 if (elem.getContent() != null) {
67 this.state = new ContentModelState(elem.getContent());
79 if (elem.inclusions != null) {
82 inclusions.or(elem.inclusions);
84 inclusions = elem.inclusions;
87 if (elem.exclusions != null) {
90 exclusions.or(elem
133 advance(Element elem) argument
[all...]
H A DDocumentParser.java132 Element elem = tag.getElement();
133 if (elem == dtd.body) {
135 } else if (elem == dtd.html) {
136 } else if (elem == dtd.head) {
138 } else if (elem == dtd.title) {
140 } else if (elem == dtd.style) {
142 } else if (elem == dtd.script) {
180 Element elem = tag.getElement();
181 if (elem == dtd.meta && !ignoreCharSet) {
197 if (inbody != 0 || elem
[all...]
H A DParser.java227 protected TagElement makeTag(Element elem, boolean fictional) { argument
228 return new TagElement(elem, fictional);
231 protected TagElement makeTag(Element elem) { argument
232 return makeTag(elem, false);
395 Element elem = tag.getElement();
402 if (!elem.isEmpty() ||
419 for (AttributeList a = elem.atts ; a != null ; a = a.next) {
424 error("req.att ", a.getName(), elem.getName());
428 if (elem.isEmpty()) {
431 } else if (elem
461 ignoreElement(Element elem) argument
503 markFirstTime(Element elem) argument
524 legalElementContext(Element elem) argument
1339 parseAttributeSpecificationList(Element elem) argument
[all...]
/openjdk7/langtools/test/tools/javac/generics/inference/5070671/
H A DT5070671.java39 int[] elem = arr[0];
41 Arrays.binarySearch(arr, elem, c);
42 Arrays.<int[]>binarySearch(arr, elem, c);
49 Integer[] elem = arr[0];
51 Arrays.binarySearch(arr, elem, c);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DPSVIElementNSImpl.java245 public void setPSVI(ElementPSVI elem) { argument
246 this.fDeclaration = elem.getElementDeclaration();
247 this.fNotation = elem.getNotation();
248 this.fValidationContext = elem.getValidationContext();
249 this.fTypeDecl = elem.getTypeDefinition();
250 this.fSchemaInformation = elem.getSchemaInformation();
251 this.fValidity = elem.getValidity();
252 this.fValidationAttempted = elem.getValidationAttempted();
253 this.fErrorCodes = elem.getErrorCodes();
254 this.fNormalizedValue = elem
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DViewFactory.java42 * @param elem the piece of the document to build a view of
46 public View create(Element elem); argument
H A DElementIterator.java56 * Element elem;
58 * if ((elem = next()) != null) {
60 * System.out.println("elem: " + elem.getName());
92 private StackItem(Element elem) { argument
98 this.item = elem;
213 Element elem = item.getElement();
217 return elem;
220 return elem.getElement(index);
251 Element elem
[all...]
H A DZoneView.java87 * @param elem the element this view is responsible for
90 public ZoneView(Element elem, int axis) { argument
91 super(elem, axis);
286 Element elem = getElement();
287 Document doc = elem.getDocument();
308 Element elem = getElement();
309 int index = elem.getElementIndex(pos + (maxZoneSize / 2));
310 Element child = elem.getElement(index);
379 public Zone(Element elem, Position start, Position end) { argument
380 super(elem, ZoneVie
[all...]
/openjdk7/jdk/test/javax/swing/text/WrappedPlainView/6857057/
H A Dbug6857057.java40 Element elem = new StubBranchElement(" G L Y P H V");
41 GlyphView view = new GlyphView(elem);
42 float pos = elem.getStartOffset();
43 float len = elem.getEndOffset() - pos;
/openjdk7/hotspot/src/share/vm/libadt/
H A Dvectset.hpp65 Set &operator <<=(uint elem); // Add member to set
66 VectorSet operator << (uint elem) // Add member to new set argument
67 { VectorSet foo(*this); foo <<= elem; return foo; } local
68 Set &operator >>=(uint elem); // Delete member from set
69 VectorSet operator >> (uint elem) // Delete member from new set argument
70 { VectorSet foo(*this); foo >>= elem; return foo; } local
95 int operator [](uint elem) const; // Test for membership
119 int test_set( uint elem ) {
120 uint word = elem >> 5; // Get the longword offset
122 return test_set_grow(elem); // The
171 uint elem; // The publically accessible element member in class:VectorSetI
[all...]
H A Dset.hpp136 virtual Set &operator <<=(uint elem)=0;
137 // virtual Set operator << (uint elem);
140 virtual Set &operator >>=(uint elem)=0;
141 // virtual Set operator >> (uint elem);
144 virtual int operator [](uint elem) const=0;
223 // Loop thru all elements of the set, setting "elem" to the element numbers
227 // Usage: for( SetI i(s); i.test(); i++ ) { body = i.elem; } ...OR...
228 // for( i.reset(s); i.test(); i++ ) { body = i.elem; }
242 uint elem; // The publically accessible element member in class:SetI
244 SetI( const Set *s ) { impl = s->iterate(elem); }
[all...]
H A Dvectset.cpp106 Set &VectorSet::operator <<= (uint elem) argument
108 register uint word = elem >> 5; // Get the longword offset
109 register uint32 mask = 1L << (elem & 31); // Get bit mask
112 grow(elem+1); // Then grow it
119 Set &VectorSet::operator >>= (uint elem) argument
121 register uint word = elem >> 5; // Get the longword offset
124 register uint32 mask = 1L << (elem & 31); // Get bit mask
291 int VectorSet::operator[](uint elem) const
293 register uint word = elem >> 5; // Get the longword offset
296 register uint32 mask = 1L << (elem
[all...]
H A Dset.cpp83 if( hi+1 == i.elem ) { // Moving sequentially thru range?
84 hi = i.elem; // Yes, just update hi end of range
97 hi = lo = i.elem;
140 uint elem = (uint)strtoul(s,&u,10);// Get element local
147 (*this) <<= elem; // Insert the simple element into the Set
152 for( i=elem; i<=hi; i++ )
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DBRView.java39 * @param elem the element to create a view for
41 public BRView(Element elem) { argument
42 super(elem);
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_Ports.c42 snd_mixer_elem_t* elem; member in struct:__anon949
237 snd_mixer_elem_t *elem; local
246 for (elem = snd_mixer_first_elem(portMixer->mixer_handle); elem; elem = snd_mixer_elem_next(elem)) {
247 if (!snd_mixer_selem_is_active(elem))
250 snd_mixer_selem_get_name(elem),
251 snd_mixer_selem_get_index(elem));
252 if (snd_mixer_selem_has_playback_volume(elem)) {
353 createVolumeControl(PortControlCreator* creator, PortControl* portControl, snd_mixer_elem_t* elem, int isPlayback) argument
377 snd_mixer_elem_t* elem; local
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_Ports.c42 snd_mixer_elem_t* elem; member in struct:__anon950
237 snd_mixer_elem_t *elem; local
246 for (elem = snd_mixer_first_elem(portMixer->mixer_handle); elem; elem = snd_mixer_elem_next(elem)) {
247 if (!snd_mixer_selem_is_active(elem))
250 snd_mixer_selem_get_name(elem),
251 snd_mixer_selem_get_index(elem));
252 if (snd_mixer_selem_has_playback_volume(elem)) {
353 createVolumeControl(PortControlCreator* creator, PortControl* portControl, snd_mixer_elem_t* elem, int isPlayback) argument
377 snd_mixer_elem_t* elem; local
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextAreaUI.java142 * @param elem the element
145 public View create(Element elem) { argument
146 Document doc = elem.getDocument();
150 return createI18N(elem);
157 v = new WrappedPlainView(elem, area.getWrapStyleWord());
159 v = new PlainView(elem);
167 View createI18N(Element elem) { argument
168 String kind = elem.getName();
171 return new PlainParagraph(elem);
173 return new BoxView(elem, Vie
232 PlainParagraph(Element elem) argument
316 LogicalView(Element elem) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1MMUTracker.cpp67 G1MMUTrackerQueueElem *elem = &_array[index]; local
68 if (elem->end_time() > limit) {
69 if (elem->start_time() > limit)
70 gc_time += elem->duration();
72 gc_time += elem->end_time() - limit;
173 G1MMUTrackerQueueElem *elem = &_array[index]; local
174 if (elem->end_time() > limit) {
175 if (elem->start_time() > limit)
176 diff -= elem->duration();
178 diff -= elem
[all...]
/openjdk7/jdk/test/javax/xml/crypto/dsig/keyinfo/KeyInfo/
H A DMarshal.java56 Element elem = doc.createElementNS("http://acme.org", "parent");
57 doc.appendChild(elem);
58 DOMStructure parent = new DOMStructure(elem);
61 Element kiElem = DOMUtils.getFirstChildElement(elem);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListModel.java187 * @param elem an object
192 public boolean contains(Object elem) { argument
193 return delegate.contains(elem);
197 * Searches for the first occurrence of <code>elem</code>.
199 * @param elem an object
204 public int indexOf(Object elem) { argument
205 return delegate.indexOf(elem);
209 * Searches for the first occurrence of <code>elem</code>, beginning
212 * @param elem an desired component
214 * @return the index where the first occurrence of <code>elem</cod
219 indexOf(Object elem, int index) argument
231 lastIndexOf(Object elem) argument
246 lastIndexOf(Object elem, int index) argument
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A DgrowableArray.hpp205 int append(const E& elem) { argument
209 _data[idx] = elem;
213 bool append_if_missing(const E& elem) { argument
214 // Returns TRUE if elem is added.
215 bool missed = !contains(elem);
216 if (missed) append(elem);
240 void push(const E& elem) { append(elem); } argument
247 void at_put(int i, const E& elem) { argument
249 _data[i] = elem;
264 at_put_grow(int i, const E& elem, const E& fill = E()) argument
299 remove(const E& elem) argument
327 insert_before(const int idx, const E& elem) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/
H A DMessages.java118 String elem = (String) elems.nextElement ();
119 int i = elem.indexOf (LTB);
123 elem = " " + elem.substring (2);
125 elem = elem.substring (0, i) + " " + elem.substring (i+2);
127 i = elem.indexOf (LTB);
130 for (i=0; i<elem.length (); i++) {
131 if (elem
[all...]
/openjdk7/jdk/make/tools/src/build/tools/dtdbuilder/
H A DDTDBuilder.java175 public void saveElement(DataOutputStream out, Element elem) throws IOException { argument
177 out.writeShort(getNameId(elem.getName()));
178 out.writeByte(elem.getType());
181 if (elem.omitStart()) {
184 if (elem.omitEnd()) {
188 saveContentModel(out, elem.getContent());
191 if (elem.exclusions == null) {
195 for (int i = 0 ; i < elem.exclusions.size() ; i++) {
196 if (elem.exclusions.get(i)) {
201 for (int i = 0 ; i < elem
[all...]

Completed in 320 milliseconds

12345678910