/external/python/cpython2/Lib/distutils/tests/ |
D | test_archive_util.py | 71 base_name = os.path.join(tmpdir2, target_name) 77 make_tarball(splitdrive(base_name)[1], '.') 82 tarball = base_name + '.tar.gz' 86 base_name = os.path.join(tmpdir2, target_name) 90 make_tarball(splitdrive(base_name)[1], '.', compress=None) 93 tarball = base_name + '.tar' 116 base_name = os.path.join(tmpdir2, 'archive') 117 return tmpdir, tmpdir2, base_name 123 tmpdir, tmpdir2, base_name = self._create_files() 127 make_tarball(base_name, 'dist') [all …]
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_archive_util.py | 109 base_name = os.path.join(tmpdir2, target_name) 113 make_tarball(splitdrive(base_name)[1], 'dist', **kwargs) 116 tarball = base_name + suffix 151 base_name = os.path.join(tmpdir2, 'archive') 155 make_tarball(base_name, 'dist') 160 tarball = base_name + '.tar.gz' 181 base_name = os.path.join(tmpdir2, 'archive') 185 make_tarball(base_name, 'dist', compress=None) 188 tarball = base_name + '.tar' 192 base_name = os.path.join(tmpdir2, 'archive') [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | identify_lstm_split_inputs.cc | 89 const string base_name(FindLongestCommonPrefix( in Run() local 96 base_name + "weight_i_i", num_cell, num_input, kernel, 0, 0); in Run() 98 base_name + "weight_c_i", num_cell, num_input, kernel, in Run() 102 base_name + "weight_f_i", num_cell, num_input, kernel, num_cell * 2, 0); in Run() 105 base_name + "weight_o_i", num_cell, num_input, kernel, num_cell * 3, 0); in Run() 110 base_name + "weight_i_r", num_cell, num_output, kernel, 0, num_input); in Run() 113 base_name + "weight_c_r", num_cell, num_output, kernel, in Run() 117 base_name + "weight_f_r", num_cell, num_output, kernel, in Run() 121 base_name + "weight_o_r", num_cell, num_output, kernel, in Run() 126 base_name + "peephole_c_i"); in Run() [all …]
|
/external/autotest/site_utils/lxc/ |
D | base_image.py | 34 base_name=constants.BASE): argument 45 self.base_name = base_name 48 container_path, base_name); 68 self.base_name = name 97 base_path = os.path.join(self.container_path, self.base_name) 101 self.container_path, self.base_name) 113 self.container_path, self.base_name) 126 self.base_name) 143 base_path = os.path.join(self.container_path, self.base_name) 145 '%s.tar.xz' % self.base_name) [all …]
|
/external/apache-commons-bcel/src/examples/Mini/ |
D | MiniC.java | 38 String base_name=null; in main() local 76 base_name = file_name[j].substring(0, index); in main() 78 base_name = file_name[j]; in main() 81 if((index = base_name.lastIndexOf(File.separatorChar)) > 0) { in main() 82 base_name = base_name.substring(index + 1); in main() 117 ClassGen class_gen = new ClassGen(base_name, "java.lang.Object", in main() 125 clazz.dump(base_name + ".class"); in main() 129 PrintWriter out = new PrintWriter(new FileOutputStream(base_name + ".java")); in main() 130 program.code(out, base_name); in main() 135 String[] args = { "javac", base_name + ".java" }; in main()
|
/external/tensorflow/tensorflow/tools/docs/ |
D | generate_lib.py | 348 for base_name in filenames: 349 if not base_name.endswith('.md'): 352 title_parser.process(os.path.join(dirpath, base_name)) 355 os.path.join(dirpath, base_name))) 357 key_parts = os.path.join(suffix, base_name[:-3]).split('/') 360 doc_info = _DocInfo(os.path.join(suffix, base_name), title_parser.title) 370 def __init__(self, base_name, title, section_title, section_tag): argument 371 self.url = 'api_guides/python/' + (('%s#%s' % (base_name, section_tag)) 372 if section_tag else base_name) 387 def process(self, full_path, base_name): argument [all …]
|
/external/python/cpython2/Lib/distutils/ |
D | archive_util.py | 51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 77 archive_name = base_name + '.tar' 121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument 135 zip_filename = base_name + ".zip" 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument 214 base_name = os.path.abspath(base_name) 237 filename = func(base_name, base_dir, **kwargs)
|
/external/tensorflow/tensorflow/contrib/checkpoint/python/ |
D | containers.py | 53 def track(self, trackable, base_name): argument 77 count = self._name_counts.get(base_name, 0) 78 candidate = _format_name(base_name, count) 81 candidate = _format_name(base_name, count) 82 self._name_counts[base_name] = count + 1
|
/external/curl/docs/examples/ |
D | rtsp.c | 192 char *base_name = NULL; in main() local 201 base_name = strrchr(argv[0], '/'); in main() 202 if(base_name == NULL) { in main() 203 base_name = strrchr(argv[0], '\\'); in main() 205 if(base_name == NULL) { in main() 206 base_name = argv[0]; in main() 209 base_name++; in main() 211 printf("Usage: %s url [transport]\n", base_name); in main() 216 printf("Example: %s rtsp://192.168.0.2/media/video1\n\n", base_name); in main()
|
/external/python/cpython3/Lib/distutils/ |
D | archive_util.py | 55 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 83 archive_name = base_name + '.tar' 127 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument 136 zip_filename = base_name + ".zip" 206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument 227 base_name = os.path.abspath(base_name) 250 filename = func(base_name, base_dir, **kwargs)
|
/external/v8/tools/clang/plugins/ |
D | ChromeClassTester.cpp | 61 std::string base_name = record->getNameAsString(); in CheckTag() local 62 if (IsIgnoredType(base_name)) in CheckTag() 67 if (!options_.check_gmock_objects && ends_with(base_name, "Matcher")) in CheckTag() 132 const std::string& base_name = base_record->getQualifiedNameAsString(); in HasIgnoredBases() local 133 if (ignored_base_classes_.count(base_name) > 0) in HasIgnoredBases() 209 bool ChromeClassTester::IsIgnoredType(const std::string& base_name) { in IsIgnoredType() argument 210 return ignored_record_names_.find(base_name) != ignored_record_names_.end(); in IsIgnoredType()
|
/external/python/cpython2/Lib/test/ |
D | test_shutil.py | 388 base_name = os.path.abspath(rel_base_name) 392 self.assertEqual(tarball, base_name + '.tar.gz') 403 self.assertEqual(tarball, base_name + '.tar') 437 base_name = os.path.join(self.mkdtemp(), 'archive') 438 tarball = make_archive(base_name, 'gztar', root_dir, base_dir) 441 self.assertEqual(tarball, base_name + '.tar.gz') 454 tarball = make_archive(base_name, 'tar', root_dir, base_dir) 455 self.assertEqual(tarball, base_name + '.tar') 459 tarball = make_archive(base_name, 'tar', root_dir, base_dir, 461 self.assertEqual(tarball, base_name + '.tar') [all …]
|
/external/bcc/src/cc/frontends/p4/compiler/ |
D | ebpfDeparser.py | 29 base_name = hdr.base_name 30 current_index = tag_stacks_index[base_name] 33 tag_stacks_index[base_name] += 1 34 name = base_name + "[%d]" % current_index 95 ebpfStack = program.getStackInstance(p4header.base_name) 116 self.serializeFieldEmit(serializer, p4header.base_name,
|
/external/u-boot/net/ |
D | eth_common.c | 15 int eth_env_get_enetaddr_by_index(const char *base_name, int index, in eth_env_get_enetaddr_by_index() argument 19 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_get_enetaddr_by_index() 23 int eth_env_set_enetaddr_by_index(const char *base_name, int index, in eth_env_set_enetaddr_by_index() argument 27 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_set_enetaddr_by_index()
|
/external/google-breakpad/src/common/windows/ |
D | string_utils.cc | 39 wstring base_name(filename); in GetBaseName() local 40 size_t slash_pos = base_name.find_last_of(L"/\\"); in GetBaseName() 42 base_name.erase(0, slash_pos + 1); in GetBaseName() 44 return base_name; in GetBaseName()
|
/external/vulkan-validation-layers/scripts/ |
D | dispatch_table_helper_generator.py | 261 base_name = item[0][2:] 268 if ('device' in table_type and base_name == 'GetDeviceProcAddr'): 270 elif ('device' not in table_type and base_name == 'GetInstanceProcAddr'): 273 … table += ' table->%s = (PFN_%s) gpa(%s, "%s");\n' % (base_name, item[0], table_type, item[0]) 275 …ble->%s == nullptr) { table->%s = (PFN_%s)Stub%s; }\n' % (base_name, base_name, item[0], base_name)
|
/external/python/cpython2/Lib/ |
D | shutil.py | 352 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 379 archive_name = base_name + '.tar' + compress_ext 438 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): argument 447 zip_filename = base_name + ".zip" 448 archive_dir = os.path.dirname(base_name) 541 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument 563 base_name = os.path.abspath(base_name) 586 filename = func(base_name, base_dir, **kwargs)
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 184 const FilePath& base_name, in MakeFileName() argument 189 file = base_name.string() + "." + extension; in MakeFileName() 191 file = base_name.string() + "_" + StreamableToString(number) in MakeFileName() 287 const FilePath& base_name, in GenerateUniqueFileName() argument 292 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-filepath.cc | 177 const FilePath& base_name, in MakeFileName() argument 182 file = String::Format("%s.%s", base_name.c_str(), extension); in MakeFileName() 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); in MakeFileName() 280 const FilePath& base_name, in GenerateUniqueFileName() argument 285 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|
/external/googletest/googletest/src/ |
D | gtest-filepath.cc | 180 const FilePath& base_name, in MakeFileName() argument 185 file = base_name.string() + "." + extension; in MakeFileName() 187 file = base_name.string() + "_" + StreamableToString(number) in MakeFileName() 280 const FilePath& base_name, in GenerateUniqueFileName() argument 285 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-filepath.cc | 184 const FilePath& base_name, in MakeFileName() argument 189 file = base_name.string() + "." + extension; in MakeFileName() 191 file = base_name.string() + "_" + StreamableToString(number) in MakeFileName() 287 const FilePath& base_name, in GenerateUniqueFileName() argument 292 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest-filepath.cc | 177 const FilePath& base_name, in MakeFileName() argument 182 file = String::Format("%s.%s", base_name.c_str(), extension); in MakeFileName() 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); in MakeFileName() 280 const FilePath& base_name, in GenerateUniqueFileName() argument 285 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 175 const FilePath& base_name, in MakeFileName() argument 180 file = String::Format("%s.%s", base_name.c_str(), extension); in MakeFileName() 182 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); in MakeFileName() 278 const FilePath& base_name, in GenerateUniqueFileName() argument 283 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-filepath.cc | 182 const FilePath& base_name, in MakeFileName() argument 187 file = base_name.string() + "." + extension; in MakeFileName() 189 file = base_name.string() + "_" + StreamableToString(number) in MakeFileName() 285 const FilePath& base_name, in GenerateUniqueFileName() argument 290 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-filepath.cc | 184 const FilePath& base_name, in MakeFileName() argument 189 file = base_name.string() + "." + extension; in MakeFileName() 191 file = base_name.string() + "_" + StreamableToString(number) in MakeFileName() 287 const FilePath& base_name, in GenerateUniqueFileName() argument 292 full_pathname.Set(MakeFileName(directory, base_name, number++, extension)); in GenerateUniqueFileName()
|