Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 35) sorted by relevance

12

/build/soong/third_party/zip/
Dstruct.go209 func (h *FileHeader) Mode() (mode os.FileMode) {
212 mode = unixModeToFileMode(h.ExternalAttrs >> 16)
214 mode = msdosModeToFileMode(h.ExternalAttrs)
217 mode |= os.ModeDir
219 return mode
223 func (h *FileHeader) SetMode(mode os.FileMode) {
225 h.ExternalAttrs = fileModeToUnixMode(mode) << 16
228 if mode&os.ModeDir != 0 {
231 if mode&0200 == 0 {
241 func msdosModeToFileMode(m uint32) (mode os.FileMode) {
[all …]
Dreader_test.go444 mode := f.Mode()
446 t.Errorf("%s: %s mode: got %v, want none", zipName, f.Name, mode)
447 } else if mode != want {
448 t.Errorf("%s: %s mode: want %v, got %v", zipName, f.Name, want, mode)
/build/make/tools/fs_config/end_to_end_test/
Dconfig.fs27 mode: 0755
33 mode: 0755
39 mode: 0755
45 mode: 0755
51 mode: 0755
57 mode: 0755
63 mode: 0755
69 mode: 0755
75 mode: 0755
81 mode: 0755
[all …]
/build/soong/finder/fs/
Dreaddir.go63 mode, lerr := lstatFileMode(path + "/" + entry.name)
72 entry.mode = mode
118 mode, modeExists := direntTypeToFileMode(typ)
120 entries = append(entries, &dirEntryInfo{string(name), mode, modeExists})
196 var mode os.FileMode
201 mode = os.ModeNamedPipe
203 mode = os.ModeDevice | os.ModeCharDevice
205 mode = os.ModeDir
207 mode = os.ModeDevice
209 mode = 0
[all …]
Dfs.go80 mode os.FileMode member
87 func (d *dirEntryInfo) Mode() os.FileMode { return d.mode }
88 func (d *dirEntryInfo) IsDir() bool { return d.mode.IsDir() }
89 func (d *dirEntryInfo) String() string { return d.name + ": " + d.mode.String() }
/build/make/tools/fs_config/
Dfs_config.c134 unsigned uid = 0, gid = 0, mode = 0; in main() local
136 fs_config(buffer, is_dir, product_out_path, &uid, &gid, &mode, &capabilities); in main()
141 printf("%s %d %d %o", buffer, uid, gid, mode); in main()
161 if (selabel_lookup(sehnd, &secontext, full_name, ( mode | (is_dir ? S_IFDIR : S_IFREG)))) { in main()
Dfs_config_generator.py227 def __init__(self, mode, user, group, caps, path, filename): argument
237 self.mode = mode
246 return self.mode == other.mode and self.user == other.user \
251 return 'FSConfig(%r, %r, %r, %r, %r, %r)' % (self.mode, self.user,
678 mode = config.get(section_name, 'mode')
686 if not mode:
711 if len(mode) == 3:
712 mode = '0' + mode
715 int(mode, 8)
717 sys.exit('Mode must be octal characters, got: "%s"' % mode)
[all …]
DREADME37 mode: Octal file mode
48 mode:
49 A valid octal file mode of at least 3 digits. If 3 is specified, it is
50 prefixed with a 0, else mode is used as is.
72 section in Python versions <= 3.2. In Python 3.2 it's set to strict mode.
/build/make/tools/releasetools/
Dtest_check_target_files_vintf.py57 def write_string_to_file(content, path, mode='w'): argument
60 with open(path, mode=mode) as f:
127 os.path.join(test_dir, 'META/misc_info.txt'), mode='a')
136 os.path.join(test_dir, 'META/misc_info.txt'), mode='a')
Dsparse_img.py44 mode="rb", build_map=True, allow_shared_blocks=False, argument
46 self.simg_f = f = open(simg_fn, mode)
/build/blueprint/pathtools/
Dfs_test.go356 mode os.FileMode
409 if got.Mode()&os.ModeType != test.mode {
411 test.name, test.mode, got.Mode()&os.ModeType)
413 if test.mode == 0 && got.Size() != test.size {
424 mode os.FileMode
477 if got.Mode()&os.ModeType != test.mode {
479 test.name, test.mode, got.Mode()&os.ModeType)
481 if test.mode == 0 && got.Size() != test.size {
Dfs.go394 mode os.FileMode member
400 func (ms *mockStat) Mode() os.FileMode { return ms.mode }
414 ms.mode = os.ModeSymlink
417 ms.mode = os.ModeDir
419 ms.mode = 0
439 ms.mode = os.ModeDir
441 ms.mode = 0
/build/soong/cuj/
Drun_cuj_tests.sh23 build/soong/soong_ui.bash --make-mode "${SOONG_OUT}/host/${OS}-x86/bin/cuj_tests"
/build/make/target/product/
Demulator.mk60 ro.setupwizard.mode=DISABLED
Demulator_vendor.mk52 ro.setupwizard.mode=DISABLED
/build/make/tools/atree/
Dfiles.h37 unsigned int mode; member
/build/soong/
Dbuild_kzip.bash23 build/soong/soong_ui.bash --build-mode --all-modules --dir=$PWD -k merge_zips xref_cxx xref_java
/build/soong/scripts/
Dbuild-mainline-modules.sh47 echo_and_run build/soong/soong_ui.bash --make-mode $@ \
/build/soong/cmd/extract_apks/bundle_proto/
Dcommands.proto29 // Information about local testing mode.
190 // Indicates if the bundle is built in local testing mode.
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go31 mode os.FileMode member
288 fh.SetMode(e.mode)
/build/make/
Denvsetup.sh61 build_dicts_script=`\builtin cd $T; build/soong/soong_ui.bash --dumpvars-mode \
113 (\cd $T; build/soong/soong_ui.bash --dumpvar-mode --abs $1)
130 (\cd $T; build/soong/soong_ui.bash --dumpvar-mode $1)
1428 echo build/soong/soong_ui.bash --make-mode
1480 _wrap_build "$T/build/soong/soong_ui.bash" --build-mode --${bc} --dir="$(pwd)" "$@"
Dbuildspec.mk.default59 # Uncomment this if you want the host tools built in debug mode. Otherwise
/build/
Denvsetup.sh61 build_dicts_script=`\builtin cd $T; build/soong/soong_ui.bash --dumpvars-mode \
113 (\cd $T; build/soong/soong_ui.bash --dumpvar-mode --abs $1)
130 (\cd $T; build/soong/soong_ui.bash --dumpvar-mode $1)
1428 echo build/soong/soong_ui.bash --make-mode
1480 _wrap_build "$T/build/soong/soong_ui.bash" --build-mode --${bc} --dir="$(pwd)" "$@"
Dbuildspec.mk.default59 # Uncomment this if you want the host tools built in debug mode. Otherwise
/build/make/tools/warn/
Dwarn_common.py460 infile = io.open(args.buildlog, mode='r', encoding='utf-8')
892 io.open(args.buildlog, mode='r', encoding='utf-8'))

12