/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | gl_buffer_test.cc | 91 GlBuffer view2; in TEST() local 92 EXPECT_FALSE(view1.MakeView(1, 16, &view2).ok()); in TEST() 93 ASSERT_TRUE(view1.MakeView(2, 2, &view2).ok()); in TEST() 95 EXPECT_FALSE(view2.has_ownership()); in TEST() 96 EXPECT_EQ(2, view2.bytes_size()); in TEST() 97 EXPECT_EQ(6, view2.offset()); in TEST() 110 GlBuffer view2; in TEST() local 111 ASSERT_TRUE(buffer.MakeView(8, 4, &view2).ok()); in TEST() 115 ASSERT_TRUE(CopyBuffer(view1, view2).ok()); in TEST()
|
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/ |
D | utils.h | 53 inline bool operator==(const string_view& view1, const string_view& view2) { 54 if (view1.length() != view2.length()) { 57 return memcmp(view1.data(), view2.data(), view1.length()) == 0;
|
/external/opencensus-java/api/src/test/java/io/opencensus/stats/ |
D | NoopViewManagerTest.java | 59 final View view2 = in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName() local 68 viewManager.registerView(view2); in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName() 180 View view2 = in getAllExportedViews_ResultIsUnmodifiable() local 184 exported.add(view2); in getAllExportedViews_ResultIsUnmodifiable()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | ViewManagerImplTest.java | 183 View view2 = in getAllExportedViewsResultIsUnmodifiable() local 192 exported.add(view2); in getAllExportedViewsResultIsUnmodifiable() 229 View view2 = in preventRegisteringDifferentViewWithSameName() local 238 view1, view2, "A different view with the same name is already registered"); in preventRegisteringDifferentViewWithSameName() 248 View view2 = in preventRegisteringDifferentMeasureWithSameName() local 252 view1, view2, "A different measure with the same name is already registered"); in preventRegisteringDifferentMeasureWithSameName() 255 private void testFailedToRegisterView(View view1, View view2, String message) { in testFailedToRegisterView() argument 260 viewManager.registerView(view2); in testFailedToRegisterView() 750 final View view2 = in testMultipleViewSameMeasure() local 755 viewManager.registerView(view2); in testMultipleViewSameMeasure() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowViewTest.java | 532 TestView2 view2 = new TestView2(buildActivity(Activity.class).create().get(), 300, 100); in test_measuredDimensionCustomView() local 534 assertThat(view2.getWidth()).isEqualTo(0); in test_measuredDimensionCustomView() 535 assertThat(view2.getHeight()).isEqualTo(0); in test_measuredDimensionCustomView() 536 assertThat(view2.getMeasuredWidth()).isEqualTo(0); in test_measuredDimensionCustomView() 537 assertThat(view2.getMeasuredHeight()).isEqualTo(0); in test_measuredDimensionCustomView() 539 view2.measure(MeasureSpec.makeMeasureSpec(200, MeasureSpec.AT_MOST), in test_measuredDimensionCustomView() 542 assertThat(view2.getWidth()).isEqualTo(0); in test_measuredDimensionCustomView() 543 assertThat(view2.getHeight()).isEqualTo(0); in test_measuredDimensionCustomView() 544 assertThat(view2.getMeasuredWidth()).isEqualTo(300); in test_measuredDimensionCustomView() 545 assertThat(view2.getMeasuredHeight()).isEqualTo(100); in test_measuredDimensionCustomView()
|
D | ShadowListViewTest.java | 53 View view2 = new View(context); in addHeaderView_ShouldRecordHeaders() local 54 view2.setId(2); in addHeaderView_ShouldRecordHeaders() 59 listView.addHeaderView(view2, null, false); in addHeaderView_ShouldRecordHeaders() 65 assertThat(shadowOf(listView).getHeaderViews().get(2)).isSameInstanceAs(view2); in addHeaderView_ShouldRecordHeaders()
|
D | ShadowActivityTest.java | 520 View view2 = new View(application); in setContentView_shouldReplaceOldContentView() local 521 view2.setId(R.id.button); in setContentView_shouldReplaceOldContentView() 527 activity.setContentView(view2); in setContentView_shouldReplaceOldContentView() 529 assertSame(view2, activity.findViewById(R.id.button)); in setContentView_shouldReplaceOldContentView()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | LevelSelectActivity.java | 158 TextView view2 = (TextView)sourceView.findViewById(mTextViewResource2); in getView() local 159 if (view2 != null) { in getView() 160 view2.setText(mLevelData.get(position).level.timeStamp); in getView()
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExporterWorkerTest.java | 227 View view2 = in skipDifferentViewWithSameName() local 235 assertThat(worker.registerView(view2)).isFalse(); in skipDifferentViewWithSameName()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | FileSystemView.java | 175 public boolean isSameFile(JimfsPath path, FileSystemView view2, JimfsPath path2) in isSameFile() argument 177 if (!isSameFileSystem(view2)) { in isSameFile() 184 File file2 = view2.lookUp(path2, Options.FOLLOW_LINKS).fileOrNull(); in isSameFile()
|
D | JimfsFileSystemProvider.java | 290 FileSystemView view2 = getDefaultView(checkedPath2); in isSameFile() local 292 return view.isSameFile(checkedPath, view2, checkedPath2); in isSameFile()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsUnixLikeFileSystemTest.java | 2187 BasicFileAttributeView view2 = in testClosedSecureDirectoryStreamAttributeViewAndIterator() local 2211 view2.readAttributes(); in testClosedSecureDirectoryStreamAttributeViewAndIterator() 2223 view2.setTimes(null, null, null); in testClosedSecureDirectoryStreamAttributeViewAndIterator()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_descriptor_renderpass_framebuffer.cpp | 4171 VkImageView view2; in TEST_F() local 4177 err = vkCreateImageView(m_device->device(), &image_view_create_info, NULL, &view2); in TEST_F() 4332 img_info.imageView = view2; in TEST_F() 4381 vkDestroyImageView(m_device->device(), view2, NULL); in TEST_F()
|