/external/chromium_org/courgette/ |
difference_estimator.h | 17 // A DifferenceEstimator simplifies the task of determining which 'Subject' byte 23 // The measure is asymmetric, if the Subject is a small substring of the Base 26 // The comparison is staged: first make Base and Subject objects for the regions 37 class Subject; 43 Subject* MakeSubject(const Region& region); 46 // from |base| to |subject|. Returns zero iff the base and subject regions 48 size_t Measure(Base* base, Subject* subject); 52 std::vector<Subject*> owned_subjects_ [all...] |
difference_estimator_unittest.cc | 22 DifferenceEstimator::Subject* subject = local 24 EXPECT_EQ(0U, difference_estimator.Measure(base, subject)); 33 DifferenceEstimator::Subject* subject = local 35 EXPECT_EQ(10U, difference_estimator.Measure(base, subject)); 44 DifferenceEstimator::Subject* subject = local 46 EXPECT_EQ(1U, difference_estimator.Measure(base, subject)); 55 DifferenceEstimator::Subject* subject local [all...] |
difference_estimator.cc | 15 // Our difference measure is the number of k-tuples that occur in Subject that 61 class DifferenceEstimator::Subject { 63 explicit Subject(const Region& region) : region_(region) {} 70 DISALLOW_COPY_AND_ASSIGN(Subject); 89 DifferenceEstimator::Subject* DifferenceEstimator::MakeSubject( 91 Subject* subject = new Subject(region); local 92 owned_subjects_.push_back(subject); 93 return subject; [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/serialization/ |
SubjectTest.java | 24 import javax.security.auth.Subject; 30 * Serialization test for Subject class 38 Subject subject = new Subject(); local 40 return new Object[] { subject, subject.getPrincipals(), 41 subject.getPrivateCredentials(), subject.getPublicCredentials() };
|
/libcore/luni/src/main/java/javax/security/auth/ |
SubjectDomainCombiner.java | 27 public SubjectDomainCombiner(Subject subject) { } 29 public Subject getSubject() { return null; }
|
Subject.java | 41 * authenticated user or entity (both referred to as "subject"). IT defines also 43 * to the subject's permissions. 45 * A subject has the following features: 48 * {@code Subject} that distinguish it.</li> 53 public final class Subject implements Serializable { 91 public Subject() { 100 * The constructor for the subject, setting its public and private 104 * {@code true} if this {@code Subject} is read-only, thus 108 * Subject}. 111 * Subject} [all...] |
/libcore/luni/src/test/java/tests/api/javax/security/auth/ |
SubjectTest.java | 24 import javax.security.auth.Subject; 38 * Tests for <code>Subject</code> class constructors and methods. 44 * javax.security.auth.Subject#Subject() 48 Subject s = new Subject(); 59 * javax.security.auth.Subject#doAs(Subject subject, PrivilegedAction action) 62 Subject subj = new Subject() [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Subject.java | 7 * employees are not subject to copyright protection in the United States 48 public class Subject extends SIPHeader implements SubjectHeader { 54 /** subject field 56 protected String subject; field in class:Subject 60 public Subject() { 61 super(SUBJECT); 69 if (subject != null) { 70 return subject; 77 * Sets the subject value of the SubjectHeader to the supplied string 78 * subject value [all...] |
/libcore/luni/src/main/java/java/security/ |
AuthProvider.java | 20 import javax.security.auth.Subject; 30 public abstract void login(Subject subject, CallbackHandler handler) throws LoginException;
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
SubjectParser.java | 7 * employees are not subject to copyright protection in the United States 32 * Parser for Subject header. 45 * @param subject the header to parse 47 public SubjectParser(String subject) { 48 super(subject); 61 * @return SIPHeader (Subject object) 65 Subject subject = new Subject(); local 70 headerName(TokenTypes.SUBJECT); [all...] |
/external/smack/src/org/apache/harmony/javax/security/auth/spi/ |
LoginModule.java | 22 import org.apache.harmony.javax.security.auth.Subject; 28 void initialize(Subject subject, CallbackHandler callbackHandler,
|
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/ |
SubjectTest.java | 50 * Tests Subject and its inner classes implementation. 86 PrivilegedAction<Subject> subjectPAction = new PrivilegedAction<Subject>() { 87 public Subject run() { 88 return Subject.getSubject(AccessController.getContext()); 92 PrivilegedExceptionAction<Subject> subjectPEAction = new PrivilegedExceptionAction<Subject>() { 93 public Subject run() { 94 return Subject.getSubject(AccessController.getContext()); 116 TestSuite suite = new TestSuite("Subject"); 141 Subject subject = new Subject(); local 158 Subject subject = new Subject(false, h1, h2, h3); local 365 Subject subject = new Subject(); local 389 Subject subject = new Subject(); local 414 Subject subject = new Subject(); local 439 Subject subject = new Subject(); local 466 Subject subject = new Subject(); local 672 Subject subject = new Subject(true, h, h, h); local 686 Subject subject = new Subject(); local 737 Subject subject = new Subject(); local 762 Subject subject = new Subject(); local 786 Subject subject = new Subject(); local 825 Subject subject = new Subject(); local 847 Subject subject = new Subject(); local 1434 private final Subject subject = new Subject(); field in class:SubjectTest.PermissionTest 1918 private final Subject subject = new Subject(); field in class:SubjectTest.PrincipalTestSuite.IteratorReadOnly 1972 private final Subject subject = new Subject(); field in class:SubjectTest.PrincipalTestSuite.ReadOnlySet 2075 private final Subject subject = new Subject(); field in class:SubjectTest.PrivateCredentialTestSuite.IteratorReadOnly 2173 private final Subject subject = new Subject(); field in class:SubjectTest.PrivateCredentialTestSuite.ReadOnlySet 2248 private final Subject subject = new Subject(); field in class:SubjectTest.PublicCredentialTestSuite.IteratorReadOnly 2292 private final Subject subject = new Subject(); field in class:SubjectTest.PublicCredentialTestSuite.ReadOnlySet [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/kerberos/ |
KerberosUtilsTest.java | 23 import javax.security.auth.Subject; 49 Subject subject = new Subject(); local 50 subject.getPrivateCredentials().add(tgt); 51 KerberosTicket tgtFromContext = (KerberosTicket) Subject.doAs(subject, new PrivilegedAction<KerberosTicket>(){
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/ |
SubjectDomainCombinerTest.java | 35 import javax.security.auth.Subject; 47 * javax.security.auth.Subject) 51 Subject subject = new Subject(); local 53 SubjectDomainCombiner combiner = new SubjectDomainCombiner(subject); 55 assertSame("Subject", subject, combiner.getSubject()); 77 Subject subject = new Subject() local [all...] |
/external/apache-harmony/auth/src/test/java/unix/org/apache/harmony/auth/module/ |
UnixLoginModuleTest.java | 26 import javax.security.auth.Subject; 45 Subject subj = new Subject(); 68 // must not accept null for subject 75 Subject subj = new Subject();
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/ |
KeyStoreLoginModuleTest.java | 24 import javax.security.auth.Subject; 57 Subject subject = new Subject(); local 58 subject.setReadOnly(); 59 ksm.initialize(subject, null, null, options); 65 subject = new Subject(); 66 ksm.initialize(subject, null, null, options); 76 subject = new Subject() 85 Subject subject = new Subject(); local 135 Subject subject = new Subject(); local 154 Subject subject = new Subject(); local [all...] |
LdapLoginModuleTest.java | 25 import javax.security.auth.Subject; 67 Subject subject = new Subject(); local 68 subject.setReadOnly(); 69 jlm.initialize(subject, null, null, options); 76 subject = new Subject(); 77 jlm.initialize(subject, new FaultCallbackHandler(), null, options); 85 subject = new Subject() 98 Subject subject = new Subject(); local 148 Subject subject = new Subject(); local 169 Subject subject = new Subject(); local 193 Subject subject = new Subject(); local [all...] |
JndiLoginModuleTest.java | 25 import javax.security.auth.Subject; 72 Subject subject = new Subject(); local 73 subject.setReadOnly(); 74 jlm.initialize(subject, null, null, options); 78 subject = new Subject(); 79 jlm.initialize(subject, new FaultCallbackHandler(), null, options); 87 subject = new Subject() 99 Subject subject = new Subject(); local 149 Subject subject = new Subject(); local 171 Subject subject = new Subject(); local 198 Subject subject = new Subject(); local [all...] |
/external/smack/src/org/apache/harmony/javax/security/auth/ |
SubjectDomainCombiner.java | 27 * granted to the specified {@link Subject}. 31 // subject to be associated 32 private Subject subject; field in class:SubjectDomainCombiner 34 // permission required to get a subject object 39 * Creates a domain combiner for the entity provided in {@code subject}. 41 * @param subject 44 public SubjectDomainCombiner(Subject subject) { 46 if (subject == null) [all...] |
Subject.java | 43 * authenticated user or entity (both referred to as "subject"). IT defines also 45 * to the subject's permissions. 47 * A subject has the following features: 50 * {@code Subject} that distinguish it.</li> 55 public final class Subject implements Serializable { 93 public Subject() { 103 * The constructor for the subject, setting its public and private 107 * {@code true} if this {@code Subject} is read-only, thus 111 * Subject}. 114 * Subject} [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
Message.java | 43 * <tr><td><i>subject</i></td> <td>SHOULD</td><td>SHOULD NOT</td><td>SHOULD NOT</td><td>SHOULD NOT</td><td>SHOULD NOT</td></tr> 57 private final Set<Subject> subjects = new HashSet<Subject>(); 110 * Returns the default subject of the message, or null if the subject has not been set. 111 * The subject is a short description of message contents. 113 * The default subject of a message is the subject that corresponds to the message's language. 117 * @return the subject of the message. 124 * Returns the subject corresponding to the language. If the language is null, the method resul 132 Subject subject = getMessageSubject(language); local 512 private String subject; field in class:Message.Subject [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
setChangeLogDateAndReviewer.pl | 39 Subject: [PATCH] 56 Subject: [PATCH] 78 Subject: [PATCH] 95 Subject: [PATCH]
|
/external/guava/guava-tests/lib/ |
libtruth.jar | |
/external/smack/src/org/apache/harmony/javax/security/auth/login/ |
LoginContext.java | 30 import org.apache.harmony.javax.security.auth.Subject; 58 // Subject to be used for this LoginContext's operations 59 private Subject subject; field in class:LoginContext 62 * Shows whether the subject was specified by user (true) or was created by 107 public LoginContext(String name, Subject subject) throws LoginException { 109 if (subject == null) { 112 init(name, subject, null, null); 115 public LoginContext(String name, Subject subject, CallbackHandler cbHandler [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/ |
LoginContextTest.java | 32 import javax.security.auth.Subject; 58 private final Subject subject = new Subject(); field in class:LoginContextTest 83 //FIXME lazy subject initialization? should it be initialized in ctor? 84 assertNull("Instantiated subject", context.getSubject()); 203 * Expected: not null subject, null callback handler or 226 // login context instantiates subject object itself. 227 assertNotNull("Subject", module.subject); 838 Subject subject = context.getSubject(); local 965 public Subject subject; field in class:LoginContextTest.MyLoginModule [all...] |