Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 24 of 24) sorted by relevance

/device/google/cuttlefish_common/common/libs/fs/
Dgce_fs.cpp42 struct stat sb; in gce_fs_prepare_dir() local
43 if (GCE_TEMP_FAILURE_RETRY(lstat(path, &sb)) == -1) { in gce_fs_prepare_dir()
53 if (!S_ISDIR(sb.st_mode)) { in gce_fs_prepare_dir()
57 if (((sb.st_mode & ALL_PERMS) == mode) && (sb.st_uid == uid) && (sb.st_gid == gid)) { in gce_fs_prepare_dir()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dremove.c59 struct stat sb; in remove() local
63 if (lstat(file, &sb) < 0) in remove()
70 if (S_ISDIR(sb.st_mode)) in remove()
/device/linaro/bootloader/edk2/OvmfPkg/
Dcreate-release.py114 sb = StringIO.StringIO()
115 print >> sb, 'edk2: ', revision
116 print >> sb, 'compiler: GCC', gcc_version_str, '(' + TOOLCHAIN + ')'
117 print >> sb, 'binutils:', ld_version
118 print >> sb, 'iasl: ', iasl_version
119 print >> sb, 'system: ', distro, machine.replace('_', '-')
120 return to_dos_text(sb.getvalue())
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/
Dopendir.c79 struct stat sb; in __opendir2() local
87 if (fstat(fd, &sb) || !S_ISDIR(sb.st_mode)) { in __opendir2()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtelnetlib.py205 self.sb = 0 # flag for SB and SE sequence.
260 self.sb = 0
431 buf[self.sb] = buf[self.sb] + c
443 buf[self.sb] = buf[self.sb] + c
446 self.sb = 1
449 self.sb = 0
481 self.sb = 0
/device/linaro/bootloader/edk2/StdLib/PosixLib/Glob/
Dglob.c584 __gl_stat_t sb; in glob2() local
602 if (g_lstat(pathbuf, &sb, pglob)) in glob2()
613 pathend[-1] != SEP) && (S_ISDIR(sb.st_mode) || in glob2()
616 (g_stat(pathbuf, &sb, pglob) == 0) && in glob2()
617 S_ISDIR(sb.st_mode)))) { in glob2()
962 g_lstat(Char *fn, __gl_stat_t *sb, glob_t *pglob) in g_lstat() argument
967 _DIAGASSERT(sb != NULL); in g_lstat()
973 return (*pglob->gl_lstat)(buf, sb); in g_lstat()
974 return lstat(buf, sb); in g_lstat()
978 g_stat(Char *fn, __gl_stat_t *sb, glob_t *pglob) in g_stat() argument
[all …]
/device/google/cuttlefish_common/guest/monitoring/vsoc_service/java/com/android/google/gce/gceservice/
DTombstoneChecker.java163 StringBuilder sb = new StringBuilder(); in toString() local
164 sb.append(mFilename).append(" ").append(String.valueOf(mCtime)); in toString()
165 return sb.toString(); in toString()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dminigzip.c140 struct stat sb; local
143 if (fstat(ifd, &sb) < 0) return Z_ERRNO;
144 buf_len = sb.st_size;
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp530 struct stat sb; in readApp() local
531 if (fstat(fd, &sb) == 0) { in readApp()
532 void *buf = malloc(sb.st_size); in readApp()
533 if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size) { in readApp()
541 …int8_t *>(buf) + sizeof(struct nano_app_binary_t), static_cast<const uint8_t *>(buf) + sb.st_size); in readApp()
Dsystem_comms.cpp1136 struct stat sb; in readApp() local
1137 if (fstat(fd, &sb) == 0) { in readApp()
1138 *data = malloc(sb.st_size); in readApp()
1139 if (*data != nullptr && read(fd, *data, sb.st_size) == sb.st_size) in readApp()
1140 ret = sb.st_size; in readApp()
1168 struct stat sb; in cmpApp() local
1169 if (fstat(fd, &sb) == 0 && sb.st_size == len) { in cmpApp()
1171 … if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size && memcmp(data, buf, len) == 0) in cmpApp()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dmain.c583 struct stat sb; in Py_Main() local
584 if (fstat(fileno(fp), &sb) == 0 && in Py_Main()
585 S_ISDIR(sb.st_mode)) { in Py_Main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
Dmain.c598 struct stat sb; in Py_Main() local
599 if (fstat(fileno(fp), &sb) == 0 && in Py_Main()
600 S_ISDIR(sb.st_mode)) { in Py_Main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dmain.c621 struct stat sb; in Py_Main() local
622 if (fstat(fileno(fp), &sb) == 0 && in Py_Main()
623 S_ISDIR(sb.st_mode)) { in Py_Main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dminigzip.c404 struct stat sb; local
407 if (fstat(ifd, &sb) < 0) return Z_ERRNO;
408 buf_len = sb.st_size;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_struct.py459 sb = small_buf
460 self.assertRaises((TypeError, struct.error), struct.pack_into, b'', sb,
Dtest_unicode.py662 for sb in invalid_2B_seq_start_bytes:
664 self.assertRaises(UnicodeDecodeError, (sb+cb).decode, 'utf-8')
666 for sb in invalid_4B_seq_start_bytes:
670 (sb+cb1+'\x80'+cb3).decode, 'utf-8')
Dtest_itertools.py1219 self.assertEqual([k for k, sb in groupby(g(s))], list(g(s)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dsysmodule.c1359 struct stat sb; in _PySys_Init() local
1360 if (fstat(fileno(stdin), &sb) == 0 && in _PySys_Init()
1361 S_ISDIR(sb.st_mode)) { in _PySys_Init()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dsysmodule.c1380 struct stat sb; in _PySys_Init() local
1381 if (fstat(fileno(stdin), &sb) == 0 && in _PySys_Init()
1382 S_ISDIR(sb.st_mode)) { in _PySys_Init()
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/hifi_hikey_lsp/ldscripts/
Delf32xtensa.x772 *(.gnu.linkonce.sb.*) in bss()
Delf32xtensa.xn772 *(.gnu.linkonce.sb.*)
Delf32xtensa.xbn772 *(.gnu.linkonce.sb.*)
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/
Dmcuimage.bin551 …F����F������D��S��b��$�������B��p�-��A�$��#F!FA�XB �������A�3A�U��sb�B8N``3hO��t���!B�…
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
Dmap_hikey.txt1342 *(.gnu.linkonce.sb.*)