Home
last modified time | relevance | path

Searched refs:resource_name (Results 1 – 25 of 67) sorted by relevance

123

/external/libtextclassifier/native/utils/
Dresources.cc63 const StringPiece resource_name) const { in FindResource()
69 resources_->resource_entry()->LookupByKey(resource_name.data()); in FindResource()
71 TC3_LOG(ERROR) << "Resource " << resource_name.ToString() << " not found"; in FindResource()
115 const StringPiece resource_name, in GetResourceContent() argument
117 const ResourceEntry* entry = FindResource(resource_name); in GetResourceContent()
Dresources.h37 const StringPiece resource_name,
57 const ResourceEntry* FindResource(const StringPiece resource_name) const;
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dpromote_var_handles_to_args.mlir15 // CHECK-SAME: (%arg0: tensor<!tf.resource<tensor<f32>>> {tf.resource_name = "x"})
23 // CHECK-SAME: (%arg0: tensor<i1>, %arg1: tensor<!tf.resource<tensor<f32>>> {tf.resource_name = "x"…
31 …nsor<!tf.resource<tensor<f32>>> {tf.resource_name = "x"}, %arg1: tensor<!tf.resource<tensor<i32>>>…
40 // CHECK-SAME: (%arg0: tensor<!tf.resource<tensor<f32>>> {tf.resource_name = "x"})
49 // CHECK-SAME: (%arg0: tensor<f32>, %arg1: tensor<!tf.resource<tensor<f32>>> {tf.resource_name = "x…
Dtf_saved_model_lift_variables.mlir7 …rce<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf.resource<tensor<50…
31 …rce<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf.resource<tensor<50…
41 …rce<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf.resource<tensor<50…
69 ….resource<tensor<*xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf.resource<tensor<*…
Dtf_saved_model_lift_variables_invalid_session.mlir7 …rce<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf.resource<tensor<50…
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_pod_state.cc37 const char* resource_name) { in DeleteIfExists() argument
38 VLOG(1) << "Removing resource " << resource_name << " if it exists"; in DeleteIfExists()
40 resource_manager->default_container(), resource_name); in DeleteIfExists()
42 VLOG(1) << "Removed existing resource " << resource_name; in DeleteIfExists()
46 VLOG(1) << "No resource " << resource_name << " to remove"; in DeleteIfExists()
49 VLOG(1) << "Error removing resource " << resource_name << " : " << status; in DeleteIfExists()
Dtpu_configuration_ops.cc58 const char* resource_name) { in DeleteIfExists() argument
59 VLOG(1) << "Removing resource " << resource_name << " if it exists"; in DeleteIfExists()
61 resource_manager->default_container(), resource_name); in DeleteIfExists()
63 VLOG(1) << "Removed existing resource " << resource_name; in DeleteIfExists()
67 VLOG(1) << "No resource " << resource_name << " to remove"; in DeleteIfExists()
70 VLOG(1) << "Error removing resource " << resource_name << " : " << status; in DeleteIfExists()
/external/skia/modules/skresources/src/
DSkResources.cpp187 const char resource_name[]) const { in load()
189 full_path = SkOSPath::Join(full_dir.c_str(), resource_name); in load()
194 const char resource_name[], in loadImageAsset() argument
196 auto data = this->load(resource_path, resource_name); in loadImageAsset()
215 const char resource_name[]) const { in load()
216 return fProxy ? fProxy->load(resource_path, resource_name) in load()
249 const char resource_name[], in loadImageAsset() argument
258 auto asset = this->INHERITED::loadImageAsset(resource_path, resource_name, resource_id); in loadImageAsset()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_resource_ops_test.cc114 const string resource_name = "myresource"; in TEST_F() local
117 .Attr("resource_name", resource_name) in TEST_F()
127 errors::IsNotFound(rm->Lookup(container, resource_name, &resource))); in TEST_F()
149 EXPECT_TRUE(rm->Lookup(container, resource_name, &resource).ok()); in TEST_F()
175 AddInputFromArray<tstring>(TensorShape({}), {resource_name}); in TEST_F()
224 EXPECT_TRUE(rm->Lookup(container, resource_name, &resource).ok()); in TEST_F()
Dtrt_engine_resource_ops.cc186 const string& resource_name = ctx->input(0).scalar<tstring>()(); in Compute() local
195 resource_name, &resource)); in Compute()
229 << resource_name << " on device " << ctx->device()->name() in Compute()
233 VLOG(1) << "Destroying TRT engine cache resource for op " << resource_name in Compute()
237 std::string(kTfTrtContainerName), resource_name)); in Compute()
Dget_calibration_data_op.cc42 const string& resource_name = context->input(0).scalar<tstring>()(); in Compute() local
46 std::string(kTfTrtContainerName), resource_name, in Compute()
/external/python/setuptools/pkg_resources/
D__init__.py519 def get_resource_filename(manager, resource_name): argument
524 def get_resource_stream(manager, resource_name): argument
529 def get_resource_string(manager, resource_name): argument
534 def has_resource(resource_name): argument
537 def resource_isdir(resource_name): argument
540 def resource_listdir(resource_name): argument
1124 def resource_exists(self, package_or_requirement, resource_name): argument
1126 return get_provider(package_or_requirement).has_resource(resource_name)
1128 def resource_isdir(self, package_or_requirement, resource_name): argument
1131 resource_name
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh60 local resource_name=.[][\"$DEVLINK_DEV\"]
62 resource_name="$resource_name | .[] | select (.name == \"$name\")"
66 resource_name="${resource_name} | .[\"resources\"][] | \
70 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
/external/skia/tools/viewer/
DParticlesSlide.cpp33 sk_sp<SkData> load(const char resource_path[], const char resource_name[]) const override { in load()
34 auto it = fResources.find(resource_name); in load()
38 return GetResourceAsData(SkOSPath::Join(resource_path, resource_name).c_str()); in load()
43 const char resource_name[], in loadImageAsset() argument
45 auto data = this->load(resource_path, resource_name); in loadImageAsset()
49 void addPath(const char resource_name[], const SkPath& path) { in addPath() argument
50 fResources[resource_name] = path.serialize(); in addPath()
/external/skqp/modules/skottie/utils/
DSkottieUtils.cpp52 const char resource_name[]) const { in load()
54 full_path = SkOSPath::Join(full_dir.c_str(), resource_name); in load()
59 const char resource_name[]) const { in loadImageAsset()
60 return MultiFrameImageAsset::Make(this->load(resource_path, resource_name)); in loadImageAsset()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderProgramInterfaces.cpp512 const char* resource_name = (n_iteration == 0) ? tc_resource_name : te_resource_name; in iterate() local
514 if (resource_name == DE_NULL) in iterate()
530 glw::GLuint resource_index = gl.getProgramResourceIndex(m_po_id, interface, resource_name); in iterate()
535 m_testCtx.getLog() << tcu::TestLog::Message << "Resource [" << resource_name in iterate()
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr.cc214 const string& resource_name, in DoDelete() argument
223 auto iter = b->find({type_hash_code, resource_name}); in DoDelete()
225 return errors::NotFound("Resource ", container, "/", resource_name, "/", in DoDelete()
236 const string& resource_name) { in DoDelete() argument
237 return DoDelete(container, type.hash_code(), resource_name, type.name()); in DoDelete()
/external/skia/src/pdf/
DSkPDFResourceDict.cpp45 static const char* resource_name(SkPDFResourceType type) { in resource_name() function
70 dst->insertObject(resource_name(type), std::move(resources)); in add_subdict()
/external/skqp/src/pdf/
DSkPDFResourceDict.cpp45 static const char* resource_name(SkPDFResourceType type) { in resource_name() function
70 dst->insertObject(resource_name(type), std::move(resources)); in add_subdict()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/infrastructure/gcp/
Dcompute.py300 resource_type: str, resource_name: str) -> bool:
302 params = {"project": self.project, resource_type: resource_name}
309 resource_type, resource_name)
312 resource_name, error)
/external/python/cpython3/Lib/zoneinfo/
D_common.py9 resource_name = components[-1]
12 return importlib.resources.open_binary(package_name, resource_name)
/external/skqp/modules/skottie/include/
DSkottie.h68 const char resource_name[]) const;
75 const char resource_name[]) const;
/external/llvm-project/llvm/include/llvm/Target/
DTargetPfmCounters.td22 class PfmIssueCounter<string resource_name, string counter>
28 string ResourceName = resource_name;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetPfmCounters.td20 class PfmIssueCounter<string resource_name, string counter>
26 string ResourceName = resource_name;
/external/python/cpython3/Lib/test/support/
Dsocket_helper.py190 def transient_internet(resource_name, *, timeout=_NOT_SET, errnos=()): argument
217 denied = support.ResourceDenied("Resource %r is not available" % resource_name)

123