Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 30) sorted by relevance

12

/system/core/libcutils/
Dcanned_fs_config.cpp34 } Path; typedef
36 static Path* canned_data = NULL;
41 return strcmp(((Path*)a)->path, ((Path*)b)->path); in path_compare()
55 Path* p; in load_canned_fs_config()
62 canned_data = (Path*) realloc(canned_data, canned_alloc * sizeof(Path)); in load_canned_fs_config()
86 qsort(canned_data, canned_used, sizeof(Path), path_compare); in load_canned_fs_config()
96 Path key, *p; in canned_fs_config()
100 p = (Path*) bsearch(&key, canned_data, canned_used, sizeof(Path), path_compare); in canned_fs_config()
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTestUtils.java24 import java.nio.file.Path;
39 static String createFile(Path dir, String... lines) throws IOException { in createFile()
40 Path tempFile = Files.createTempFile(dir, "tmp", null /* suffix */); in createFile()
45 static void deleteDir(Path tempDir) throws IOException { in deleteDir()
46 FileVisitor<? super Path> deleter = new SimpleFileVisitor<Path>() { in deleteDir()
48 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in deleteDir()
54 public FileVisitResult postVisitDirectory(Path dir, IOException exc) in deleteDir()
59 private FileVisitResult delete(Path file) throws IOException { in deleteDir()
DTzLookupGeneratorTest.java30 import java.nio.file.Path;
49 private Path tempDir;
91 Path outputFilePath = Paths.get(outputFile); in invalidRulesVersion()
111 Path outputFilePath = Paths.get(outputFile); in countryWithNoTimeZoneMappings()
136 Path outputFilePath = Paths.get(outputFile); in countryWithDuplicateTimeZoneMappings()
159 Path outputFilePath = Paths.get(outputFile); in badDefaultId()
181 Path outputFilePath = Paths.get(outputFile); in explicitDefaultIdInvalid()
238 Path outputFilePath = Paths.get(outputFile); in countryZonesContainsNonLowercaseIsoCode()
260 Path outputFilePath = Paths.get(outputFile); in countryZonesContainsDuplicate()
280 Path outputFilePath = Paths.get(outputFile); in countryZonesAndZoneTabCountryMismatch()
[all …]
DZoneTabFileTest.java25 import java.nio.file.Path;
37 private Path tempDir;
/system/tools/hidl/docs/src/parser/
Dconfig.kt21 import java.nio.file.Path in <lambda>()
43 lateinit var outDir: Path
65 val dirPathArgs = mutableListOf<Path>() in parseArgs()
66 val filePathArgs = mutableListOf<Path>() in parseArgs()
67 val excludedPathArgs = mutableListOf<Path>() in parseArgs()
68 var maybeOutDir: Path? = null in parseArgs()
134 …rivate fun findFiles(dir: File, files: MutableList<File>, ext: String, excludedPaths: List<Path>) { in findFiles()
/system/tools/hidl/build/
Dhidl_package_root.go35 Path *string
47 return "-r" + r.Name() + ":" + *r.properties.Path
55 if r.properties.Path == nil {
56 r.properties.Path = proptools.StringPtr(ctx.ModuleDir())
Dhidl_interface.go85 genOutputDir android.Path
132 inputs = append(inputs, currentPath.Path())
197 genOutputDir android.Path
198 genInputDir android.Path
/system/sepolicy/build/soong/
Dcil_compat_map.go76 installSource android.Path
80 GeneratedMapFile() android.Path
148 Implicits: []android.Path{
149 topHalf.Path(),
175 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
183 func (c *cilCompatMap) GeneratedMapFile() android.Path {
/system/tools/hidl/docs/src/writer/
Dformatutils.kt22 import java.nio.file.Path in <lambda>()
87 fun getOutPath(parser: AbstractFileParser, outDir: Path): Path { in getOutPath()
/system/tools/hidl/docs/src/writer/files/
DIndexFileWriter.kt26 import java.nio.file.Path in <lambda>()
34 val relPath: Path) in <lambda>()
40 …override val path: Path by lazy { Paths.get("${config.outDir}${File.separator}${this.baseName}.htm… in <lambda>()
137 …private val tocOutPath: Path by lazy { Paths.get("${config.outDir}${File.separator}${this.tocFileN… in <lambda>()
Dresources.kt21 import java.nio.file.Path
38 fun copyToFile(resourceName: String, outPath: Path): Boolean { in copyToFile()
DAbstractFileWriter.kt20 import java.nio.file.Path
25 abstract val path: Path
DAbstractParserFileWriter.kt25 import java.nio.file.Path
31 override val path: Path by lazy { getOutPath(parser, config.outDir) } in <lambda>()
/system/core/libprocessgroup/profiles/
Dcgroups.proto30 string path = 2 [json_name = "Path"];
38 string path = 1 [json_name = "Path"];
/system/extras/simpleperf/
Dthread_tree_test.cpp51 names[i] = pair.second->dso->Path(); in CheckMaps()
62 ASSERT_EQ(entry->dso->Path(), expected_names_[i]); in CheckMaps()
DSampleComparator.h57 BUILD_COMPARE_STRING_FUNCTION(CompareDso, map->dso->Path().c_str());
60 branch_from.map->dso->Path().c_str());
Dcmd_report_sample.cpp501 return android::base::EndsWith(entry.dso->Path(), "/libart.so"); in ProcessSampleRecord()
624 file->set_path(dso->Path()); in PrintFileInfoInProtobuf()
679 FprintIndented(report_fp_, 1, "file: %s\n", entries[0].dso->Path().c_str()); in PrintSampleRecord()
686 FprintIndented(report_fp_, 2, "file: %s\n", entries[i].dso->Path().c_str()); in PrintSampleRecord()
DSampleDisplayer.h84 return sample->map->dso->Path(); in DisplayDso()
94 return sample->branch_from.map->dso->Path(); in DisplayDsoFrom()
Dcmd_record.cpp1600 BuildIdRecord(true, UINT_MAX, build_id, dso->Path())); in DumpBuildIdFeature()
1602 std::string path = dso->Path(); in DumpBuildIdFeature()
1613 if (dso->Path() == DEFAULT_EXECNAME_FOR_THREAD_MMAP) { in DumpBuildIdFeature()
1616 if (!GetBuildIdFromDsoPath(dso->Path(), &build_id)) { in DumpBuildIdFeature()
1617 LOG(DEBUG) << "Can't read build_id from file " << dso->Path(); in DumpBuildIdFeature()
1621 BuildIdRecord(false, UINT_MAX, build_id, dso->Path())); in DumpBuildIdFeature()
Ddso.h147 const std::string& Path() const { return path_; } in Path() function
Ddso_test.cpp130 ASSERT_EQ(dso->Path(), file_path); in TEST()
Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
Dreport_lib_interface.cpp306 return android::base::EndsWith(map->dso->Path(), "/libart.so"); in SetCurrentSample()
334 entry.symbol.dso_name = map->dso->Path().c_str(); in SetCurrentSample()
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java33 import java.nio.file.Path;
667 final List<Path> paths = new ArrayList<>(); in assertFileCount()
668 FileVisitor<Path> visitor = new SimpleFileVisitor<Path>() { in assertFileCount()
670 public FileVisitResult visitFile(Path filePath, BasicFileAttributes attrs) in assertFileCount()
778 Path workingDirPath = workingDir.toPath(); in createTimeZoneDistroWithVersionBytes()
779 Files.walkFileTree(workingDirPath, new SimpleFileVisitor<Path>() { in createTimeZoneDistroWithVersionBytes()
781 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in createTimeZoneDistroWithVersionBytes()
/system/tools/xsdc/build/
Dxsdc.go68 genOutputDir android.Path
73 docsPath android.Path

12