Searched refs:subject (Results 1 - 25 of 203) sorted by relevance

123456789

/external/v8/test/mjsunit/
H A Dregexp-call-as-function.js33 var subject = "xyzabcde"; variable
35 assertEquals(expected, String(regexp.exec(subject)));
36 assertThrows(function(){ regexp(subject); });
H A Dregexp-global.js174 subject,
181 assertEquals(result_expectation, subject.replace(regexps[i], replacement));
182 if (subject.length == 0) {
194 subject,
201 assertNull(subject.match(regexps[i]));
203 assertArrayEquals(result_expectation, subject.match(regexps[i]));
205 if (subject.length == 0) {
219 var subject = "";
224 subject += "a11";
231 test_replace(test_1_expectation, subject, /a
250 var subject = "ascii~only~string~here~"; variable
[all...]
H A Dstring-replace.js32 function replaceTest(result, subject, pattern, replacement) {
34 "\"" + subject + "\".replace(" + pattern + ", " + replacement + ")";
35 assertEquals(result, subject.replace(pattern, replacement), name);
232 var subject = ""; variable
235 subject += String.fromCharCode(i + 24);
242 subject.replace(re, "$" + i));
248 subject.replace(re, "$0" + i));
251 assertEquals("$0", subject.replace(re, "$0"));
252 assertEquals("$00", subject.replace(re, "$00"));
254 subject
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSubject.java7 * employees are not subject to copyright protection in the United States
54 /** subject field
56 protected String subject; field in class:Subject
69 if (subject != null) {
70 return subject;
77 * Sets the subject value of the SubjectHeader to the supplied string
78 * subject value.
80 * @param subject - the new subject value of this header
82 * unexpectedly while parsing the subject valu
84 setSubject(String subject) argument
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DSubjectParser.java7 * employees are not subject to copyright protection in the United States
45 * @param subject the header to parse
47 public SubjectParser(String subject) { argument
48 super(subject);
65 Subject subject = new Subject();
75 subject.setSubject(s.trim());
82 return subject;
87 String subject[] = {
92 for (int i = 0; i < subject.length; i++ ) {
94 new SubjectParser(subject[
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-2438.js28 function testSideEffects(subject, re) {
32 re.exec(subject);
36 re.test(subject);
40 subject.match(re);
44 subject.replace(re, "");
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
H A DLoginCallbackImpl.java36 private final Subject subject; field in class:LoginCallbackImpl
49 public LoginCallbackImpl (Subject subject, String userName, Object credential) argument
51 this.subject = subject;
58 return subject;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DCertificationRequestInfo.java20 * subject Name,
37 X500Name subject; field in class:CertificationRequestInfo
65 * @param subject subject to be associated with the public key
66 * @param pkInfo public key to be associated with subject
70 X500Name subject,
74 if ((subject == null) || (pkInfo == null))
79 this.subject = subject;
88 X509Name subject,
69 CertificationRequestInfo( X500Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes) argument
87 CertificationRequestInfo( X509Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DV1TBSCertificateGenerator.java19 * subject Name,
33 X500Name subject; field in class:V1TBSCertificateGenerator
95 X509Name subject)
97 this.subject = X500Name.getInstance(subject.toASN1Primitive());
101 X500Name subject)
103 this.subject = subject;
116 || (subject == null) || (subjectPublicKeyInfo == null))
138 seq.add(subject);
94 setSubject( X509Name subject) argument
100 setSubject( X500Name subject) argument
[all...]
H A DV3TBSCertificateGenerator.java20 * subject Name,
37 X500Name subject; field in class:V3TBSCertificateGenerator
104 X509Name subject)
106 this.subject = X500Name.getInstance(subject.toASN1Primitive());
110 X500Name subject)
112 this.subject = subject;
162 || (subject == null && !altNamePresentAndCritical) || (subjectPublicKeyInfo == null))
184 if (subject !
103 setSubject( X509Name subject) argument
109 setSubject( X500Name subject) argument
[all...]
/external/v8/src/
H A Dstring.js87 var subject = TO_STRING_INLINE(this);
94 if (index > subject.length) index = subject.length;
96 return %StringIndexOf(subject, pattern, index);
144 var subject = TO_STRING_INLINE(this);
150 if (!regexp.global) return RegExpExecNoTests(regexp, subject, 0);
152 var result = %StringMatch(subject, regexp, lastMatchInfo);
159 return RegExpExecNoTests(regexp, subject, 0);
197 var subject = TO_STRING_INLINE(this);
227 var match = DoRegExpExec(search, subject,
[all...]
H A Dstring-search.h17 // independently of subject and pattern char size.
78 int Search(Vector<const SubjectChar> subject, int index) { argument
79 return strategy_(this, subject, index);
106 Vector<const SubjectChar> subject,
110 Vector<const SubjectChar> subject,
114 Vector<const SubjectChar> subject,
119 Vector<const SubjectChar> subject,
123 Vector<const SubjectChar> subject,
149 // Both pattern and subject are UC16. Reduce character to equivalence class.
197 Vector<const SubjectChar> subject,
195 SingleCharSearch( StringSearch<PatternChar, SubjectChar>* search, Vector<const SubjectChar> subject, int index) argument
230 CharCompare(const PatternChar* pattern, const SubjectChar* subject, int length) argument
247 LinearSearch( StringSearch<PatternChar, SubjectChar>* search, Vector<const SubjectChar> subject, int index) argument
284 BoyerMooreSearch( StringSearch<PatternChar, SubjectChar>* search, Vector<const SubjectChar> subject, int start_index) argument
407 BoyerMooreHorspoolSearch( StringSearch<PatternChar, SubjectChar>* search, Vector<const SubjectChar> subject, int start_index) argument
492 InitialSearch( StringSearch<PatternChar, SubjectChar>* search, Vector<const SubjectChar> subject, int index) argument
547 SearchString(Isolate* isolate, Vector<const SubjectChar> subject, Vector<const PatternChar> pattern, int start_index) argument
[all...]
H A Dinterpreter-irregexp.h18 Handle<String> subject,
H A Dregexp-macro-assembler.cc43 String* subject,
46 DCHECK(subject->IsExternalString() || subject->IsSeqString());
48 DCHECK(start_index <= subject->length());
49 if (subject->IsOneByteRepresentation()) {
51 if (StringShape(subject).IsExternal()) {
52 const uint8_t* data = ExternalOneByteString::cast(subject)->GetChars();
55 DCHECK(subject->IsSeqOneByteString());
56 const uint8_t* data = SeqOneByteString::cast(subject)->GetChars();
62 if (StringShape(subject)
42 StringCharacterPosition( String* subject, int start_index) argument
72 Match( Handle<Code> regexp_code, Handle<String> subject, int* offsets_vector, int offsets_vector_length, int previous_index, Isolate* isolate) argument
[all...]
H A Dinterpreter-irregexp.cc28 Vector<const uc16> subject) {
30 unibrow::uchar old_char = subject[from++];
31 unibrow::uchar new_char = subject[current++];
49 Vector<const uint8_t> subject) {
51 unsigned int old_char = subject[from++];
52 unsigned int new_char = subject[current++];
161 Vector<const Char> subject,
275 if (pos >= subject.length()) {
278 current_char = subject[pos];
285 current_char = subject[po
24 BackRefMatchesNoCase(Canonicalize* interp_canonicalize, int from, int current, int len, Vector<const uc16> subject) argument
45 BackRefMatchesNoCase(Canonicalize* interp_canonicalize, int from, int current, int len, Vector<const uint8_t> subject) argument
159 RawMatch(Isolate* isolate, const byte* code_base, Vector<const Char> subject, int* registers, int current, uint32_t current_char) argument
575 Match( Isolate* isolate, Handle<ByteArray> code_array, Handle<String> subject, int* registers, int start_position) argument
[all...]
/external/nist-sip/java/javax/sip/header/
H A DSubjectHeader.java9 void setSubject(String subject) throws ParseException; argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_rss/
H A DsendEmailAlert.sh81 subject="Eclipse RSS Feed Updated!";
87 echo "Subject: "$subject;
96 cat $tmpfile | $MAIL -s "$subject" -a "From: $fromAddress" $toAddress;
/external/pcre/dist/
H A Dpcredemo.c51 char *subject; local
81 and the subject string. */
85 printf("Two arguments required: a regex and a subject string\n");
90 subject = argv[i+1];
91 subject_length = (int)strlen(subject);
117 * pattern match against the subject string. This does just ONE match. If *
124 subject, /* the subject string */
125 subject_length, /* the length of the subject */
126 0, /* start at offset 0 in the subject */
[all...]
H A Dpcre_get.c42 from the subject string after a regex match has succeeded. The original idea
315 subject the subject string that was matched
335 pcre_copy_substring(const char *subject, int *ovector, int stringcount, argument
339 pcre16_copy_substring(PCRE_SPTR16 subject, int *ovector, int stringcount,
343 pcre32_copy_substring(PCRE_SPTR32 subject, int *ovector, int stringcount,
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield));
370 subject the subject string that was matched
390 pcre_copy_named_substring(const pcre *code, const char *subject, argument
441 pcre_get_substring_list(const char *subject, int *ovector, int stringcount, const char ***listptr) argument
544 pcre_get_substring(const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr) argument
607 pcre_get_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, const char **stringptr) argument
[all...]
/external/jetty/src/java/org/eclipse/jetty/security/
H A DSpnegoUserIdentity.java34 public SpnegoUserIdentity( Subject subject, Principal principal, List<String> roles ) argument
36 _subject = subject;
H A DDefaultIdentityService.java85 public UserIdentity newUserIdentity(final Subject subject, final Principal userPrincipal, final String[] roles) argument
87 return new DefaultUserIdentity(subject,userPrincipal,roles);
H A DDefaultUserIdentity.java39 public DefaultUserIdentity(Subject subject, Principal userPrincipal, String[] roles) argument
41 _subject=subject;
H A DMappedLoginService.java168 Subject subject = new Subject();
169 subject.getPrincipals().add(userPrincipal);
170 subject.getPrivateCredentials().add(credential);
171 subject.setReadOnly();
172 identity=_identityService.newUserIdentity(subject,userPrincipal,IdentityService.NO_ROLES);
189 Subject subject = new Subject();
190 subject.getPrincipals().add(userPrincipal);
191 subject.getPrivateCredentials().add(credential);
195 subject.getPrincipals().add(new RolePrincipal(role));
197 subject
[all...]
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/auth/
H A Dmodels.py134 subject = model.StringProperty(required=True) variable in class:UserToken
138 def get_key(cls, user, subject, token):
143 :param subject:
144 The subject of the key. Examples:
152 ``{user_id}.{subject}.{token}.``
154 return model.Key(cls, '%s.%s.%s' % (str(user), subject, token))
157 def create(cls, user, subject, token=None):
162 :param subject:
163 The subject of the key. Examples:
175 key = cls.get_key(user, subject, toke
[all...]
/external/conscrypt/src/platform/java/org/conscrypt/
H A DTrustedCertificateIndex.java58 X500Principal subject;
61 subject = cert.getSubjectX500Principal();
63 subject = anchor.getCA();
67 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject);
70 subjectToTrustAnchors.put(subject, anchors);
116 X500Principal subject = cert.getSubjectX500Principal();
118 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject);

Completed in 486 milliseconds

123456789