Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/external/elfutils/tests/
Drun-get-aranges.sh25 0x804842b: not in range
29 0x804845a: not in range
30 0x804845b: not in range
34 0x8048466: not in range
35 0x8048467: not in range
39 0x8048472: not in range
46 0x804842b: not in range
47 0x804842c: not in range
48 0x804843c: not in range
49 0x8048459: not in range
[all …]
/external/opencore/baselibs/gen_data_structures/src/
Drtsp_range_utils.cpp481 OSCL_EXPORT_REF bool parseRtspRange(const char *rangeString, int length, RtspRangeType& range) in parseRtspRange() argument
488 range.format = RtspRangeType::INVALID_RANGE; in parseRtspRange()
553 range.start_is_set = false; in parseRtspRange()
558 if (parse_smpte_format(sptr, eptr, tmp_format, range.smpte_start) == false) in parseRtspRange()
564 range.start_is_set = true; in parseRtspRange()
569 range.end_is_set = false; in parseRtspRange()
575 if (parse_smpte_format(sptr, eptr, tmp_format, range.smpte_end) in parseRtspRange()
582 range.end_is_set = true; in parseRtspRange()
586 range.format = tmp_format; in parseRtspRange()
614 range.start_is_set = false; in parseRtspRange()
[all …]
/external/freetype/src/sfnt/
Dttsbit.c240 Load_SBit_Const_Metrics( TT_SBit_Range range, in Load_SBit_Const_Metrics() argument
246 if ( FT_READ_ULONG( range->image_size ) ) in Load_SBit_Const_Metrics()
249 return FT_STREAM_READ_FIELDS( sbit_metrics_fields, &range->metrics ); in Load_SBit_Const_Metrics()
272 Load_SBit_Range_Codes( TT_SBit_Range range, in Load_SBit_Range_Codes() argument
284 range->num_glyphs = count; in Load_SBit_Range_Codes()
289 if ( FT_NEW_ARRAY( range->glyph_offsets, count ) ) in Load_SBit_Range_Codes()
298 if ( FT_NEW_ARRAY ( range->glyph_codes, count ) || in Load_SBit_Range_Codes()
304 range->glyph_codes[n] = FT_GET_USHORT(); in Load_SBit_Range_Codes()
307 range->glyph_offsets[n] = (FT_ULong)range->image_offset + in Load_SBit_Range_Codes()
335 Load_SBit_Range( TT_SBit_Range range, in Load_SBit_Range() argument
[all …]
/external/iptables/extensions/
Dlibipt_SNAT.c38 append_range(struct ipt_natinfo *info, const struct ip_nat_range *range) in append_range() argument
43 size = IPT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range)); in append_range()
50 info->mr.range[info->mr.rangesize] = *range; in append_range()
60 struct ip_nat_range range; in parse_to() local
64 memset(&range, 0, sizeof(range)); in parse_to()
74 range.flags |= IP_NAT_RANGE_PROTO_SPECIFIED; in parse_to()
88 range.min.tcp.port in parse_to()
89 = range.max.tcp.port in parse_to()
102 range.min.tcp.port = htons(port); in parse_to()
103 range.max.tcp.port = htons(maxport); in parse_to()
[all …]
Dlibipt_DNAT.c38 append_range(struct ipt_natinfo *info, const struct ip_nat_range *range) in append_range() argument
43 size = IPT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range)); in append_range()
50 info->mr.range[info->mr.rangesize] = *range; in append_range()
60 struct ip_nat_range range; in parse_to() local
64 memset(&range, 0, sizeof(range)); in parse_to()
74 range.flags |= IP_NAT_RANGE_PROTO_SPECIFIED; in parse_to()
88 range.min.tcp.port in parse_to()
89 = range.max.tcp.port in parse_to()
102 range.min.tcp.port = htons(port); in parse_to()
103 range.max.tcp.port = htons(maxport); in parse_to()
[all …]
Dlibipt_SAME.c50 parse_to(char *arg, struct ip_nat_range *range) in parse_to() argument
55 range->flags |= IP_NAT_RANGE_MAP_IPS; in parse_to()
65 range->min_ip = ip->s_addr; in parse_to()
73 range->max_ip = ip->s_addr; in parse_to()
75 if (range->min_ip > range->max_ip) in parse_to()
104 parse_to(optarg, &mr->range[mr->rangesize]); in parse()
146 struct ip_nat_range *r = &mr->range[count]; in print()
173 struct ip_nat_range *r = &mr->range[count]; in save()
Dlibipt_iprange.man1 This matches on a given arbitrary range of IPv4 addresses
3 .BI "[!]" "--src-range " "ip-ip"
4 Match source IP in the specified range.
6 .BI "[!]" "--dst-range " "ip-ip"
7 Match destination IP in the specified range.
Dlibipt_iprange.c30 parse_iprange(char *arg, struct ipt_iprange *range) in parse_iprange() argument
43 range->min_ip = ip->s_addr; in parse_iprange()
50 range->max_ip = ip->s_addr; in parse_iprange()
52 range->max_ip = range->min_ip; in parse_iprange()
112 print_iprange(const struct ipt_iprange *range) in print_iprange() argument
116 byte_min = (const unsigned char *) &(range->min_ip); in print_iprange()
117 byte_max = (const unsigned char *) &(range->max_ip); in print_iprange()
Dlibipt_NETMAP.c71 parse_to(char *arg, struct ip_nat_range *range) in parse_to() argument
78 range->flags |= IP_NAT_RANGE_MAP_IPS; in parse_to()
87 range->min_ip = ip->s_addr; in parse_to()
109 if (range->min_ip & ~netmask) { in parse_to()
115 range->max_ip = range->min_ip | ~netmask; in parse_to()
134 parse_to(optarg, &mr->range[0]); in parse()
159 struct ip_nat_range *r = &mr->range[0]; in print()
/external/openssl/crypto/bn/
Dbn_rand.c230 static int bn_rand_range(int pseudo, BIGNUM *r, BIGNUM *range) in bn_rand_range() argument
236 if (range->neg || BN_is_zero(range)) in bn_rand_range()
242 n = BN_num_bits(range); /* n > 0 */ in bn_rand_range()
248 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) in bn_rand_range()
260 if (BN_cmp(r ,range) >= 0) in bn_rand_range()
262 if (!BN_sub(r, r, range)) return 0; in bn_rand_range()
263 if (BN_cmp(r, range) >= 0) in bn_rand_range()
264 if (!BN_sub(r, r, range)) return 0; in bn_rand_range()
274 while (BN_cmp(r, range) >= 0); in bn_rand_range()
289 while (BN_cmp(r, range) >= 0); in bn_rand_range()
[all …]
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/per/src/
Dgenericper.cpp224 uint32 value = 0, range; in GetInteger() local
232 range = upper - lower + 1; in GetInteger()
234 if (range == 0) /* Special case: int32EGER(0..4294967295) */ in GetInteger()
240 else if (range == 1) /* 0-bits */ in GetInteger()
242 else if (range < 256) /* Bit-field cases */ in GetInteger()
244 if (range <= 2) nbits = 1; in GetInteger()
245 else if (range <= 4) nbits = 2; in GetInteger()
246 else if (range <= 8) nbits = 3; in GetInteger()
247 else if (range <= 16) nbits = 4; in GetInteger()
248 else if (range <= 32) nbits = 5; in GetInteger()
[all …]
/external/webkit/WebKitTools/DumpRenderTree/win/
DEditingDelegate.cpp96 static wstring dump(IDOMRange* range) in dump() argument
98 ASSERT(range); in dump()
101 if (FAILED(range->startOffset(&startOffset))) in dump()
105 if (FAILED(range->endOffset(&endOffset))) in dump()
109 if (FAILED(range->startContainer(&startContainer))) in dump()
113 if (FAILED(range->endContainer(&endContainer))) in dump()
123 /* [in] */ IDOMRange* range, in shouldBeginEditingInDOMRange() argument
132 _tprintf(TEXT("EDITING DELEGATE: shouldBeginEditingInDOMRange:%s\n"), dump(range)); in shouldBeginEditingInDOMRange()
140 /* [in] */ IDOMRange* range, in shouldEndEditingInDOMRange() argument
149 _tprintf(TEXT("EDITING DELEGATE: shouldEndEditingInDOMRange:%s\n"), dump(range)); in shouldEndEditingInDOMRange()
[all …]
/external/opencore/codecs_v2/video/m4v_h263/dec/src/
Dderinging_luma.cpp35 int thres[4], range[4], max_range_blk, max_thres_blk; in Deringing_Luma() local
67 range[blks] = max_blk - min_blk; in Deringing_Luma()
69 if (range[blks] >= max_range_blk) in Deringing_Luma()
71 max_range_blk = range[blks]; in Deringing_Luma()
87 if (range[blks]<32 && max_range_blk >= 64) in Deringing_Luma()
121 range[blks] = max_blk - min_blk; in Deringing_Luma()
123 if (range[blks] >= max_range_blk) in Deringing_Luma()
125 max_range_blk = range[blks]; in Deringing_Luma()
141 if (range[blks]<32 && max_range_blk >= 64) in Deringing_Luma()
179 range[blks] = max_blk - min_blk; in Deringing_Luma()
[all …]
/external/webkit/WebCore/platform/text/
DUnicodeRange.cpp435 unsigned int range; in findCharUnicodeRange() local
438 range = gUnicodeSubrangeTable[0][ch >> 12]; in findCharUnicodeRange()
440 if (range < cRangeTableBase) in findCharUnicodeRange()
442 return range; in findCharUnicodeRange()
445 range = gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x0f00) >> 8]; in findCharUnicodeRange()
446 if (range < cRangeTableBase) in findCharUnicodeRange()
447 return range; in findCharUnicodeRange()
448 if (range < cRangeTertiaryTable) in findCharUnicodeRange()
449 return gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x00f0) >> 4]; in findCharUnicodeRange()
/external/icu4c/test/intltest/
Ducdtest.cpp171 int32_t rangeCount, range; in TestAdditionalProperties() local
179 for(range=0; range<rangeCount; ++range) { in TestAdditionalProperties()
180 start=derivedCoreProps[i].getRangeStart(range); in TestAdditionalProperties()
181 end=derivedCoreProps[i].getRangeEnd(range); in TestAdditionalProperties()
203 for(range=0; range<rangeCount; ++range) { in TestAdditionalProperties()
204 start=derivedCoreProps[i].getRangeStart(range); in TestAdditionalProperties()
205 end=derivedCoreProps[i].getRangeEnd(range); in TestAdditionalProperties()
/external/webkit/WebKit/qt/WebCoreSupport/
DEditorClientQt.cpp82 static QString dumpRange(WebCore::Range *range) in dumpRange() argument
84 if (!range) in dumpRange()
89 range->startOffset(code), dumpPath(range->startContainer(code)).unicode(), in dumpRange()
90 range->endOffset(code), dumpPath(range->endContainer(code)).unicode()); in dumpRange()
98 bool EditorClientQt::shouldDeleteRange(Range* range) in shouldDeleteRange() argument
101 … printf("EDITING DELEGATE: shouldDeleteDOMRange:%s\n", dumpRange(range).toUtf8().constData()); in shouldDeleteRange()
128 bool EditorClientQt::shouldBeginEditing(WebCore::Range* range) in shouldBeginEditing() argument
131 …printf("EDITING DELEGATE: shouldBeginEditingInDOMRange:%s\n", dumpRange(range).toUtf8().constData(… in shouldBeginEditing()
135 bool EditorClientQt::shouldEndEditing(WebCore::Range* range) in shouldEndEditing() argument
138 …printf("EDITING DELEGATE: shouldEndEditingInDOMRange:%s\n", dumpRange(range).toUtf8().constData()); in shouldEndEditing()
[all …]
/external/freetype/src/base/
Dftgasp.c38 TT_GaspRange range = ttface->gasp.gaspRanges; in FT_Get_Gasp() local
39 TT_GaspRange range_end = range + ttface->gasp.numRanges; in FT_Get_Gasp()
42 while ( ppem > range->maxPPEM ) in FT_Get_Gasp()
44 range++; in FT_Get_Gasp()
45 if ( range >= range_end ) in FT_Get_Gasp()
49 result = range->gaspFlag; in FT_Get_Gasp()
/external/webkit/WebCore/rendering/
DSVGRootInlineBox.cpp621 float cummulatedWidthOfInlineBoxCharacterRange(SVGInlineBoxCharacterRange& range) in cummulatedWidthOfInlineBoxCharacterRange() argument
623 ASSERT(!range.isOpen()); in cummulatedWidthOfInlineBoxCharacterRange()
624 ASSERT(range.isClosed()); in cummulatedWidthOfInlineBoxCharacterRange()
625 ASSERT(range.box->isInlineTextBox()); in cummulatedWidthOfInlineBoxCharacterRange()
627 InlineTextBox* textBox = static_cast<InlineTextBox*>(range.box); in cummulatedWidthOfInlineBoxCharacterRange()
631 …rInlineTextBox(text->characters() + textBox->start() + range.startOffset, range.endOffset - range.… in cummulatedWidthOfInlineBoxCharacterRange()
634 float cummulatedHeightOfInlineBoxCharacterRange(SVGInlineBoxCharacterRange& range) in cummulatedHeightOfInlineBoxCharacterRange() argument
636 ASSERT(!range.isOpen()); in cummulatedHeightOfInlineBoxCharacterRange()
637 ASSERT(range.isClosed()); in cummulatedHeightOfInlineBoxCharacterRange()
638 ASSERT(range.box->isInlineTextBox()); in cummulatedHeightOfInlineBoxCharacterRange()
[all …]
/external/openssl/crypto/x509v3/
Dv3_asid.c86 ASN1_SIMPLE(ASIdOrRange, u.range, ASRange)
132 if ((s = i2s_ASN1_INTEGER(NULL, aor->u.range->min)) == NULL)
136 if ((s = i2s_ASN1_INTEGER(NULL, aor->u.range->max)) == NULL)
176 (a->type == ASIdOrRange_range && a->u.range != NULL && in ASIdOrRange_cmp()
177 a->u.range->min != NULL && a->u.range->max != NULL)); in ASIdOrRange_cmp()
180 (b->type == ASIdOrRange_range && b->u.range != NULL && in ASIdOrRange_cmp()
181 b->u.range->min != NULL && b->u.range->max != NULL)); in ASIdOrRange_cmp()
187 int r = ASN1_INTEGER_cmp(a->u.range->min, b->u.range->min); in ASIdOrRange_cmp()
188 return r != 0 ? r : ASN1_INTEGER_cmp(a->u.range->max, b->u.range->max); in ASIdOrRange_cmp()
192 return ASN1_INTEGER_cmp(a->u.id, b->u.range->min); in ASIdOrRange_cmp()
[all …]
/external/opencore/protocols/sdp/parser/src/
Dsdpparser.cpp917 SDP_Parser::convertToMilliSec(RtspRangeType range , int &startTime, int &stopTime) in convertToMilliSec() argument
919 switch (range.format) in convertToMilliSec()
923 if (range.start_is_set) in convertToMilliSec()
925 switch (range.npt_start.npt_format) in convertToMilliSec()
934 …startTime = (int)(1000 * ((float)range.npt_start.npt_sec.sec + range.npt_start.npt_sec.milli_sec)); in convertToMilliSec()
939 …3600000 * range.npt_start.npt_hhmmss.hours + 60000 * range.npt_start.npt_hhmmss.min + 1000 * range in convertToMilliSec()
948 if (range.end_is_set) in convertToMilliSec()
950 switch (range.npt_end.npt_format) in convertToMilliSec()
959 … stopTime = (int)(1000 * ((float)range.npt_end.npt_sec.sec + range.npt_end.npt_sec.milli_sec)); in convertToMilliSec()
964 … = 3600000 * range.npt_end.npt_hhmmss.hours + 60000 * range.npt_end.npt_hhmmss.min + 1000 * range.… in convertToMilliSec()
[all …]
/external/webkit/WebKit/mac/WebView/
DWebEditingDelegate.h42 - (BOOL)webView:(WebView *)webView shouldBeginEditingInDOMRange:(DOMRange *)range;
43 - (BOOL)webView:(WebView *)webView shouldEndEditingInDOMRange:(DOMRange *)range;
44 … *)webView shouldInsertNode:(DOMNode *)node replacingDOMRange:(DOMRange *)range givenAction:(WebVi…
45 …*)webView shouldInsertText:(NSString *)text replacingDOMRange:(DOMRange *)range givenAction:(WebVi…
46 - (BOOL)webView:(WebView *)webView shouldDeleteDOMRange:(DOMRange *)range;
48 … *)webView shouldApplyStyle:(DOMCSSStyleDeclaration *)style toElementsInDOMRange:(DOMRange *)range;
/external/webkit/WebCore/editing/
Dmarkup.cpp140 static void appendEscapedContent(Vector<UChar>& result, pair<const UChar*, size_t> range, bool esca… in appendEscapedContent() argument
142 const UChar* uchars = range.first; in appendEscapedContent()
143 unsigned len = range.second; in appendEscapedContent()
213 static String stringValueForRange(const Node* node, const Range* range) in stringValueForRange() argument
215 if (!range) in stringValueForRange()
220 if (node == range->endContainer(ec)) in stringValueForRange()
221 str.truncate(range->endOffset(ec)); in stringValueForRange()
222 if (node == range->startContainer(ec)) in stringValueForRange()
223 str.remove(0, range->startOffset(ec)); in stringValueForRange()
227 static inline pair<const UChar*, size_t> ucharRange(const Node *node, const Range *range) in ucharRange() argument
[all …]
/external/webkit/WebCore/page/mac/
DAccessibilityObjectWrapper.mm253 …ingSetFont(NSMutableAttributedString* attrString, NSString* attribute, NSFont* font, NSRange range)
265 [attrString addAttribute:attribute value:dict range:range];
267 [attrString removeAttribute:attribute range:range];
294 …SetColor(NSMutableAttributedString* attrString, NSString* attribute, NSColor* color, NSRange range)
297 …CGColorRef existingColor = (CGColorRef) [attrString attribute:attribute atIndex:range.location eff…
300 [attrString addAttribute:attribute value:(id)cgColor range:range];
304 [attrString removeAttribute:attribute range:range];
307 …Number(NSMutableAttributedString* attrString, NSString* attribute, NSNumber* number, NSRange range)
310 [attrString addAttribute:attribute value:number range:range];
312 [attrString removeAttribute:attribute range:range];
[all …]
/external/icu4c/samples/layout/
Dcmaps.cpp181 le_int32 range = 0; in unicodeToGlyph() local
184 range = fRangeOffset; in unicodeToGlyph()
190 if (SWAPU32(fGroups[range + probe].startCharCode) <= unicode32) { in unicodeToGlyph()
191 range += probe; in unicodeToGlyph()
195 …if (SWAPU32(fGroups[range].startCharCode) <= unicode32 && SWAPU32(fGroups[range].endCharCode) >= u… in unicodeToGlyph()
196 …return (LEGlyphID) (SWAPU32(fGroups[range].startGlyphCode) + unicode32 - SWAPU32(fGroups[range].st… in unicodeToGlyph()
/external/icu4c/test/letest/
Dcmaps.cpp175 le_int32 range = 0; in unicodeToGlyph() local
178 range = fRangeOffset; in unicodeToGlyph()
184 if (SWAPU32(fGroups[range + probe].startCharCode) <= unicode32) { in unicodeToGlyph()
185 range += probe; in unicodeToGlyph()
189 …if (SWAPU32(fGroups[range].startCharCode) <= unicode32 && SWAPU32(fGroups[range].endCharCode) >= u… in unicodeToGlyph()
190 …return (LEGlyphID) (SWAPU32(fGroups[range].startGlyphCode) + unicode32 - SWAPU32(fGroups[range].st… in unicodeToGlyph()

12345678910>>...16