Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_buffer_test.cc89 GlBuffer view1; in TEST() local
90 ASSERT_TRUE(buffer.MakeView(4, 16, &view1).ok()); in TEST()
92 EXPECT_FALSE(view1.MakeView(1, 16, &view2).ok()); in TEST()
93 ASSERT_TRUE(view1.MakeView(2, 2, &view2).ok()); in TEST()
107 GlBuffer view1; in TEST() local
108 ASSERT_TRUE(buffer.MakeView(4, 4, &view1).ok()); in TEST()
114 ASSERT_TRUE(view1.Write<float>({1}).ok()); in TEST()
115 ASSERT_TRUE(CopyBuffer(view1, view2).ok()); in TEST()
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/
Dutils.h53 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewAnimatorTest.java48 View view1 = new View(application); in getCurrentView_shouldWork() local
50 viewAnimator.addView(view1); in getCurrentView_shouldWork()
53 assertSame(view1, viewAnimator.getCurrentView()); in getCurrentView_shouldWork()
DShadowViewTest.java95 View view1 = in measuredDimensions() local
101 assertThat(view1.getMeasuredWidth()).isEqualTo(123); in measuredDimensions()
102 assertThat(view1.getMeasuredHeight()).isEqualTo(456); in measuredDimensions()
107 View view1 = in layout_shouldCallOnLayoutOnlyIfChanged() local
115 view1.layout(0, 0, 0, 0); in layout_shouldCallOnLayoutOnlyIfChanged()
117 view1.layout(1, 2, 3, 4); in layout_shouldCallOnLayoutOnlyIfChanged()
120 view1.layout(1, 2, 3, 4); in layout_shouldCallOnLayoutOnlyIfChanged()
513 TestView view1 = new TestView(buildActivity(Activity.class).create().get()); in test_measuredDimension() local
515 assertThat(view1.getHeight()).isEqualTo(0); in test_measuredDimension()
516 assertThat(view1.getWidth()).isEqualTo(0); in test_measuredDimension()
[all …]
DShadowListViewTest.java51 View view1 = new View(context); in addHeaderView_ShouldRecordHeaders() local
52 view1.setId(1); in addHeaderView_ShouldRecordHeaders()
58 listView.addHeaderView(view1); in addHeaderView_ShouldRecordHeaders()
64 assertThat(shadowOf(listView).getHeaderViews().get(1)).isSameInstanceAs(view1); in addHeaderView_ShouldRecordHeaders()
87 View view1 = new View(context); in addFooterView_ShouldRecordFooters() local
89 listView.addFooterView(view1); in addFooterView_ShouldRecordFooters()
92 assertThat(shadowOf(listView).getFooterViews().get(1)).isSameInstanceAs(view1); in addFooterView_ShouldRecordFooters()
DShadowActivityTest.java518 View view1 = new View(application); in setContentView_shouldReplaceOldContentView() local
519 view1.setId(R.id.burritos); in setContentView_shouldReplaceOldContentView()
524 activity.setContentView(view1); in setContentView_shouldReplaceOldContentView()
525 assertSame(view1, activity.findViewById(R.id.burritos)); in setContentView_shouldReplaceOldContentView()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DNoopViewManagerTest.java56 final View view1 = in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName() local
63 viewManager.registerView(view1); in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
70 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view1); in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
174 View view1 = in getAllExportedViews_ResultIsUnmodifiable() local
177 viewManager.registerView(view1); in getAllExportedViews_ResultIsUnmodifiable()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DViewManagerImplTest.java172 View view1 = in getAllExportedViewsResultIsUnmodifiable() local
180 viewManager.registerView(view1); in getAllExportedViewsResultIsUnmodifiable()
221 View view1 = in preventRegisteringDifferentViewWithSameName() local
238 view1, view2, "A different view with the same name is already registered"); in preventRegisteringDifferentViewWithSameName()
245 View view1 = 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
256 viewManager.registerView(view1); in testFailedToRegisterView()
262 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view1); in testFailedToRegisterView()
748 final View view1 = in testMultipleViewSameMeasure() local
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-dangling-handle.cpp85 std::string_view view1 = std::string(); in Positives() local
91 view1 = std::string(); in Positives()
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExporterWorkerTest.java222 View view1 = in skipDifferentViewWithSameName() local
224 assertThat(worker.registerView(view1)).isTrue(); in skipDifferentViewWithSameName()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_state.c1369 struct pipe_sampler_view *view1);
1440 ARG_BIND_VIEW(struct pipe_sampler_view, view1)) in CSMT_ITEM_NO_WAIT() argument
1453 pipe_sampler_view_reference(&context->texture[stage].view[1], view1); in CSMT_ITEM_NO_WAIT()
1469 struct pipe_sampler_view *view0 = NULL, *view1 = NULL; in nine_context_set_texture() local
1482 view1 = NineBaseTexture9_GetSamplerView(tex, 1); in nine_context_set_texture()
1487 res, view0, view1); in nine_context_set_texture()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsUnixLikeFileSystemTest.java2186 BasicFileAttributeView view1 = stream.getFileAttributeView(BasicFileAttributeView.class); in testClosedSecureDirectoryStreamAttributeViewAndIterator() local
2205 view1.readAttributes(); in testClosedSecureDirectoryStreamAttributeViewAndIterator()
2217 view1.setTimes(null, null, null); in testClosedSecureDirectoryStreamAttributeViewAndIterator()