/external/autotest/server/cros/ |
D | lockfile.py | 148 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/ |
D | target_hardware.cc | 41 : 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 …]
|
D | target_hardware.h | 114 const std::string& unique_name, const std::string& description, 128 const std::string& unique_name, const std::string& description,
|
/external/webrtc/test/ |
D | vcm_capturer.cc | 34 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/ |
D | find_tests.py | 37 unique_name = "_".join( 39 output += TEMPLATE.format(path=path, unique_name=unique_name)
|
/external/tensorflow/tensorflow/cc/framework/ |
D | scope.cc | 376 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/ |
D | variable_ops.cc | 110 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/ |
D | mojom_js_generator.py | 322 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/ |
D | lift_as_function_call_utils.cc | 42 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/ |
D | ops_test.py | 1455 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/ |
D | const_op.cc | 29 const string unique_name = scope.GetUniqueNameForOp("Const"); in ConstHelper() local 30 auto builder = NodeBuilder(unique_name, "Const") in ConstHelper()
|
D | while_loop.cc | 79 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/ |
D | dot.rb | 166 unique_name = 'n%i' % @node_to_number_map[ tree ] 167 node_template[ :name ] = unique_name
|
/external/angle/src/compiler/translator/ |
D | gen_builtin_symbols.py | 1492 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/ |
D | graph_utils.cc | 353 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/ |
D | video_capture_unittest.cc | 163 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/ |
D | dataset_utils.h | 45 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/ |
D | multi_device_iterator_ops.cc | 508 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/ |
D | template.py | 243 unique_name=unique_name_, 272 unique_name=None, argument 309 self._unique_name = unique_name
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_print_visitor.h | 82 const char *unique_name(ir_variable *var);
|
D | ir_print_visitor.cpp | 111 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/ |
D | module.amd.tmpl | 25 var {{import.unique_name}} =
|
/external/angle/build/android/pylib/utils/ |
D | google_storage_helper.py | 88 def unique_name(basename, suffix='', timestamp=True, device=None): function
|
/external/cronet/build/android/pylib/utils/ |
D | google_storage_helper.py | 88 def unique_name(basename, suffix='', timestamp=True, device=None): function
|
/external/libtextclassifier/abseil-cpp/absl/flags/ |
D | parse_test.cc | 114 if (auto* unique_name = ::mkdtemp(temp_dir_template)) { in GetTestTempDir() 115 *res = unique_name; in GetTestTempDir()
|