Home
last modified time | relevance | path

Searched refs:Asset (Results 1 – 25 of 50) sorted by relevance

12

/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dasset.h29 class Asset : public TensorHandleConvertible {
34 std::unique_ptr<Asset>* output);
37 Asset(Asset&& other) = default;
38 Asset& operator=(Asset&& other) = default;
40 ~Asset() override = default;
43 explicit Asset(ImmediateTensorHandlePtr handle);
44 Asset(const Asset&) = delete;
45 Asset& operator=(const Asset&) = delete;
Dasset.cc29 Asset::Asset(ImmediateTensorHandlePtr handle) in Asset() function in tensorflow::Asset
32 Status Asset::Create(ImmediateExecutionContext* ctx, in Create()
35 std::unique_ptr<Asset>* output) { in Create()
45 output->reset(new Asset(std::move(handle))); in Create()
Dpartially_revived_objects.h49 gtl::FlatMap<int, std::unique_ptr<Asset>> assets;
Drevived_objects.h81 gtl::FlatMap<int, std::unique_ptr<Asset>> assets;
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppApkAssets.java18 import org.robolectric.res.android.Asset.AccessMode;
85 Asset resources_asset_;
86 Asset idmap_asset_;
171 static Asset CreateAssetFromFile(String path) { in CreateAssetFromFile()
197 int fd, String path, Asset idmap_asset, in LoadImpl()
211 int fd, String path, Asset idmap_asset, in LoadImpl_measured()
247 loaded_apk.resources_asset_ = loaded_apk.Open(kResourcesArsc, Asset.AccessMode.ACCESS_BUFFER); in LoadImpl_measured()
278 public Asset Open(String path, AccessMode mode) { in Open()
303 Asset asset = in Open()
304 Asset.createFromCompressedMap(map, (int) entry.entry.getSize(), mode); in Open()
[all …]
DAsset.java3 import static org.robolectric.res.android.Asset.AccessMode.ACCESS_BUFFER;
33 public abstract class Asset { class
34 public static final Asset EXCLUDED_ASSET = new _FileAsset();
38 public static Asset newFileAsset(FileTypedResource fileTypedResource) throws IOException { in newFileAsset()
246 Asset mNext; // linked list.
247 Asset mPrev;
253 static Asset gHead = null;
254 static Asset gTail = null;
256 void registerAsset(Asset asset) in registerAsset()
274 void unregisterAsset(Asset asset) in unregisterAsset()
[all …]
DCppAssetManager.java3 import static org.robolectric.res.android.Asset.toIntExact;
31 import org.robolectric.res.android.Asset.AccessMode;
117 static final Asset kExcludedAsset = Asset.EXCLUDED_ASSET;
457 public Asset open(final String fileName, AccessMode mode) { in open()
471 Asset pAsset = openNonAssetInPathLocked(assetName.string(), mode, in open()
487 public Asset openNonAsset(final String fileName, AccessMode mode, Ref<Integer> outCookie) { in openNonAsset()
502 Asset pAsset = openNonAssetInPathLocked( in openNonAsset()
516 public Asset openNonAsset(final int cookie, final String fileName, AccessMode mode) { in openNonAsset()
525 Asset pAsset = openNonAssetInPathLocked( in openNonAsset()
606 Asset ass = null; in appendPathToResTable_measured()
[all …]
DRegistries.java8 public static final NativeObjRegistry<Asset> NATIVE_ASSET_REGISTRY =
9 new NativeObjRegistry<>(Asset.class);
DCppAssetManager2.java489 public Asset Open(final String filename, Asset.AccessMode mode) { in Open()
498 Asset Open(final String filename, ApkAssetsCookie cookie, in Open()
499 Asset.AccessMode mode) { in Open()
548 public Asset OpenNonAsset(final String filename, in OpenNonAsset()
549 Asset.AccessMode mode, in OpenNonAsset()
553 Asset asset = apk_assets_.get(i).Open(filename, mode); in OpenNonAsset()
568 public Asset OpenNonAsset(final String filename, Asset.AccessMode mode) { in OpenNonAsset()
577 public Asset OpenNonAsset(final String filename, in OpenNonAsset()
578 ApkAssetsCookie cookie, Asset.AccessMode mode) { in OpenNonAsset()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager10.java11 import static org.robolectric.res.android.Asset.SEEK_CUR;
12 import static org.robolectric.res.android.Asset.SEEK_END;
13 import static org.robolectric.res.android.Asset.SEEK_SET;
61 import org.robolectric.res.android.Asset;
418 static ParcelFileDescriptor ReturnParcelFileDescriptor(/* JNIEnv* env,*/ Asset asset, in ReturnParcelFileDescriptor()
470 return Asset.getGlobalCount(); in getGlobalAssetCount()
476 String alloc = Asset.getAssetAllocations(); in getAssetAllocations()
693 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenAsset()
694 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenAsset()
695 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenAsset()
[all …]
DShadowArscAssetManager9.java9 import static org.robolectric.res.android.Asset.SEEK_CUR;
10 import static org.robolectric.res.android.Asset.SEEK_END;
11 import static org.robolectric.res.android.Asset.SEEK_SET;
59 import org.robolectric.res.android.Asset;
414 static ParcelFileDescriptor ReturnParcelFileDescriptor(/* JNIEnv* env,*/ Asset asset, in ReturnParcelFileDescriptor()
466 return Asset.getGlobalCount(); in getGlobalAssetCount()
472 String alloc = Asset.getAssetAllocations(); in getAssetAllocations()
689 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenAsset()
690 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenAsset()
691 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenAsset()
[all …]
DShadowArscAssetInputStream.java11 import org.robolectric.res.android.Asset;
28 private Asset getAsset() { in getAsset()
42 Asset asset = getAsset(); in isNinePatch()
DShadowArscAssetManager.java11 import static org.robolectric.res.android.Asset.SEEK_CUR;
12 import static org.robolectric.res.android.Asset.SEEK_SET;
45 import org.robolectric.res.android.Asset;
46 import org.robolectric.res.android.Asset.AccessMode;
332 Asset a = am.open(fileName8, AccessMode.fromInt(mode)); in openAsset()
354 Asset a = am.open(fileName8, Asset.AccessMode.ACCESS_RANDOM); in openAssetFd()
376 if (mode != Asset.AccessMode.ACCESS_UNKNOWN && mode != Asset.AccessMode.ACCESS_RANDOM in openNonAssetNative()
377 && mode != Asset.AccessMode.ACCESS_STREAMING && mode != Asset.AccessMode.ACCESS_BUFFER) { in openNonAssetNative()
380 Asset a = isTruthy(cookie) in openNonAssetNative()
404 Asset a = isTruthy(cookie) in openNonAssetFdNative()
[all …]
DShadowAssetInputStream.java9 import org.robolectric.res.android.Asset;
18 Asset asset = NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); in createAssetInputStream()
DShadowArscApkAssets9.java18 import org.robolectric.res.android.Asset;
457 Asset asset = apk_assets.Open(path_utf8, in nativeOpenXml()
458 Asset.AccessMode.ACCESS_RANDOM); in nativeOpenXml()
/external/skqp/infra/bots/assets/
Dassets.py28 asset_utils.Asset.add(args.asset_name,
34 asset_utils.Asset(args.asset_name,
40 asset = asset_utils.Asset(args.asset_name,
47 asset = asset_utils.Asset(args.asset_name,
Dasset_utils_test.py173 self.a = asset_utils.Asset.add(self.asset_name, self._store)
192 asset_utils.Asset.add(self.asset_name, self._store)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.saved_model.-asset.pbtxt1 path: "tensorflow.saved_model.Asset"
3 is_instance: "<class \'tensorflow.python.training.tracking.tracking.Asset\'>"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.saved_model.-asset.pbtxt1 path: "tensorflow.saved_model.Asset"
3 is_instance: "<class \'tensorflow.python.training.tracking.tracking.Asset\'>"
/external/skia/infra/bots/assets/
Dassets.py41 return asset_utils.Asset(args.asset_name, _store(args))
46 asset_utils.Asset.add(args.asset_name, _store(args))
/external/tensorflow/tensorflow/cc/saved_model/testdata/
Dgenerate_saved_models.py78 self.asset = tracking.Asset(
90 self.asset = tracking.Asset(
/external/skia/infra/bots/assets/skimage/
Dcreate.py21 asset = asset_utils.Asset(common.ASSET_NAME, asset_utils.MultiStore())
/external/skqp/infra/bots/assets/skimage/
Dcreate.py21 asset = asset_utils.Asset(common.ASSET_NAME, asset_utils.MultiStore())
/external/tensorflow/tensorflow/python/training/tracking/
Dtracking.py309 class Asset(base.Trackable): class
363 Asset, lambda asset, **kw: ops.convert_to_tensor(asset.asset_path, **kw))
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_model_utils.h64 std::unique_ptr<Asset>* output);

12