Home
last modified time | relevance | path

Searched refs:aString (Results 1 – 25 of 72) sorted by relevance

123

/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
DTestResultsGenerator.java458 private int countCompileErrors(String aString) { in countCompileErrors() argument
459 return extractNumber(aString, "error"); in countCompileErrors()
462 private int countCompileWarnings(String aString) { in countCompileWarnings() argument
463 return extractNumber(aString, "warning"); in countCompileWarnings()
466 private int countForbiddenWarnings(String aString) { in countForbiddenWarnings() argument
467 return extractNumber(aString, "Access restriction:"); in countForbiddenWarnings()
470 private int countDiscouragedWarnings(String aString) { in countDiscouragedWarnings() argument
471 return extractNumber(aString, "Discouraged access:"); in countDiscouragedWarnings()
474 private int extractNumber(String aString, String endToken) { in extractNumber() argument
475 int endIndex = aString.lastIndexOf(endToken); in extractNumber()
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/String/
DcharCodeAt.js42 var aString = new String("tEs5"); variable
44 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-2)", NaN, aString.charCodeAt(-2));
45 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-1)", NaN, aString.charCodeAt(-1));
46 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 0)", 116, aString.charCodeAt( 0));
47 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 1)", 69, aString.charCodeAt( 1));
48 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 2)", 115, aString.charCodeAt( 2));
49 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 3)", 53, aString.charCodeAt( 3));
50 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 4)", NaN, aString.charCodeAt( 4));
51 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 5)", NaN, aString.charCodeAt( 5));
52 …testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( Infinity)", NaN, aString.charCode…
[all …]
Dconcat.js42 var aString = new String("test string"); variable
45 …ew TestCase( SECTION, "aString.concat(' more')", "test string more", aString.concat(' more').t…
46 …ew TestCase( SECTION, "aString.concat(bString)", "test string another ", aString.concat(bString).t…
47 …+] = new TestCase( SECTION, "aString ", "test string", aString.toString());
49 …ew TestCase( SECTION, "aString.concat(345) ", "test string345", aString.concat(345).toStr…
50 …ew TestCase( SECTION, "aString.concat(true) ", "test stringtrue", aString.concat(true).toSt…
51 …ew TestCase( SECTION, "aString.concat(null) ", "test stringnull", aString.concat(null).toSt…
Dmatch.js42 var aString = new String("this is a test string"); variable
44 …SECTION, "aString.match(/is.*test/) ", String(["is is a test"]), String(aString.match(/is.*test/)…
45 …ase( SECTION, "aString.match(/s.*s/) ", String(["s is a test s"]), String(aString.match(/s.*s/)));
/external/webkit/Source/WebCore/bridge/
Dtestbindings.cpp145 NPString aString; in setDoubleValue() local
146 aString.UTF8Characters = msg; in setDoubleValue()
147 aString.UTF8Length = strlen (msg); in setDoubleValue()
148 NPN_SetException ((NPObject *)obj, &aString); in setDoubleValue()
156 NPString aString; in setIntValue() local
157 aString.UTF8Characters = msg; in setIntValue()
158 aString.UTF8Length = strlen (msg); in setIntValue()
159 NPN_SetException ((NPObject *)obj, &aString); in setIntValue()
173 NPString aString; in setBooleanValue() local
174 aString.UTF8Characters = msg; in setBooleanValue()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRCommonErrorNode.m131 NSString *aString;
133 aString = [NSString stringWithFormat:@"<missing type: %@ >",
135 return aString;
138 aString = [NSString stringWithFormat:@"<extraneous: %@, resync=%@>",
141 return aString;
144aString = [NSString stringWithFormat:@"<mismatched token: %@, resync=%@>", trappedException.token,…
145 return aString;
148aString = [NSString stringWithFormat:@"<unexpected: %@, resync=%@>", trappedException.token, [sel…
149 return aString;
151 aString = [NSString stringWithFormat:@"<error: %@>",[self text]];
[all …]
/external/clang/test/Analysis/
Duninit-msg-expr.m43 NSString *aString;
44 …return [aString length]; // expected-warning {{Receiver in message expression is an uninitialized …
48 NSString *aString = 0;
49 return [aString length]; // no-warning
54 NSString *aString;
55 …[aArray addObject:aString]; // expected-warning {{Argument in message expression is an uninitializ…
DNSString.m98 NSString *aString = 0;
99 …return [s compare:aString]; // expected-warning {{Argument to 'NSString' method 'compare:' cannot …
103 NSString *aString = 0;
104 …return [s caseInsensitiveCompare:aString]; // expected-warning {{Argument to 'NSString' method 'ca…
108 NSString *aString = 0;
109 …return [s compare:aString options:op]; // expected-warning {{Argument to 'NSString' method 'compar…
113 NSString *aString = 0;
114 …return [s compare:aString options:op range:R]; // expected-warning {{Argument to 'NSString' method…
118 NSString *aString = 0;
119 …return [s compare:aString options:op range:R locale:0]; // expected-warning {{Argument to 'NSStrin…
Dtaint-tester.m7 - (NSString *)stringByAppendingString:(NSString *)aString;
/external/libvpx/libvpx/examples/includes/HTML-Toc-0.91/
DTocUpdator.pm267 my ($self, $aMode, $aToc, $aString, $aOptions) = @_;
271 $self->_insert($aString);
446 my ($self, $aToc, $aString, $aOptions) = @_;
448 $self->_update(MODE_DO_INSERT, $aToc, $aString, $aOptions);
564 my ($self, $aToc, $aString, $aOptions) = @_;
566 $self->_update(MODE_DO_UPDATE, $aToc, $aString, $aOptions);
649 my ($self, $aString) = @_;
651 $self->SUPER::parse($aString);
DTocGenerator.pm312 my ($self, $aString) = @_;
321 $self->_extend($aString);
1095 my ($self, $aTocs, $aString) = @_;
1099 $self->_extend($aString);
1130 my ($self, $aToc, $aString, $aOptions) = @_;
1134 $self->_generate($aString);
1176 my ($self, $aString) = @_;
1178 $self->SUPER::parse($aString);
1518 my ($self, $aString) = @_;
1520 $self->SUPER::parse($aString);
[all …]
DTocInsertor.pm197 my ($self, $aString) = @_;
202 $self->_generate($aString);
207 $self->parse($aString);
720 my ($self, $aToc, $aString, $aOptions) = @_;
724 $self->_insert($aString);
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_editor.mm277 - (void)insertText:(id)aString {
281 if ([aString isKindOfClass:[NSAttributedString class]])
282 aString = [aString string];
289 NSRange range = [aString rangeOfCharacterFromSet:forbiddenCharacters_];
291 aString = [aString stringByReplacingCharactersInRange:range withString:@""];
292 range = [aString rangeOfCharacterFromSet:forbiddenCharacters_];
296 // NOTE: If |aString| is empty, this intentionally replaces the
300 [super insertText:aString];
303 - (void)setMarkedText:(id)aString selectedRange:(NSRange)selRange {
313 [super setMarkedText:aString selectedRange:selRange];
[all …]
Dautocomplete_text_field_editor.h49 - (void)setAttributedString:(NSAttributedString*)aString;
Dautocomplete_text_field.h129 - (void)setAttributedStringValue:(NSAttributedString*)aString;
/external/clang/test/SemaObjC/
Dmethod-arg-qualifier-warning.m6 - (BOOL)isEqualToString:(NSString *)aString; // expected-note 2{{passing argument to parameter 'aSt…
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m108 NSString *aString;
112 aString = [errorTree description];
113 STAssertNotNil( aString, @"errorTree description returned nil");
114 if (aString != nil)
115 …STAssertTrue([aString isEqualToString:@"<errornode>"], @"Not a valid error node description %@", a…
128 aString = [tree description];
129 STAssertNotNil(aString, @"tree description returned nil");
130 if (aString != nil)
131 …STAssertTrue([aString isEqualToString:@"nil"], @"Tree description was not empty", [tree descriptio…
139 aString = [tree description];
[all …]
/external/icu4c/i18n/
Dumsg.cpp533 UChar *aString; in umsg_vparse() local
579 aString = va_arg(ap, UChar*); in umsg_vparse()
580 if(aString){ in umsg_vparse()
583 temp.extract(0,len,aString); in umsg_vparse()
584 aString[len]=0; in umsg_vparse()
/external/webkit/Tools/DumpRenderTree/mac/
DTextInputController.m225 - (void)insertText:(id)aString
230 [textInput insertText:aString];
241 - (void)setMarkedText:(NSString *)aString selectedFrom:(int)from length:(int)length
246 [textInput setMarkedText:aString selectedRange:NSMakeRange(from, length)];
373 - (NSMutableAttributedString *)attributedStringWithString:(NSString *)aString
375 return [[[NSMutableAttributedString alloc] initWithString:aString] autorelease];
DAppleScriptController.m110 - (NSString *)doJavaScript:(NSString *)aString
112 NSAppleEventDescriptor *aeDesc = [webView aeDescByEvaluatingJavaScriptFromString:aString];
/external/clang/test/CodeGenObjC/
Darc-compound-stmt.m7 - (NSString *)stringByAppendingString:(NSString *)aString;
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_view_mac.mm156 NSMutableAttributedString* aString,
161 if ([aString size].width <= width) {
162 return aString;
168 return aString;
173 [aString deleteCharactersInRange:NSMakeRange(0, [aString length])];
174 return aString;
182 // Replace the end of |aString| with the ellipses from |elided|.
184 [aString replaceCharactersInRange:NSMakeRange(i, [aString length] - i)
187 return aString;
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/
DSDLMain.m63 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString;
311 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString
315 unsigned int aStringLen = [aString length];
331 [aString getCharacters:(buffer+aRange.location) range:localRange];
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/
DSDLMain.m63 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString;
311 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString
315 unsigned int aStringLen = [aString length];
331 [aString getCharacters:(buffer+aRange.location) range:localRange];
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/
DSDLMain.m63 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString;
311 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString
315 unsigned int aStringLen = [aString length];
331 [aString getCharacters:(buffer+aRange.location) range:localRange];

123