Home
last modified time | relevance | path

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

12

/external/webkit/WebKit/mac/Plugins/
Dnptextinput.h51 typedef void (*NPP_SetMarkedTextFunc)(NPP npp, id aString, NSRange selRange);
54 typedef NSAttributedString * (*NPP_AttributedSubstringFromRangeFunc)(NPP npp, NSRange theRange);
55 typedef NSRange (*NPP_MarkedRangeFunc)(NPP npp);
56 typedef NSRange (*NPP_SelectedRangeFunc)(NPP npp);
57 typedef NSRect (*NPP_FirstRectForCharacterRangeFunc)(NPP npp, NSRange theRange);
80 void NPP_SetMarkedText(NPP npp, id aString, NSRange selRange);
83 NSAttributedString *NPP_AttributedSubstringFromRange(NPP npp, NSRange theRange);
84 NSRange NPP_MarkedRange(NPP npp);
85 NSRange NPP_SelectedRange(NPP npp);
86 NSRect NPP_FirstRectForCharacterRange(NPP npp, NSRange theRange);
[all …]
/external/webkit/WebKit/mac/Misc/
DWebNSURLExtras.h76 - (BOOL)_web_hostNameNeedsDecodingWithRange:(NSRange)range; // returns NO if decodeHostNameWithRang…
77 - (BOOL)_web_hostNameNeedsEncodingWithRange:(NSRange)range; // returns NO if encodeHostNameWithRang…
79 - (NSString *)_web_decodeHostNameWithRange:(NSRange)range; // turns funny-looking ASCII form into U…
80 - (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);
173 NSRange remaining = NSMakeRange(0, stringLength);
177NSRange hostNameOrStringStart = [string rangeOfCharacterFromSet:hostNameOrStringStartCharacters op…
192NSRange hostNameEnd = [string rangeOfCharacterFromSet:hostNameEndCharacters options:0 range:remain…
213NSRange escapedCharacterOrStringEnd = [string rangeOfCharacterFromSet:quotedStringCharacters optio…
255 NSRange separatorRange = [string rangeOfString:@"://"];
282NSRange hostNameTerminator = [string rangeOfCharacterFromSet:hostTerminators options:0 range:NSMak…
286NSRange userInfoTerminator = [string rangeOfString:@"@" options:0 range:NSMakeRange(authorityStart…
294 static void collectRangesThatNeedMapping(NSString *string, NSRange range, void *context, BOOL encod…
311 static void collectRangesThatNeedEncoding(NSString *string, NSRange range, void *context)
[all …]
DWebKitNSStringExtras.m196 NSRange nonSpace = [self rangeOfCharacterFromSet:charactersToNotTurnIntoSpaces
202 NSRange space = [self rangeOfCharacterFromSet:charactersToTurnIntoSpaces
234NSRange nonSpace = [self rangeOfCharacterFromSet:notSpaces options:0 range:NSMakeRange(position, l…
238NSRange space = [self rangeOfCharacterFromSet:spaces options:0 range:NSMakeRange(nonSpace.location…
DWebNSDictionaryExtras.m61 NSRange slashRange;
DWebNSAttributedStringExtras.mm95 NSRange attachmentRange;
/external/webkit/WebKitExamplePlugins/NetscapeInputMethodPlugin/
Dmain.m56 NSRange markedRange;
57 NSRange selectedRange;
238 NSRange glyphRange = [obj->layoutManager glyphRangeForTextContainer:obj->textContainer];
348 static NSRange selectionRange(PluginObject *obj)
362 NSRange range = selectionRange(obj);
411 void NPP_SetMarkedText(NPP npp, id aString, NSRange selRange)
417 NSRange range = selectionRange(obj);
443 NSAttributedString *NPP_AttributedSubstringFromRange(NPP npp, NSRange theRange)
448 NSRange NPP_MarkedRange(NPP npp)
455 NSRange NPP_SelectedRange(NPP npp)
[all …]
/external/webkit/WebKit/mac/WebView/
DWebFramePrivate.h71 - (NSRange)_selectedNSRange;
72 - (void)_selectNSRange:(NSRange)range;
DWebFrameInternal.h163 - (NSRange)_convertToNSRange:(WebCore::Range*)range;
164 - (DOMRange *)_convertNSRangeToDOMRange:(NSRange)range;
165 - (NSRange)_convertDOMRangeToNSRange:(DOMRange *)range;
DWebFrame.mm726 - (NSRange)_convertToNSRange:(Range *)range
734 // Mouse events may cause TSM to attempt to create an NSRange for a portion of the view
754 - (PassRefPtr<Range>)_convertToDOMRange:(NSRange)nsrange
772 - (DOMRange *)convertNSRangeToDOMRange:(NSRange)nsrange argument
778 - (DOMRange *)_convertNSRangeToDOMRange:(NSRange)nsrange argument
783 - (NSRange)convertDOMRangeToNSRange:(DOMRange *)range argument
789 - (NSRange)_convertDOMRangeToNSRange:(DOMRange *)range
1110 - (NSRange)_selectedNSRange
1115 - (void)_selectNSRange:(NSRange)range
/external/webkit/WebKitTools/DumpRenderTree/mac/
DAccessibilityUIElementMac.mm88 if ([type rangeOfString:@"NSRange"].length > 0)
89 … return [NSString stringWithFormat:@"NSRange: %@", NSStringFromRange([value rangeValue])];
94 NSRange range = [description rangeOfString:@"LayoutTests"];
319 NSRange range = NSMakeRange(location, length);
393 NSRange range = indexRange ? [indexRange rangeValue] : NSMakeRange(0,0);
401 NSRange range = indexRange ? [indexRange rangeValue] : NSMakeRange(0,0);
415 NSRange range = indexRange ? [indexRange rangeValue] : NSMakeRange(0,0);
422 NSRange textRange = NSMakeRange(location, length);
DTextInputController.m300 NSRange range = [textInput markedRange];
312 NSRange range = [textInput selectedRange];
DUIDelegate.mm60 NSRange range = [message rangeOfString:@"file://"];
/external/webkit/WebCore/bindings/objc/
DDOMPrivate.h111 - (void)_replaceCharactersInRange:(NSRange)targetRange withString:(NSString *)replacementString sel…
112 - (NSRange)_selectedRange;
DDOMHTML.mm125 - (void)_replaceCharactersInRange:(NSRange)targetRange withString:(NSString *)replacementString sel…
136 - (NSRange)_selectedRange argument
/external/webkit/WebCore/platform/mac/
DWebCoreSystemInterface.h32 typedef struct _NSRange NSRange; typedef
95 extern NSFont* (*wkGetFontInLanguageForRange)(NSFont*, NSString*, NSRange);
DWebCoreSystemInterface.mm38 NSFont* (*wkGetFontInLanguageForRange)(NSFont*, NSString*, NSRange);
DPasteboardMac.mm128 NSRange attachmentRange = [[result string] rangeOfString:attachmentCharacterString.get()];
357 NSRange range = [HTMLString rangeOfString:@"<html" options:NSCaseInsensitiveSearch];
/external/qemu/distrib/sdl-1.2.12/src/main/macosx/
DSDLMain.m63 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; argument
106 NSRange aRange;
312 - (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString
318 NSRange localRange; argument
/external/webkit/WebCore/page/mac/
DAccessibilityObjectWrapper.mm253 …ingSetFont(NSMutableAttributedString* attrString, NSString* attribute, NSFont* font, NSRange range)
294 …SetColor(NSMutableAttributedString* attrString, NSString* attribute, NSColor* color, NSRange range)
307 …Number(NSMutableAttributedString* attrString, NSString* attribute, NSNumber* number, NSRange range)
315 …tributeStringSetStyle(NSMutableAttributedString* attrString, RenderObject* renderer, NSRange range)
385 …ingSetBlockquoteLevel(NSMutableAttributedString* attrString, RenderObject* renderer, NSRange range)
395 …buteStringSetSpelling(NSMutableAttributedString* attrString, Node* node, int offset, NSRange range)
416 NSRange spellRange = NSMakeRange(rStart, rLength);
424 …StringSetHeadingLevel(NSMutableAttributedString* attrString, RenderObject* renderer, NSRange range)
452 …tableAttributedString* attrString, NSString* attribute, AccessibilityObject* object, NSRange range)
485 NSRange attrStringRange = NSMakeRange([attrString length], length);
[all …]
/external/webkit/WebKit/win/Interfaces/
DDOMPrivate.idl79 …- (void)_replaceCharactersInRange:(NSRange)targetRange withString:(NSString *)replacementString se…
84 - (NSRange)_selectedRange;
/external/webkit/WebCore/platform/text/mac/
DTextBoundaries.mm36 NSRange range = [attr doubleClickAtIndex:(position >= len) ? len - 1 : position];
/external/webkit/WebKit/mac/WebCoreSupport/
DWebEditorClient.mm555NSRange range = [[NSSpellChecker sharedSpellChecker] checkSpellingOfString:textString startingAt:0…
574NSRange range = [[NSSpellChecker sharedSpellChecker] checkGrammarOfString:textString startingAt:0 …
586 NSRange detailNSRange = [detailRangeAsNSValue rangeValue];
607 NSRange grammarRange = NSMakeRange(grammarDetail.location, grammarDetail.length);
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h115 NSFont *WKGetFontInLanguageForRange(NSFont *font, NSString *string, NSRange range);
/external/webkit/WebCore/page/
DAccessibilityObject.h47 typedef struct _NSRange NSRange; typedef

12