Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 27) sorted by relevance

12

/build/soong/env/
Denv.go31 contents := make(envFileData, 0, len(envDeps))
33 contents = append(contents, envFileEntry{key, value})
36 sort.Sort(contents)
38 data, err := json.MarshalIndent(contents, "", " ")
54 var contents envFileData
56 err = json.Unmarshal(data, &contents)
62 for _, entry := range contents {
/build/soong/sdk/
Dbp_test.go58 contents := &generatedContents{}
59 outputPropertySet(contents, set)
60 …helper.AssertTrimmedStringEquals("removing property failed", "name: \"name\",\n", contents.content…
73 contents := &generatedContents{}
74 outputPropertySet(contents, set)
75 …helper.AssertTrimmedStringEquals("removing property set failed", "name: \"name\",\n", contents.con…
Dupdate.go354 contents := bp.content.String()
355 syntaxCheckSnapshotBpFile(ctx, contents)
404 func syntaxCheckSnapshotBpFile(ctx android.ModuleContext, contents string) {
405 errs := android.CheckBlueprintSyntax(ctx, "Android.bp", contents)
410 Generated Android.bp contents
413 for i, line := range strings.Split(contents, "\n") {
530 func generateBpContents(contents *generatedContents, bpFile *bpFile) {
531 contents.Printfln("// This is auto-generated. DO NOT EDIT.")
533 contents.Printfln("")
534 contents.Printfln("%s {", bpModule.moduleType)
[all …]
/build/soong/jar/
Djar.go87 func ManifestFileContents(contents []byte) (*zip.FileHeader, []byte, error) {
88 b, err := manifestContents(contents)
105 func manifestContents(contents []byte) ([]byte, error) {
110 if !bytes.Contains(contents, manifestMarker) {
111 finalBytes = append(append(header, contents...), byte('\n'))
113 finalBytes = contents
/build/soong/zip/
Dzip_test.go55 func fh(name string, contents []byte, method uint16) zip.FileHeader {
59 CRC32: crc32.ChecksumIEEE(contents),
60 UncompressedSize64: uint64(len(contents)),
65 func fhManifest(contents []byte) zip.FileHeader {
69 CRC32: crc32.ChecksumIEEE(contents),
70 UncompressedSize64: uint64(len(contents)),
Dzip.go700 var contents []byte
707 contents, err = ioutil.ReadAll(f)
714 fh, buf, err := jar.ManifestFileContents(contents)
/build/blueprint/pathtools/
Dfs.go227 contents, err := dir.Readdirnames(-1)
232 sort.Strings(contents)
233 return contents, nil
530 contents, err := fs.ReadDirNames(name)
536 for _, f := range contents {
/build/make/tools/droiddoc/templates-ndk/
Dsample.cs54 <!-- begin file contents -->
85 <!-- end file contents -->
/build/soong/finder/fs/
Dfs.go55 ReadDir(path string) (contents []DirEntryInfo, err error)
107 func (osFs) ReadDir(path string) (contents []DirEntryInfo, err error) {
113 contents = append(contents, entry)
116 return contents, nil
526 func (m *MockFs) ReadDir(path string) (contents []DirEntryInfo, err error) {
/build/soong/cmd/extract_apks/bundle_proto/
Dconfig.proto1 // Messages describing APK Set's table of contents (toc.pb entry).
115 // would be outputted to "assets/level1_textures". File contents are
Dtargeting.proto1 // Messages describing APK Set's table of contents (toc.pb entry).
Dcommands.proto1 // Messages describing APK Set's table of contents (toc.pb entry).
/build/blueprint/microfactory/
Dmicrofactory_test.go391 writeFile := func(name, contents string) {
392 if err := ioutil.WriteFile(filepath.Join(dir, name), []byte(contents), 0666); err != nil {
/build/soong/cmd/zip2zip/
Dzip2zip_test.go215 err: fmt.Errorf(`multiple entries for "a/a" with different contents`),
/build/make/tools/releasetools/
Dtest_common.py387 def _test_ZipWrite(self, contents, extra_zipwrite_args=None): argument
406 for data in contents:
427 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument
452 common.ZipWriteStr(zip_file, zinfo_or_arcname, contents, **extra_args)
455 self._verify(zip_file, zip_file_name, arcname, sha1(contents).hexdigest(),
682 contents = os.urandom(1024)
684 entry_file.write(contents)
1260 contents = common.LoadListFromFile(file_path)
1272 self.assertEqual(sorted(contents), sorted(expected_contents))
/build/soong/cmd/merge_zips/
Dmerge_zips.go193 contents, err := ioutil.ReadFile(manifestPath)
195 fh, buf, err := jar.ManifestFileContents(contents)
/build/blueprint/
Dmodule_ctx.go1193 func CheckBlueprintSyntax(moduleFactories map[string]ModuleFactory, filename string, contents strin…
1195 file, errs := parser.Parse(filename, strings.NewReader(contents), scope)
DLICENSE116 wherever such third-party notices normally appear. The contents
/build/soong/cmd/pom2bp/
Dpom2bp.go608 The contents are written to stdout, to be put in the current directory (often as Android.bp)
/build/soong/android/
Dmodule.go2435 func CheckBlueprintSyntax(ctx BaseModuleContext, filename string, contents string) []error {
2437 return blueprint.CheckBlueprintSyntax(bpctx.ModuleFactories(), filename, contents)
/build/make/tools/droiddoc/templates-ndk/assets/
DGPL-LICENSE.txt75 is covered only if its contents constitute a work based on the
/build/make/core/
Ddefinitions.mk1837 $(ZIPSYNC) -d $@.contents -l $@.list $(PRIVATE_SOURCE_RES_ZIPS)
1838 $(hide) $(AAPT2) compile -o $@ --dir $@.contents $(PRIVATE_AAPT2_CFLAGS)
DLINUX_KERNEL_COPYING91 is covered only if its contents constitute a work based on the
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-docs.css1241 /* table of contents */
Djquery-resizable.min.js12contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append… method

12