Home
last modified time | relevance | path

Searched refs:subject (Results 1 – 25 of 800) sorted by relevance

12345678910>>...32

/external/chromium_org/v8/src/
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, 0);
230 return subject;
[all …]
Dstring-search.h78 int Search(Vector<const SubjectChar> subject, int index) { in Search() argument
79 return strategy_(this, subject, index); in Search()
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,
197 Vector<const SubjectChar> subject, in SingleCharSearch() argument
204 memchr(subject.start() + i, in SingleCharSearch()
206 subject.length() - i)); in SingleCharSearch()
[all …]
Dregexp-macro-assembler.cc43 String* subject, in StringCharacterPosition() argument
46 DCHECK(subject->IsExternalString() || subject->IsSeqString()); in StringCharacterPosition()
48 DCHECK(start_index <= subject->length()); in StringCharacterPosition()
49 if (subject->IsOneByteRepresentation()) { in StringCharacterPosition()
51 if (StringShape(subject).IsExternal()) { in StringCharacterPosition()
52 const uint8_t* data = ExternalOneByteString::cast(subject)->GetChars(); in StringCharacterPosition()
55 DCHECK(subject->IsSeqOneByteString()); in StringCharacterPosition()
56 const uint8_t* data = SeqOneByteString::cast(subject)->GetChars(); in StringCharacterPosition()
62 if (StringShape(subject).IsExternal()) { in StringCharacterPosition()
63 data = ExternalTwoByteString::cast(subject)->GetChars(); in StringCharacterPosition()
[all …]
Dinterpreter-irregexp.cc28 Vector<const uc16> subject) { in BackRefMatchesNoCase() argument
30 unibrow::uchar old_char = subject[from++]; in BackRefMatchesNoCase()
31 unibrow::uchar new_char = subject[current++]; in BackRefMatchesNoCase()
49 Vector<const uint8_t> subject) { in BackRefMatchesNoCase() argument
51 unsigned int old_char = subject[from++]; in BackRefMatchesNoCase()
52 unsigned int new_char = subject[current++]; in BackRefMatchesNoCase()
161 Vector<const Char> subject, in RawMatch() argument
275 if (pos >= subject.length()) { in RawMatch()
278 current_char = subject[pos]; in RawMatch()
285 current_char = subject[pos]; in RawMatch()
[all …]
/external/smack/src/org/jivesoftware/smack/packet/
DMessage.java132 Subject subject = getMessageSubject(language); in getSubject() local
133 return subject == null ? null : subject.subject; in getSubject()
138 for (Subject subject : subjects) { in getMessageSubject()
139 if (language.equals(subject.language)) { in getMessageSubject()
140 return subject; in getMessageSubject()
162 public void setSubject(String subject) { in setSubject() argument
163 if (subject == null) { in setSubject()
167 addSubject(null, subject); in setSubject()
178 public Subject addSubject(String language, String subject) { in addSubject() argument
180 Subject messageSubject = new Subject(language, subject); in addSubject()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DCertificationRequestInfo.java37 X500Name subject; field in CertificationRequestInfo
70 X500Name subject, in CertificationRequestInfo() argument
74 this.subject = subject; in CertificationRequestInfo()
78 if ((subject == null) || (version == null) || (subjectPKInfo == null)) in CertificationRequestInfo()
88 X509Name subject, in CertificationRequestInfo() argument
92 this.subject = X500Name.getInstance(subject.toASN1Primitive()); in CertificationRequestInfo()
96 if ((subject == null) || (version == null) || (subjectPKInfo == null)) in CertificationRequestInfo()
110 subject = X500Name.getInstance(seq.getObjectAt(1)); in CertificationRequestInfo()
123 if ((subject == null) || (version == null) || (subjectPKInfo == null)) in CertificationRequestInfo()
136 return subject; in getSubject()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DSubject.java56 protected String subject; field in Subject
69 if (subject != null) { in encodeBody()
70 return subject; in encodeBody()
84 public void setSubject(String subject) throws ParseException { in setSubject() argument
85 if (subject == null) in setSubject()
89 this.subject = subject; in setSubject()
98 return subject; in getSubject()
/external/chromium_org/net/cert/
Dx509_certificate_unittest.cc96 const CertPrincipal& subject = google_cert->subject(); in CheckGoogleCert() local
97 EXPECT_EQ("www.google.com", subject.common_name); in CheckGoogleCert()
98 EXPECT_EQ("Mountain View", subject.locality_name); in CheckGoogleCert()
99 EXPECT_EQ("California", subject.state_or_province_name); in CheckGoogleCert()
100 EXPECT_EQ("US", subject.country_name); in CheckGoogleCert()
101 EXPECT_EQ(0U, subject.street_addresses.size()); in CheckGoogleCert()
102 ASSERT_EQ(1U, subject.organization_names.size()); in CheckGoogleCert()
103 EXPECT_EQ("Google Inc", subject.organization_names[0]); in CheckGoogleCert()
104 EXPECT_EQ(0U, subject.organization_unit_names.size()); in CheckGoogleCert()
105 EXPECT_EQ(0U, subject.domain_components.size()); in CheckGoogleCert()
[all …]
Dx509_util_unittest.cc44 EXPECT_EQ("newer cert", certs[0]->subject().common_name); in TEST()
46 EXPECT_EQ("older cert", certs[1]->subject().common_name); in TEST()
48 EXPECT_EQ("not yet valid", certs[2]->subject().common_name); in TEST()
50 EXPECT_EQ("expired", certs[3]->subject().common_name); in TEST()
75 EXPECT_EQ("subject", cert->subject().GetDisplayName()); in TEST()
187 EXPECT_EQ("subject", cert->subject().GetDisplayName()); in TEST()
/external/chromium_org/v8/test/mjsunit/
Dregexp-global.js174 subject, argument
181 assertEquals(result_expectation, subject.replace(regexps[i], replacement));
182 if (subject.length == 0) {
194 subject, argument
201 assertNull(subject.match(regexps[i]));
203 assertArrayEquals(result_expectation, subject.match(regexps[i]));
205 if (subject.length == 0) {
219 var subject = ""; variable
224 subject += "a11";
231 test_replace(test_1_expectation, subject, /a1/g, "x");
[all …]
Dstring-replace.js32 function replaceTest(result, subject, pattern, replacement) { argument
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.replace(re, "$100"));
[all …]
/external/pcre/dist/
Dpcredemo.c51 char *subject; in main() local
90 subject = argv[i+1]; in main()
91 subject_length = (int)strlen(subject); in main()
124 subject, /* the subject string */ in main()
171 char *substring_start = subject + ovector[2*i]; in main()
221 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]); in main()
316 subject, /* the subject string */ in main()
342 subject[start_offset] == '\r' && in main()
343 subject[start_offset + 1] == '\n') in main()
349 if ((subject[ovector[1]] & 0xc0) != 0x80) break; in main()
[all …]
Dpcre_get.c335 pcre_copy_substring(const char *subject, int *ovector, int stringcount, in pcre_copy_substring() argument
339 pcre16_copy_substring(PCRE_SPTR16 subject, int *ovector, int stringcount, in pcre_copy_substring()
343 pcre32_copy_substring(PCRE_SPTR32 subject, int *ovector, int stringcount, in pcre_copy_substring()
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_copy_substring()
390 pcre_copy_named_substring(const pcre *code, const char *subject, in pcre_copy_named_substring() argument
395 pcre16_copy_named_substring(const pcre16 *code, PCRE_SPTR16 subject, in pcre_copy_named_substring()
400 pcre32_copy_named_substring(const pcre32 *code, PCRE_SPTR32 subject, in pcre_copy_named_substring()
408 return pcre_copy_substring(subject, ovector, stringcount, n, buffer, size); in pcre_copy_named_substring()
410 return pcre16_copy_substring(subject, ovector, stringcount, n, buffer, size); in pcre_copy_named_substring()
412 return pcre32_copy_substring(subject, ovector, stringcount, n, buffer, size); in pcre_copy_named_substring()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DV1TBSCertificateGenerator.java33 X500Name subject; field in V1TBSCertificateGenerator
95 X509Name subject) in setSubject() argument
97 this.subject = X500Name.getInstance(subject.toASN1Primitive()); in setSubject()
101 X500Name subject) in setSubject() argument
103 this.subject = subject; in setSubject()
116 || (subject == null) || (subjectPublicKeyInfo == null)) in generateTBSCertificate()
138 seq.add(subject); in generateTBSCertificate()
DV3TBSCertificateGenerator.java37 X500Name subject; field in V3TBSCertificateGenerator
104 X509Name subject) in setSubject() argument
106 this.subject = X500Name.getInstance(subject.toASN1Primitive()); in setSubject()
110 X500Name subject) in setSubject() argument
112 this.subject = subject; in setSubject()
162 || (subject == null && !altNamePresentAndCritical) || (subjectPublicKeyInfo == null)) in generateTBSCertificate()
184 if (subject != null) in generateTBSCertificate()
186 v.add(subject); in generateTBSCertificate()
/external/chromium_org/courgette/
Ddifference_estimator_unittest.cc22 DifferenceEstimator::Subject* subject = in TEST() local
24 EXPECT_EQ(0U, difference_estimator.Measure(base, subject)); in TEST()
33 DifferenceEstimator::Subject* subject = in TEST() local
35 EXPECT_EQ(10U, difference_estimator.Measure(base, subject)); in TEST()
44 DifferenceEstimator::Subject* subject = in TEST() local
46 EXPECT_EQ(1U, difference_estimator.Measure(base, subject)); in TEST()
55 DifferenceEstimator::Subject* subject = in TEST() local
57 EXPECT_EQ(1U, difference_estimator.Measure(base, subject)); in TEST()
Ddifference_estimator.cc91 Subject* subject = new Subject(region); in MakeSubject() local
92 owned_subjects_.push_back(subject); in MakeSubject()
93 return subject; in MakeSubject()
96 size_t DifferenceEstimator::Measure(Base* base, Subject* subject) { in Measure() argument
98 const uint8* start = subject->region().start(); in Measure()
99 const uint8* end = subject->region().end() - (kTupleSize - 1); in Measure()
111 if (RegionsEqual(base->region(), subject->region())) in Measure()
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/
DOfflineSettings.java32 private String subject; field in OfflineSettings
68 if (!ModelUtil.hasLength(subject)) { in getSubject()
71 return subject; in getSubject()
74 public void setSubject(String subject) { in setSubject() argument
75 this.subject = subject; in setSubject()
124 String subject = null; in parseIQ() local
134 subject = parser.nextText(); in parseIQ()
149 offlineSettings.setSubject(subject); in parseIQ()
/external/smack/src/org/apache/harmony/javax/security/auth/login/
DLoginContext.java59 private Subject subject; field in LoginContext
107 public LoginContext(String name, Subject subject) throws LoginException { in LoginContext() argument
109 if (subject == null) { in LoginContext()
112 init(name, subject, null, null); in LoginContext()
115 public LoginContext(String name, Subject subject, CallbackHandler cbHandler) in LoginContext() argument
118 if (subject == null) { in LoginContext()
124 init(name, subject, cbHandler, null); in LoginContext()
127 public LoginContext(String name, Subject subject, CallbackHandler cbHandler, in LoginContext() argument
130 init(name, subject, cbHandler, config); in LoginContext()
134 private void init(String name, Subject subject, final CallbackHandler cbHandler, in init() argument
[all …]
/external/smack/src/org/apache/harmony/javax/security/auth/
DSubjectDomainCombiner.java32 private Subject subject; field in SubjectDomainCombiner
44 public SubjectDomainCombiner(Subject subject) { in SubjectDomainCombiner() argument
46 if (subject == null) { in SubjectDomainCombiner()
49 this.subject = subject; in SubjectDomainCombiner()
63 return subject; in getSubject()
102 Set<Principal> s = subject.getPrincipals(); in combine()
DSubject.java144 public static Object doAs(Subject subject, PrivilegedAction action) { in doAs() argument
148 return doAs_PrivilegedAction(subject, action, AccessController.getContext()); in doAs()
167 public static Object doAsPrivileged(Subject subject, PrivilegedAction action, in doAsPrivileged() argument
173 return doAs_PrivilegedAction(subject, action, new AccessControlContext( in doAsPrivileged()
176 return doAs_PrivilegedAction(subject, action, context); in doAsPrivileged()
181 private static Object doAs_PrivilegedAction(Subject subject, PrivilegedAction action, in doAs_PrivilegedAction() argument
187 if (subject == null) { in doAs_PrivilegedAction()
192 combiner = new SubjectDomainCombiner(subject); in doAs_PrivilegedAction()
220 public static Object doAs(Subject subject, PrivilegedExceptionAction action) in doAs() argument
225 return doAs_PrivilegedExceptionAction(subject, action, AccessController.getContext()); in doAs()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DSubjectParser.java47 public SubjectParser(String subject) { in SubjectParser() argument
48 super(subject); in SubjectParser()
65 Subject subject = new Subject(); in parse() local
75 subject.setSubject(s.trim()); in parse()
82 return subject; in parse()
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-2438.js28 function testSideEffects(subject, re) { argument
32 re.exec(subject);
36 re.test(subject);
40 subject.match(re);
44 subject.replace(re, "");
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_socket_utils.cc89 const net::CertPrincipal& subject = cert.subject(); in GetCertificateFields() local
91 new base::StringValue(subject.common_name)); in GetCertificateFields()
93 new base::StringValue(subject.locality_name)); in GetCertificateFields()
95 new base::StringValue(subject.state_or_province_name)); in GetCertificateFields()
97 new base::StringValue(subject.country_name)); in GetCertificateFields()
100 new base::StringValue(JoinString(subject.organization_names, '\n'))); in GetCertificateFields()
103 new base::StringValue(JoinString(subject.organization_unit_names, '\n'))); in GetCertificateFields()
/external/conscrypt/src/platform/java/org/conscrypt/
DTrustedCertificateIndex.java58 X500Principal subject; in index() local
61 subject = cert.getSubjectX500Principal(); in index()
63 subject = anchor.getCA(); in index()
67 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject); in index()
70 subjectToTrustAnchors.put(subject, anchors); in index()
116 X500Principal subject = cert.getSubjectX500Principal(); in findBySubjectAndPublicKey() local
118 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject); in findBySubjectAndPublicKey()

12345678910>>...32