Home
last modified time | relevance | path

Searched refs:location2 (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/base/debug/
Dtask_annotator_unittest.cc140 const Location location2 = FROM_HERE; in TEST_F() local
153 location2.program_counter(), location1.program_counter()}), in TEST_F()
160 ExpectedTrace({location3.program_counter(), location2.program_counter(), in TEST_F()
166 ExpectedTrace({location2.program_counter(), location1.program_counter(), in TEST_F()
171 Unretained(this), loop.task_runner(), location2, location3, in TEST_F()
176 Unretained(this), loop.task_runner(), location1, location2, in TEST_F()
284 const Location location2 = FROM_HERE; in TEST_F() local
320 location2.program_counter(), location1.program_counter()}), in TEST_F()
325 ExpectedTrace({location3.program_counter(), location2.program_counter(), in TEST_F()
331 ExpectedTrace({location2.program_counter(), location1.program_counter(), in TEST_F()
[all …]
/external/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/
DTestBreakpointHitCount.py77 location2 = breakpoint.GetLocationAtIndex(1)
78 self.assertTrue(location2 and
79 location2.IsEnabled(),
112 location2 = breakpoint.FindLocationByAddress(frame0.GetPC())
116 self.assertTrue(location2)
117 self.assertEqual(location2.GetHitCount(), 1)
129 self.assertEqual(location2.GetHitCount(), 2)
/external/clang/bindings/python/tests/cindex/
Dtest_location.py58 location2 = SourceLocation.from_position(tu, file, 1, 5)
59 assert location == location2
61 assert location2 != location3
87 location2 = SourceLocation.from_position(tu, file, 1, 8)
89 range1 = SourceRange.from_locations(location1, location2)
90 range2 = SourceRange.from_locations(location1, location2)
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DLocatedItemsTest.java23 MethodLocation location2 = new MethodLocation(null, 456, 2); in doTestMergeIntoKeepsOrderOfDebugItems() local
28 location2.getDebugItems().addAll(items2); in doTestMergeIntoKeepsOrderOfDebugItems()
30 location1.mergeInto(location2); in doTestMergeIntoKeepsOrderOfDebugItems()
36 Assert.assertEquals(expectedItems, new ArrayList<>(location2.getDebugItems())); in doTestMergeIntoKeepsOrderOfDebugItems()
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_location.py68 location2 = SourceLocation.from_position(tu, file, 1, 5)
69 self.assertEqual(location, location2)
71 self.assertNotEqual(location2, location3)
97 location2 = SourceLocation.from_position(tu, file, 1, 8)
99 range1 = SourceRange.from_locations(location1, location2)
100 range2 = SourceRange.from_locations(location1, location2)
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java421 Location location2 = new Location(GPS_PROVIDER); in simulateLocation_shouldNotNotifyListenerIfLessThanFastestInterval() local
422 location2.setTime(time + 1000); in simulateLocation_shouldNotNotifyListenerIfLessThanFastestInterval()
425 shadowLocationManager.simulateLocation(location2); in simulateLocation_shouldNotNotifyListenerIfLessThanFastestInterval()
439 Location location2 = new Location(GPS_PROVIDER); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance() local
440 location2.setLatitude(1.5); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
441 location2.setLongitude(2.5); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
442 location2.setTime(1000); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
445 shadowLocationManager.simulateLocation(location2); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java470 private static float distanceBetween(Location location1, Location location2) { in distanceBetween() argument
472 double latDifference = Math.toRadians(location2.getLatitude() - location1.getLatitude()); in distanceBetween()
473 double lonDifference = Math.toRadians(location2.getLongitude() - location1.getLongitude()); in distanceBetween()
475 …Math.cos(Math.toRadians(location1.getLatitude())) * Math.cos(Math.toRadians(location2.getLatitude(… in distanceBetween()
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp937 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
938 matrix.mapPoints(&location2, 1); in transform()
942 SkPoint3 location = SkPoint3::Make(location2.fX, in transform()
943 location2.fY, in transform()
988 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
989 matrix.mapPoints(&location2, 1); in transform()
993 SkPoint3 location = SkPoint3::Make(location2.fX, location2.fY, in transform()
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp929 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
930 matrix.mapPoints(&location2, 1); in transform()
934 SkPoint3 location = SkPoint3::Make(location2.fX, in transform()
935 location2.fY, in transform()
986 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
987 matrix.mapPoints(&location2, 1); in transform()
991 SkPoint3 location = SkPoint3::Make(location2.fX, location2.fY, in transform()
/external/angle/src/tests/gl_tests/
DSimpleOperationTest.cpp777 const GLint location2 = glGetUniformLocation(program, "color2"); in TEST_P() local
778 ASSERT_NE(-1, location2); in TEST_P()
782 glUniform4f(location2, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
/external/llvm-project/lldb/docs/use/
Dsymbols.rst228 <key>/path/to/build/time/src/location2</key>
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc2015 const SourceLocation location2{"file.cc", "SomeFunction", 456}; in TEST_P() local
2016 auto location_iid3 = InternedSourceLocation::Get(&ctx, location2); in TEST_P()