/prebuilts/ndk/current/sources/cxx-stl/gabi++/include/ |
stl_pair.h | 68 _T1 first; member in struct:pair 70 pair() : first(), second() {} 71 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} 74 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} 80 return __x.first == __y.first && __x.second == __y.second; 86 return __x.first < __y.first || 87 (!(__y.first < __x.first) && __x.second < __y.second) [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/gabi++/include/ |
stl_pair.h | 76 _T1 first; member in struct:pair 78 pair() : first(), second() {} 79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} 82 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} 88 return __x.first == __y.first && __x.second == __y.second; 94 return __x.first < __y.first || 95 (!(__y.first < __x.first) && __x.second < __y.second) [all...] |
/prebuilts/ndk/current/sources/cxx-stl/system/include/ |
stl_pair.h | 76 _T1 first; member in struct:pair 78 pair() : first(), second() {} 79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} 82 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} 88 return __x.first == __y.first && __x.second == __y.second; 94 return __x.first < __y.first || 95 (!(__y.first < __x.first) && __x.second < __y.second) [all...] |
/system/connectivity/dhcp_client/ |
dhcp_options_parser.cc | 135 uint32_t first = *reinterpret_cast<const uint32_t*>(buffer); local 136 first = ntohl(first); 140 value_vector->push_back(std::pair<uint32_t, uint32_t>(first, second));
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/ |
types.h | 35 struct hlist_node * first; member in struct:hlist_head
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/ |
types.h | 22 struct hlist_node *first; member in struct:hlist_head
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
ViewportTest1.java | 67 stage.setViewport(viewports.first()); 68 label.setText(names.first());
|
/libcore/luni/src/test/java/libcore/util/ |
ZoneInfoDBTest.java | 84 ZoneInfo first = data.makeTimeZone(tzId); local 86 assertNotSame(first, second); 88 assertTrue(first.hasSameRules(second)); 90 first.setID("Not Europe/London"); 92 assertFalse(first.getID().equals(second.getID())); 94 first.setRawOffset(3600); 95 assertFalse(first.getRawOffset() == second.getRawOffset());
|
/build/kati/ |
rule.cc | 63 StringPiece first = line.substr(0, index); local 65 for (StringPiece tok : WordScanner(first)) {
|
/external/boringssl/src/crypto/asn1/ |
f_enum.c | 103 int num=0,slen=0,first=1; local 134 if (first) 136 first=0;
|
f_int.c | 108 int num=0,slen=0,first=1; local 139 if (first) 141 first=0;
|
f_string.c | 103 int num=0,slen=0,first=1; local 110 if (first) 115 first=0;
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
NanoTimeGranularityTester.java | 38 long first = System.nanoTime(); local 47 total += second - first;
|
/external/chromium-trace/catapult/third_party/flot/ |
jquery.flot.selection.js | 67 xaxis, the plugin picks the first one it sees. 84 first: { x: -1, y: -1}, second: { x: -1, y: -1}, 123 setSelectionPos(selection.first, e); 164 var r = {}, c1 = selection.first, c2 = selection.second; 196 pos.x = pos == selection.first ? 0 : plot.width(); 199 pos.y = pos == selection.first ? 0 : plot.height(); 263 selection.first.x = 0; 269 selection.first.x = range.axis.p2c(range.from); 274 selection.first.y = 0; 280 selection.first.y = range.axis.p2c(range.from) 83 var selection = { property [all...] |
jquery.flot.selection.min.js | 7 (function($){function init(plot){var selection={first:{x:-1,y:-1},second:{x:-1,y:-1},show:false,active:false};var savedhandlers={};var mouseUpHandler=null;function onMouseMove(e){if(selection.active){updateSelection(e);plot.getPlaceholder().trigger("plotselecting",[getSelection()])}}function onMouseDown(e){if(e.which!=1)return;document.body.focus();if(document.onselectstart!==undefined&&savedhandlers.onselectstart==null){savedhandlers.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(document.ondrag!==undefined&&savedhandlers.ondrag==null){savedhandlers.ondrag=document.ondrag;document.ondrag=function(){return false}}setSelectionPos(selection.first,e);selection.active=true;mouseUpHandler=function(e){onMouseUp(e)};$(document).one("mouseup",mouseUpHandler)}function onMouseUp(e){mouseUpHandler=null;if(document.onselectstart!==undefined)document.onselectstart=savedhandlers.onselectstart;if(document.ondrag!==undefined)document.ondrag=savedhandlers.ondrag;selection.active=false;updateSelection(e);if(selectionIsSane())triggerSelectedEvent();else{plot.getPlaceholder().trigger("plotunselected",[]);plot.getPlaceholder().trigger("plotselecting",[null])}return false}function getSelection(){if(!selectionIsSane())return null;if(!selection.show)return null;var r={},c1=selection.first,c2=selection.second;$.each(plot.getAxes(),function(name,axis){if(axis.used){var p1=axis.c2p(c1[axis.direction]),p2=axis.c2p(c2[axis.direction]);r[name]={from:Math.min(p1,p2),to:Math.max(p1,p2)}}});return r}function triggerSelectedEvent(){var r=getSelection();plot.getPlaceholder().trigger("plotselected",[r]);if(r.xaxis&&r.yaxis)plot.getPlaceholder().trigger("selected",[{x1:r.xaxis.from,y1:r.yaxis.from,x2:r.xaxis.to,y2:r.yaxis.to}])}function clamp(min,value,max){return value<min?min:value>max?max:value}function setSelectionPos(pos,e){var o=plot.getOptions();var offset=plot.getPlaceholder().offset();var plotOffset=plot.getPlotOffset();pos.x=clamp(0,e.pageX-offset.left-plotOffset.left,plot.width());pos.y=clamp(0,e.pageY-offset.top-plotOffset.top,plot.height());if(o.selection.mode=="y")pos.x=pos==selection.first?0:plot.width();if(o.selection.mode=="x")pos.y=pos==selection.first?0:plot.height()}function updateSelection(pos){if(pos.pageX==null)return;setSelectionPos(selection.second,pos);if(selectionIsSane()){selection.show=true;plot.triggerRedrawOverlay()}else clearSelection(true)}function clearSelection(preventEvent){if(selection.show){selection.show=false;plot.triggerRedrawOverlay();if(!preventEvent)plot.getPlaceholder().trigger("plotunselected",[])}}function extractRange(ranges,coord){var axis,from,to,key,axes=plot.getAxes();for(var k in axes){axis=axes[k];if(axis.direction==coord){key=coord+axis.n+"axis";if(!ranges[key]&&axis.n==1)key=coord+"axis";if(ranges[key]){from=ranges[key].from;to=ranges[key].to;break}}}if(!ranges[key]){axis=coord=="x"?plot.getXAxes()[0]:plot.getYAxes()[0];from=ranges[coord+"1"];to=ranges[coord+"2"]}if(from!=null&&to!=null&&from>to){var tmp=from;from=to;to=tmp}return{from:from,to:to,axis:axis}}function setSelection(ranges,preventEvent){var axis,range,o=plot.getOptions();if(o.selection.mode=="y"){selection.first.x=0;selection.second.x=plot.width()}else{range=extractRange(ranges,"x");selection.first.x=range.axis.p2c(range.from);selection.second.x=range.axis.p2c(range.to)}if(o.selection.mode=="x"){selection.first.y=0;selection.second.y=plot.height()}else{range=extractRange(ranges,"y");selection.first.y=range.axis.p2c(range.from);selection.second.y=range.axis.p2c(range.to)}selection.show=true;plot.triggerRedrawOverlay();if(!preventEvent&&selectionIsSane())triggerSelectedEvent()}function selectionIsSane(){var minSize=plot.getOptions().selection.minSize;return Math.abs(selection.second.x-selection.first.x)>=minSize&&Math.abs(selection.second.y-selection.first.y)>=minSize}plot.clearSelection=clearSele (…) property [all...] |
/external/e2fsprogs/lib/ext2fs/ |
kernel-list.h | 89 struct list_head *first = list->next; local 91 if (first != list) { 95 first->prev = head; 96 head->next = first;
|
/external/freetype/src/cache/ |
ftcmru.c | 32 FTC_MruNode first = *plist; local 35 if ( first ) 37 FTC_MruNode last = first->prev; 42 FTC_MruNode cnode = first; 54 } while ( cnode != first ); 58 first->prev = node; 60 node->next = first; 76 FTC_MruNode first = *plist; local 79 FT_ASSERT( first != NULL ); 81 if ( first != node 125 FTC_MruNode first = *plist; local 207 FTC_MruNode first, node; local 331 FTC_MruNode first, node, next; local [all...] |
/external/freetype/src/psaux/ |
t1cmap.h | 73 FT_UInt first; member in struct:T1_CMapCustomRec_
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableList.java | 271 E first = elements.next(); local 273 return of(first); 276 .add(first)
|
/external/guava/guava-tests/test/com/google/common/escape/ |
EscapersTest.java | 70 // Setup a simple builder and create the first escaper. 75 Escaper first = builder.build(); local 84 assertEquals("Xhe_Xuick_Xrown_XoxX", first.escape("The Quick Brown Fox!"));
|
/external/guice/core/src/com/google/inject/internal/ |
TypeConverterBindingProcessor.java | 174 char first = s.charAt(0); local 175 char capitalized = Character.toUpperCase(first); 176 return (first == capitalized)
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/ |
NodeComparator.java | 52 final Comparator<ICoverageNode> first = this; local 59 final int result = first.compare(o1, o2);
|
/external/libchrome/base/profiler/ |
tracked_time_unittest.cc | 17 // First make sure we basicallly transfer simple milliseconds values as 41 Duration first = Duration::FromMilliseconds(kFirstMilliseconds); local 44 EXPECT_EQ(kFirstMilliseconds, first.InMilliseconds()); 47 Duration sum = first + second; 54 // First get a 64 bit timer (which should not be null). 85 // First get a 64 bit timer (which should not be null).
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
iter_iter_iter_iter.pass.cpp | 27 typename S::const_iterator first = s.begin() + pos1; local 29 typename S::size_type xlen = last - first; 30 s.replace(first, last, f, l); [all...] |
iter_iter_pointer_size.pass.cpp | 29 typename S::const_iterator first = s.begin() + pos1; local 31 typename S::size_type xlen = last - first; 32 s.replace(first, last, str, n2); [all...] |