Home
last modified time | relevance | path

Searched refs:FilenamePat (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/profile/
DInstrProfilingFile.c65 const char *FilenamePat; member
248 lprofCurFilename.FilenamePat = DefaultProfileName; in resetFilenameToDefault()
252 static int containsMergeSpecifier(const char *FilenamePat, int I) { in containsMergeSpecifier() argument
253 return (FilenamePat[I] == 'm' || in containsMergeSpecifier()
254 (FilenamePat[I] >= '1' && FilenamePat[I] <= '9' && in containsMergeSpecifier()
257 FilenamePat[I + 1] == 'm')); in containsMergeSpecifier()
262 static int parseFilenamePattern(const char *FilenamePat) { in parseFilenamePattern() argument
268 lprofCurFilename.FilenamePat = FilenamePat; in parseFilenamePattern()
270 for (I = 0; FilenamePat[I]; ++I) in parseFilenamePattern()
271 if (FilenamePat[I] == '%') { in parseFilenamePattern()
[all …]
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingFile.c69 const char *FilenamePat; member
676 if (lprofCurFilename.FilenamePat && lprofCurFilename.OwnsFilenamePat) { in resetFilenameToDefault()
677 free((void *)lprofCurFilename.FilenamePat); in resetFilenameToDefault()
680 lprofCurFilename.FilenamePat = DefaultProfileName; in resetFilenameToDefault()
684 static unsigned getMergePoolSize(const char *FilenamePat, int *I) { in getMergePoolSize() argument
687 char C = FilenamePat[*I + J]; in getMergePoolSize()
704 static int parseFilenamePattern(const char *FilenamePat, in parseFilenamePattern() argument
715 if (lprofCurFilename.FilenamePat && lprofCurFilename.OwnsFilenamePat) { in parseFilenamePattern()
716 free((void *)lprofCurFilename.FilenamePat); in parseFilenamePattern()
722 lprofCurFilename.FilenamePat = FilenamePat; in parseFilenamePattern()
[all …]