HomeSort by relevance Sort by last modified time
    Searched full:second (Results 326 - 350 of 14913) sorted by null

<<11121314151617181920>>

  /system/extras/tests/lib/testUtil/
testUtil.c 101 // second, is later than the time pointed to by first.
103 const struct timespec *second)
108 assert(second != NULL);
110 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec);
111 rv.tv_sec = second->tv_sec - first->tv_sec;
112 if (second->tv_nsec >= first->tv_nsec) {
113 rv.tv_nsec = second->tv_nsec - first->tv_nsec;
115 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec;
124 // second, is later than the time pointed to by first
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileWriterTest.java 74 String second = "The second String for testing."; local
75 fileWriter.write(second);
79 char[] out = new char[first.length() + second.length() + 10];
82 assertEquals(first + second, new String(out, 0, length));
90 second = "The second String for testing.";
91 fileWriter.write(second);
95 out = new char[first.length() + second.length() + 10];
98 assertEquals(second, new String(out, 0, length))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
SignatureSpi.java 278 byte[] second = makeUnsigned(s);
281 if (first.length > second.length)
287 res = new byte[second.length * 2];
291 System.arraycopy(second, 0, res, res.length - second.length, second.length);
320 byte[] second = new byte[encoding.length / 2];
323 System.arraycopy(encoding, first.length, second, 0, second.length);
326 sig[1] = new BigInteger(1, second);
    [all...]
  /external/ceres-solver/include/ceres/
ordered_groups.h 66 if (it->second == group) {
71 group_to_elements_[it->second].erase(element);
72 if (group_to_elements_[it->second].size() == 0) {
73 group_to_elements_.erase(it->second);
114 new_group_to_elements[it->first] = it->second;
118 for (typename set<T>::const_iterator element_it = it->second.begin();
119 element_it != it->second.end();
123 new_group_to_elements[new_group_id] = it->second;
137 return it->second;
150 return (it == group_to_elements_.end()) ? 0 : it->second.size()
    [all...]
  /external/chromium/chrome/browser/
errorpage_uitest.cc 30 // The first navigation should fail, and the second one should be the error
44 // The first navigation should fail, and the second one should be the error
67 // The first navigation should fail, and the second one should be the error
74 // The first navigation should fail, and the second one should be the error
97 // The first navigation should fail, and the second one should be the error
104 // The first navigation should fail, and the second one should be the error
109 // The first navigation should fail, and the second one should be the error
130 // The first navigation should fail, and the second one should be the error
137 // The first navigation should fail, and the second one should be the error
142 // The first navigation should fail, and the second one should be the erro
    [all...]
  /external/chromium_org/chrome/browser/history/
shortcuts_backend_unittest.cc 103 EXPECT_EQ(shortcut.id, shortcuts.find(shortcut.text)->second.id);
104 EXPECT_EQ(shortcut.contents, shortcuts.find(shortcut.text)->second.contents);
108 EXPECT_EQ(shortcut.id, shortcuts.find(shortcut.text)->second.id);
109 EXPECT_EQ(shortcut.contents, shortcuts.find(shortcut.text)->second.contents);
151 EXPECT_EQ(shortcut1.id, shortcuts.find(shortcut1.text)->second.id);
152 EXPECT_EQ(shortcut2.id, shortcuts.find(shortcut2.text)->second.id);
153 EXPECT_EQ(shortcut3.id, shortcuts.find(shortcut3.text)->second.id);
154 EXPECT_EQ(shortcut4.id, shortcuts.find(shortcut4.text)->second.id);
163 EXPECT_EQ(shortcut3.id, shortcuts.find(shortcut3.text)->second.id);
164 EXPECT_EQ(shortcut4.id, shortcuts.find(shortcut4.text)->second.id)
    [all...]
  /external/chromium_org/ppapi/shared_impl/
var_tracker.cc 59 return result->second.var.get();
81 VarInfo& info = found->second;
112 VarInfo& info = found->second;
156 DCHECK(was_inserted.second);
171 return found->second.ref_count;
181 return found->second.track_with_no_reference_count;
245 var_vector.push_back(iter->second.var->GetPPVar());
260 if (iter->second.ref_count != 0 ||
261 iter->second.track_with_no_reference_count != 0)
263 iter->second.var->ResetVarID()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
EventListenerMap.cpp 82 const EventListenerVector* vector = m_entries[i].second.get();
127 return addListenerToVector(m_entries[i].second.get(), listener, useCapture);
131 return addListenerToVector(m_entries.last().second.get(), listener, useCapture);
150 bool wasRemoved = removeListenerFromVector(m_entries[i].second.get(), listener, useCapture, indexOfRemovedListener);
151 if (m_entries[i].second->isEmpty())
166 return m_entries[i].second.get();
193 removeFirstListenerCreatedFromMarkup(m_entries[i].second.get());
194 if (m_entries[i].second->isEmpty())
216 copyListenersNotCreatedFromMarkupToTarget(m_entries[i].first, m_entries[i].second.get(), target);
263 EventListenerVector& listeners = *m_map->m_entries[m_entryIndex].second;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGTransformDistance.cpp 113 SVGTransform SVGTransformDistance::addSVGTransforms(const SVGTransform& first, const SVGTransform& second, unsigned repeatCount)
115 ASSERT(first.type() == second.type());
125 transform.setRotate(first.angle() + second.angle() * repeatCount, first.rotationCenter().x() + second.rotationCenter().x() * repeatCount, first.rotationCenter().y() + second.rotationCenter().y() * repeatCount);
129 float dx = first.translate().x() + second.translate().x() * repeatCount;
130 float dy = first.translate().y() + second.translate().y() * repeatCount;
135 FloatSize scale = second.scale();
142 transform.setSkewX(first.angle() + second.angle() * repeatCount);
145 transform.setSkewY(first.angle() + second.angle() * repeatCount)
    [all...]
  /external/llvm/include/llvm/ADT/
MapVector.h 80 unsigned &I = Result.first->second;
81 if (Result.second) {
85 return Vector[I].second;
90 return Pos == Map.end()? ValueT() : Vector[Pos->second].second;
96 unsigned &I = Result.first->second;
97 if (Result.second) {
98 Vector.push_back(std::make_pair(KV.first, KV.second));
113 (Vector.begin() + Pos->second);
119 (Vector.begin() + Pos->second);
    [all...]
  /external/stlport/test/unit/
equal_test.cpp 46 CPPUNIT_ASSERT( (range.second - numbers) == 8 );
58 CPPUNIT_ASSERT( (range.second - v.begin()) == 9 );
59 for (; range.first != range.second; ++range.first)
63 CPPUNIT_ASSERT( range.first == range.second );
97 CPPUNIT_ASSERT( (range.second - chars) == 22 );
98 for (; range.first != range.second; ++range.first)
102 CPPUNIT_ASSERT( (range.second - range.first) == 1 );
122 CPPUNIT_ASSERT( p.first != p.second );
124 CPPUNIT_ASSERT( p.second != tv.end() );
126 CPPUNIT_ASSERT( *p.second == 6 )
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
rehash.pass.cpp 31 assert(std::distance(eq.first, eq.second) == 2);
34 assert(i->second == "one");
37 assert(i->second == "four");
39 assert(std::distance(eq.first, eq.second) == 2);
42 assert(i->second == "two");
45 assert(i->second == "four");
48 assert(std::distance(eq.first, eq.second) == 1);
51 assert(i->second == "three");
53 assert(std::distance(eq.first, eq.second) == 1);
56 assert(i->second == "four")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.modifiers/
emplace_hint.pass.cpp 37 assert(r->second == Emplaceable());
42 assert(r->second == Emplaceable(5, 6));
49 assert(r->second == Emplaceable(6, 7));
53 assert(r->second == Emplaceable());
56 assert(r->second == Emplaceable(5, 6));
69 assert(r->second == Emplaceable());
74 assert(r->second == Emplaceable(5, 6));
81 assert(r->second == Emplaceable(6, 7));
85 assert(r->second == Emplaceable());
88 assert(r->second == Emplaceable(5, 6))
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
equal_test.cpp 46 CPPUNIT_ASSERT( (range.second - numbers) == 8 );
58 CPPUNIT_ASSERT( (range.second - v.begin()) == 9 );
59 for (; range.first != range.second; ++range.first)
63 CPPUNIT_ASSERT( range.first == range.second );
97 CPPUNIT_ASSERT( (range.second - chars) == 22 );
98 for (; range.first != range.second; ++range.first)
102 CPPUNIT_ASSERT( (range.second - range.first) == 1 );
122 CPPUNIT_ASSERT( p.first != p.second );
124 CPPUNIT_ASSERT( p.second != tv.end() );
126 CPPUNIT_ASSERT( *p.second == 6 )
    [all...]
  /ndk/tests/device/test-stlport/unit/
equal_test.cpp 46 CPPUNIT_ASSERT( (range.second - numbers) == 8 );
58 CPPUNIT_ASSERT( (range.second - v.begin()) == 9 );
59 for (; range.first != range.second; ++range.first)
63 CPPUNIT_ASSERT( range.first == range.second );
97 CPPUNIT_ASSERT( (range.second - chars) == 22 );
98 for (; range.first != range.second; ++range.first)
102 CPPUNIT_ASSERT( (range.second - range.first) == 1 );
122 CPPUNIT_ASSERT( p.first != p.second );
124 CPPUNIT_ASSERT( p.second != tv.end() );
126 CPPUNIT_ASSERT( *p.second == 6 )
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/web_navigation/
frame_navigation_state.cc 72 frame_state->second.error_occurred) {
75 return IsValidUrl(frame_state->second.url);
134 if (frame->second.parent_frame_num != frame_id.frame_num)
165 frame_state->second.url = url;
181 if (frame_state->second.is_iframe_srcdoc)
183 return frame_state->second.url;
190 frame_state->second.is_main_frame);
205 return FrameID(frame_state->second.parent_frame_num,
218 frame_state->second.error_occurred);
230 !frame_state->second.is_navigating)
    [all...]
  /external/chromium_org/chrome/browser/extensions/
event_listener_map.cc 97 return it != listeners_.end() && !it->second.empty();
107 for (ListenerList::iterator it2 = it->second.begin();
108 it2 != it->second.end(); it2++) {
119 for (ListenerList::iterator it2 = it->second.begin();
120 it2 != it->second.end(); it2++) {
132 for (ListenerList::iterator it2 = it->second.begin();
133 it2 != it->second.end(); it2++) {
145 for (ListenerList::iterator it2 = it->second.begin();
146 it2 != it->second.end();) {
149 it2 = it->second.erase(it2)
    [all...]
  /external/chromium_org/chrome/browser/policy/
policy_service_impl.cc 58 it->second->RemoveObserver(observer);
59 if (it->second->size() == 0) {
60 delete it->second;
135 *iterator->second,
159 NotifyNamespaceUpdated(it_new->first, kEmpty, *it_new->second);
163 NotifyNamespaceUpdated(it_old->first, *it_old->second, kEmpty);
166 if (!it_new->second->Equals(*it_old->second)) {
168 NotifyNamespaceUpdated(it_new->first, *it_old->second, *it_new->second);
    [all...]
  /external/chromium_org/third_party/flot/
jquery.flot.selection.min.js 1 (function(a){function b(k){var p={first:{x:-1,y:-1},second:{x:-1,y:-1},show:false,active:false};var m={};var r=null;function e(s){if(p.active){l(s);k.getPlaceholder().trigger("plotselecting",[g()])}}function n(s){if(s.which!=1){return}document.body.focus();if(document.onselectstart!==undefined&&m.onselectstart==null){m.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(document.ondrag!==undefined&&m.ondrag==null){m.ondrag=document.ondrag;document.ondrag=function(){return false}}d(p.first,s);p.active=true;r=function(t){j(t)};a(document).one("mouseup",r)}function j(s){r=null;if(document.onselectstart!==undefined){document.onselectstart=m.onselectstart}if(document.ondrag!==undefined){document.ondrag=m.ondrag}p.active=false;l(s);if(f()){i()}else{k.getPlaceholder().trigger("plotunselected",[]);k.getPlaceholder().trigger("plotselecting",[null])}return false}function g(){if(!f()){return null}var u={},t=p.first,s=p.second;a.each(k.getAxes(),function(v,w){if(w.used){var y=w.c2p(t[w.direction]),x=w.c2p(s[w.direction]);u[v]={from:Math.min(y,x),to:Math.max(y,x)}}});return u}function i(){var s=g();k.getPlaceholder().trigger("plotselected",[s]);if(s.xaxis&&s.yaxis){k.getPlaceholder().trigger("selected",[{x1:s.xaxis.from,y1:s.yaxis.from,x2:s.xaxis.to,y2:s.yaxis.to}])}}function h(t,u,s){return u<t?t:(u>s?s:u)}function d(w,t){var v=k.getOptions();var u=k.getPlaceholder().offset();var s=k.getPlotOffset();w.x=h(0,t.pageX-u.left-s.left,k.width());w.y=h(0,t.pageY-u.top-s.top,k.height());if(v.selection.mode=="y"){w.x=w==p.first?0:k.width()}if(v.selection.mode=="x"){w.y=w==p.first?0:k.height()}}function l(s){if(s.pageX==null){return}d(p.second,s);if(f()){p.show=true;k.triggerRedrawOverlay()}else{q(true)}}function q(s){if(p.show){p.show=false;k.triggerRedrawOverlay();if(!s){k.getPlaceholder().trigger("plotunselected",[])}}}function c(s,w){var t,y,z,A,x=k.getAxes();for(var u in x){t=x[u];if(t.direction==w){A=w+t.n+"axis";if(!s[A]&&t.n==1){A=w+"axis"}if(s[A]){y=s[A].from;z=s[A].to;break}}}if(!s[A]){t=w=="x"?k.getXAxes()[0]:k.getYAxes()[0];y=s[w+"1"];z=s[w+"2"]}if(y!=null&&z!=null&&y>z){var v=y;y=z;z=v}return{from:y,to:z,axis:t}}function o(t,s){var v,u,w=k.getOptions();if(w.selection.mode=="y"){p.first.x=0;p.second.x=k.width()}else{u=c(t,"x");p.first.x=u.axis.p2c(u.from);p.second.x=u.axis.p2c(u.to)}if(w.selection.mode=="x"){p.first.y=0;p.second.y=k.height()}else{u=c(t,"y");p.first.y=u.axis.p2c(u.from);p.second.y=u.axis.p2c(u.to)}p.show=true;k.triggerRedrawOverlay();if(!s&&f()){i()}}function f(){var s=5;return Math.abs(p.second.x-p.first.x)>=s&&Math.abs(p.second.y-p.first.y)>=s}k.clearSelection=q;k.setSelection=o;k.getSelection=g;k.hooks.bindEvents.push(function(t,s){var u=t.getOptions();if(u.selection.mode!=null){s.mousemove(e);s.mousedown(n)}});k.hooks.drawOverlay.push(function(v,D){if(p.show&&f()){var t=v.getPlotOffset();var s=v.getOptions();D.save();D.translate(t.left,t.top);var z=a.color.parse(s.selection.color);D.strokeStyle=z.scale("a",0.8).toString();D.lineWidth=1;D.lineJoin="round";D.fillStyle=z.scale("a",0.4).toString();var B=Math.min(p.first.x,p.second.x),A=Math.min(p.first.y,p.second.y),C=Math.abs(p.second.x-p.first.x),u=Math.abs(p.second.y-p.first (…)
    [all...]
  /external/llvm/lib/Transforms/Utils/
SpecialCaseList.cpp 81 if (SplitLine.second.empty()) {
86 std::pair<StringRef, StringRef> SplitRegexp = SplitLine.second.split("=");
88 StringRef Category = SplitRegexp.second;
118 report_fatal_error("malformed blacklist regex: " + SplitLine.second +
132 for (StringMap<std::string>::const_iterator II = I->second.begin(),
133 IE = I->second.end();
144 for (StringMap<Entry>::const_iterator II = I->second.begin(),
145 IE = I->second.end();
147 delete II->second.RegEx;
202 for (StringMap<Entry>::const_iterator II = I->second.begin()
    [all...]
  /external/chromium/chrome/browser/automation/
automation_resource_message_filter.cc 145 const AutomationDetails& details = (*index).second;
161 URLRequestAutomationJob* job = it->second;
303 DCHECK(automation_details_iter->second.ref_count > 0);
304 automation_details_iter->second.ref_count++;
326 automation_details_iter->second.ref_count--;
328 if (automation_details_iter->second.ref_count <= 0) {
352 DCHECK(automation_details_iter->second.is_pending_render_view);
358 automation_details_iter->second.filter;
378 *details = it->second;
390 URLRequestAutomationJob* job = it->second;
    [all...]
  /external/chromium_org/chrome/browser/extensions/error_console/
error_console.cc 87 return iter->second;
104 DeleteIncognitoErrorsFromList(&(iter->second));
111 STLDeleteContainerPointers(iter->second.begin(), iter->second.end());
118 STLDeleteContainerPointers(iter->second.begin(), iter->second.end());
  /external/chromium_org/components/browser_context_keyed_service/
refcounted_browser_context_keyed_service_factory.cc 67 return it->second;
80 if (jt->second) {
83 service = jt->second(context);
103 if (it != mapping_.end() && it->second.get())
104 it->second->ShutdownOnUIThread();
114 // maintain a big map of dead pointers, but also since we may have a second
  /external/chromium_org/content/browser/renderer_host/
compositing_iosurface_context_mac.mm 28 DCHECK(found->second->can_be_shared_);
29 return found->second;
51 share_context = window_map()->begin()->second->nsgl_context();
100 it->second->can_be_shared_ = false;
127 DCHECK(window_map()->find(window_number_)->second == this);
132 DCHECK(found->second != this);
  /external/chromium_org/ppapi/proxy/
plugin_var_tracker.cc 54 VarInfo& info = GetLiveVar(ret)->second;
80 VarInfo& info = GetLiveVar(ret)->second;
96 DCHECK(found->second.track_with_no_reference_count > 0);
97 found->second.track_with_no_reference_count--;
131 ProxyObjectVar* object = found->second.var->AsProxyObjectVar();
151 ReleaseVar(found->second);
166 if (i->second.instance == instance)
176 if (!found->second.plugin_object_id) {
179 CallWhileUnlocked(found->second.ppp_class->Deallocate, found->first);
187 found->second.instance = 0
    [all...]

Completed in 797 milliseconds

<<11121314151617181920>>