Home
last modified time | relevance | path

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

1234

/external/angle/build/android/gyp/util/
Dresources_parser.py21 def _ResourceNameToJavaSymbol(resource_name): argument
22 return re.sub('[\.:]', '_', resource_name)
52 resource_name = _ResourceNameToJavaSymbol(child.attrib['name'])
53 ret.add(_TextSymbolEntry('int', 'attr', resource_name, _DUMMY_RTXT_ID))
60 resource_name = _ResourceNameToJavaSymbol(entry.attrib['name'])
61 ret.add(_TextSymbolEntry('int', 'id', resource_name, _DUMMY_RTXT_ID))
71 resource_name = value[5:]
72 ret.add(_TextSymbolEntry('int', 'id', resource_name, _DUMMY_RTXT_ID))
131 resource_name = f[:f.index('.')]
133 resource_name = f
[all …]
/external/cronet/build/android/gyp/util/
Dresources_parser.py21 def _ResourceNameToJavaSymbol(resource_name): argument
22 return re.sub('[\.:]', '_', resource_name)
52 resource_name = _ResourceNameToJavaSymbol(child.attrib['name'])
53 ret.add(_TextSymbolEntry('int', 'attr', resource_name, _DUMMY_RTXT_ID))
60 resource_name = _ResourceNameToJavaSymbol(entry.attrib['name'])
61 ret.add(_TextSymbolEntry('int', 'id', resource_name, _DUMMY_RTXT_ID))
71 resource_name = value[5:]
72 ret.add(_TextSymbolEntry('int', 'id', resource_name, _DUMMY_RTXT_ID))
131 resource_name = f[:f.index('.')]
133 resource_name = f
[all …]
/external/cronet/build/config/android/test/resource_overlay/
DBUILD.gn14 "resource_name=$resource_name",
24 resource_name = "resource_overlay_dependency_tagged_secret"
29 resource_name = "resource_overlay_dependency_tagged_secret"
35 resource_name = "resource_overlay_root_tagged_secret"
41 resource_name = "resource_overlay_root_tagged_secret"
/external/angle/build/config/android/test/resource_overlay/
DBUILD.gn14 "resource_name=$resource_name",
24 resource_name = "resource_overlay_dependency_tagged_secret"
29 resource_name = "resource_overlay_dependency_tagged_secret"
35 resource_name = "resource_overlay_root_tagged_secret"
41 resource_name = "resource_overlay_root_tagged_secret"
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr.cc241 const string& resource_name, in DoLookup() argument
247 container, "/", resource_name, ")"); in DoLookup()
249 auto iter = b->find({type_hash_code, resource_name}); in DoLookup()
251 return errors::NotFound("Resource ", container, "/", resource_name, "/", in DoLookup()
256 return errors::NotFound("Resource ", container, "/", resource_name, "/", in DoLookup()
265 const string& resource_name, in PopResourceAndName() argument
273 auto iter = b->find({type_hash_code, resource_name}); in PopResourceAndName()
275 return errors::NotFound("Resource ", container, "/", resource_name, "/", in PopResourceAndName()
284 const string& resource_name, in DoDelete() argument
288 container, type_hash_code, resource_name, type_name, resource_and_name)); in DoDelete()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dpromote_var_handles_to_args.mlir15 // CHECK-SAME: (%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf.resource_name = "x"})
23 // CHECK-SAME: (%arg0: tensor<i1>, %arg1: tensor<!tf_type.resource<tensor<f32>>> {tf.resource_name
31 …f_type.resource<tensor<f32>>> {tf.resource_name = "x"}, %arg1: tensor<!tf_type.resource<tensor<i32…
40 // CHECK-SAME: (%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf.resource_name = "x"})
49 // CHECK-SAME: (%arg0: tensor<f32>, %arg1: tensor<!tf_type.resource<tensor<f32>>> {tf.resource_name
Dtf_saved_model_lift_variables.mlir7 …e<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor…
31 …e<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor…
41 …e<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor…
69 …source<tensor<*xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor…
Dtf_saved_model_initialize_variables_in_session_init.mlir7 …func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name
28 …func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name
54 …func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name
68 …func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name
89 …func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name
/external/libtextclassifier/native/utils/
Dresources.cc77 const StringPiece resource_name) const { in FindResource()
83 resources_->resource_entry()->LookupByKey(resource_name.data()); in FindResource()
85 TC3_LOG(ERROR) << "Resource " << resource_name.ToString() << " not found"; in FindResource()
129 const StringPiece resource_name, in GetResourceContent() argument
131 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/core/tpu/kernels/
Dtpu_pod_state.cc38 const char* resource_name) { in DeleteIfExists() argument
39 VLOG(1) << "Removing resource " << resource_name << " if it exists"; in DeleteIfExists()
41 resource_manager->default_container(), resource_name); in DeleteIfExists()
43 VLOG(1) << "Removed existing resource " << resource_name; in DeleteIfExists()
47 VLOG(1) << "No resource " << resource_name << " to remove"; in DeleteIfExists()
50 VLOG(1) << "Error removing resource " << resource_name << " : " << status; in DeleteIfExists()
Dtpu_configuration_ops.cc79 const char* resource_name) { in DeleteIfExists() argument
80 VLOG(1) << "Removing resource " << resource_name << " if it exists"; in DeleteIfExists()
82 resource_manager->default_container(), resource_name); in DeleteIfExists()
84 VLOG(1) << "Removed existing resource " << resource_name; in DeleteIfExists()
88 VLOG(1) << "No resource " << resource_name << " to remove"; in DeleteIfExists()
91 VLOG(1) << "Error removing resource " << resource_name << " : " << status; in DeleteIfExists()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_resource_ops.cc189 const string& resource_name = ctx->input(0).scalar<tstring>()(); in Compute() local
199 ->Lookup(std::string(kTfTrtContainerName), resource_name, &resource) in Compute()
244 std::string(export_trt_engines_env) + "/" + resource_name; in Compute()
253 std::string(export_trt_engines_env) + "/dims-" + resource_name; in Compute()
269 VLOG(1) << "TRT Engines are not serialized for op: " << resource_name; in Compute()
272 << resource_name << " on device " << ctx->device()->name() in Compute()
276 VLOG(1) << "Destroying TRT engine cache resource for op " << resource_name in Compute()
280 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()
Dtrt_engine_resource_ops_test.cc243 const string resource_name = "myresource"; in TEST_P() local
246 .Attr("resource_name", resource_name) in TEST_P()
256 errors::IsNotFound(rm->Lookup(container, resource_name, &resource))); in TEST_P()
278 EXPECT_TRUE(rm->Lookup(container, resource_name, &resource).ok()); in TEST_P()
306 AddInputFromArray<tstring>(TensorShape({}), {resource_name}); in TEST_P()
356 EXPECT_TRUE(rm->Lookup(container, resource_name, &resource).ok()); in TEST_P()
/external/skia/modules/skresources/src/
DSkResources.cpp191 const char resource_name[]) const { in load()
193 full_path = SkOSPath::Join(full_dir.c_str(), resource_name); in load()
198 const char resource_name[], in loadImageAsset() argument
200 auto data = this->load(resource_path, resource_name); in loadImageAsset()
219 const char resource_name[]) const { in load()
220 return fProxy ? fProxy->load(resource_path, resource_name) in load()
253 const char resource_name[], in loadImageAsset() argument
262 auto asset = this->INHERITED::loadImageAsset(resource_path, resource_name, resource_id); in loadImageAsset()
/external/python/setuptools/pkg_resources/
D__init__.py524 def get_resource_filename(manager, resource_name): argument
529 def get_resource_stream(manager, resource_name): argument
534 def get_resource_string(manager, resource_name): argument
539 def has_resource(resource_name): argument
542 def resource_isdir(resource_name): argument
545 def resource_listdir(resource_name): argument
1129 def resource_exists(self, package_or_requirement, resource_name): argument
1131 return get_provider(package_or_requirement).has_resource(resource_name)
1133 def resource_isdir(self, package_or_requirement, resource_name): argument
1136 resource_name
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_pageobject.h93 void SetResourceName(const ByteString& resource_name) { in SetResourceName() argument
94 m_ResourceName = resource_name; in SetResourceName()
100 void SetGraphicsResourceName(const ByteString& resource_name) { in SetGraphicsResourceName() argument
101 m_GraphicsResourceName = resource_name; in SetGraphicsResourceName()
/external/angle/build/android/gyp/
Dunused_resources.py22 resource_type, resource_name = resource.split('/')
23 removed_resources.add((resource_type, resource_name))
28 resource_type, resource_name = line.split(' ')[1:3]
29 if (resource_type, resource_name) not in removed_resources:
/external/cronet/build/android/gyp/
Dunused_resources.py22 resource_type, resource_name = resource.split('/')
23 removed_resources.add((resource_type, resource_name))
28 resource_type, resource_name = line.split(' ')[1:3]
29 if (resource_type, resource_name) not in removed_resources:
/external/tensorflow/tensorflow/dtensor/cc/
Ddtensor_tpu_kernels.cc55 const char* resource_name) { in DeleteIfExists() argument
56 VLOG(1) << "Removing resource " << resource_name << " if it exists"; in DeleteIfExists()
58 resource_manager->default_container(), resource_name); in DeleteIfExists()
60 VLOG(1) << "Removed existing resource " << resource_name; in DeleteIfExists()
64 VLOG(1) << "No resource " << resource_name << " to remove"; in DeleteIfExists()
67 VLOG(1) << "Error removing resource " << resource_name << " : " << status; in DeleteIfExists()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.__internal__.feature_column.-state-manager.pbtxt12 …argspec: "args=[\'self\', \'feature_column\', \'resource_name\', \'resource\'], varargs=None, keyw…
24 …argspec: "args=[\'self\', \'feature_column\', \'resource_name\'], varargs=None, keywords=None, def…
32 …argspec: "args=[\'self\', \'feature_column\', \'resource_name\'], varargs=None, keywords=None, def…
/external/tensorflow/tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/
Dlower_saved_model.mlir11 // CHECK-SAME: [[arg0:%.*]]: tensor<i32> {tf.resource_name = "y"},
12 // CHECK-SAME: [[arg1:%.*]]: tensor<i32> {tf.resource_name = "z"}
51 // CHECK-SAME: [[arg1:%.*]]: tensor<i32> {tf.resource_name = "y"},
52 // CHECK-SAME: [[arg2:%.*]]: tensor<i32> {tf.resource_name = "z"}
69 // CHECK-SAME: [[arg1:%.*]]: tensor<i32> {tf.resource_name = "y"},
70 // CHECK-SAME: [[arg2:%.*]]: tensor<i32> {tf.resource_name = "z"}
109 // CHECK-SAME: [[arg0:%.*]]: tensor<i32> {tf.resource_name = "z"}
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh75 local resource_name=.[][\"$DEVLINK_DEV\"]
77 resource_name="$resource_name | .[] | select (.name == \"$name\")"
81 resource_name="${resource_name} | .[\"resources\"][] | \
85 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
/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()

1234