HomeSort by relevance Sort by last modified time
    Searched refs:aliases (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /external/bluetooth/glib/gio/xdgmime/
xdgmimealias.c 2 /* xdgmimealias.c: Private file. Datastructure for storing the aliases.
58 struct XdgAlias *aliases; member in struct:XdgAliasList
69 list->aliases = NULL;
80 if (list->aliases)
84 free (list->aliases[i].alias);
85 free (list->aliases[i].mime_type);
87 free (list->aliases);
110 entry = bsearch (&key, list->aliases, list->n_aliases,
135 list->aliases = realloc (list->aliases, alloc * sizeof (XdgAlias))
    [all...]
  /packages/apps/Email/src/com/beetstra/jutf7/
ModifiedUTF7Charset.java 40 ModifiedUTF7Charset(String name, String[] aliases) {
41 super(name, aliases, MODIFIED_BASE64_ALPHABET, true);
UTF7Charset.java 44 UTF7Charset(String name, String[] aliases, boolean includeOptional) {
45 super(name, aliases, BASE64_ALPHABET, false);
UTF7StyleCharset.java 49 * Besides the name and aliases, two additional parameters are required.
59 * @param aliases The aliases as defined in java.nio.charset.Charset
63 protected UTF7StyleCharset(String canonicalName, String[] aliases, String alphabet,
65 super(canonicalName, aliases);
  /external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
AbstractCharsetTestCase.java 34 // the aliases set
35 protected final String[] aliases; field in class:AbstractCharsetTestCase
68 String[] aliases, boolean canEncode, boolean isRegistered) {
73 this.aliases = aliases;
101 * Test aliases.
104 for (int i = 0; i < this.aliases.length; i++) {
105 Charset c = Charset.forName(this.aliases[i]);
108 // assertTrue(this.testingCharset.aliases().contains(this.aliases[i]))
    [all...]
CharsetTest.java 223 assertEquals("mock", c.aliases().toArray()[0]);
224 assertEquals(1, c.aliases().toArray().length);
285 * Test the constructor with null aliases.
292 assertEquals(0, c.aliases().toArray().length);
296 * Test the constructor with a null aliases.
308 * Test the constructor with no aliases.
315 assertEquals(0, c.aliases().toArray().length);
319 * Test the constructor with empty aliases.
332 * Test the constructor with illegal aliases: starting with neither a digit
364 * Test the method aliases() with multiple aliases. Most conditions hav
    [all...]
  /bionic/libc/netbsd/net/
getservent_r.c 69 if (sd->aliases) {
70 free(sd->aliases);
71 sd->aliases = NULL;
112 if (sd->aliases == NULL) {
114 sd->aliases = malloc(sd->maxaliases * sizeof(char *));
115 if (sd->aliases == NULL) {
122 q = sp->s_aliases = sd->aliases;
141 sp->s_aliases = sd->aliases = q;
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl3Test.java 116 String[] aliases = { "Alias1", "Alias2", "Alias3", "Alias4", "Alias5" }; local
125 kss[i].setEntry(aliases[0], tCert, null);
126 kss[i].setEntry(aliases[1], pKey, pPath);
127 kss[i].setEntry(aliases[2], pKey, pPath);
134 kss[i].setKeyEntry(aliases[3], pk, pwd, certs);
135 kss[i].setCertificateEntry(aliases[4], certs[0]);
154 en = kss[i].getEntry(aliases[j], (j == 0 ? null : pPath));
155 en1 = kss1[i].getEntry(aliases[j], (j == 0 ? null : pPath));
187 .getCreationDate(aliases[j]), kss1[i]
188 .getCreationDate(aliases[j]))
    [all...]
KeyStore_Impl1Test.java 55 private static final String[] aliases = { "", "alias", "Alias", "ALIAS", field in class:KeyStore_Impl1Test
242 * <code>Enumeration aliases()</code>
278 kss[i].aliases(); method
394 for (int j = 0; j < aliases.length; j++) {
395 kss[i].setEntry(aliases[j], entry, null);
420 for (int j = 0; j < aliases.length; j++) {
422 .concat(aliases[j])));
423 assertTrue("Incorrect alias", kss[i].containsAlias(aliases[j]));
425 .isCertificateEntry(aliases[j]));
426 assertFalse("Incorrect KeyEntry", kss[i].isKeyEntry(aliases[j]))
849 String[] aliases = { "Alias1", "Alias2", "Alias3", "Alias4", "Alias5" }; local
    [all...]
  /libcore/luni/src/main/java/java/nio/charset/
CharsetICU.java 17 protected CharsetICU(String canonicalName, String icuCanonName, String[] aliases) {
18 super(canonicalName, aliases);
  /external/webkit/Source/WebCore/platform/text/mac/
make-charset-table.pl 70 my %aliases;
81 # Build the aliases list.
113 $aliases{$canonicalName} = 1;
116 $aliases{$alias} = 1;
130 for my $alias (sort keys %aliases) {
148 my ($canonical_name, @aliases) = @_;
152 my @names = sort $canonical_name, @aliases;
168 my @aliases;
181 process_iana_charset $canonical_name, @aliases;
184 @aliases = ()
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java 29 Map<String, Object> aliases = new HashMap<String, Object>(); field in class:TestKeyStoreSpi
56 aliases.put("certalias", CERT);
57 aliases.put("chainalias", CERTCHAIN);
58 aliases.put("keyalias", KEY);
59 aliases.put("unknownalias", DUMMY);
64 return Collections.enumeration(aliases.keySet());
69 return aliases.containsKey(alias);
79 return (Certificate) aliases.get(alias);
88 for (Map.Entry<String, Object> alias : aliases.entrySet()) {
99 return (Certificate[]) aliases.get(alias)
    [all...]
  /bionic/libc/tools/
genserv.py 22 self.aliases = []
25 self.aliases.append(alias)
35 result += "\\%0o" % len(self.aliases)
36 for alias in self.aliases:
  /external/e2fsprogs/intl/
localcharset.c 208 sources of many GNU packages, simply inline the aliases here. */
234 runtime, simply inline the aliases here. */
273 const char *aliases; local
380 for (aliases = get_charset_aliases ();
381 *aliases != '\0';
382 aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
383 if (strcmp (codeset, aliases) ==
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
localcharset.c 225 simply inline the aliases here. */
257 sources of many GNU packages, simply inline the aliases here. */
283 runtime, simply inline the aliases here. */
330 const char *aliases; local
484 for (aliases = get_charset_aliases ();
485 *aliases != '\0';
486 aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
CertificateTest.java 67 List<String> aliases = Collections.list(keyStore.aliases()); local
68 assertFalse(aliases.isEmpty());
71 for (String alias : aliases) {
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidLocaleTest.java 211 Set<String> aliases = cs.aliases(); local
212 System.out.println(aliases);
228 assertTrue("EUC-JP must use 'ibm-954_P101-2007'", cs.aliases().contains("ibm-954_P101-2007"));
  /external/icu4c/common/
propname.cpp 595 PropertyAliases aliases; local
608 ((uint16_t *)&aliases)[i]=ds->readUInt16(((const uint16_t *)inBytes)[i]);
612 if(length<aliases.total_size) {
621 uprv_memcpy(outBytes, inBytes, aliases.total_size);
628 ds->swapArray16(ds, inBytes+aliases.nameGroupPool_offset,
629 aliases.stringPool_offset-aliases.nameGroupPool_offset,
630 outBytes+aliases.nameGroupPool_offset, pErrorCode);
633 udata_swapInvStringBlock(ds, inBytes+aliases.stringPool_offset,
634 aliases.total_size-aliases.stringPool_offset
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
KeyManagerImpl.java 63 final Enumeration<String> aliases; local
65 aliases = keyStore.aliases();
69 for (; aliases.hasMoreElements();) {
70 final String alias = aliases.nextElement();
151 for (Enumeration<String> aliases = hash.keys(); aliases.hasMoreElements();) {
152 final String alias = aliases.nextElement();
TrustedCertificateKeyStoreSpi.java 78 return Collections.enumeration(store.aliases());
86 return store.aliases().size();
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreBuilderTest.java 299 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements(); ) {
300 String aName = aliases.nextElement();
320 for (Enumeration<String> aliases = ks1.aliases(); aliases.hasMoreElements(); ) {
321 String aName = aliases.nextElement();
353 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements();)
    [all...]
  /external/apache-harmony/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
CharsetTest.java 125 public MockCharsetForDecoder(String canonicalName, String[] aliases){
126 super(canonicalName, aliases);
187 public MockCharsetForEncoder(String canonicalName, String[] aliases) {
188 super(canonicalName, aliases);
  /external/webkit/Source/WebCore/platform/text/qt/
TextCodecQt.cpp 56 QList<QByteArray> aliases = c->aliases(); local
57 for (int i = 0; i < aliases.size(); ++i) {
58 const char *a = getAtomicName(aliases.at(i));
  /libcore/luni/src/main/java/java/security/
Provider.java 487 if (s.aliases != null) {
515 if (aliasTable != null && s.aliases != null) {
528 if (s.aliases != null) {
529 for (Iterator<String> i = s.aliases.iterator(); i.hasNext();) {
550 if (s.aliases != null) {
551 for (Iterator<String> i = s.aliases.iterator(); i.hasNext();) {
593 if (s.aliases.contains(aliasName)) {
594 s.aliases.remove(aliasName);
614 && ser.aliases != null) {
615 for (String alias : ser.aliases) {
816 private List<String> aliases; field in class:Provider.Service
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
KeyManagerFactoryTest.java 162 String[] aliases = km.getClientAliases(keyType, null); local
164 assertNull(keyType, aliases);
167 assertNotNull(keyType, aliases);
168 for (String alias : aliases) {
173 String[] aliases = km.getServerAliases(keyType, null); local
175 assertNull(keyType, aliases);
178 assertNotNull(keyType, aliases);
179 for (String alias : aliases) {

Completed in 2559 milliseconds

1 2 3 4 5