/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_serialization_traits.h | 20 #include "grpc++/support/slice.h" 67 // It's dangerous to keep an inlined grpc_slice as the backup slice, since 68 // on a following Next() call, a reference will be returned to this slice 179 grpc_slice slice = g_core_codegen_interface->grpc_slice_malloc(byte_size); local 181 GRPC_SLICE_END_PTR(slice) == 182 msg.SerializeWithCachedSizesToArray(GRPC_SLICE_START_PTR(slice))); 183 *bp = g_core_codegen_interface->grpc_raw_byte_buffer_create(&slice, 1); 184 g_core_codegen_interface->grpc_slice_unref(slice);
|
/external/tensorflow/tensorflow/core/kernels/ |
save_op_test.cc | 409 // that the right slice is restored. It is quite tricky to check that the 411 // CopySliceData() return true/false depending on the slice we ask for. 417 // See core/framework/tensor_slice.h for the slice syntax. 420 "2 4 -:0,2", // A 2x2 slice of a 2x4 tensor. 421 "2 4 0,1:2,2", // A 1x2 slice of a 2x4 tensor. 423 "2 3 1,1:2,1" // Another 1x1 slice of a2x3 tensor. 492 // We saved the slice "-:0,2" so we should not be able to read the full 510 // We saved the slice "0,1:2,2" so we should not be able to read the full 528 // We saved the full slice. 569 // and one slice of the "small" tensor 627 auto slice = reloaded.Slice(0, 2).flat<int>(); local 633 auto slice = reloaded.Slice(2, 4).flat<int>(); local [all...] |
/external/tensorflow/tensorflow/core/util/ |
tensor_slice_reader_test.cc | 43 // slice writers and then read them back from a tensor slice reader. 61 // File #0 contains a slice that is the top two rows: 71 TensorSlice slice = TensorSlice::ParseOrDie("0,2:-"); local 72 TF_CHECK_OK(writer.Add("test", shape, slice, data)); 78 // slice #0 is the bottom left corner 84 // slice #1 is the bottom right corner 92 // slice #0 95 TensorSlice slice = TensorSlice::ParseOrDie("2,2:0,3"); local 96 TF_CHECK_OK(writer.Add("test", shape, slice, data)) 101 TensorSlice slice = TensorSlice::ParseOrDie("3,1:3,2"); local 196 TensorSlice slice = TensorSlice::ParseOrDie("0,2:-"); local 220 TensorSlice slice = TensorSlice::ParseOrDie("2,2:0,3"); local 226 TensorSlice slice = TensorSlice::ParseOrDie("3,1:3,2"); local 328 TensorSlice slice = TensorSlice::ParseOrDie("0,2:-"); local 352 TensorSlice slice = TensorSlice::ParseOrDie("2,2:0,3"); local 358 TensorSlice slice = TensorSlice::ParseOrDie("3,1:3,2"); local [all...] |
tensor_slice_writer_test.cc | 40 const TensorSlice& slice, SavedSlice* ss); 80 TensorSlice slice = TensorSlice::ParseOrDie("-:0,1"); local 82 TF_CHECK_OK(writer.Add("test", shape, slice, data)); 88 TensorSlice slice = TensorSlice::ParseOrDie("-:3,1"); local 90 TF_CHECK_OK(writer.Add("test", shape, slice, data)); 93 // Another slice from a different float tensor -- it has a different name and 97 TensorSlice slice = TensorSlice::ParseOrDie("-:-"); local 99 TF_CHECK_OK(writer.Add("AA", shape, slice, data)); 102 // A slice with int64 data 105 TensorSlice slice = TensorSlice::ParseOrDie("-:3,1") local 113 TensorSlice slice = TensorSlice::ParseOrDie("-:3,1"); local 332 TensorSlice slice = TensorSlice::ParseOrDie("-:-"); local 343 TensorSlice slice = TensorSlice::ParseOrDie("-:-"); local [all...] |
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
SliceFullAccessListTest.java | 15 package com.android.server.slice; 41 private static final String TEST_XML = "<slice-access-list version=\"1\"><user " 44 + "user=\"3\"><pkg>pkg2</pkg></user></slice-access-list>";
|
SlicePermissionManagerTest.java | 15 package com.android.server.slice;
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
MessagingSliceBuilder.java | 17 package androidx.slice.builders; 32 import androidx.slice.SliceSpecs; 33 import androidx.slice.builders.impl.MessagingBasicImpl; 34 import androidx.slice.builders.impl.MessagingBuilder; 35 import androidx.slice.builders.impl.MessagingListV1Impl; 36 import androidx.slice.builders.impl.MessagingV1Impl; 37 import androidx.slice.builders.impl.TemplateBuilderImpl; 40 * Builder to construct slice content in a messaging format. 47 * The maximum number of messages that will be retained in the Slice itself (the
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/ |
GridRowBuilderBasicImpl.java | 17 package androidx.slice.builders.impl; 28 import androidx.slice.Slice; 29 import androidx.slice.builders.SliceAction; 92 public void apply(Slice.Builder builder) { 110 super(new Slice.Builder(uri), null); 170 public void apply(Slice.Builder builder) {
|
MessagingBasicImpl.java | 17 package androidx.slice.builders.impl; 27 import androidx.slice.Slice; 28 import androidx.slice.SliceSpec; 40 public MessagingBasicImpl(Slice.Builder builder, SliceSpec spec) { 47 public void apply(Slice.Builder builder) { 95 private MessageBuilder(Slice.Builder builder) { 124 public void apply(Slice.Builder builder) {
|
/frameworks/support/slices/core/src/androidTest/java/androidx/slice/compat/ |
CompatPinnedListTest.java | 17 package androidx.slice.compat; 32 import androidx.slice.SliceSpec;
|
SliceProviderCompatTest.java | 17 package androidx.slice.compat; 21 import static androidx.slice.compat.SliceProviderCompat.EXTRA_BIND_URI; 22 import static androidx.slice.compat.SliceProviderCompat.EXTRA_SLICE; 41 import androidx.slice.Slice; 42 import androidx.slice.SliceProvider; 43 import androidx.slice.SliceSpec; 63 Slice s = new Slice.Builder(uri) 86 assertEquals(s.toString(), new Slice(result.getBundle(EXTRA_SLICE)).toString()) [all...] |
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/ |
SlicePermissionTest.java | 17 package androidx.slice; 41 private static final Uri BASE_URI = Uri.parse("content://androidx.slice.view.test/");
|
/frameworks/support/slices/view/src/main/java/androidx/slice/ |
SliceManagerBase.java | 17 package androidx.slice; 19 import static androidx.slice.widget.SliceLiveData.SUPPORTED_SPECS; 123 final Slice s = Slice.bindSlice(mContext, mUri, SUPPORTED_SPECS);
|
SliceManagerCompat.java | 17 package androidx.slice; 19 import static androidx.slice.widget.SliceLiveData.SUPPORTED_SPECS; 28 import androidx.slice.compat.SliceProviderCompat; 29 import androidx.slice.widget.SliceLiveData; 63 public Slice bindSlice(@NonNull Uri uri) { 69 public Slice bindSlice(@NonNull Intent intent) {
|
SliceManagerWrapper.java | 17 package androidx.slice; 19 import static androidx.slice.SliceConvert.unwrap; 20 import static androidx.slice.widget.SliceLiveData.SUPPORTED_SPECS; 22 import android.app.slice.SliceSpec; 45 private final android.app.slice.SliceManager mManager; 49 this(context, context.getSystemService(android.app.slice.SliceManager.class)); 52 SliceManagerWrapper(Context context, android.app.slice.SliceManager manager) { 69 public @NonNull Set<androidx.slice.SliceSpec> getPinnedSpecs(@NonNull Uri uri) { 77 public androidx.slice.Slice bindSlice(@NonNull Uri uri) [all...] |
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
MessageView.java | 17 package androidx.slice.widget; 19 import static android.app.slice.Slice.SUBTYPE_SOURCE; 20 import static android.app.slice.SliceItem.FORMAT_IMAGE; 21 import static android.app.slice.SliceItem.FORMAT_TEXT; 33 import androidx.slice.SliceItem; 34 import androidx.slice.core.SliceQuery; 71 public void setSliceItem(SliceItem slice, boolean isHeader, int index, 75 SliceItem source = SliceQuery.findSubtype(slice, FORMAT_IMAGE, SUBTYPE_SOURCE); 88 List<SliceItem> items = SliceQuery.findAll(slice, FORMAT_TEXT) [all...] |
SliceLiveData.java | 16 package androidx.slice.widget; 29 import androidx.slice.Slice; 30 import androidx.slice.SliceManager; 31 import androidx.slice.SliceSpec; 32 import androidx.slice.SliceSpecs; 49 public static final SliceSpec OLD_BASIC = new SliceSpec("androidx.app.slice.BASIC", 1); 55 public static final SliceSpec OLD_LIST = new SliceSpec("androidx.app.slice.LIST", 1); 65 * Produces an {@link LiveData} that tracks a Slice for a given Uri. To use 66 * this method your app must have the permission to the slice Uri [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
HeapDoubleBuffer.java | 76 public DoubleBuffer slice() { method in class:HeapDoubleBuffer
|
HeapFloatBuffer.java | 75 public FloatBuffer slice() { method in class:HeapFloatBuffer
|
HeapIntBuffer.java | 75 public IntBuffer slice() { method in class:HeapIntBuffer
|
HeapLongBuffer.java | 76 public LongBuffer slice() { method in class:HeapLongBuffer
|
HeapShortBuffer.java | 75 public ShortBuffer slice() { method in class:HeapShortBuffer
|
StringCharBuffer.java | 44 public CharBuffer slice() { method in class:StringCharBuffer
|
/packages/apps/Settings/src/com/android/settings/slices/ |
SliceDeepLinkSpringBoard.java | 39 public static final String EXTRA_SLICE = "slice"; 53 // This shouldn't matter since the slice is shown instead of the device 55 final Uri slice = Uri.parse(intent.getStringExtra(EXTRA_SLICE)); local 58 // TODO (b/80263568) Avoid duplicating this list of Slice Uris. 59 if (WifiSliceBuilder.WIFI_URI.equals(slice)) { 61 } else if (ZenModeSliceBuilder.ZEN_MODE_URI.equals(slice)) { 63 } else if (BluetoothSliceBuilder.BLUETOOTH_URI.equals(slice)) { 65 } else if (LocationSliceBuilder.LOCATION_URI.equals(slice)) { 71 final SliceData sliceData = slicesDatabaseAccessor.getSliceDataFromUri(slice); 84 Log.w(TAG, "Couldn't launch Slice intent", e) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
SmallString.h | 260 StringRef slice(size_t Start, size_t End) const { function in class:llvm::SmallString 261 return str().slice(Start, End);
|