Searched refs:comps (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/test/com/sun/jndi/cosnaming/
H A DCNNameParser.java20 private static void checkName(Name name, String[] comps) throws Exception { argument
21 if (name.size() != comps.length) {
24 "expecting " + comps.length + " got " + name.size());
27 if (!comps[i].equals(name.get(i))) {
30 "expecting '" + comps[i] + "' got '" + name.get(i) + "'");
36 String input, String[] comps) throws Exception {
37 checkName(parser.parse(input), comps);
35 checkCompound(NameParser parser, String input, String[] comps) argument
/openjdk7/jdk/src/share/classes/javax/naming/
H A DCompositeName.java208 * specified by 'comps'. This protected method is intended to be
212 * @param comps A non-null enumeration containing the components for the new
217 protected CompositeName(Enumeration<String> comps) { argument
218 impl = new NameImpl(null, comps); // null means use default syntax
397 Enumeration comps = impl.getPrefix(posn);
398 return (new CompositeName(comps));
415 Enumeration comps = impl.getSuffix(posn);
416 return (new CompositeName(comps));
566 Enumeration comps = getAll();
567 while (comps
[all...]
H A DCompoundName.java168 * specified in comps and syntax. This protected method is intended to be
172 * @param comps A non-null enumeration of the components to add.
180 protected CompoundName(Enumeration<String> comps, Properties syntax) { argument
185 impl = new NameImpl(syntax, comps);
379 Enumeration comps = impl.getPrefix(posn);
380 return (new CompoundName(comps, mySyntax));
399 Enumeration comps = impl.getSuffix(posn);
400 return (new CompoundName(comps, mySyntax));
560 Enumeration comps = getAll();
561 while (comps
[all...]
H A DNameImpl.java100 private final int extractComp(String name, int i, int len, Vector comps) argument
208 comps.insertElementAt(answer.toString(), 0);
210 comps.addElement(answer.toString());
307 NameImpl(Properties syntax, Enumeration comps) { argument
310 // %% comps could shrink in the middle.
311 while (comps.hasMoreElements())
312 components.addElement(comps.nextElement());
478 Enumeration comps = target.getAll();
480 // %% comps could shrink in the middle.
482 String his = (String)comps
632 addAll(Enumeration comps) argument
650 addAll(int posn, Enumeration comps) argument
[all...]
H A DReference.java335 Enumeration comps = target.getAll();
337 if (!(mycomps.nextElement().equals(comps.nextElement())))
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGImageMetadataFormat.java237 List comps = new ArrayList();
238 comps.add("1");
239 comps.add("2");
240 comps.add("3");
241 comps.add("4");
247 comps);
289 comps);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunGraphicsCallback.java85 public final void runComponents(Component[] comps, Graphics g, argument
87 int ncomponents = comps.length;
108 runOneComponent(comps[i], null, g, clip, LIGHTWEIGHTS);
111 runOneComponent(comps[i], null, g, clip, HEAVYWEIGHTS);
115 runOneComponent(comps[i], null, g, clip, weightFlags);
/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/
H A DCNNameParser.java70 Vector comps = insStringToStringifiedComps(name);
71 return new CNCompoundName(comps.elements());
318 Enumeration comps = super.getPrefix(posn).getAll();
319 return new CNCompoundName(comps);
323 Enumeration comps = super.getSuffix(posn).getAll();
324 return new CNCompoundName(comps);
373 private static void checkName(Name name, String[] comps) throws Exception {
374 if (name.size() != comps.length) {
377 "expecting " + comps.length + " got " + name.size());
380 if (!comps[
[all...]
H A DCNBindingEnumeration.java231 NameComponent[] comps = _ctx.makeFullName(bndg.binding_name);
232 String fullName = CNNameParser.cosNameToInsString(comps);
/openjdk7/jdk/test/java/awt/Graphics2D/MTGraphicsAccessTest/
H A DMTGraphicsAccessTest.java67 static final AlphaComposite comps[] = { field in class:MTGraphicsAccessTest
258 AlphaComposite comp = comps[c++ % comps.length];
/openjdk7/jdk/src/share/classes/javax/naming/ldap/
H A DLdapName.java460 Enumeration comps = suffix.getAll();
461 while (comps.hasMoreElements()) {
463 (new Rfc2253Parser((String) comps.nextElement()).
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthDesktopPaneUI.java203 Component[] comps = target.getComponents();
204 int n = comps.length;
208 for (Component c : comps) {
219 for (Component c : comps) {
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DObjectIdentifier.java121 int[] comps = toIntArray();
122 if (comps != null) { // every one understands this
123 components = comps;
124 componentLen = comps.length;
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/
H A DHierMemDirCtx.java882 HierarchicalName(Enumeration comps, Properties syntax) { argument
883 super(comps, syntax);
910 Enumeration comps = super.getPrefix(posn).getAll();
911 return (new HierarchicalName(comps, mySyntax));
915 Enumeration comps = super.getSuffix(posn).getAll();
916 return (new HierarchicalName(comps, mySyntax));
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapName.java289 Enumeration comps = suffix.getAll();
290 while (comps.hasMoreElements()) {
291 DnParser p = new DnParser((String)comps.nextElement(),
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJViewport.java1691 Component comps[] = parent.getComponents();
1694 for(int i = comps.length - 1 ;i >= 0; i--) {
1695 if(comps[i] == lastParent) {
1702 tmp2 = comps[index].getBounds(tmp2);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Component.cpp6098 AwtComponent** comps = (AwtComponent**)param; local
6099 if ((comps[0] != NULL) && (comps[1] != NULL)) {
6100 HWND selfWnd = comps[0]->GetHWnd();
6101 HWND parentWnd = comps[1]->GetHWnd();
6108 delete[] comps;
6891 AwtComponent** comps = new PComponent[2]; local
6894 comps[0] = comp;
6895 comps[1] = parentComp;
6897 AwtToolkit::GetInstance().SyncCall(AwtComponent::SetParent, comps);
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/
H A DFilePane.java1753 Component[] comps = viewMenu.getMenuComponents();
1754 for (Component comp : comps) {

Completed in 85 milliseconds