/external/tensorflow/tensorflow/python/debug/cli/ |
debugger_cli_common.py | 210 def slice(self, begin, end): member in class:RichTextLines 211 """Slice a RichTextLines object. 232 # Slice font attribute segments. 238 # Slice annotations. [all...] |
/external/tensorflow/tensorflow/python/ops/ |
array_ops.py | 40 @@slice 115 # We override the 'slice' for the "slice" op, so we keep python's 116 # existing 'slice' for later use in this module. 117 _BaseSlice = slice 503 var: In the case of variable slice assignment, the Variable 504 object to slice (i.e. tensor is the read-only view of this 508 The appropriate slice of "tensor", based on "slice_spec". 511 ValueError: If a slice range is negative size. 512 TypeError: If the slice indices aren't int, slice, or Ellipsis 594 def slice(input_, begin, size, name=None): function [all...] |
/frameworks/base/core/java/android/app/slice/ |
Slice.java | 17 package android.app.slice; 41 * A slice is a piece of app content and actions that can be surfaced outside of the app. 46 public final class Slice implements Parcelable { 91 * Hint that this content is a title of other content in the slice. This can also indicate that 92 * the content should be used in the shortcut representation of the slice (icon, label, action), 114 * Hint that this slice contains a number of actions that can be grouped together 127 * Hint to indicate that this content should only be displayed if the slice is presented 132 * Hint indicating this content should be shown instead of the normal content when the slice 145 * Hint that list items within this slice or subslice would appear better 150 * Hint to indicate that this slice is incomplete and an update will be sent onc [all...] |
SliceProvider.java | 16 package android.app.slice; 18 import static android.app.slice.Slice.SUBTYPE_COLOR; 76 * Slices can be identified by a Uri or by an Intent. To link an Intent with a slice, the provider 77 * must have an {@link IntentFilter} matching the slice intent. When a slice is being requested via 79 * appropriate Uri representing the slice. 88 * <category android:name="android.app.slice.category.SLICE" /> 93 * @see Slice [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBLAS.cpp | 167 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); local 169 uint32_t mStart = (slice % mtls->numTileM) * mtls->tileSizeM; 176 uint32_t nStart = (slice / mtls->numTileM) * mtls->tileSizeN; [all...] |
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/ |
SliceBrowser.java | 17 package com.example.androidx.slice.demos; 19 import static androidx.slice.core.SliceHints.INFINITY; 21 import static com.example.androidx.slice.demos.SampleSliceProvider.URI_PATHS; 22 import static com.example.androidx.slice.demos.SampleSliceProvider.getUri; 50 import androidx.slice.Slice; 51 import androidx.slice.SliceItem; 52 import androidx.slice.SliceMetadata; 53 import androidx.slice.widget.EventInfo; 54 import androidx.slice.widget.SliceLiveData [all...] |
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
ActionRow.java | 17 package androidx.slice.widget; 19 import static android.app.slice.Slice.HINT_NO_TINT; 20 import static android.app.slice.SliceItem.FORMAT_IMAGE; 21 import static android.app.slice.SliceItem.FORMAT_REMOTE_INPUT; 23 import static androidx.slice.core.SliceHints.ICON_IMAGE; 27 import android.app.slice.Slice; 47 import androidx.slice.SliceItem; 48 import androidx.slice.core.SliceActionImpl [all...] |
ListContent.java | 17 package androidx.slice.widget; 19 import static android.app.slice.Slice.HINT_ACTIONS; 20 import static android.app.slice.Slice.HINT_HORIZONTAL; 21 import static android.app.slice.Slice.HINT_LIST_ITEM; 22 import static android.app.slice.Slice.HINT_SEE_MORE; 23 import static android.app.slice.Slice.HINT_SHORTCUT [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
HeapByteBuffer.java | 74 public ByteBuffer slice() { method in class:HeapByteBuffer
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
SettingsSliceProviderTest.java | 29 import android.app.slice.SliceManager; 66 import androidx.slice.Slice; 128 Slice slice = mProvider.onBindSlice(uri); local 130 assertThat(slice.getUri()).isEqualTo(uri); 131 assertThat(slice.getItems()).isEmpty(); 230 final Slice slice = mProvider.onBindSlice(blockedUri); local 232 assertThat(slice).isNull() [all...] |
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
CentralDirectoryRecord.java | 173 recordBuf = buf.slice(); 194 output.put(mData.slice()); 200 result.put(mData.slice());
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorBase.h | 743 slice(const StartIndices& startIndices, const Sizes& sizes) const { function in class:Eigen::TensorBase 918 slice(const StartIndices& startIndices, const Sizes& sizes) const { function in class:Eigen::TensorBase 923 slice(const StartIndices& startIndices, const Sizes& sizes) { function in class:Eigen::TensorBase [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSourceTest.java | 193 source.slice(-1, 10); 199 source.slice(0, -1); 222 * @param offset the first argument to {@link ByteSource#slice} 223 * @param length the second argument to {@link ByteSource#slice} 233 ByteSource slice = source.slice(offset, length); local 235 assertArrayEquals(expected, slice.read()); 308 assertArrayEquals(expected, concatenated.slice(0, 8).read());
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_transfer.c | 346 unsigned level, unsigned slice, 352 ilo_image_get_slice_pos(&tex->image, level, box->z + slice, &x, &y); 577 int slice; local 618 for (slice = 0; slice < box->depth; slice++) { 623 tex_get_box_origin(tex, xfer->base.level, slice, 625 tex_get_box_origin(s8_tex, xfer->base.level, slice, 628 dst = xfer->staging.sys + xfer->base.layer_stride * slice; 659 for (slice = 0; slice < box->depth; slice++) 704 int slice; local 828 int slice; local [all...] |
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_resource.c | 79 struct vc4_resource_slice *slice; local 82 slice = &rsc->slices[0]; 85 slice = &rsc->slices[ptrans->level]; 89 vc4_store_tiled_image(rsc->bo->map + slice->offset + 91 slice->stride, 93 slice->tiling, rsc->cpp, 275 struct vc4_resource_slice *slice = &rsc->slices[level]; local 344 buf + slice->offset + 346 slice->stride, 347 slice->tiling, rsc->cpp 416 struct vc4_resource_slice *slice = &rsc->slices[i]; local 582 struct vc4_resource_slice *slice = &rsc->slices[0]; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_mipmap_tree.h | 135 * \name Offset to slice 139 * compute the slice offsets, so we store them in this table. 141 * The (x, y) offset to slice \c s at level \c l relative the miptrees 144 * x = mt->level[l].slice[s].x_offset 145 * y = mt->level[l].slice[s].y_offset 156 * intel_miptree_map/unmap on this slice. 159 } *slice; member in struct:intel_mipmap_level 184 * with array slice n containing all pixel data for sample n. 194 * indicates the mapping from sample number to array slice. This allows 197 * slice [all...] |
/external/mesa3d/src/mesa/main/ |
texgetimage.c | 319 GLuint slice; local 333 for (slice = 0; slice < depth; slice++) { 337 tempSlice = tempImage + slice * 4 * width * height; 339 ctx->Driver.MapTextureImage(ctx, texImage, zoffset + slice, 347 ctx->Driver.UnmapTextureImage(ctx, texImage, zoffset + slice); 363 for (slice = 0; slice < depth; slice++) 778 GLint slice; local [all...] |
/external/python/cpython3/Objects/ |
rangeobject.c | 324 PySliceObject *slice = (PySliceObject *) _slice; local 330 error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step); [all...] |
/external/swiftshader/src/Renderer/ |
Blitter.cpp | 103 uint8_t *slice = (uint8_t*)dest->lock(dRect.x0, dRect.y0, dRect.slice, sw::LOCK_WRITEONLY, sw::PUBLIC, useDestInternal); local 107 uint8_t *d = slice; 129 slice += dest->getSliceB(useDestInternal); 166 source->lockInternal((int)sRect.x0, (int)sRect.y0, sRect.slice, sw::LOCK_READONLY, sw::PUBLIC); 167 dest->lockInternal(dRect.x0, dRect.y0, dRect.slice, sw::LOCK_WRITEONLY, sw::PUBLIC); [all...] |
Surface.hpp | 53 SliceRectT() : slice(0) {} 54 SliceRectT(const RectT<T>& rect) : RectT<T>(rect), slice(0) {} 55 SliceRectT(const RectT<T>& rect, int s) : RectT<T>(rect), slice(s) {} 56 SliceRectT(T x0, T y0, T x1, T y1, int s) : RectT<T>(x0, y0, x1, y1), slice(s) {} 57 int slice; member in struct:sw::SliceRectT 280 Surface(int width, int height, int depth, Format format, void *pixels, int pitch, int slice); 284 static Surface *create(int width, int height, int depth, Format format, void *pixels, int pitch, int slice); 365 static unsigned int size(int width, int height, int depth, int border, int samples, Format format); // FIXME: slice * depth
|
/external/tensorflow/tensorflow/contrib/labeled_tensor/ |
__init__.py | 38 slice = _core.slice_function # pylint: disable=redefined-builtin variable
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
layout_optimizer_test.cc | 853 auto slice = ops::Slice(s.WithOpName("slice"), conv, begin, size); local 890 auto slice = ops::Slice(s.WithOpName("slice"), conv, ibegin, isize); local [all...] |
/frameworks/base/core/java/android/app/usage/ |
UsageStatsManager.java | 280 ParceledListSlice<UsageStats> slice = mService.queryUsageStats(intervalType, beginTime, local 282 if (slice != null) { 283 return slice.getList(); 306 ParceledListSlice<ConfigurationStats> slice = mService.queryConfigurationStats( local 308 if (slice != null) { 309 return slice.getList(); 346 ParceledListSlice<EventStats> slice = mService.queryEventStats(intervalType, beginTime, local 348 if (slice != null) { 349 return slice.getList(); 535 final ParceledListSlice<AppStandbyInfo> slice = mService.getAppStandbyBuckets local 566 final ParceledListSlice<AppStandbyInfo> slice = new ParceledListSlice<>(bucketInfoList); local [all...] |
/frameworks/base/core/java/android/util/apk/ |
ApkVerityBuilder.java | 82 ByteBuffer tree = slice(output, 0, merkleTreeSize); 83 ByteBuffer header = slice(output, merkleTreeSize, 85 ByteBuffer extensions = slice(output, merkleTreeSize + FSVERITY_HEADER_SIZE_BYTES, 112 ByteBuffer header = slice(verityBlock, 0, FSVERITY_HEADER_SIZE_BYTES); 113 ByteBuffer extensions = slice(verityBlock, FSVERITY_HEADER_SIZE_BYTES, 185 mOutput = output.slice(); 304 generateApkVerityDigestAtLeafLevel(apk, signatureInfo, salt, slice(output, 309 ByteBuffer inputBuffer = slice(output, levelOffset[level + 1], levelOffset[level + 2]); 310 ByteBuffer outputBuffer = slice(output, levelOffset[level], levelOffset[level + 1]); 322 digester.consume(slice(output, 0, CHUNK_SIZE_BYTES)) method 461 private static ByteBuffer slice(ByteBuffer buffer, int begin, int end) { method in class:ApkVerityBuilder [all...] |
/frameworks/base/services/core/java/com/android/server/slice/ |
SliceClientPermissions.java | 15 package com.android.server.slice; 25 import com.android.server.slice.DirtyTracker.Persistable; 26 import com.android.server.slice.SlicePermissionManager.PkgUser;
|