/development/vndk/tools/definition-tool/tests/ |
D | test_scandir.py | 15 for ent in scandir(testdata_dir): 18 self.assertEqual(ent.path, os.path.join(testdata_dir, ent.name)) 20 if ent.name == 'test_file': 21 self.assertTrue(ent.is_file()) 22 self.assertFalse(ent.is_dir()) 23 self.assertFalse(ent.is_symlink()) 24 elif ent.name == 'test_dir': 25 self.assertFalse(ent.is_file()) 26 self.assertTrue(ent.is_dir()) 27 self.assertFalse(ent.is_symlink()) [all …]
|
/development/tools/repo_diff/service/repodiff/interactors/ |
D | application.go | 5 ent "repodiff/entities" packageName 13 DiffRows []ent.DiffRow 14 CommitRows []ent.CommitRow 15 Manifests *ent.ManifestFileGroup 18 func ApplyApplicationMutations(p AppProcessingParameters) ([]ent.AnalyzedDiffRow, []ent.AnalyzedCom… 24 func commitRowsToAnalyzed(commitRows []ent.CommitRow, projectNameToType TypeMap) []ent.AnalyzedComm… 25 analyzed := make([]ent.AnalyzedCommitRow, len(commitRows)) 27 analyzed[i] = ent.AnalyzedCommitRow{ 38 func diffRowsToAnalyzed(diffRows []ent.DiffRow, projectNameToType TypeMap) []ent.AnalyzedDiffRow { 39 analyzed := make([]ent.AnalyzedDiffRow, len(diffRows)) [all …]
|
D | manifest_test.go | 9 ent "repodiff/entities" packageName 14 var common, downstream, upstream ent.ManifestFile 20 &ent.ManifestFileGroup{
|
D | manifest.go | 5 ent "repodiff/entities" packageName 8 func ProjectNamesToType(manifests *ent.ManifestFileGroup) TypeMap { 20 func extractProjectNames(m ent.ManifestFile) []string {
|
/development/tools/repo_diff/service/repodiff/controllers/ |
D | differential.go | 13 ent "repodiff/entities" packageName 29 func ExecuteDifferentials(config ent.ApplicationConfig) error { 55 func defineCommonManifest(config ent.ApplicationConfig) (*ent.ManifestFile, error) { 74 var manifest ent.ManifestFile 91 func clearOutputDirectory(config ent.ApplicationConfig) error { 99 func setupCommand(pyScript string, config ent.ApplicationConfig, target ent.DiffTarget) *exec.Cmd { 116 func runPyScript(config ent.ApplicationConfig, target ent.DiffTarget) (projectCSV string, commitCSV… 134 func diffTarget(pyScript string, config ent.ApplicationConfig, target ent.DiffTarget) error { 152 config ent.ApplicationConfig, 153 target ent.DiffTarget, [all …]
|
D | contract.go | 4 ent "repodiff/entities" packageName 9 InsertCommitRows(commitRows []ent.AnalyzedCommitRow) error 10 …GetFirstSeenTimestamp(commitHashes []string, nullTimestamp ent.RepoTimestamp) (map[string]ent.Repo… 11 GetMostRecentCommits() ([]ent.AnalyzedCommitRow, error) 14 func MaybeNullObjectCommitRepository(target ent.MappedDiffTarget) Committer {
|
D | regression_test.go | 9 ent "repodiff/entities" packageName 15 analyzed := make([]ent.AnalyzedCommitRow, len(commitRows)) 17 analyzed[i] = ent.AnalyzedCommitRow{ 24 ent.MappedDiffTarget{
|
D | reporter.go | 9 ent "repodiff/entities" packageName 16 func GenerateCommitReport(appConfig ent.ApplicationConfig) error { 25 func generateCommitReport(appConfig ent.ApplicationConfig, target ent.DiffTarget) error { 61 func filenameForTarget(target ent.DiffTarget) string {
|
/development/tools/repo_diff/service/repodiff/repositories/ |
D | helpers_test.go | 6 ent "repodiff/entities" packageName 10 func fakeFixtures() []ent.AnalyzedDiffRow { 11 return []ent.AnalyzedDiffRow{ 12 ent.AnalyzedDiffRow{ 13 DiffRow: ent.DiffRow{ 29 func fakeCommitFixtures() []ent.AnalyzedCommitRow { 30 return []ent.AnalyzedCommitRow{ 31 ent.AnalyzedCommitRow{ 32 CommitRow: ent.CommitRow{
|
D | commit_test.go | 8 ent "repodiff/entities" packageName 46 var oldTimestamp ent.RepoTimestamp = 1519333790 48 …assert.True(t, ent.RepoTimestamp(timestamp) > oldTimestamp, "Insert timestamp should be greater th… 78 oldFakeTimestamp := ent.RepoTimestamp(1) 80 func() ent.RepoTimestamp { return oldFakeTimestamp }, 83 newFakeTimestamp := ent.RepoTimestamp(2) 85 func() ent.RepoTimestamp { return newFakeTimestamp }, 91 nullTimestamp := ent.RepoTimestamp(0) 100 nullTimestamp := ent.RepoTimestamp(0) 108 nullTimestamp := ent.RepoTimestamp(0) [all …]
|
D | denormalizer.go | 9 ent "repodiff/entities" packageName 20 target ent.DiffTarget 21 mappedTarget ent.MappedDiffTarget 156 func (s ScopedDenormalizer) DenormalizeToRecentView(diffRows []ent.AnalyzedDiffRow) error { 201 func NewScopedDenormalizerRepository(target ent.DiffTarget, mappedTarget ent.MappedDiffTarget) (Sco… 210 func (s ScopedDenormalizer) DenormalizeToChangesOverTime(diffRows []ent.AnalyzedDiffRow) error { 241 …malizer) DenormalizeToRecentCommits(commitRows []ent.AnalyzedCommitRow, commitToTimestamp map[stri…
|
/development/tools/repo_diff/service/repodiff/ |
D | repodiff.go | 7 ent "repodiff/entities" packageName 14 type controllerFunc func(ent.ApplicationConfig) error 21 statusChannel := make(chan ent.StatusMessage) 27 func run(appConfig ent.ApplicationConfig, statusChannel chan ent.StatusMessage) { 28 statusChannel <- ent.StatusMessage{ 38 statusChannel <- ent.StatusMessage{ 56 return func(ent.ApplicationConfig) error { 61 func topLevelErrorHandle(err error, statusChannel chan ent.StatusMessage) { 62 statusChannel <- ent.StatusMessage{ 69 func loadConfig() (ent.ApplicationConfig, error) { [all …]
|
/development/tools/repo_diff/service/repodiff/utils/ |
D | time.go | 7 ent "repodiff/entities" packageName 10 func TimestampSeconds() ent.RepoTimestamp { 11 return ent.RepoTimestamp(t.Now().Unix()) 14 func TimestampToDate(timestamp ent.RepoTimestamp) string { 20 func TimestampToDataStudioDatetime(timestamp ent.RepoTimestamp) string {
|
D | time_test.go | 8 ent "repodiff/entities" packageName 12 var oldTimestamp ent.RepoTimestamp = 1519322647 19 var timestamp ent.RepoTimestamp = 1519322647 24 var timestamp ent.RepoTimestamp = 1519322647
|
/development/vndk/tools/sourcedr/blueprint/ |
D | analyze_manifest_split.py | 89 ent = (rule, path, name) 92 self.both.add(ent) 102 self.vendor_only.add(ent) 105 self.both.add(ent) 107 self.system_only.add(ent)
|
/development/vndk/tools/definition-tool/tools/ |
D | remove_dt_needed.py | 203 ent = parse_elf_dyn(ent_off) 204 if ent.d_tag != DT_NEEDED or \ 205 extract_str(dynstr_off + ent.d_val) != dt_needed_name:
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 782 ent = parse_elf_dyn(ent_off) 783 if ent.d_tag == ELF.DT_NEEDED: 784 self.dt_needed.append(extract_str(dynstr_off + ent.d_val)) 785 elif ent.d_tag == ELF.DT_RPATH: 787 extract_str(dynstr_off + ent.d_val).split(':')) 788 elif ent.d_tag == ELF.DT_RUNPATH: 790 extract_str(dynstr_off + ent.d_val).split(':')) 806 ent = parse_elf_sym(ent_off) 807 symbol_name = extract_str(dynstr_off + ent.st_name) 808 if ent.is_undef: [all …]
|