HomeSort by relevance Sort by last modified time
    Searched refs:range (Results 1 - 25 of 1027) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/stlport/test/eh/
random_number.cpp 26 unsigned random_number( size_t range )
29 if (range == 0) return 0;
30 return (unsigned)(EH_STD::rand() + EH_STD::rand()) % range;
33 if (range==0) return 0;
34 return rnd(range);
random_number.h 21 // Return a random number in the given range.
22 unsigned random_number( size_t range );
  /system/extras/ext4_utils/
wipe.c 35 u64 range[2]; local
38 range[0] = 0;
39 range[1] = len;
40 ret = ioctl(fd, BLKSECDISCARD, &range);
42 range[0] = 0;
43 range[1] = len;
44 ret = ioctl(fd, BLKDISCARD, &range);
  /external/clang/test/CodeGenCXX/
reference-in-blocks.cpp 5 template<typename T> class range { class
8 range(T i) {_i = i;}; function in class:range
35 void (^bl)(range<int> ) = ^(range<int> i){printf("Hello Blocks %d\n", i.get()); };
38 void (^bl2)(range<int>& ) = ^(range<int>& i){printf("Hello Blocks %d\n", i.get()); };
  /external/freetype/src/base/
ftgasp.c 38 TT_GaspRange range = ttface->gasp.gaspRanges; local
39 TT_GaspRange range_end = range + ttface->gasp.numRanges;
42 while ( ppem > range->maxPPEM )
44 range++;
45 if ( range >= range_end )
49 result = range->gaspFlag;
  /external/webkit/Source/WebCore/inspector/front-end/
TextEditorModel.js 93 setText: function(range, text)
96 if (!range) {
97 range = new WebInspector.TextRange(0, 0, this._lines.length - 1, this._lines[this._lines.length - 1].length);
100 var command = this._pushUndoableCommand(range);
101 var newRange = this._innerSetText(range, text);
102 command.range = newRange.clone();
105 this._changeListener(range, newRange, command.text, text);
114 _innerSetText: function(range, text)
116 this._eraseRange(range);
118 return new WebInspector.TextRange(range.startLine, range.startColumn, range.startLine, range.startColumn)
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/InjectedBundle/DOM/
InjectedBundleRangeHandle.cpp 29 #include <WebCore/Range.h>
36 typedef HashMap<Range*, InjectedBundleRangeHandle*> DOMHandleCache;
44 PassRefPtr<InjectedBundleRangeHandle> InjectedBundleRangeHandle::getOrCreate(Range* range)
46 if (!range)
49 std::pair<DOMHandleCache::iterator, bool> result = domHandleCache().add(range, 0);
53 RefPtr<InjectedBundleRangeHandle> rangeHandle = InjectedBundleRangeHandle::create(range);
58 PassRefPtr<InjectedBundleRangeHandle> InjectedBundleRangeHandle::create(Range* range)
60 return adoptRef(new InjectedBundleRangeHandle(range));
    [all...]
  /external/webkit/Tools/DumpRenderTree/qt/
PlainTextControllerQt.cpp 41 QString PlainTextController::plainText(const QVariant& range)
43 return DumpRenderTreeSupportQt::plainText(range);
  /external/chromium/net/http/
http_byte_range_unittest.cc 27 net::HttpByteRange range; local
28 range.set_first_byte_position(tests[i].first_byte_position);
29 range.set_last_byte_position(tests[i].last_byte_position);
30 range.set_suffix_length(tests[i].suffix_length);
31 EXPECT_EQ(tests[i].valid, range.IsValid());
59 net::HttpByteRange range; local
60 range.set_first_byte_position(tests[i].first_byte_position);
61 range.set_last_byte_position(tests[i].last_byte_position);
62 range.set_suffix_length(tests[i].suffix_length);
64 bool return_value = range.ComputeBounds(tests[i].instance_size)
    [all...]
  /external/webkit/Source/WebKit/wx/
WebDOMSelection.cpp 61 WTF::RefPtr<WebCore::Range> range = m_selection->toNormalizedRange(); local
64 if (range) {
65 range->ref();
66 return new WebDOMRange(range.get());
  /external/webkit/Source/WebCore/html/
TimeRanges.h 67 struct Range {
68 Range() { }
69 Range(float start, float end)
82 inline bool isOverlappingRange(const Range& range) const
84 return isPointInRange(range.m_start) || isPointInRange(range.m_end) || range.isPointInRange(m_start);
87 inline bool isContiguousWithRange(const Range& range) cons
    [all...]
  /external/elfutils/tests/
run-get-aranges.sh 25 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/skia/tests/
ClampRangeTest.cpp 42 static void slow_check(const SkClampRange& range,
44 SkASSERT(range.fCount0 + range.fCount1 + range.fCount2 == count);
47 if (range.fOverflowed) {
48 fx = range.fFx1;
49 for (i = 0; i < range.fCount1; i++) {
54 for (i = 0; i < range.fCount0; i++) {
56 R_ASSERT(v == range.fV0);
59 if (range.fCount1 > 0 && fx != range.fFx1)
77 SkClampRange range; local
    [all...]
  /external/webkit/LayoutTests/fast/dom/Selection/script-tests/
getRangeAt.js 1 description("Test to make sure that getRangeAt does not modify the range when returning it.")
10 var range = sel.getRangeAt(0); variable
12 var result = range.comparePoint(textNode, 0);
14 testPassed("range is correctly (text, 0)");
16 testFailed("range did not match (text, 0)");
24 debug("startContainer: " + range.startContainer);
25 debug("startOffset: " + range.startOffset);
26 debug("endContainer: " + range.endContainer);
27 debug("endOffset: " + range.endOffset);
  /external/libvpx/vp8/decoder/
dboolhuff.h 34 unsigned int range; member in struct:__anon7447
75 unsigned int range; local
79 range = br->range;
81 split = 1 + (((range - 1) * probability) >> 8);
84 range = split;
88 range = br->range - split;
94 register unsigned int shift = vp8dx_bitreader_norm[range];
95 range <<= shift
    [all...]
  /external/openssl/crypto/bn/
bn_rand.c 229 /* random number r: 0 <= r < range */
230 static int bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range)
236 if (range->neg || BN_is_zero(range))
242 n = BN_num_bits(range); /* n > 0 */
244 /* BN_is_bit_set(range, n - 1) always holds */
248 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3))
250 /* range = 100..._2,
251 * so 3*range (= 11..._2) is exactly one bit longer than range *
    [all...]
  /external/clang/test/CodeGen/
struct.c 71 } range; typedef in typeref:struct:__anon4635
72 extern range f6();
74 range r = f6();
79 range range1;
80 range range2;
86 range r = p.range1;
89 void f9(range *p) {
90 range r = *p;
93 void f10(range *p) {
94 range r = p[0]
    [all...]
  /external/libvpx/vp8/encoder/
boolhuff.c 50 br->range = 255;
81 unsigned int range = br->range; local
96 split = 1 + (((range - 1) * probability) >> 8);
98 range = split;
103 range = br->range - split;
106 shift = norm[range];
108 range <<= shift;
138 br->range = range
    [all...]
  /external/clang/lib/ARCMigrate/
Internals.h 29 bool clearDiagnostic(llvm::ArrayRef<unsigned> IDs, SourceRange range);
30 bool hasDiagnostic(llvm::ArrayRef<unsigned> IDs, SourceRange range) const;
62 void remove(SourceRange range);
64 void replace(SourceRange range, llvm::StringRef text);
65 void replace(SourceRange range, SourceRange replacementRange);
69 void increaseIndentation(SourceRange range,
72 bool clearDiagnostic(llvm::ArrayRef<unsigned> IDs, SourceRange range);
73 bool clearAllDiagnostics(SourceRange range) {
74 return clearDiagnostic(llvm::ArrayRef<unsigned>(), range);
76 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) {
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
changelog_unittest.py 67 self.assert_error(1, range(1, 20), 'changelog/bugnumber',
71 self.assert_error(1, range(1, 20), 'changelog/bugnumber',
76 self.assert_error(1, range(1, 20), 'changelog/bugnumber',
81 self.assert_error(1, range(1, 20), 'changelog/bugnumber',
86 self.assert_error(1, range(1, 20), 'changelog/bugnumber',
92 self.assert_error(2, range(2, 5), 'changelog/bugnumber',
99 self.assert_error(2, range(2, 6), 'changelog/bugnumber',
112 ' Example ChangeLog entry out of range\n'
119 self.assert_no_error(range(1, 20),
124 self.assert_no_error(range(1, 20)
    [all...]
  /external/stlport/test/unit/
ctype_facets_test.cpp 43 //is range
75 char range[] = "abAc123 ."; local
76 const char *rbeg = range;
77 const char *rend = range + sizeof(range);
95 char range[] = "abAc123 ."; local
96 const char *rbeg = range;
97 const char *rend = range + sizeof(range);
120 //toupper range
122 char range[] = "abAc1"; local
137 char range[] = "ABaC1"; local
150 char range[] = "ABaC1"; local
163 char range[] = "ABaC1"; local
219 wchar_t range[] = L"abAc123 ."; local
239 wchar_t range[] = L"abAc123 ."; local
266 wchar_t range[] = L"abAc1"; local
281 wchar_t range[] = L"ABaC1"; local
294 char range[] = "ABaC1"; local
308 wchar_t range[] = L"ABaC1"; local
    [all...]
  /external/webkit/Tools/DumpRenderTree/gtk/
EditingCallbacks.cpp 57 static CString dumpRange(WebKitDOMRange* range)
59 if (!range)
66 GOwnPtr<gchar> dump(g_strdup_printf("range from %li of %s to %li of %s",
67 webkit_dom_range_get_start_offset(range, &error1.outPtr()),
68 dumpNodePath(webkit_dom_range_get_start_container(range, &error2.outPtr())).data(),
69 webkit_dom_range_get_end_offset(range, &error3.outPtr()),
70 dumpNodePath(webkit_dom_range_get_end_container(range, &error4.outPtr())).data()));
100 gboolean shouldBeginEditing(WebKitWebView* webView, WebKitDOMRange* range)
103 printf("EDITING DELEGATE: shouldBeginEditingInDOMRange:%s\n", dumpRange(range).data());
107 gboolean shouldEndEditing(WebKitWebView* webView, WebKitDOMRange* range)
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
ctype_facets_test.cpp 43 //is range
75 char range[] = "abAc123 ."; local
76 const char *rbeg = range;
77 const char *rend = range + sizeof(range);
95 char range[] = "abAc123 ."; local
96 const char *rbeg = range;
97 const char *rend = range + sizeof(range);
120 //toupper range
122 char range[] = "abAc1"; local
137 char range[] = "ABaC1"; local
150 char range[] = "ABaC1"; local
163 char range[] = "ABaC1"; local
219 wchar_t range[] = L"abAc123 ."; local
239 wchar_t range[] = L"abAc123 ."; local
266 wchar_t range[] = L"abAc1"; local
281 wchar_t range[] = L"ABaC1"; local
294 char range[] = "ABaC1"; local
308 wchar_t range[] = L"ABaC1"; local
    [all...]
  /ndk/tests/device/test-stlport/unit/
ctype_facets_test.cpp 43 //is range
75 char range[] = "abAc123 ."; local
76 const char *rbeg = range;
77 const char *rend = range + sizeof(range);
95 char range[] = "abAc123 ."; local
96 const char *rbeg = range;
97 const char *rend = range + sizeof(range);
120 //toupper range
122 char range[] = "abAc1"; local
137 char range[] = "ABaC1"; local
150 char range[] = "ABaC1"; local
163 char range[] = "ABaC1"; local
219 wchar_t range[] = L"abAc123 ."; local
239 wchar_t range[] = L"abAc123 ."; local
266 wchar_t range[] = L"abAc1"; local
281 wchar_t range[] = L"ABaC1"; local
294 char range[] = "ABaC1"; local
308 wchar_t range[] = L"ABaC1"; local
    [all...]
  /external/iptables/extensions/
libipt_DNAT.c 21 /* Dest NAT data consists of a multi-range, indicating where to map
47 append_range(struct ipt_natinfo *info, const struct nf_nat_range *range)
52 size = XT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range));
59 info->mr.range[info->mr.rangesize] = *range;
69 struct nf_nat_range range; local
76 memset(&range, 0, sizeof(range));
86 range.flags |= IP_NAT_RANGE_PROTO_SPECIFIED;
100 range.min.tcp.por
    [all...]

Completed in 1495 milliseconds

1 2 3 4 5 6 7 8 91011>>