Home
last modified time | relevance | path

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

12345678910>>...34

/external/v8/src/runtime/
Druntime-regexp.cc283 void FindOneByteStringIndices(Vector<const uint8_t> subject, uint8_t pattern, in FindOneByteStringIndices() argument
289 const uint8_t* subject_start = subject.start(); in FindOneByteStringIndices()
290 const uint8_t* subject_end = subject_start + subject.length(); in FindOneByteStringIndices()
303 void FindTwoByteStringIndices(const Vector<const uc16> subject, uc16 pattern, in FindTwoByteStringIndices() argument
307 const uc16* subject_start = subject.start(); in FindTwoByteStringIndices()
308 const uc16* subject_end = subject_start + subject.length(); in FindTwoByteStringIndices()
319 void FindStringIndices(Isolate* isolate, Vector<const SubjectChar> subject, in FindStringIndices() argument
329 index = search.Search(subject, index); in FindStringIndices()
338 void FindStringIndicesDispatch(Isolate* isolate, String* subject, in FindStringIndicesDispatch() argument
343 String::FlatContent subject_content = subject->GetFlatContent(); in FindStringIndicesDispatch()
[all …]
/external/v8/src/
Dstring-search.h81 int Search(Vector<const SubjectChar> subject, int index) { in Search() argument
82 return strategy_(this, subject, index); in Search()
109 Vector<const SubjectChar> subject,
113 Vector<const SubjectChar> subject,
117 Vector<const SubjectChar> subject,
122 Vector<const SubjectChar> subject,
126 Vector<const SubjectChar> subject,
211 Vector<const SubjectChar> subject, int index) { in FindFirstCharacter() argument
213 const int max_n = (subject.length() - pattern.length() + 1); in FindFirstCharacter()
221 memchr(subject.start() + pos, search_byte, in FindFirstCharacter()
[all …]
/external/v8/src/regexp/
Dregexp-macro-assembler.cc129 String* subject, in StringCharacterPosition() argument
131 if (subject->IsConsString()) { in StringCharacterPosition()
132 subject = ConsString::cast(subject)->first(); in StringCharacterPosition()
133 } else if (subject->IsSlicedString()) { in StringCharacterPosition()
134 start_index += SlicedString::cast(subject)->offset(); in StringCharacterPosition()
135 subject = SlicedString::cast(subject)->parent(); in StringCharacterPosition()
138 DCHECK(start_index <= subject->length()); in StringCharacterPosition()
139 if (subject->IsSeqOneByteString()) { in StringCharacterPosition()
141 SeqOneByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition()
142 } else if (subject->IsSeqTwoByteString()) { in StringCharacterPosition()
[all …]
Dinterpreter-irregexp.cc28 int len, Vector<const uc16> subject, in BackRefMatchesNoCase() argument
31 reinterpret_cast<Address>(const_cast<uc16*>(&subject.at(from))); in BackRefMatchesNoCase()
33 reinterpret_cast<Address>(const_cast<uc16*>(&subject.at(current))); in BackRefMatchesNoCase()
41 int len, Vector<const uint8_t> subject, in BackRefMatchesNoCase() argument
45 unsigned int old_char = subject[from++]; in BackRefMatchesNoCase()
46 unsigned int new_char = subject[current++]; in BackRefMatchesNoCase()
155 Vector<const Char> subject, in RawMatch() argument
269 if (pos >= subject.length() || pos < 0) { in RawMatch()
272 current_char = subject[pos]; in RawMatch()
279 current_char = subject[pos]; in RawMatch()
[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 if ((subject == null) || (pkInfo == null)) in CertificationRequestInfo()
79 this.subject = subject; in CertificationRequestInfo()
88 X509Name subject, in CertificationRequestInfo() argument
92 if ((subject == null) || (pkInfo == null)) in CertificationRequestInfo()
97 this.subject = X500Name.getInstance(subject.toASN1Primitive()); 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/dagger2/compiler/src/main/java/dagger/internal/codegen/
DBuilderValidator.java62 public ValidationReport<TypeElement> validate(TypeElement subject) { in validate() argument
63 ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate()
65 Element componentElement = subject.getEnclosingElement(); in validate()
69 checkArgument(subject.getAnnotation(builderAnnotation) != null); in validate()
72 builder.addError(msgs.mustBeInComponent(), subject); in validate() local
75 switch (subject.getKind()) { in validate()
77 List<? extends Element> allElements = subject.getEnclosedElements(); in validate()
80 builder.addError(msgs.cxtorOnlyOneAndNoArgs(), subject); in validate() local
87 builder.addError(msgs.mustBeClassOrInterface(), subject); in validate() local
91 if (!subject.getTypeParameters().isEmpty()) { in validate()
[all …]
DModuleValidator.java93 ValidationReport<TypeElement> validate(final TypeElement subject) { in validate() argument
94 final ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate()
96 List<ExecutableElement> moduleMethods = ElementFilter.methodsIn(subject.getEnclosedElements()); in validate()
106 validateModuleVisibility(subject, builder); in validate()
108 if (subject.getKind() != ElementKind.INTERFACE) { in validate()
109 validateProvidesOverrides(subject, builder, allMethodsByName, bindingMethodsByName); in validate()
111 validateModifiers(subject, builder); in validate()
112 validateReferencedModules(subject, builder); in validate()
119 TypeElement subject, ValidationReport.Builder<TypeElement> builder) { in validateModifiers() argument
122 if (!subject.getTypeParameters().isEmpty() && !subject.getModifiers().contains(ABSTRACT)) { in validateModifiers()
[all …]
DProductionComponentValidator.java42 ValidationReport<TypeElement> validate(final TypeElement subject) { in validate() argument
43 final ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate()
45 if (!subject.getKind().equals(INTERFACE) in validate()
46 && !(subject.getKind().equals(CLASS) && subject.getModifiers().contains(ABSTRACT))) { in validate()
48 "@ProductionComponent may only be applied to an interface or abstract class", subject); in validate()
52 getAnnotationMirror(subject, ProductionComponent.class).get(); in validate()
61 builder.addError(mirror + " is not a valid module type.", subject); in validate()
75 subject); in validate()
DValidationReport.java52 abstract T subject(); in subject() method in ValidationReport
75 if (isEnclosedIn(subject(), item.element())) { in printMessagesTo()
85 messager.printMessage(item.kind(), message, subject(), item.annotation().get()); in printMessagesTo()
87 messager.printMessage(item.kind(), message, subject()); in printMessagesTo()
131 static <T extends Element> Builder<T> about(T subject) {
132 return new Builder<T>(subject);
136 private final T subject;
140 private Builder(T subject) {
141 this.subject = subject;
145 return subject;
[all …]
/external/v8/src/js/
Dregexp.js381 function AtSurrogatePair(subject, index) { argument
382 if (index + 1 >= subject.length) return false;
383 var first = %_StringCharCodeAt(subject, index);
385 var second = %_StringCharCodeAt(subject, index + 1);
399 var subject = TO_STRING(string);
402 var length = subject.length;
407 if (DoRegExpExec(separator, subject, 0, 0) !== null) return [];
408 return [subject];
419 result[result.length] = %_SubString(subject, currentIndex, length);
423 var matchInfo = DoRegExpExec(separator, subject, startIndex);
[all …]
Dstring.js75 var subject = TO_STRING(this);
79 if (index > subject.length) index = subject.length;
80 return %StringIndexOf(subject, pattern, index);
136 var subject = TO_STRING(this);
141 return regexp[matchSymbol](subject);
205 var subject = TO_STRING(this);
210 subject.length > 0xFF &&
216 return %StringReplaceOneCharWithString(subject, search, replace);
218 var start = %StringIndexOf(subject, search, 0);
219 if (start < 0) return subject;
[all …]
/external/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);
242 var subject = ""; variable
245 subject += String.fromCharCode(i + 24);
252 subject.replace(re, "$" + i));
258 subject.replace(re, "$0" + i));
261 assertEquals("$0", subject.replace(re, "$0"));
262 assertEquals("$00", subject.replace(re, "$00"));
264 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/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/auth/
Dmodels.py134 subject = model.StringProperty(required=True) variable in UserToken
138 def get_key(cls, user, subject, token): argument
154 return model.Key(cls, '%s.%s.%s' % (str(user), subject, token))
157 def create(cls, user, subject, token=None): argument
175 key = cls.get_key(user, subject, token)
176 entity = cls(key=key, user=user, subject=subject, token=token)
181 def get(cls, user=None, subject=None, token=None): argument
196 if user and subject and token:
197 return cls.get_key(user, subject, token).get()
199 assert subject and token, \
[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/autotest/scheduler/
Demail_manager.py29 def send_email(self, to_string, subject, body): argument
43 gmail_lib.send_email(to_string, subject, body)
48 def enqueue_notify_email(self, subject, message): argument
54 logging.error(subject + '\n' + message)
58 body = 'Subject: ' + subject + '\n'
69 subject = 'Scheduler notifications from ' + socket.gethostname()
73 self.send_email(self._notify_address, subject, body)
/external/jetty/src/java/org/eclipse/jetty/security/
DMappedLoginService.java168 Subject subject = new Subject(); in putUser() local
169 subject.getPrincipals().add(userPrincipal); in putUser()
170 subject.getPrivateCredentials().add(credential); in putUser()
171 subject.setReadOnly(); in putUser()
172 … identity=_identityService.newUserIdentity(subject,userPrincipal,IdentityService.NO_ROLES); in putUser()
189 Subject subject = new Subject(); in putUser() local
190 subject.getPrincipals().add(userPrincipal); in putUser()
191 subject.getPrivateCredentials().add(credential); in putUser()
195 subject.getPrincipals().add(new RolePrincipal(role)); in putUser()
197 subject.setReadOnly(); in putUser()
[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-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sns/
Dtest_connection.py109 subject='subject')
122 subject='subject')
204 self.service_connection.publish(topic='topic', subject='subject')
217 subject='subject',
232 subject = message = u'We \u2665 utf-8'.encode('utf-8')
233 self.service_connection.publish('topic', message, subject)
237 'Subject': subject,
252 subject='subject',
/external/autotest/site_utils/
Dgmail_lib.py59 def __init__(self, to, subject, message_text): argument
68 self.subject = subject
79 message['subject'] = self.subject
121 def send_email(to, subject, message_text, retry=True, creds_path=None): argument
141 m = Message(to, subject, message_text)
183 if not args.recipients or not args.subject:
188 send_email(','.join(args.recipients), args.subject , message_text)
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
DLoginCallbackImpl.java36 private final Subject subject; field in LoginCallbackImpl
49 public LoginCallbackImpl (Subject subject, String userName, Object credential) in LoginCallbackImpl() argument
51 this.subject = subject; in LoginCallbackImpl()
58 return subject; in getSubject()

12345678910>>...34