Searched refs:prefix (Results 1 - 25 of 69) sorted by relevance

123

/libcore/ojluni/src/main/java/sun/security/x509/
H A DX509AttributeName.java39 private String prefix = null; field in class:X509AttributeName
51 prefix = name;
53 prefix = name.substring(0, i);
59 * Return the prefix of the name.
62 return (prefix);
/libcore/ojluni/src/main/java/java/net/
H A DDefaultDatagramSocketImplFactory.java32 * by setting the impl.prefix system property.
41 String prefix = null;
43 prefix = AccessController.doPrivileged(
44 new sun.security.action.GetPropertyAction("impl.prefix", null));
45 if (prefix != null)
46 prefixImplClass = Class.forName("java.net."+prefix+"DatagramSocketImpl");
49 prefix +
50 "DatagramSocketImpl: check impl.prefix property");
/libcore/support/src/test/java/libcore/sun/security/x509/
H A DUtils.java30 * @param prefix prefix in all toString results
36 String prefix,
38 testWithEachSinglePart(parts, objectCreator, prefix, suffix);
39 testWithAllParts(parts, objectCreator, prefix, suffix);
40 testWithNoParts(parts, objectCreator, prefix, suffix);
41 testWithEveryOtherPart(parts, objectCreator, prefix, suffix);
45 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) {
56 assertEquals(prefix + parts[i] + suffix, o.toString());
61 String[] parts, Function<byte[], Object> objectCreator, String prefix, Strin
33 test_toString_bitArrayBasedClass( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument
44 testWithEachSinglePart( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument
60 testWithAllParts( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument
73 testWithNoParts( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument
82 testWithEveryOtherPart( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DAttrImpl.java43 String prefix; field in class:AttrImpl
64 return prefix != null
65 ? prefix + ":" + localName
94 return prefix;
106 public void setPrefix(String prefix) { argument
107 this.prefix = validatePrefix(prefix, namespaceAware, namespaceURI);
/libcore/luni/src/main/java/javax/xml/namespace/
H A DNamespaceContext.java30 * Namespace name expressed as a URI to which the prefix is bound</li>
31 * <li>prefix: syntactically, this is the part of the attribute name
35 * <p> example: <code>&lt;element xmlns:prefix="http://Namespace-name-URI"&gt;</code></p>
38 * for Namespace URI and prefix resolution.</p>
60 * <p>A prefix can only be bound to a <strong>single</strong>
75 * <p>Get Namespace URI bound to a prefix in the current scope.</p>
77 * <p>When requesting a Namespace URI by prefix, the following
79 * possible prefix values:</p>
85 * <code>getNamespaceURI(prefix)</code>
90 * <td>prefix paramete
129 getNamespaceURI(String prefix) argument
[all...]
H A DQName.java39 * <strong>prefix</strong>.</p>
41 * <p>The prefix is included in <code>QName</code> to retain lexical
43 * javax.xml.transform.Source XML input source}. The prefix is
51 * If not specified, the prefix is set to {@link
105 * <p>prefix of this <code>QName</code>.</p>
107 private String prefix; field in class:QName
134 * <p>When using this constructor, the prefix is set to {@link
149 * prefix) QName(String namespaceURI, String localPart, String
150 * prefix)
158 * local part and prefix
193 QName(String namespaceURI, String localPart, String prefix) argument
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DMissingClassesTest.java27 String prefix = MissingClassesTest.class.getName();
29 .withPrivateCopy(prefix + "$Loadable")
30 .without(prefix + "$Unloadable")
32 loadableClass = cl.loadClass(prefix + "$Loadable");
/libcore/luni/src/test/java/libcore/sun/security/x509/
H A DReasonFlagsTest.java30 String prefix = "Reason Flags [\n";
46 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix);
H A DKeyUsageExtensionTest.java33 String prefix = "ObjectId: 2.5.29.15 Criticality=true\n"
56 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix);
H A DNetscapeCertTypeExtensionTest.java48 String prefix = "ObjectId: 2.16.840.1.113730.1.1 Criticality=true\n"
70 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix);
/libcore/ojluni/src/main/java/java/util/
H A DStringJoiner.java29 * by a delimiter and optionally starting with a supplied prefix
33 * {@code sj.toString()} method will, by default, return {@code prefix + suffix}.
37 * <code>"{}"</code>, where the {@code prefix} is <code>"{"</code>, the
66 private final String prefix; field in class:StringJoiner
72 * prefix, the added element separated by the delimiter, but without the
79 * By default, the string consisting of prefix+suffix, returned by
88 * {@code prefix} or {@code suffix}, and a copy of the supplied
92 * {@code prefix} or {@code suffix} (or properties thereof) in the result,
105 * of the supplied {@code prefix}, {@code delimiter} and {@code suffix}.
108 * {@code prefix
118 StringJoiner(CharSequence delimiter, CharSequence prefix, CharSequence suffix) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java60 * prefix/URI mapping is repeated for each context (for example), this
88 * to the "xml" prefix.</p>
193 * already in force: in this context, only the "xml" prefix is
231 * XML element. After popping the context, all Namespace prefix
259 * Declare a Namespace prefix. All prefixes must be declared
266 * <p>This method declares a prefix in the current Namespace
267 * context; the prefix will remain in force until this context
271 * the prefix.</p>
273 * <p>Note that you must <em>not</em> declare a prefix after
279 * #getPrefix getPrefix} will not return the "" prefix,
292 declarePrefix(String prefix, String uri) argument
370 getURI(String prefix) argument
597 declarePrefix(String prefix, String uri) argument
716 getURI(String prefix) argument
[all...]
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A Dprefix01.java35 * returns the namespace prefix of the node,
70 String prefix;
73 prefix = createdNode.getPrefix();
74 assertNull("throw_Null", prefix);
H A Dprefix02.java35 * returns the namespace prefix of this node, or null if unspecified.
72 String prefix;
78 prefix = textNode.getPrefix();
79 assertNull("textNodePrefix", prefix);
H A Dprefix04.java35 * returns the namespace prefix of this node, or null if it is unspecified.
68 String prefix;
72 prefix = testEmployee.getPrefix();
73 assertNull("throw_Null", prefix);
H A DdocumentcreateattributeNS02.java71 String prefix;
78 prefix = attribute1.getPrefix();
83 assertEquals("documentcreateattributeNS02_att1_prefix", "xml", prefix);
89 prefix = attribute2.getPrefix();
H A DdocumentcreateelementNS01.java85 String prefix;
92 prefix = element.getPrefix();
97 assertEquals("documentcreateelementNS01_prefix", "XML", prefix);
H A DgetElementsByTagNameNS02.java78 String prefix;
84 prefix = newElement.getPrefix();
85 assertEquals("prefix", "emp", prefix);
H A DgetElementsByTagNameNS09.java80 String prefix;
88 prefix = newElement.getPrefix();
89 assertEquals("prefix", "emp", prefix);
/libcore/ojluni/src/main/java/java/nio/file/
H A DTempFileHelper.java57 private static Path generatePath(String prefix, String suffix, Path dir) { argument
60 Path name = dir.getFileSystem().getPath(prefix + Long.toString(n) + suffix);
63 throw new IllegalArgumentException("Invalid prefix or suffix");
81 String prefix,
87 if (prefix == null)
88 prefix = "";
127 f = generatePath(prefix, suffix, dir);
131 throw new IllegalArgumentException("Invalid prefix or suffix");
156 String prefix,
161 return create(dir, prefix, suffi
80 create(Path dir, String prefix, String suffix, boolean createDirectory, FileAttribute<?>[] attrs) argument
155 createTempFile(Path dir, String prefix, String suffix, FileAttribute<?>[] attrs) argument
168 createTempDirectory(Path dir, String prefix, FileAttribute<?>[] attrs) argument
[all...]
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java43 //nsp/prefix/name
46 //prefix/nsp; both empty are ""
260 String prefix;
263 prefix = "";
266 prefix = "n" + (auto++);
270 if (prefix.equals(nspStack[i])) {
271 prefix = null;
276 while (prefix == null);
281 setPrefix(prefix, namespace);
283 return prefix;
309 setPrefix(String prefix, String namespace) argument
[all...]
/libcore/ojluni/src/main/java/java/time/
H A DZoneId.java122 * The next type of ID are offset-style IDs with some form of prefix,
332 * a two or three letter prefix and a suffix starting with the sign.
334 * The result will be a {@code ZoneId} with the specified UTC/GMT/UT prefix
360 * If the prefix is "GMT", "UTC", or "UT" a {@code ZoneId}
361 * with the prefix and the non-zero offset is returned.
362 * If the prefix is empty {@code ""} the {@code ZoneOffset} is returned.
364 * @param prefix the time-zone ID, not null
367 * @throws IllegalArgumentException if the prefix is not one of
370 public static ZoneId ofOffset(String prefix, ZoneOffset offset) { argument
371 Objects.requireNonNull(prefix, "prefi
[all...]
/libcore/luni/src/main/java/org/xml/sax/
H A DContentHandler.java132 * Begin the scope of a prefix-URI Namespace mapping.
158 * "xml" prefix, since it is predeclared and immutable.</p>
160 * @param prefix the Namespace prefix being declared.
162 * which has no prefix.
163 * @param uri the Namespace URI the prefix is mapped to
169 public void startPrefixMapping (String prefix, String uri) argument
174 * End the scope of a prefix-URI mapping.
182 * @param prefix the prefix tha
189 endPrefixMapping(String prefix) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/util/
H A DDebug.java42 private final String prefix; field in class:Debug
44 private Debug(String prefix) { argument
45 this.prefix = prefix;
105 * option is set. Set the prefix to be the same as option.
115 * option is set. Set the prefix to be prefix.
117 public static Debug getInstance(String option, String prefix) argument
120 Debug d = new Debug(prefix);
144 * print a message to stderr that is prefixed with the prefix
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestUtils.java43 * @param prefix custom output number prefix
48 String prefix,
56 System.out.print(prefix + "0x" + tail + delimiter);
47 printAsHex(int perLine, String prefix, String delimiter, byte[] data) argument

Completed in 429 milliseconds

123