/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
assign_copy.pass.cpp | 84 assert(std::distance(c.begin(), c.end()) == c.size()); 85 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 143 assert(std::distance(c.begin(), c.end()) == c.size()); 144 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 203 assert(std::distance(c.begin(), c.end()) == c.size()); 204 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
copy.pass.cpp | 78 assert(std::distance(c.begin(), c.end()) == c.size()); 79 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 132 assert(std::distance(c.begin(), c.end()) == c.size()); 133 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 187 assert(std::distance(c.begin(), c.end()) == c.size()); 188 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.cnstr/ |
assign_copy.pass.cpp | 77 assert(std::distance(c.begin(), c.end()) == c.size()); 78 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 130 assert(std::distance(c.begin(), c.end()) == c.size()); 131 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 184 assert(std::distance(c.begin(), c.end()) == c.size()); 185 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
copy.pass.cpp | 70 assert(std::distance(c.begin(), c.end()) == c.size()); 71 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 117 assert(std::distance(c.begin(), c.end()) == c.size()); 118 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 165 assert(std::distance(c.begin(), c.end()) == c.size()); 166 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.cnstr/ |
assign_copy.pass.cpp | 69 assert(std::distance(c.begin(), c.end()) == c.size()); 70 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 114 assert(std::distance(c.begin(), c.end()) == c.size()); 115 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 160 assert(std::distance(c.begin(), c.end()) == c.size()); 161 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
move_alloc.pass.cpp | 64 assert(std::distance(c.begin(), c.end()) == c.size()); 65 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 105 assert(std::distance(c.begin(), c.end()) == c.size()); 106 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 147 assert(std::distance(c.begin(), c.end()) == c.size()); 148 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/ |
binary_search.hpp | 42 typename traits::difference_type len = boost::detail::distance(first, last); 67 typename traits::difference_type len = boost::detail::distance(first, last); 92 typename traits::difference_type len = boost::detail::distance(first, last); 117 typename traits::difference_type len = boost::detail::distance(first, last); 142 typename traits::difference_type len = boost::detail::distance(first, last); 174 typename traits::difference_type len = boost::detail::distance(first, last);
|
/external/chromium_org/third_party/freetype/src/truetype/ |
ttinterp.c | 5935 FT_F26Dot6 distance; local 5981 distance; local 6020 FT_F26Dot6 distance, local 6094 FT_F26Dot6 org_dist, distance; local 6211 distance, local 6344 FT_F26Dot6 distance; local 6480 FT_F26Dot6 distance; local [all...] |
/external/chromium_org/third_party/flot/ |
jquery.flot.navigate.min.js | 1 (function(i){i.fn.drag=function(j,k,l){if(k){this.bind("dragstart",j)}if(l){this.bind("dragend",l)}return !j?this.trigger("drag"):this.bind("drag",k?k:j)};var d=i.event,c=d.special,h=c.drag={not:":input",distance:0,which:1,dragging:false,setup:function(j){j=i.extend({distance:h.distance,which:h.which,not:h.not},j||{});j.distance=e(j.distance);d.add(this,"mousedown",f,j);if(this.attachEvent){this.attachEvent("ondragstart",a)}},teardown:function(){d.remove(this,"mousedown",f);if(this===h.dragging){h.dragging=h.proxy=false}g(this,true);if(this.detachEvent){this.detachEvent("ondragstart",a)}}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}};function f(j){var k=this,l,m=j.data||{};if(m.elem){k=j.dragTarget=m.elem;j.dragProxy=h.proxy||k;j.cursorOffsetX=m.pageX-m.left;j.cursorOffsetY=m.pageY-m.top;j.offsetX=j.pageX-j.cursorOffsetX;j.offsetY=j.pageY-j.cursorOffsetY}else{if(h.dragging||(m.which>0&&j.which!=m.which)||i(j.target).is(m.not)){return}}switch(j.type){case"mousedown":i.extend(m,i(k).offset(),{elem:k,target:j.target,pageX:j.pageX,pageY:j.pageY});d.add(document,"mousemove mouseup",f,m);g(k,false);h.dragging=null;return false;case !h.dragging&&"mousemove":if(e(j.pageX-m.pageX)+e(j.pageY-m.pageY)<m.distance){break}j.target=m.target;l=b(j,"dragstart",k);if(l!==false){h.dragging=k;h.proxy=j.dragProxy=i(l||k)[0]}case"mousemove":if(h.dragging){l=b(j,"drag",k);if(c.drop){c.drop.allowed=(l!==false);c.drop.handler(j)}if(l!==false){break}j.type="mouseup"}case"mouseup":d.remove(document,"mousemove mouseup",f);if(h.dragging){if(c.drop){c.drop.handler(j)}b(j,"dragend",k)}g(k,true);h.dragging=h.proxy=m.elem=false;break}return true}function b(m,k,j){m.type=k;var l=i.event.handle.call(j,m);return l===false?false:l||m.result}function e(j){return Math.pow(j,2)}function a(){return(h.dragging===false)}function g(j,k){if(!j){return}j.unselectable=k?"off":"on";j.onselectstart=function(){return k};if(j.style){j.style.MozUserSelect=k?"":"none"}}})(jQuery);(function(f){var e=["DOMMouseScroll","mousewheel"];f.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var a=e.length;a;){this.addEventListener(e[--a],d,false)}}else{this.onmousewheel=d}},teardown:function(){if(this.removeEventListener){for(var a=e.length;a;){this.removeEventListener(e[--a],d,false)}}else{this.onmousewheel=null}}};f.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}});function d(b){var h=[].slice.call(arguments,1),a=0,c=true;b=f.event.fix(b||window.event);b.type="mousewheel";if(b.wheelDelta){a=b.wheelDelta/120}if(b.detail){a=-b.detail/3}h.unshift(b,a);return f.event.handle.apply(this,h)}})(jQuery);(function(b){var a={xaxis:{zoomRange:null,panRange:null},zoom:{interactive:false,trigger:"dblclick",amount:1.5},pan:{interactive:false,cursor:"move",frameRate:20}};function c(o){function m(q,p){var r=o.offset();r.left=q.pageX-r.left;r.top=q.pageY-r.top;if(p){o.zoomOut({center:r})}else{o.zoom({center:r})}}function d(p,q){m(p,q<0);return false}var i="default",g=0,e=0,n=null;function f(p){if(p.which!=1){return false}var q=o.getPlaceholder().css("cursor");if(q){i=q}o.getPlaceholder().css("cursor",o.getOptions().pan.cursor);g=p.pageX;e=p.pageY}function j(q){var p=o.getOptions().pan.frameRate;if(n||!p){return}n=setTimeout(function(){o.pan({left:g-q.pageX,top:e-q.pageY});g=q.pageX;e=q.pageY;n=null},1/p*1000)}function h(p){if(n){clearTimeout(n);n=null}o.getPlaceholder().css("cursor",i);o.pan({left:g-p.pageX,top:e-p.pageY})}function l(q,p){var r=q.getOptions();if(r.zoom.interactive){p[r.zoom.trigger](m);p.mousewheel(d)}if(r.pan.interactive){p.bind("dragstart",{distance:10},f);p.bind("drag",j);p.bind("dragend",h)}}o.zoomOut=function(p){if(!p){p={}}if(!p.amount){p.amo (…)
|
/external/chromium_org/v8/test/mjsunit/ |
debug-backtrace-text.js | 48 function distance(p, q) { function 56 a=[1,2,distance]; 79 // 0: Call distance on Point where distance is a property on the prototype 80 // 1: Call distance on Point where distance is a direct property 85 assertEquals("#<Array>[2](aka distance)(p=#<Point>, q=#<Point>)", exec_state.frame(2).invocationText());
|
/external/v8/src/ia32/ |
macro-assembler-ia32.h | 91 Label::Distance condition_met_distance = Label::kFar); 98 Label::Distance distance = Label::kFar) { 99 InNewSpace(object, scratch, zero, branch, distance); 107 Label::Distance distance = Label::kFar) { 108 InNewSpace(object, scratch, not_zero, branch, distance); 116 Label::Distance has_color_distance, 124 Label::Distance on_black_distance = Label::kFar); 135 Label::Distance distance) [all...] |
/external/v8/test/mjsunit/ |
debug-backtrace-text.js | 48 function distance(p, q) { function 56 a=[1,2,distance]; 79 // 0: Call distance on Point where distance is a property on the prototype 80 // 1: Call distance on Point where distance is a direct property 85 assertEquals("#<Array>[2](aka distance)(p=#<Point>, q=#<Point>)", exec_state.frame(2).invocationText());
|
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/ |
AndroidAudioRenderer.java | 224 float distance;
local 232 // Calc the distance to the listener
235 distance = FastMath.abs(distanceVector.length());
237 if (distance < src.getRefDistance()) {
238 distance = src.getRefDistance();
240 if (distance > src.getMaxDistance()) {
241 distance = src.getMaxDistance();
243 volume = src.getRefDistance() / distance;
|
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 155 * @return The new X offset as an absolute distance from the origin. 164 * @return The new Y offset as an absolute distance from the origin. 184 * @return The start X offset as an absolute distance from the origin. 193 * @return The start Y offset as an absolute distance from the origin. 202 * @return The final X offset as an absolute distance from the origin. 211 * @return The final Y offset as an absolute distance from the origin. 254 * @param newX The new X offset as an absolute distance from the origin. 272 * @param newY The new Y offset as an absolute distance from the origin. 344 * Start scrolling by providing a starting point and the distance to travel. 352 * @param dx Horizontal distance to travel. Positive numbers will scroll th 853 float distance = mVelocity * mVelocity \/ (2.0f * Math.abs(mDeceleration)); local 910 double distance = 0.0; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | 159 * @return The new X offset as an absolute distance from the origin. 168 * @return The new Y offset as an absolute distance from the origin. 188 * @return The start X offset as an absolute distance from the origin. 197 * @return The start Y offset as an absolute distance from the origin. 206 * @return The final X offset as an absolute distance from the origin. 215 * @return The final Y offset as an absolute distance from the origin. 258 * @param newX The new X offset as an absolute distance from the origin. 276 * @param newY The new Y offset as an absolute distance from the origin. 348 * Start scrolling by providing a starting point and the distance to travel. 356 * @param dx Horizontal distance to travel. Positive numbers will scroll th 858 float distance = mVelocity * mVelocity \/ (2.0f * Math.abs(mDeceleration)); local 915 double distance = 0.0; local [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | 157 * @return The new X offset as an absolute distance from the origin. 166 * @return The new Y offset as an absolute distance from the origin. 186 * @return The start X offset as an absolute distance from the origin. 195 * @return The start Y offset as an absolute distance from the origin. 204 * @return The final X offset as an absolute distance from the origin. 213 * @return The final Y offset as an absolute distance from the origin. 256 * @param newX The new X offset as an absolute distance from the origin. 274 * @param newY The new Y offset as an absolute distance from the origin. 346 * Start scrolling by providing a starting point and the distance to travel. 354 * @param dx Horizontal distance to travel. Positive numbers will scroll th 858 float distance = mVelocity * mVelocity \/ (2.0f * Math.abs(mDeceleration)); local 915 double distance = 0.0; local [all...] |
/external/openfst/src/include/fst/ |
prune.h | 29 #include <fst/shortest-distance.h> 46 // If non-zero, passes in pre-computed shortest distance to final states. 47 const vector<Weight> *distance; member in class:fst::PruneOptions 57 distance(d), 117 if (!opts.distance) { 121 const vector<Weight> *fdistance = opts.distance ? opts.distance : &tmp; 242 if (!opts.distance) 244 const vector<Weight> *fdistance = opts.distance ? opts.distance : &tmp [all...] |
/external/freetype/src/truetype/ |
ttinterp.c | 6173 FT_F26Dot6 distance; local 6243 FT_F26Dot6 distance; local 6292 FT_F26Dot6 distance; local 6401 FT_F26Dot6 org_dist, distance, minimum_distance; local 6539 distance, local 6763 FT_F26Dot6 distance; local 6922 FT_F26Dot6 distance; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularContiguousSet.java | 52 return contains(target) ? (int) domain.distance(first(), (C) target) : -1; 96 long distance = domain.distance(first(), last()); local 97 return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/ |
MotionPath.java | 83 //computing traveled distance according to new time 86 //getting waypoint index and current value from new traveled distance 166 * compute the index of the waypoint and the interpolation value according to a distance 168 * @param distance the distance traveled on this path 171 public Vector2f getWayPointIndexForDistance(float distance) { 173 distance = distance % spline.getTotalLength(); 176 if (sum + len >= distance) { 177 return new Vector2f((float) i, (distance - sum) / len) [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
MapModel2D.java | 139 // Get the distance between position and the centre for calculating 141 double distance = NavCalculator.computeLongDiff(centre.getLongitude(), local 144 // Use the distance from the centre to calculate the pixel x co-ordinate 145 double distanceInPixels = (distance / minutesPerPixel); 220 // Get the distance between position and the centre 221 double xDistance = distance(xCentre, p.getX()); 222 double yDistance = distance(pixelCentre.getY(), p.getY()); 252 * Calculates distance between two points on the map in pixels 255 * @return distance the distance between a and b in pixel 258 private double distance(double a, double b) { method in class:MapModel2D [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/pat_trie_/ |
split_fn_imps.hpp | 73 other.m_size = std::distance(other.PB_DS_CLASS_C_DEC::begin(), 154 std::distance(p_internal_nd->begin(), child_it) + 1; 159 std::distance(p_internal_nd->begin(), p_internal_nd->end()) - 181 _GLIBCXX_DEBUG_ASSERT(std::distance(p_internal_nd->begin(), 184 if (std::distance(p_internal_nd->begin(), p_internal_nd->end()) > 1)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/ |
split_fn_imps.hpp | 73 other.m_size = std::distance(other.PB_DS_CLASS_C_DEC::begin(), 154 std::distance(p_internal_nd->begin(), child_it) + 1; 159 std::distance(p_internal_nd->begin(), p_internal_nd->end()) - 181 _GLIBCXX_DEBUG_ASSERT(std::distance(p_internal_nd->begin(), 184 if (std::distance(p_internal_nd->begin(), p_internal_nd->end()) > 1)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/ |
split_fn_imps.hpp | 73 other.m_size = std::distance(other.PB_DS_CLASS_C_DEC::begin(), 154 std::distance(p_internal_nd->begin(), child_it) + 1; 159 std::distance(p_internal_nd->begin(), p_internal_nd->end()) - 181 _GLIBCXX_DEBUG_ASSERT(std::distance(p_internal_nd->begin(), 184 if (std::distance(p_internal_nd->begin(), p_internal_nd->end()) > 1)
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/ |
split_fn_imps.hpp | 73 other.m_size = std::distance(other.PB_DS_CLASS_C_DEC::begin(), 154 std::distance(p_internal_nd->begin(), child_it) + 1; 159 std::distance(p_internal_nd->begin(), p_internal_nd->end()) - 181 _GLIBCXX_DEBUG_ASSERT(std::distance(p_internal_nd->begin(), 184 if (std::distance(p_internal_nd->begin(), p_internal_nd->end()) > 1)
|