Home
last modified time | relevance | path

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

123

/external/autotest/server/cros/
Dlockfile.py148 self.unique_name = os.path.join(dirname, "%s.%s%s" % (self.hostname,
154 if os.path.exists(self.unique_name):
155 logging.warning("Removing unexpected file %s", self.unique_name)
156 os.unlink(self.unique_name)
225 open(self.unique_name, "wb").close()
227 raise LockFailed("failed to create %s" % self.unique_name)
236 os.link(self.unique_name, self.lock_file)
239 nlinks = os.stat(self.unique_name).st_nlink
247 os.unlink(self.unique_name)
265 os.unlink(self.unique_name)
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/hardwares/
Dtarget_hardware.cc41 : unique_name(GetCanonicalHardwareName(name)), in RegisteredTargetHardware()
50 : unique_name(GetCanonicalHardwareName(name)), in RegisteredTargetHardware()
54 std::string unique_name; member
165 if (hardware.unique_name == canonical_name) { in GetTargetHardware()
179 if (hardware.unique_name == canonical_name) { in GetTargetHardwareFactory()
189 const std::string& unique_name, const std::string& description, in RegisterTargetHardware() argument
194 if (hardware.unique_name == unique_name) { in RegisterTargetHardware()
195 llvm::errs() << "Ignoring duplicate hardware. Hardware " << unique_name in RegisterTargetHardware()
201 unique_name, description, type_id, target_hardware_factory())); in RegisterTargetHardware()
205 const std::string& unique_name, const std::string& description, in RegisterTargetHardwareFactory() argument
[all …]
Dtarget_hardware.h114 const std::string& unique_name, const std::string& description,
128 const std::string& unique_name, const std::string& description,
/external/webrtc/test/
Dvcm_capturer.cc34 char unique_name[256]; in Init() local
36 device_name, sizeof(device_name), unique_name, in Init()
37 sizeof(unique_name)) != 0) { in Init()
42 vcm_ = webrtc::VideoCaptureFactory::Create(unique_name); in Init()
/external/autotest/metadata/utils/
Dfind_tests.py37 unique_name = "_".join(
39 output += TEMPLATE.format(path=path, unique_name=unique_name)
/external/tensorflow/tensorflow/cc/framework/
Dscope.cc376 string unique_name; in GetUniqueName() local
378 unique_name = strings::StrCat(prefix, kSuffixSeparator, ++entry->second); in GetUniqueName()
379 } while (name_map_->find(unique_name) != name_map_->end()); in GetUniqueName()
380 name_map_->insert({unique_name, 0}); in GetUniqueName()
381 return unique_name; in GetUniqueName()
385 const string unique_name = in GetNameForOp() local
388 name_.empty() || unique_name.empty() ? "" : kScopeSeparator; in GetNameForOp()
389 return strings::StrCat(name_, sep, unique_name); in GetNameForOp()
411 const string unique_name = in NewSubScope() local
414 impl()->name_.empty() || unique_name.empty() ? "" : kScopeSeparator; in NewSubScope()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dvariable_ops.cc110 auto unique_name = TemporaryVariableName(var_name_, context->frame_iter()); in Compute() local
114 tmp_var->name = unique_name; in Compute()
119 context->step_container()->Create(rm, unique_name, tmp_var)); in Compute()
163 auto unique_name = TemporaryVariableName(var_name_, context->frame_iter()); in Compute() local
166 rm, unique_name)); in Compute()
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py322 unique_name = simple_name
324 while unique_name in used_names:
326 unique_name = simple_name + str(counter)
328 used_names.add(unique_name)
329 each_import.unique_name = unique_name + "$"
375 name.append(kind.module.unique_name)
549 name.append(token.module.unique_name)
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/utils/
Dlift_as_function_call_utils.cc42 std::string unique_name = func_name; in InsertToSymbolTable() local
44 while (symbol_table.lookup(unique_name) != nullptr) { in InsertToSymbolTable()
46 unique_name = func_name + "_" + std::to_string(uniquing_counter); in InsertToSymbolTable()
49 StringAttr::get(module->getContext(), unique_name)); in InsertToSymbolTable()
/external/tensorflow/tensorflow/python/framework/
Dops_test.py1455 self.assertEqual("foo", g.unique_name("foo", mark_as_used=False))
1456 self.assertEqual("foo", g.unique_name("foo", mark_as_used=False))
1457 self.assertEqual("foo", g.unique_name("foo"))
1458 self.assertEqual("foo_1", g.unique_name("foo", mark_as_used=False))
1459 self.assertEqual("foo_1", g.unique_name("foo"))
1460 self.assertEqual("foo_2", g.unique_name("foo", mark_as_used=False))
1461 self.assertEqual("foo_2", g.unique_name("foo"))
1462 self.assertEqual("foo_1_1", g.unique_name("foo_1", mark_as_used=False))
1463 self.assertEqual("foo_1_1", g.unique_name("foo_1"))
1464 self.assertEqual("foo_1_2", g.unique_name("foo_1", mark_as_used=False))
[all …]
/external/tensorflow/tensorflow/cc/ops/
Dconst_op.cc29 const string unique_name = scope.GetUniqueNameForOp("Const"); in ConstHelper() local
30 auto builder = NodeBuilder(unique_name, "Const") in ConstHelper()
Dwhile_loop.cc79 const string unique_name = scope.GetUniqueNameForOp("Merge"); in CreateMerge() local
80 NodeBuilder builder = NodeBuilder(unique_name, "Merge").Input(input_list); in CreateMerge()
/external/antlr/runtime/Ruby/lib/antlr3/
Ddot.rb166 unique_name = 'n%i' % @node_to_number_map[ tree ]
167 node_template[ :name ] = unique_name
/external/angle/src/compiler/translator/
Dgen_builtin_symbols.py1492 unique_name = function_name + '_'
1494 unique_name += param.get_mangled_name()
1495 return unique_name
1499 unique_name = 'pt'
1502 unique_name += '_o_'
1504 unique_name += '_io_'
1505 unique_name += param.get_mangled_name()
1506 return unique_name
1512 unique_name = 'p'
1516 unique_name += '_o_'
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dgraph_utils.cc353 string unique_name; in EnsureNodeNamesUnique() local
355 unique_name = strings::StrCat(prefix, "_", ++(*entry)); in EnsureNodeNamesUnique()
356 } while (name_map.find(unique_name) != name_map.end()); in EnsureNodeNamesUnique()
357 name_map.insert({unique_name, 0}); in EnsureNodeNamesUnique()
358 node->set_name(std::move(unique_name)); in EnsureNodeNamesUnique()
/external/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc163 char unique_name[256]; in OpenVideoCaptureDevice() local
166 unique_name, 256)); in OpenVideoCaptureDevice()
169 VideoCaptureFactory::Create(unique_name)); in OpenVideoCaptureDevice()
/external/tensorflow/tensorflow/core/data/
Ddataset_utils.h45 string unique_name = in CreateWeakHandle() local
48 TF_RETURN_IF_ERROR(mgr->Create<T>(container_name, unique_name, resource)); in CreateWeakHandle()
50 *handle = MakeResourceHandle(container_name, unique_name, *ctx->device(), in CreateWeakHandle()
/external/tensorflow/tensorflow/core/kernels/data/
Dmulti_device_iterator_ops.cc508 string unique_name = cinfo_.name(); in Compute() local
525 unique_name = strings::StrCat("_AnonymousMultiDeviceIterator", in Compute()
535 container_name, unique_name, resource)); in Compute()
537 unique_name = cinfo_.name(); in Compute()
541 container_name, unique_name, &resource, in Compute()
563 context, 0, container_name, unique_name, in Compute()
/external/tensorflow/tensorflow/python/ops/
Dtemplate.py243 unique_name=unique_name_,
272 unique_name=None, argument
309 self._unique_name = unique_name
/external/mesa3d/src/compiler/glsl/
Dir_print_visitor.h82 const char *unique_name(ir_variable *var);
Dir_print_visitor.cpp111 ir_print_visitor::unique_name(ir_variable *var) in unique_name() function in ir_print_visitor
214 fprintf(f, " %s)", unique_name(ir)); in visit()
407 fprintf(f, "(var_ref %s) ", unique_name(var)); in visit()
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dmodule.amd.tmpl25 var {{import.unique_name}} =
/external/angle/build/android/pylib/utils/
Dgoogle_storage_helper.py88 def unique_name(basename, suffix='', timestamp=True, device=None): function
/external/cronet/build/android/pylib/utils/
Dgoogle_storage_helper.py88 def unique_name(basename, suffix='', timestamp=True, device=None): function
/external/libtextclassifier/abseil-cpp/absl/flags/
Dparse_test.cc114 if (auto* unique_name = ::mkdtemp(temp_dir_template)) { in GetTestTempDir()
115 *res = unique_name; in GetTestTempDir()

123