/openjdk7/jdk/test/java/io/File/createTempFile/ |
H A D | SpecialTempFile.java | 37 private static void test(String name, String[] prefix, String[] suffix) { argument 38 if (prefix == null || suffix == null 39 || prefix.length != suffix.length) 52 + prefix[i] + ", suffix, " + suffix[i]); 54 f = File.createTempFile(prefix[i], suffix[i]);
|
H A D | Patterns.java | 26 @summary Check various temp-file prefix/suffix cases */ 35 static void ckn(String prefix, String suffix) throws Exception { argument 37 File f = File.createTempFile(prefix, suffix, dir); 43 System.err.println("\"" + prefix + "\", \"" + suffix 49 throw new Exception("\"" + prefix + "\", \"" + suffix 53 static void cky(String prefix, String suffix) throws Exception { argument 54 File f = File.createTempFile(prefix, suffix, dir); 56 System.err.println("\"" + prefix + "\", \"" + suffix
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | X509AttributeName.java | 40 private String suffix = null; field in class:X509AttributeName 54 suffix = name.substring(i + 1); 66 * Return the suffix of the name. 69 return (suffix);
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/ |
H A D | NameModifierImpl.java | 32 private String suffix ; field in class:NameModifierImpl 37 this.suffix = null ; 40 public NameModifierImpl( String prefix, String suffix ) 43 this.suffix = suffix ; 80 suffix = pattern.substring( first+1 ) ; 114 if (suffix != null) 115 sb.append( suffix ) ;
|
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/ |
H A D | InstanceFinder.java | 41 private final String suffix; field in class:InstanceFinder 44 InstanceFinder(Class<? extends T> type, boolean allow, String suffix, String... packages) { argument 47 this.suffix = suffix; 65 String name = type.getName() + this.suffix;
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | TemporaryFiles.java | 45 static void testTempFile(String prefix, String suffix, Path dir) argument 49 Files.createTempFile(prefix, suffix) : 50 Files.createTempFile(dir, prefix, suffix); 56 if (suffix == null && !name.endsWith(".tmp")) 58 if (suffix != null && !name.endsWith(suffix)) 59 throw new RuntimeException("Should end with " + suffix); 82 static void testTempFile(String prefix, String suffix) argument 85 testTempFile(prefix, suffix, null); 136 static void testInvalidFileTemp(String prefix, String suffix) throw argument [all...] |
/openjdk7/jdk/test/sun/security/rsa/ |
H A D | GenKeyStore.java | 46 private static X509Certificate getCertificate(String suffix, PublicKey publicKey, PrivateKey privateKey) throws Exception { argument 47 X500Name name = new X500Name("CN=Dummy Certificate " + suffix);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Regexp.java | 39 * prefix, a constant string suffix, and a series of floating strings in 43 public String prefix, suffix; field in class:Regexp 74 suffix = null; 76 suffix = s.substring(lastst + 1); 118 !suffix.regionMatches(ignoreCase,
|
/openjdk7/jdk/test/sun/security/pkcs11/rsa/ |
H A D | GenKeyStore.java | 46 private static X509Certificate getCertificate(String suffix, PublicKey publicKey, PrivateKey privateKey) throws Exception { argument 47 X500Name name = new X500Name("CN=Dummy Certificate " + suffix);
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | TempFileHelper.java | 57 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"); 82 String suffix, 89 if (suffix == null) 90 suffix = (createDirectory) ? "" : ".tmp"; 127 f = generatePath(prefix, suffix, dir); 131 throw new IllegalArgumentException("Invalid prefix or suffix"); 157 String suffix, 161 return create(dir, prefix, suffix, fals 80 create(Path dir, String prefix, String suffix, boolean createDirectory, FileAttribute[] attrs) argument 155 createTempFile(Path dir, String prefix, String suffix, FileAttribute[] attrs) argument [all...] |
/openjdk7/hotspot/src/os/solaris/dtrace/ |
H A D | generateJvmOffsets.cpp | 129 const char *suffix; local 132 case GEN_OFFSET: suffix = ".h"; break; 133 case GEN_INDEX: suffix = "Index.h"; break; 134 case GEN_TABLE: suffix = ".cpp"; break; 138 printf(" * JvmOffsets%s !!!DO NOT EDIT!!! \n", suffix);
|
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | ColorModel.java | 84 final String getText(Component component, String suffix) { argument 85 return UIManager.getString(this.prefix + suffix + "Text", component.getLocale()); // NON-NLS: default postfix 88 final int getInteger(Component component, String suffix) { argument 89 Object value = UIManager.get(this.prefix + suffix, component.getLocale());
|
/openjdk7/jdk/src/share/classes/javax/naming/ |
H A D | Name.java | 156 * Creates a name whose components consist of a suffix of the 183 * Determines whether this name ends with a specified suffix. 184 * A name <tt>n</tt> is a suffix if it is equal to 189 * @return true if <tt>n</tt> is a suffix of this name, false otherwise 196 * @param suffix 200 * @throws InvalidNameException if <tt>suffix</tt> is not a valid name, 204 public Name addAll(Name suffix) throws InvalidNameException; argument
|
H A D | CompositeName.java | 402 * Creates a composite name whose components consist of a suffix of the 438 * Determines whether a composite name is a suffix of this composite name. 439 * A composite name 'n' is a suffix if it it is equal to 446 * is a suffix of this composite name, false otherwise. 460 * @param suffix The non-null components to add. 462 * @exception InvalidNameException If suffix is not a composite name. 464 public Name addAll(Name suffix) argument 467 if (suffix instanceof CompositeName) { 468 impl.addAll(suffix.getAll()); 472 suffix [all...] |
H A D | CompoundName.java | 384 * Creates a compound name whose components consist of a suffix of the 425 * Determines whether a compound name is a suffix of this compound name. 426 * A compound name 'n' is a suffix if it it is equal to 435 * is a suffix of this compound name, false otherwise. 449 * Implementation note: Currently the syntax properties of suffix 451 * @param suffix The non-null components to add. 453 * @exception InvalidNameException If suffix is not a compound name, 457 public Name addAll(Name suffix) throws InvalidNameException { argument 458 if (suffix instanceof CompoundName) { 459 impl.addAll(suffix [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | Driver.java | 380 File createTempFile(String basefile, String suffix) throws IOException { argument 385 File where = (base.getParentFile() == null && suffix.equals(".bak")) 390 ? Files.createTempFile(prefix, suffix) 391 : Files.createTempFile(where.toPath(), prefix, suffix); 604 // + means we want an non-empty val suffix. 615 // match, as indicated by an empty val suffix.
|
/openjdk7/hotspot/src/os/bsd/dtrace/ |
H A D | generateJvmOffsets.cpp | 134 const char *suffix; local 137 case GEN_OFFSET: suffix = ".h"; break; 138 case GEN_INDEX: suffix = "Index.h"; break; 139 case GEN_TABLE: suffix = ".cpp"; break; 143 printf(" * JvmOffsets%s !!!DO NOT EDIT!!! \n", suffix);
|
/openjdk7/jdk/test/java/io/File/ |
H A D | NulFile.java | 574 final String suffix = "suffix"; 585 testCreateTempFile(curName, suffix, tmpDir); 586 // test suffix 590 testCreateTempFile(shortPrefix, suffix, new File(curName)); 591 testCreateTempFile(prefix, suffix, new File(curName)); 596 private static void testCreateTempFile(String prefix, String suffix, argument 598 // createTempFile(String prefix, String suffix, File directory) 603 File.createTempFile(prefix, suffix, directory); 613 File.createTempFile(prefix, suffix, director [all...] |
/openjdk7/jdk/test/java/lang/instrument/BootClassPath/ |
H A D | Setup.java | 50 String bootClassPath = "boot" + suffix(); 119 private static String suffix() { method in class:Setup 122 // for Unix and Windows, respectively. Use empty suffix
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | ClassPath.java | 218 * @param suffix file name ends with suff, e.g. .java 221 public InputStream getInputStream(String name, String suffix) throws IOException { argument 225 is = getClass().getClassLoader().getResourceAsStream(name + suffix); 231 return getClassFile(name, suffix).getInputStream(); 236 * @param suffix file name ends with suff, e.g. .java 239 public ClassFile getClassFile(String name, String suffix) throws IOException { argument 243 if((cf = paths[i].getClassFile(name, suffix)) != null) 247 throw new IOException("Couldn't find: " + name + suffix); 260 * @param suffix file name ends with suffix, 263 getBytes(String name, String suffix) argument 305 getPath(String name, String suffix) argument 310 getClassFile(String name, String suffix) argument 343 getClassFile(String name, String suffix) argument 370 getClassFile(String name, String suffix) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/naming/ldap/ |
H A D | LdapName.java | 263 * Creates a name whose components consist of a suffix of the 332 * LDAP name suffix. 333 * A name <tt>n</tt> is a suffix if it is equal to 339 * @return true if <tt>n</tt> is a suffix of this name, false otherwise. 353 * Determines whether the specified RDN sequence forms a suffix of this 360 * @return true if <tt>rdns</tt> form a suffix of this LDAP name, 413 * @param suffix The non-null components to add. 416 * @throws InvalidNameException if <tt>suffix</tt> is not a valid LDAP 420 public Name addAll(Name suffix) throws InvalidNameException { argument 421 return addAll(size(), suffix); 453 addAll(int posn, Name suffix) argument [all...] |
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | main.cpp | 31 static char *base_plus_suffix(const char* base, const char *suffix);// New concatenated string 32 static char *prefix_plus_base_plus_suffix(const char* prefix, const char* base, const char *suffix);// New concatenated string 461 static char *base_plus_suffix(const char* base, const char *suffix) argument 463 int len = (int)strlen(base) + (int)strlen(suffix) + 1; 466 sprintf(fname,"%s%s",base,suffix);
|
/openjdk7/jdk/src/share/back/ |
H A D | error_messages.c | 60 vprint_message(FILE *fp, const char *prefix, const char *suffix, argument 80 (void)fprintf(fp, "%s%s%s", prefix, pbuf, suffix); 88 print_message(FILE *fp, const char *prefix, const char *suffix, argument 94 vprint_message(fp, prefix, suffix, format, ap);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/ |
H A D | BISchemaBinding.java | 98 * It simply adds prefix and suffix to the name, but 106 private String suffix = ""; field in class:BISchemaBinding.NamingRule 110 this.suffix = _suffix; 118 return prefix+originalName+suffix;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | MIMEConfig.java | 57 String suffix; field in class:MIMEConfig 61 long inMemoryThreshold, String dir, String prefix, String suffix) { 66 this.suffix = suffix; 119 return suffix; 139 ? File.createTempFile(prefix, suffix) 140 : File.createTempFile(prefix, suffix, tempDir); 60 MIMEConfig(boolean parseEagerly, int chunkSize, long inMemoryThreshold, String dir, String prefix, String suffix) argument
|