Home
last modified time | relevance | path

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

12345678910>>...69

/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.cc130 String* subject, in StringCharacterPosition() argument
132 if (subject->IsConsString()) { in StringCharacterPosition()
133 subject = ConsString::cast(subject)->first(); in StringCharacterPosition()
134 } else if (subject->IsSlicedString()) { in StringCharacterPosition()
135 start_index += SlicedString::cast(subject)->offset(); in StringCharacterPosition()
136 subject = SlicedString::cast(subject)->parent(); in StringCharacterPosition()
138 if (subject->IsThinString()) { in StringCharacterPosition()
139 subject = ThinString::cast(subject)->actual(); in StringCharacterPosition()
142 DCHECK_LE(start_index, subject->length()); in StringCharacterPosition()
143 if (subject->IsSeqOneByteString()) { in StringCharacterPosition()
[all …]
Dinterpreter-irregexp.cc29 int len, Vector<const uc16> subject, in BackRefMatchesNoCase() argument
32 reinterpret_cast<Address>(const_cast<uc16*>(&subject.at(from))); in BackRefMatchesNoCase()
34 reinterpret_cast<Address>(const_cast<uc16*>(&subject.at(current))); in BackRefMatchesNoCase()
42 int len, Vector<const uint8_t> subject, in BackRefMatchesNoCase() argument
46 unsigned int old_char = subject[from++]; in BackRefMatchesNoCase()
47 unsigned int new_char = subject[current++]; in BackRefMatchesNoCase()
156 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/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 …]
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 …]
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()
/external/pcre/dist2/src/
Dpcre2demo.c73 PCRE2_SPTR subject; /* the appropriate width (in this case, 8 bits). */ in main() local
128 subject = (PCRE2_SPTR)argv[i+1]; in main()
129 subject_length = strlen((char *)subject); in main()
171 subject, /* the subject string */ in main()
222 (char *)(subject + ovector[1])); in main()
234 PCRE2_SPTR substring_start = subject + ovector[2*i]; in main()
282 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]); in main()
374 if ((subject[start_offset] & 0xc0) != 0x80) break; in main()
383 subject, /* the subject string */ in main()
409 subject[start_offset] == '\r' && in main()
[all …]
Dpcre2_jit_match.c86 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match() argument
93 (void)subject; in pcre2_jit_match()
125 arguments.str = subject + start_offset; in pcre2_jit_match()
126 arguments.begin = subject; in pcre2_jit_match()
127 arguments.end = subject + length; in pcre2_jit_match()
129 arguments.startchar_ptr = subject; in pcre2_jit_match()
176 match_data->subject = subject; in pcre2_jit_match()
178 match_data->startchar = arguments.startchar_ptr - subject; in pcre2_jit_match()
/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/v8/src/runtime/
Druntime-regexp.cc402 void FindOneByteStringIndices(Vector<const uint8_t> subject, uint8_t pattern, in FindOneByteStringIndices() argument
407 const uint8_t* subject_start = subject.start(); in FindOneByteStringIndices()
408 const uint8_t* subject_end = subject_start + subject.length(); in FindOneByteStringIndices()
420 void FindTwoByteStringIndices(const Vector<const uc16> subject, uc16 pattern, in FindTwoByteStringIndices() argument
423 const uc16* subject_start = subject.start(); in FindTwoByteStringIndices()
424 const uc16* subject_end = subject_start + subject.length(); in FindTwoByteStringIndices()
434 void FindStringIndices(Isolate* isolate, Vector<const SubjectChar> subject, in FindStringIndices() argument
444 index = search.Search(subject, index); in FindStringIndices()
452 void FindStringIndicesDispatch(Isolate* isolate, String* subject, in FindStringIndicesDispatch() argument
457 String::FlatContent subject_content = subject->GetFlatContent(); in FindStringIndicesDispatch()
[all …]
Druntime-numbers.cc26 CONVERT_ARG_HANDLE_CHECKED(String, subject, 0); in RUNTIME_FUNCTION()
27 return *String::ToNumber(isolate, subject); in RUNTIME_FUNCTION()
39 Handle<String> subject; in RUNTIME_FUNCTION() local
40 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, subject, in RUNTIME_FUNCTION()
42 subject = String::Flatten(isolate, subject); in RUNTIME_FUNCTION()
54 double result = StringToInt(isolate, subject, radix32); in RUNTIME_FUNCTION()
63 CONVERT_ARG_HANDLE_CHECKED(String, subject, 0); in RUNTIME_FUNCTION()
65 double value = StringToDouble(isolate, isolate->unicode_cache(), subject, in RUNTIME_FUNCTION()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DCertificationRequestInfo.java40 X500Name subject; field in CertificationRequestInfo
73 X500Name subject, in CertificationRequestInfo() argument
77 if ((subject == null) || (pkInfo == null)) in CertificationRequestInfo()
84 this.subject = subject; in CertificationRequestInfo()
93 X509Name subject, in CertificationRequestInfo() argument
97 this(X500Name.getInstance(subject.toASN1Primitive()), pkInfo, attributes); in CertificationRequestInfo()
108 subject = X500Name.getInstance(seq.getObjectAt(1)); in CertificationRequestInfo()
123 if ((subject == null) || (version == null) || (subjectPKInfo == null)) in CertificationRequestInfo()
136 return subject; in getSubject()
154 v.add(subject); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DCertificationRequestInfo.java42 X500Name subject; field in CertificationRequestInfo
75 X500Name subject, in CertificationRequestInfo() argument
79 if ((subject == null) || (pkInfo == null)) in CertificationRequestInfo()
86 this.subject = subject; in CertificationRequestInfo()
95 X509Name subject, in CertificationRequestInfo() argument
99 this(X500Name.getInstance(subject.toASN1Primitive()), pkInfo, attributes); in CertificationRequestInfo()
110 subject = X500Name.getInstance(seq.getObjectAt(1)); in CertificationRequestInfo()
125 if ((subject == null) || (version == null) || (subjectPKInfo == null)) in CertificationRequestInfo()
138 return subject; in getSubject()
156 v.add(subject); in toASN1Primitive()
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DV1TBSCertificateGenerator.java35 X500Name subject; field in V1TBSCertificateGenerator
97 X509Name subject) in setSubject() argument
99 this.subject = X500Name.getInstance(subject.toASN1Primitive()); in setSubject()
103 X500Name subject) in setSubject() argument
105 this.subject = subject; in setSubject()
118 || (subject == null) || (subjectPublicKeyInfo == null)) in generateTBSCertificate()
140 seq.add(subject); in generateTBSCertificate()
DV3TBSCertificateGenerator.java40 X500Name subject; field in V3TBSCertificateGenerator
121 X509Name subject) in setSubject() argument
123 this.subject = X500Name.getInstance(subject.toASN1Primitive()); in setSubject()
127 X500Name subject) in setSubject() argument
129 this.subject = subject; in setSubject()
183 || (subject == null && !altNamePresentAndCritical) || (subjectPublicKeyInfo == null)) in generateTBSCertificate()
205 if (subject != null) in generateTBSCertificate()
207 v.add(subject); in generateTBSCertificate()
/external/pdfium/testing/resources/javascript/
Dapp_mailmsg_expected.txt2 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
3 Mail Msg: 0, to=user@example.com, cc=, bcc=, subject=, body=
4 Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=subject, body=body
5 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
6 Mail Msg: 0, to=user@example.com, cc=, bcc=, subject=, body=
7 Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=subject, body=body
/external/toolchain-utils/cros_utils/
Demail_sender.py31 subject, argument
40 self.SendGMREmail(email_to, subject, text_to_send, email_cc, email_bcc,
43 self.SendSMTPEmail(email_to, subject, text_to_send, email_cc, email_bcc,
46 def SendSMTPEmail(self, email_to, subject, text_to_send, email_cc, email_bcc, argument
56 msg['Subject'] = subject
83 def SendGMREmail(self, email_to, subject, text_to_send, email_cc, email_bcc, argument
106 subject = subject.replace("'", "'\\''")
110 '--body_file=/dev/null' % (to_list, subject, body_filename))
113 (to_list, subject, body_filename))
/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/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/autotest/site_utils/
Dgmail_lib.py68 def __init__(self, to, subject, message_text): argument
77 self.subject = subject
88 message['subject'] = self.subject
130 def send_email(to, subject, message_text, retry=True, creds_path=None): argument
150 m = Message(to, subject, message_text)
198 if not args.recipients or not args.subject:
219 send_email(','.join(recipients), args.subject , message_text)
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DTransportFrameUtil.java113 private static boolean endsWith(byte[] subject, byte[] suffix) { in endsWith() argument
114 int start = subject.length - suffix.length; in endsWith()
118 for (int i = start; i < subject.length; i++) { in endsWith()
119 if (subject[i] != suffix[i - start]) { in endsWith()
130 private static boolean isSpecCompliantAscii(byte[] subject) { in isSpecCompliantAscii() argument
131 for (byte b : subject) { in isSpecCompliantAscii()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowGestureDetectorTest.java65 GestureDetector subject = new GestureDetector(context, new TestOnGestureListener()); in getOnDoubleTapListener_shouldReturnSetDoubleTapListener() local
83 subject.setOnDoubleTapListener(onDoubleTapListener); in getOnDoubleTapListener_shouldReturnSetDoubleTapListener()
84 assertEquals(shadowOf(subject).getOnDoubleTapListener(), onDoubleTapListener); in getOnDoubleTapListener_shouldReturnSetDoubleTapListener()
86 subject.setOnDoubleTapListener(null); in getOnDoubleTapListener_shouldReturnSetDoubleTapListener()
87 assertNull(shadowOf(subject).getOnDoubleTapListener()); in getOnDoubleTapListener_shouldReturnSetDoubleTapListener()
93 GestureDetector subject = new GestureDetector(context, onGestureListener); in getOnDoubleTapListener_shouldReturnOnGestureListenerFromConstructor() local
94 assertEquals(shadowOf(subject).getOnDoubleTapListener(), onGestureListener); in getOnDoubleTapListener_shouldReturnOnGestureListenerFromConstructor()

12345678910>>...69