Home
last modified time | relevance | path

Searched refs:NSRange (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_mac.h93 virtual NSRange SelectionRangeForProposedRange(NSRange proposed_range);
134 NSRange GetSelectedRange() const;
138 NSRange GetMarkedRange() const;
147 void SetSelectedRange(const NSRange range);
159 const NSRange range);
201 NSRange saved_temporary_selection_;
205 NSRange selection_before_change_;
207 NSRange marked_range_before_change_;
Dautocomplete_edit_view_mac.mm89 const bool has_focus, const NSRange& selection)
97 const NSRange selection;
118 // Helper to make converting url_parse ranges to NSRange easier to
120 NSRange ComponentToNSRange(const url_parse::Component& component) {
228 NSRange range;
340 NSRange AutocompleteEditViewMac::GetSelectedRange() const {
344 NSRange AutocompleteEditViewMac::GetMarkedRange() const {
349 void AutocompleteEditViewMac::SetSelectedRange(const NSRange range) {
382 NSRange range = NSMakeRange(start + 1, current_text.size() - start - 1);
390 const NSRange all_range = NSMakeRange(0, GetTextLength());
[all …]
/external/clang/test/SemaObjC/
Dgcc-cast-ext.m3 typedef struct _NSRange { } NSRange; typedef
19 + (id)bookmarkWithFileReference:(PBXFileReference *)fileRef gylphRange:(NSRange)range anchor:(NSStr…
21 NSRange r = (NSRange)range; argument
22 …return [[[self alloc] initWithFileReference:fileRef gylphRange:(NSRange)range anchor:(NSString *)h…
Dmethod-conflict.m18 NSRange; typedef
19 @interface NSValue (NSValueRangeExtensions) + (NSValue *)valueWithRange:(NSRange)range; argument
21 …AttributedString : NSAttributedString - (void)replaceCharactersInRange:(NSRange)range withString:… argument
Dinterface-scope-2.m27 NSRange; typedef
32 - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)aString; argument
/external/webkit/Source/WebKit/mac/Misc/
DWebNSURLExtras.h78 - (BOOL)_web_hostNameNeedsDecodingWithRange:(NSRange)range; // returns NO if decodeHostNameWithRang…
79 - (BOOL)_web_hostNameNeedsEncodingWithRange:(NSRange)range; // returns NO if encodeHostNameWithRang…
81 - (NSString *)_web_decodeHostNameWithRange:(NSRange)range; // turns funny-looking ASCII form into U…
82 - (NSString *)_web_encodeHostNameWithRange:(NSRange)range; // turns Unicode into funny-looking ASCI…
91 - (NSRange)_webkit_rangeOfURLScheme;
DWebNSURLExtras.mm49 typedef void (* StringRangeApplierFunction)(NSString *string, NSRange range, void *context);
181 NSRange remaining = NSMakeRange(0, stringLength);
185NSRange hostNameOrStringStart = [string rangeOfCharacterFromSet:hostNameOrStringStartCharacters op…
200NSRange hostNameEnd = [string rangeOfCharacterFromSet:hostNameEndCharacters options:0 range:remain…
221NSRange escapedCharacterOrStringEnd = [string rangeOfCharacterFromSet:quotedStringCharacters optio…
263 NSRange separatorRange = [string rangeOfString:@"://"];
290NSRange hostNameTerminator = [string rangeOfCharacterFromSet:hostTerminators options:0 range:NSMak…
294NSRange userInfoTerminator = [string rangeOfString:@"@" options:0 range:NSMakeRange(authorityStart…
302 static void collectRangesThatNeedMapping(NSString *string, NSRange range, void *context, BOOL encod…
319 static void collectRangesThatNeedEncoding(NSString *string, NSRange range, void *context)
[all …]
/external/clang/test/Rewriter/
Drewrite-constructor-init.mm10 } NSRange; typedef
12 static __inline NSRange NSMakeRange(NSUInteger loc, NSUInteger len) {
13 NSRange r;
20 __block NSRange previousRange = NSMakeRange(0, 0);
/external/webkit/Source/WebKit/mac/WebView/
DWebFrameInternal.h142 - (NSRange)_convertToNSRange:(WebCore::Range*)range;
143 - (DOMRange *)_convertNSRangeToDOMRange:(NSRange)range;
144 - (NSRange)_convertDOMRangeToNSRange:(DOMRange *)range;
145 - (PassRefPtr<WebCore::Range>)_convertToDOMRange:(NSRange)nsrange;
DWebFramePrivate.h83 - (NSRange)_selectedNSRange;
84 - (void)_selectNSRange:(NSRange)range;
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_unittest_helper.h39 MOCK_METHOD1(SelectionRangeForProposedRange, NSRange(NSRange range));
Dautocomplete_text_field.h37 virtual NSRange SelectionRangeForProposedRange(NSRange proposed_range) = 0;
Dautocomplete_text_field_editor.mm289 NSRange range = [aString rangeOfCharacterFromSet:forbiddenCharacters_];
303 - (void)setMarkedText:(id)aString selectedRange:(NSRange)selRange { argument
320 - (NSRange)selectionRangeForProposedRange:(NSRange)proposedSelRange
323 NSRange modifiedRange = [super selectionRangeForProposedRange:proposedSelRange argument
333 - (void)setSelectedRange:(NSRange)charRange
362 - (BOOL)shouldChangeTextInRange:(NSRange)affectedCharRange
Dautocomplete_text_field_unittest.mm232 EXPECT_CALL(field_observer_, SelectionRangeForProposedRange(A<NSRange>()))
322 EXPECT_CALL(field_observer_, SelectionRangeForProposedRange(A<NSRange>()))
361 const NSRange allRange = NSMakeRange(0, [[field_ stringValue] length]);
396 const NSRange allRange = NSMakeRange(0, [[field_ stringValue] length]);
432 const NSRange selectedRange([[field_ currentEditor] selectedRange]);
448 const NSRange selectedRange([[field_ currentEditor] selectedRange]);
465 const NSRange selectedRange([[field_ currentEditor] selectedRange]);
495 const NSRange selectedRange([[field_ currentEditor] selectedRange]);
496 const NSRange spaceRange([[field_ stringValue] rangeOfString:@" "]);
522 const NSRange selectedRange([[field_ currentEditor] selectedRange]);
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dtable_model_array_controller.mm16 - (NSIndexSet*)controllerRowsForModelRowsInRange:(NSRange)range; argument
20 - (void)modelDidAddItemsInRange:(NSRange)range; argument
21 - (void)modelDidRemoveItemsInRange:(NSRange)range; argument
139 - (NSIndexSet*)controllerRowsForModelRowsInRange:(NSRange)range { argument
152 - (void)modelDidAddItemsInRange:(NSRange)range { argument
162 - (void)modelDidRemoveItemsInRange:(NSRange)range { argument
Dabout_window_controller.mm45 NSRange range = NSMakeRange([attr_str length], [text length]);
677 NSRange begin_chr = [license rangeOfString:kBeginLinkChr];
678 NSRange begin_oss = [license rangeOfString:kBeginLinkOss];
679 NSRange end_chr = [license rangeOfString:kEndLinkChr];
680 NSRange end_oss = [license rangeOfString:kEndLinkOss];
692 NSRange* begin1 = &begin_chr;
693 NSRange* begin2 = &begin_oss;
694 NSRange* end1 = &end_chr;
695 NSRange* end2 = &end_oss;
756 NSRange string_range = NSMakeRange(0, [legal_block length]);
/external/clang/test/ARCMT/
Dnsdata.m14 } NSRange; typedef
18 - (void)getBytes:(void *)buffer range:(NSRange)range; argument
Dnsdata.m.result14 } NSRange;
18 - (void)getBytes:(void *)buffer range:(NSRange)range;
/external/webkit/Source/WebCore/bindings/objc/
DDOMPrivate.h76 - (void)_replaceCharactersInRange:(NSRange)targetRange withString:(NSString *)replacementString sel…
77 - (NSRange)_selectedRange;
/external/clang/test/Analysis/
Duninit-ps-rdar6145427.m21 typedef struct _NSPoint {} NSRange; typedef
23 + (NSValue *)valueWithRange:(NSRange)range; argument
Dmethod-arg-decay.m23 NSRange; typedef
24 @interface NSValue (NSValueRangeExtensions) + (NSValue *)valueWithRange:(NSRange)range; argument
62 …tring (StringUtilities) - (NSString *) trimToLength:(NSInteger)length preserveRange:(NSRange)range; argument
Ddelegates.m59 typedef struct _NSRange {} NSRange; typedef
73 …Result)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRange)compareRange; argument
74 …t)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRange)compareRange loca… argument
Ddead-stores.m14 typedef struct _NSPoint {} NSRange; typedef
15 @interface NSValue (NSValueRangeExtensions) + (NSValue *)valueWithRange:(NSRange)range; argument
/external/llvm/test/Transforms/LoopRotate/
Dcrash.ll101 %struct.NSRange = type { i64, i64 }
112 … %struct.NSRange null( %struct.NSObject* null, %struct._message_ref_t* @"\01L_OBJC_MESSAGE_REF_26"…
116 %mrv_gr125 = extractvalue %struct.NSRange %tmp123, 1 ; <i64> [#uses=0]
/external/webkit/Tools/DumpRenderTree/mac/
DAccessibilityUIElementMac.mm196 if ([type rangeOfString:@"NSRange"].length > 0)
197 … return [NSString stringWithFormat:@"NSRange: %@", NSStringFromRange([value rangeValue])];
202 NSRange range = [description rangeOfString:@"LayoutTests"];
878 NSRange range = NSMakeRange(location, length);
895 NSRange range = NSMakeRange(location, length);
909 NSRange range = NSMakeRange(location, length);
924 NSRange range = NSMakeRange(location, length);
1045 NSRange range = NSMakeRange(0,0);
1059 NSRange range = NSMakeRange(0,0);
1083 NSRange range = NSMakeRange(NSNotFound, 0);
[all …]

1234