Home
last modified time | relevance | path

Searched refs:filename_offset (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/tools/gn/
Dfilesystem_utils.cc241 size_t filename_offset = FindFilenameOffset(*path); in FindFilename() local
242 if (filename_offset == 0) in FindFilename()
244 return base::StringPiece(&(*path).data()[filename_offset], in FindFilename()
245 path->size() - filename_offset); in FindFilename()
251 size_t filename_offset = FindFilenameOffset(*path); in FindFilenameNoExtension() local
256 name_len = path->size() - filename_offset; in FindFilenameNoExtension()
258 name_len = extension_offset - filename_offset - 1; in FindFilenameNoExtension()
260 return base::StringPiece(&(*path).data()[filename_offset], name_len); in FindFilenameNoExtension()
272 size_t filename_offset = FindFilenameOffset(*path); in FindDir() local
273 if (filename_offset == 0u) in FindDir()
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dsysinfo.cc678 unsigned *filename_offset) { in ParseProcMapsLine() argument
710 *filename_offset = (endptr - text); in ParseProcMapsLine()
868 unsigned filename_offset = 0; in NextExt() local
878 inode ? inode : &tmpinode, &filename_offset)) continue; in NextExt()
896 inode ? inode : &tmpinode, &filename_offset) != 7) continue; in NextExt()
913 &filename_offset) != 3) continue; in NextExt()
922 if (filename_offset == 0 || filename_offset > stext_length) in NextExt()
923 filename_offset = stext_length; in NextExt()
927 if (filename) *filename = stext_ + filename_offset; in NextExt()
932 char *backing_ptr = stext_ + filename_offset + in NextExt()
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dsysinfo.cc712 unsigned filename_offset = 0; in NextExt() local
721 inode ? inode : &tmpinode, &filename_offset) != 7) continue; in NextExt()
739 inode ? inode : &tmpinode, &filename_offset) != 7) continue; in NextExt()
756 &filename_offset) != 3) continue; in NextExt()
765 if (filename_offset == 0 || filename_offset > stext_length) in NextExt()
766 filename_offset = stext_length; in NextExt()
770 if (filename) *filename = stext_ + filename_offset; in NextExt()
775 char *backing_ptr = stext_ + filename_offset + in NextExt()
776 strlen(stext_+filename_offset); in NextExt()