/external/skia/samplecode/ |
D | SamplePathFinder.cpp | 32 , fFilename(name) { in PathFinderView() 33 SkFILEStream stream(fFilename.c_str()); in PathFinderView() 35 SkDebugf("couldn't load picture at \"%s\"\n", fFilename.c_str()); in PathFinderView() 40 SkDebugf("couldn't load picture at \"%s\"\n", fFilename.c_str()); in PathFinderView() 64 const char* basename = strrchr(fFilename.c_str(), SkOSPath::SEPARATOR); in onQuery() 65 name.append(basename ? basename+1: fFilename.c_str()); in onQuery() 116 SkDebugf("SampleApp --pathfinder %s", fFilename.c_str()); in handleKeystroke() 118 SkDebugf(" --pathfinderTrail ", fFilename.c_str()); in handleKeystroke() 146 SkString fFilename; member in PathFinderView
|
D | SamplePdfFileViewer.cpp | 33 SkString fFilename; member in PdfFileViewer 51 PdfFileViewer(const char name[] = nullptr) : fFilename(name) { in PdfFileViewer() 64 const char* basename = strrchr(fFilename.c_str(), SkPATH_SEPARATOR); in onQuery() 65 name.append(basename ? basename+1: fFilename.c_str()); in onQuery() 81 fPicture = LoadPdf(fFilename.c_str()); in onDrawContent()
|
D | SamplePictFile.cpp | 48 : fFilename(name) in PictFileView() 79 const char* basename = strrchr(fFilename.c_str(), SkOSPath::SEPARATOR); in onQuery() 80 name.append(basename ? basename+1: fFilename.c_str()); in onQuery() 130 *picture = LoadPicture(fFilename.c_str(), fBBox).release(); in onDrawContent() 156 SkString fFilename; member in PictFileView
|
D | SampleApp.cpp | 86 SkString fFilename; member in PictFileFactory 88 PictFileFactory(const SkString& filename) : fFilename(filename) {} in PictFileFactory() 90 return CreateSamplePictFileView(fFilename.c_str()); in operator ()() 97 SkString fFilename; member in PathFinderFactory 99 PathFinderFactory(const SkString& filename) : fFilename(filename) {} in PathFinderFactory() 101 return CreateSamplePathFinderView(fFilename.c_str()); in operator ()() 108 SkString fFilename; member in SVGFileFactory 110 SVGFileFactory(const SkString& filename) : fFilename(filename) {} in SVGFileFactory() 112 return CreateSampleSVGFileView(fFilename); in operator ()() 120 SkString fFilename; member in PdfFileViewerFactory [all …]
|
/external/skia/tests/ |
D | SkpSkGrTest.cpp | 73 sk_bzero(fFilename, sizeof(fFilename)); in init() 80 outStr.printf("%s %d %d%s", fFilename, fPixelError, fTime, LINE_FEED); in status() 88 strcpy(test.fFilename, filename); in Test() 97 strcpy(fFilename, filename.c_str()); in test() 103 char fFilename[kMaxLength]; member 145 SkASSERT(strlen(str) < sizeof(fState.fResult.fFilename) - 1); in SkpSkGrThreadedRunnable() 147 strcpy(fState.fResult.fFilename, str); in SkpSkGrThreadedRunnable() 306 strcpy(data->fFilesFound[dCount], data->fResult.fFilename); in addError() 319 strcpy(data->fFilesFound[smallestIndex], data->fResult.fFilename); in addError() 382 d.printf(" {%d, \"%s\"},", fDirNo, fFilename); in testOne() [all …]
|
/external/skia/tools/skdiff/ |
D | skdiff_main.cpp | 185 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { in add() 186 fResultsOfType[drp->fResult].push(new SkString(drp->fBase.fFilename)); in add() 189 blame->append(drp->fBase.fFilename); in add() 191 blame->append(drp->fComparison.fFilename); in add() 219 new SkString(drp->fBase.fFilename)); in add() 234 add_unique_basename(&fFailedBaseNames[drp->fResult], drp->fBase.fFilename); in add() 430 drp->fBase.fFilename = *baseFiles[i]; in create_diff_images() 434 drp->fComparison.fFilename = *baseFiles[i]; in create_diff_images() 448 drp->fBase.fFilename = *comparisonFiles[j]; in create_diff_images() 452 drp->fComparison.fFilename = *comparisonFiles[j]; in create_diff_images() [all …]
|
D | skdiff.h | 76 DiffResource() : fFilename(), fFullPath(), fBitmap(), fStatus(kUnknown_Status) { } in DiffResource() 79 SkString fFilename; member 179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str()); in compare()
|
D | skdiff_html.cpp | 95 stream->writeText(diff.fBase.fFilename.c_str()); in print_checkbox_cell() 103 stream->writeText(diff.fBase.fFilename.c_str()); in print_label_cell() 185 if (local && !resource.fFilename.isEmpty()) { in print_diff_resource_cell() 186 print_link_cell(stream, resource.fFilename, "N/A"); in print_diff_resource_cell() 203 print_image_cell(stream, resource.fFilename, height); in print_diff_resource_cell()
|
D | skdiff_utils.cpp | 157 drp->fDifference.fFilename = filename_to_diff_filename(filename); in create_and_write_diff_image() 159 drp->fDifference.fFullPath.append(drp->fDifference.fFilename); in create_and_write_diff_image() 162 drp->fWhite.fFilename = filename_to_white_filename(filename); in create_and_write_diff_image() 164 drp->fWhite.fFullPath.append(drp->fWhite.fFilename); in create_and_write_diff_image()
|
D | skdiff_image.cpp | 28 drp->fBase.fFilename = baseFile; in create_diff_images() 32 drp->fComparison.fFilename = comparisonFile; in create_diff_images()
|
/external/skia/bench/ |
D | ResultsWriter.h | 82 : fFilename(filename) in NanoJSONResultsWriter() 133 SkString dirname = SkOSPath::Dirname(fFilename.c_str()); in flush() 139 SkFILEWStream stream(fFilename.c_str()); in flush() 145 SkString fFilename;
|
D | EncoderBench.cpp | 19 : fFilename(filename) in EncodeBench() 53 GetResourceAsBitmap(fFilename, &fBitmap); in onPreDraw() 65 const char* fFilename; member in EncodeBench
|
/external/skia/gm/ |
D | filterindiabox.cpp | 68 FilterIndiaBoxGM(const char filename[]) : fFilename(filename) { in FilterIndiaBoxGM() 94 SkString fFilename; member in FilterIndiaBoxGM 102 if (!GetResourceAsBitmap(fFilename.c_str(), &fBM)) { in makeBitmap()
|
D | downsamplebitmap.cpp | 164 : INHERITED(filterQuality), fFilename(filename) in DownsampleBitmapImageGM() 170 SkString fFilename; member in DownsampleBitmapImageGM 174 if (!GetResourceAsBitmap(fFilename.c_str(), &fBM)) { in make_bitmap()
|
D | filterbitmap.cpp | 185 : fFilename(filename), fConvertToG8(convertToG8) in FilterBitmapImageGM() 191 SkString fFilename; member in FilterBitmapImageGM 199 if (!GetResourceAsBitmap(fFilename.c_str(), &fBM)) { in makeBitmap()
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.cpp | 98 , fFilename(filename) in FamilyData() 111 const char* fFilename; // The name of the file currently being parsed. member 129 self->fFilename, \
|