/external/webkit/Source/WebKit/mac/Misc/ |
WebNSURLExtras.mm | 49 typedef void (* StringRangeApplierFunction)(NSString *string, NSRange range, void *context); 185 NSRange hostNameOrStringStart = [string rangeOfCharacterFromSet:hostNameOrStringStartCharacters options:0 range:remaining]; 200 NSRange hostNameEnd = [string rangeOfCharacterFromSet:hostNameEndCharacters options:0 range:remaining]; 211 // Process host name range. 221 NSRange escapedCharacterOrStringEnd = [string rangeOfCharacterFromSet:quotedStringCharacters options:0 range:remaining]; 274 if ([string rangeOfCharacterFromSet:nonSchemeCharacters options:0 range:NSMakeRange(0, separatorRange.location)].location != NSNotFound) { 290 NSRange hostNameTerminator = [string rangeOfCharacterFromSet:hostTerminators options:0 range:NSMakeRange(authorityStart, stringLength - authorityStart)]; 294 NSRange userInfoTerminator = [string rangeOfString:@"@" options:0 range:NSMakeRange(authorityStart, hostNameEnd - authorityStart)]; 302 static void collectRangesThatNeedMapping(NSString *string, NSRange range, void *context, BOOL encode) 305 ? [string _web_hostNameNeedsEncodingWithRange:range] [all...] |
WebNSURLExtras.h | 78 - (BOOL)_web_hostNameNeedsDecodingWithRange:(NSRange)range; // returns NO if decodeHostNameWithRange: would return nil, but more efficient 79 - (BOOL)_web_hostNameNeedsEncodingWithRange:(NSRange)range; // returns NO if encodeHostNameWithRange: would return nil, but more efficient 81 - (NSString *)_web_decodeHostNameWithRange:(NSRange)range; // turns funny-looking ASCII form into Unicode, returns nil if no decoding needed 82 - (NSString *)_web_encodeHostNameWithRange:(NSRange)range; // turns Unicode into funny-looking ASCII form, returns nil if no decoding needed
|
/external/clang/unittests/Lex/ |
LexerTest.cpp | 118 CharSourceRange range = Lexer::makeFileCharRange( local 120 EXPECT_TRUE(range.isInvalid()); 121 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(idLoc, rsqrLoc), 123 EXPECT_TRUE(range.isInvalid()); 124 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(lsqrLoc, rsqrLoc), 126 EXPECT_TRUE(!range.isTokenRange()); 127 EXPECT_EQ(range.getAsRange(), 143 range = Lexer::makeFileCharRange( 147 range.getAsRange()); 149 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(macroIdLoc, macroRsqrLoc) [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugAranges.cpp | 19 // Compare function DWARFDebugAranges::Range structures 20 static bool RangeLessThan(const DWARFDebugAranges::Range &range1, 21 const DWARFDebugAranges::Range &range2) { 41 DWARFDebugAranges::Range range; local 42 range.Offset = set.getCompileUnitDIEOffset(); 45 range.LoPC = arange_desc_ptr->Address; 46 range.Length = arange_desc_ptr->Length; 52 range, RangeLessThan); 53 RangeCollection.insert(insert_pos, range); 68 Range range; local 102 const Range &range = Aranges[i]; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
deringing_luma.cpp | 34 int thres[4], range[4], max_range_blk, max_thres_blk; local 66 range[blks] = max_blk - min_blk; 68 if (range[blks] >= max_range_blk) 70 max_range_blk = range[blks]; 86 if (range[blks]<32 && max_range_blk >= 64) 120 range[blks] = max_blk - min_blk; 122 if (range[blks] >= max_range_blk) 124 max_range_blk = range[blks]; 140 if (range[blks]<32 && max_range_blk >= 64) 178 range[blks] = max_blk - min_blk [all...] |
/external/chromium/base/ |
rand_util.cc | 19 uint64 range = static_cast<uint64>(max) - min + 1; local 20 int result = min + static_cast<int>(base::RandGenerator(range)); 28 // produce output in the range [0, 1). For IEEE 754 doubles, the mantissa
|
/external/icu4c/common/unicode/ |
usetiter.h | 83 * iteration range, if <tt>codepoint != IS_STRING</tt>. If 127 * code point range, depending on whether <tt>next()</tt> or 134 * of the range, and <tt>getCodepointEnd()</tt> returns the end 135 * of the range. 148 * Returns the end of the current code point range, if 193 * Returns the next element in the set, either a code point range 197 * range of one or more code points from <tt>getCodepoint()</tt> to 253 /** End range 257 /** Range 260 int32_t range; member in class:UnicodeSetIterator [all...] |
/external/icu4c/samples/layout/ |
cmaps.cpp | 181 le_int32 range = 0; local 184 range = fRangeOffset; 190 if (SWAPU32(fGroups[range + probe].startCharCode) <= unicode32) { 191 range += probe; 195 if (SWAPU32(fGroups[range].startCharCode) <= unicode32 && SWAPU32(fGroups[range].endCharCode) >= unicode32) { 196 return (LEGlyphID) (SWAPU32(fGroups[range].startGlyphCode) + unicode32 - SWAPU32(fGroups[range].startCharCode));
|
/external/icu4c/test/letest/ |
cmaps.cpp | 175 le_int32 range = 0; local 178 range = fRangeOffset; 184 if (SWAPU32(fGroups[range + probe].startCharCode) <= unicode32) { 185 range += probe; 189 if (SWAPU32(fGroups[range].startCharCode) <= unicode32 && SWAPU32(fGroups[range].endCharCode) >= unicode32) { 190 return (LEGlyphID) (SWAPU32(fGroups[range].startGlyphCode) + unicode32 - SWAPU32(fGroups[range].startCharCode));
|
/external/iptables/extensions/ |
libipt_MASQUERADE.c | 21 " Port (range) to map to.\n" 47 mr->range[0].flags |= IP_NAT_RANGE_PROTO_SPECIFIED; 54 mr->range[0].min.tcp.port 55 = mr->range[0].max.tcp.port 65 mr->range[0].min.tcp.port = htons(port); 66 mr->range[0].max.tcp.port = htons(maxport); 98 mr->range[0].flags |= IP_NAT_RANGE_PROTO_RANDOM; 108 const struct nf_nat_range *r = &mr->range[0]; 125 const struct nf_nat_range *r = &mr->range[0];
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ip_nat.h | 29 /* Single range specification. */ 48 struct ip_nat_range range[1]; member in struct:ip_nat_multi_range_compat 66 /* Set up the info structure to map into this range. */ 68 const struct ip_nat_range *range,
|
/external/webkit/Source/WebCore/css/ |
CSSPropertySourceData.h | 55 CSSPropertySourceData(const String& name, const String& value, bool important, bool parsedOk, const SourceRange& range); 66 SourceRange range; member in struct:WebCore::CSSPropertySourceData 79 // Range of the style text in the enclosing source. 90 // Range of the selector list in the enclosing source.
|
/external/webkit/Source/WebCore/platform/graphics/ |
SegmentedFontData.h | 58 void appendRange(const FontDataRange& range) { m_ranges.append(range); }
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebEditingDelegatePrivate.h | 37 - (BOOL)webView:(WebView *)webView shouldMoveRangeAfterDelete:(DOMRange *)range replacingRange:(DOMRange *)rangeToBeReplaced;
|
WebTextIterator.h | 43 - (id)initWithRange:(DOMRange *)range; 76 @abstract A function that identifies the specific document range that text corresponds to. 80 due to the cost of computing a DOM range. 81 @result A DOM range indicating the position within the document of the current text.
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
InjectedBundlePageEditorClient.cpp | 39 bool InjectedBundlePageEditorClient::shouldBeginEditing(WebPage* page, Range* range) 42 RefPtr<InjectedBundleRangeHandle> rangeHandle = InjectedBundleRangeHandle::getOrCreate(range); 48 bool InjectedBundlePageEditorClient::shouldEndEditing(WebPage* page, Range* range) 51 RefPtr<InjectedBundleRangeHandle> rangeHandle = InjectedBundleRangeHandle::getOrCreate(range); 57 bool InjectedBundlePageEditorClient::shouldInsertNode(WebPage* page, Node* node, Range* rangeToReplace, EditorInsertAction action) 67 bool InjectedBundlePageEditorClient::shouldInsertText(WebPage* page, StringImpl* text, Range* rangeToReplace, EditorInsertAction action) 76 bool InjectedBundlePageEditorClient::shouldDeleteRange(WebPage* page, Range* range) [all...] |
/frameworks/base/libs/androidfw/ |
InputDevice.cpp | 162 const MotionRange& range = mMotionRanges.itemAt(i); local 163 if (range.axis == axis && range.source == source) { 164 return ⦥ 176 MotionRange range = { axis, source, min, max, flat, fuzz }; local 177 mMotionRanges.add(range); 180 void InputDeviceInfo::addMotionRange(const MotionRange& range) { 181 mMotionRanges.add(range);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsScrollView.java | 52 final int range = getScrollRange(); local 53 if (range == 0) {
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
ip_nat.h | 51 struct ip_nat_range range[1]; member in struct:ip_nat_multi_range_compat
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ip_nat.h | 51 struct ip_nat_range range[1]; member in struct:ip_nat_multi_range_compat
|
/external/guava/guava-tests/test/com/google/common/collect/ |
RangesTest.java | 84 Ranges.range(1, OPEN, 7, OPEN)) 87 Ranges.range(1, OPEN, 7, CLOSED)) 90 Ranges.range(1, CLOSED, 7, CLOSED)) 93 Ranges.range(1, CLOSED, 7, OPEN))
|
/external/webkit/Source/WebCore/page/mac/ |
WebCoreViewFactory.h | 38 - (WebCoreTextMarker *)startOfTextMarkerRange:(WebCoreTextMarkerRange *)range; 39 - (WebCoreTextMarker *)endOfTextMarkerRange:(WebCoreTextMarkerRange *)range;
|
/external/webkit/Source/WebCore/storage/ |
IDBIndex.idl | 36 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction) 38 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction))
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regex.c | 42 # define re_search(bufp, string, size, startpos, range, regs) \ 43 __re_search (bufp, string, size, startpos, range, regs) 47 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 48 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/netfilter_ipv4/ |
ip_nat.h | 51 struct ip_nat_range range[1]; member in struct:ip_nat_multi_range_compat
|