Home
last modified time | relevance | path

Searched refs:SkString (Results 1 – 25 of 987) sorted by relevance

12345678910>>...40

/external/skia/include/svg/parser/
DSkSVGPaintState.h51 SkString* operator[](int index);
52 SkString fInitial;
53 SkString f_clipPath;
54 SkString f_clipRule;
55 SkString f_enableBackground;
56 SkString f_fill;
57 SkString f_fillRule;
58 SkString f_filter;
59 SkString f_fontFamily;
60 SkString f_fontSize;
[all …]
/external/skia/src/utils/debugger/
DSkObjectParser.cpp21 SkString* SkObjectParser::BitmapToString(const SkBitmap& bitmap) { in BitmapToString()
22 SkString* mBitmap = new SkString("SkBitmap: "); in BitmapToString()
60 SkString* SkObjectParser::BoolToString(bool doAA) { in BoolToString()
61 SkString* mBool = new SkString("Bool doAA: "); in BoolToString()
70 SkString* SkObjectParser::CustomTextToString(const char* text) { in CustomTextToString()
71 SkString* mText = new SkString(text); in CustomTextToString()
75 SkString* SkObjectParser::IntToString(int x, const char* text) { in IntToString()
76 SkString* mInt = new SkString(text); in IntToString()
82 SkString* SkObjectParser::IRectToString(const SkIRect& rect) { in IRectToString()
83 SkString* mRect = new SkString("SkIRect: "); in IRectToString()
[all …]
DSkObjectParser.h26 static SkString* BitmapToString(const SkBitmap& bitmap);
32 static SkString* BoolToString(bool doAA);
37 static SkString* CustomTextToString(const char* text);
45 static SkString* IntToString(int x, const char* text);
50 static SkString* IRectToString(const SkIRect& rect);
56 static SkString* MatrixToString(const SkMatrix& matrix);
62 static SkString* PaintToString(const SkPaint& paint);
68 static SkString* PathToString(const SkPath& path);
75 static SkString* PointsToString(const SkPoint pts[], size_t count);
80 static SkString* PointModeToString(SkCanvas::PointMode mode);
[all …]
/external/skia/src/core/
DSkString.cpp188 const SkString::Rec SkString::gEmptyRec = { 0, 0, 0 };
211 SkString::Rec* SkString::AllocRec(const char text[], size_t len) { in AllocRec()
231 SkString::Rec* SkString::RefRec(Rec* src) { in RefRec()
239 void SkString::validate() const { in validate()
255 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString() function in SkString
258 SkString::SkString(size_t len) { in SkString() function in SkString
262 SkString::SkString(const char text[]) { in SkString() function in SkString
268 SkString::SkString(const char text[], size_t len) { in SkString() function in SkString
272 SkString::SkString(const SkString& src) { in SkString() function in SkString
278 SkString::~SkString() { in ~SkString()
[all …]
/external/skia/tools/
DPictureRenderer.h93 const SkString* writePath,
94 const SkString* mismatchPath,
95 const SkString* inputFilename,
228 void setDrawFilters(DrawFilterFlags const * const filters, const SkString& configName) { in setDrawFilters()
247 virtual SkString getPerIterTimeFormat() { return SkString("%.2f"); } in getPerIterTimeFormat()
249 virtual SkString getNormalTimeFormat() { return SkString("%6.2f"); } in getNormalTimeFormat()
254 SkString getConfigName() { in getConfigName()
255 SkString config = this->getConfigNameInternal(); in getConfigName()
310 SkString tmp; in getJSONConfig()
445 SkString fDrawFiltersConfig;
[all …]
Drender_pdfs_main.cpp66 static bool replace_filename_extension(SkString* path, in replace_filename_extension()
88 static bool make_output_filepath(SkString* path, const SkString& dir, in make_output_filepath()
89 const SkString& name) { in make_output_filepath()
115 static SkWStream* open_stream(const SkString& outputDir, in open_stream()
116 const SkString& inputFilename) { in open_stream()
121 SkString outputPath; in open_stream()
151 static bool operator<(const SkString& a, const SkString& b) { in operator <()
161 SkTArray<SkString>* files) { in process_input_files()
166 SkString inputFilename; in process_input_files()
176 files->push_back(SkString(input)); in process_input_files()
[all …]
Dskdiff_utils.h16 class SkString; variable
32 bool write_bitmap(const SkString& path, const SkBitmap& bitmap);
37 SkString filename_to_diff_filename(const SkString& filename);
42 SkString filename_to_white_filename(const SkString& filename);
50 const SkString& outputDir,
51 const SkString& filename);
Dbench_pictures_main.cpp109 static SkString filtersName(sk_tools::PictureRenderer::DrawFilterFlags* drawFilters) { in filtersName()
115 SkString result; in filtersName()
117 SkString types; in filtersName()
138 static SkString filterTypesUsage() { in filterTypesUsage()
139 SkString result; in filterTypesUsage()
149 static SkString filterFlagsUsage() { in filterFlagsUsage()
150 SkString result; in filterFlagsUsage()
170 static bool run_single_benchmark(const SkString& inputPath, in run_single_benchmark()
176 SkString err; in run_single_benchmark()
199 SkString err; in run_single_benchmark()
[all …]
Drender_pictures_main.cpp94 static SkString gInputFileName;
108 static void reset_image_file_base_name(const SkString& name) { in reset_image_file_base_name()
126 SkString outPath; in write_image_to_file()
128 SkString name = SkStringPrintf("%s_%d%s", gInputFileName.c_str(), gImageNo++, in write_image_to_file()
130 SkString dir(FLAGS_writePath[0]); in write_image_to_file()
146 static bool render_picture_internal(const SkString& inputPath, const SkString* writePath, in render_picture_internal()
147 const SkString* mismatchPath, in render_picture_internal()
150 SkString inputFilename = SkOSPath::Basename(inputPath.c_str()); in render_picture_internal()
151 SkString writePathString; in render_picture_internal()
155 SkString mismatchPathString; in render_picture_internal()
[all …]
/external/skia/src/svg/parser/
DSkSVGSVG.h19 SkString f_enable_background;
20 SkString f_height;
21 SkString f_overflow;
22 SkString f_width;
23 SkString f_version;
24 SkString f_viewBox;
25 SkString f_x;
26 SkString f_xml_space;
27 SkString f_xmlns;
28 SkString f_xml_xlink;
[all …]
DSkSVGRadialGradient.h18 SkString f_cx;
19 SkString f_cy;
20 SkString f_fx;
21 SkString f_fy;
22 SkString f_gradientTransform;
23 SkString f_gradientUnits;
24 SkString f_r;
25 SkString fMatrixID;
DSkSVGLinearGradient.h18 SkString f_gradientTransform;
19 SkString f_gradientUnits;
20 SkString f_x1;
21 SkString f_x2;
22 SkString f_y1;
23 SkString f_y2;
24 SkString fMatrixID;
/external/skia/include/core/
DSkString.h116 class SK_API SkString {
118 SkString();
119 explicit SkString(size_t len);
120 explicit SkString(const char text[]);
121 SkString(const char text[], size_t len);
122 SkString(const SkString&);
123 ~SkString();
130 bool equals(const SkString&) const;
156 friend bool operator==(const SkString& a, const SkString& b) {
159 friend bool operator!=(const SkString& a, const SkString& b) {
[all …]
/external/skia/tools/skpdiff/
DSkDiffContext.h36 void setAlphaMaskDir(const SkString& directory);
44 void setRgbDiffDir(const SkString& directory);
52 void setWhiteDiffDir(const SkString& directory);
171 SkString fCommonName;
172 SkString fAlphaMaskPath;
173 SkString fRgbDiffPath;
174 SkString fWhiteDiffPath;
175 SkString fBaselinePath;
176 SkString fTestPath;
197 SkString fAlphaMaskDir;
[all …]
/external/skia/src/gpu/gl/builders/
DGrGLShaderBuilder.h47 void appendTextureLookup(SkString* out,
101 SkString* outName);
127 void appendDecls(const VarArray& vars, SkString* out) const;
165 SkString& versionDecl() { return fShaderStrings[kVersionDecl]; } in versionDecl()
166 SkString& extensions() { return fShaderStrings[kExtensions]; } in extensions()
167 SkString& precisionQualifier() { return fShaderStrings[kPrecisionQualifier]; } in precisionQualifier()
168 SkString& layoutQualifiers() { return fShaderStrings[kLayoutQualifiers]; } in layoutQualifiers()
169 SkString& uniforms() { return fShaderStrings[kUniforms]; } in uniforms()
170 SkString& inputs() { return fShaderStrings[kInputs]; } in inputs()
171 SkString& outputs() { return fShaderStrings[kOutputs]; } in outputs()
[all …]
/external/skia/tests/
DOSPathTest.cpp22 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir, in test_dir_with_file()
23 SkString filename) { in test_dir_with_file()
30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); in test_dir_with_file()
40 SkString basename = SkOSPath::Basename(fullName.c_str()); in test_dir_with_file()
41 SkString dirname = SkOSPath::Dirname(fullName.c_str()); in test_dir_with_file()
48 SkString strippedDir = dir; in test_dir_with_file()
66 SkString dir("dir"); in DEF_TEST()
67 SkString filename("file"); in DEF_TEST()
75 test_dir_with_file(reporter, dir, SkString()); in DEF_TEST()
78 test_dir_with_file(reporter, SkString(), filename); in DEF_TEST()
[all …]
DGrGLSLPrettyPrintTest.cpp14 const SkString input1("#this is not a realshader\nvec4 some stuff;outside of a function;"
17 const SkString input2("{nowin a function;{indenting;{abit more;dreadedfor((;;)(;)((;;);)){"
21 const SkString input3(" dangerous\ndo so at your own\n risk*/;\n\n\t\t\t\n"
23 const SkString input4("breaking in comment");
24 const SkString input5("continuing the comment");
25 const SkString input6("\n}}a; little ; love; for ; leading; spaces;} "
29 const SkString output1(
84 const SkString neg1("{;;{{{{;;;{{{{{{{{{{{");
85 const SkString neg2("###\n##\n#####(((((((((((((unbalanced verything;;;");
86 const SkString neg3("}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}"
[all …]
/external/skia/src/utils/
DSkOSFile.cpp9 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { in Join()
10 SkString result(rootPath); in Join()
18 SkString SkOSPath::Basename(const char* fullPath) { in Basename()
20 return SkString(); in Basename()
28 return SkString(filename); in Basename()
31 SkString SkOSPath::Dirname(const char* fullPath) { in Dirname()
33 return SkString(); in Dirname()
37 return SkString(); in Dirname()
43 return SkString(fullPath, end - fullPath); in Dirname()
DSkDumpCanvas.cpp29 static void toString(const SkRect& r, SkString* str) { in toString()
35 static void toString(const SkIRect& r, SkString* str) { in toString()
39 static void toString(const SkRRect& rrect, SkString* str) { in toString()
64 static void dumpVerbs(const SkPath& path, SkString* str) { in dumpVerbs()
95 static void toString(const SkPath& path, SkString* str) { in toString()
101 SkString s; in toString()
117 static void toString(const SkRegion& rgn, SkString* str) { in toString()
141 SkString* str) { in toString()
204 SkString str; in willSaveLayer()
228 SkString str; in didConcat()
[all …]
/external/skia/gm/
Detc1bitmap.cpp84 SkString onShortName() override { in onShortName()
85 SkString str = SkString("etc1bitmap_"); in onShortName()
94 virtual SkString fileExtension() const = 0;
98 SkString filename = GetResourcePath("mandrill_128."); in onDraw()
126 SkString fileExtension() const override { return SkString("pkm"); } in fileExtension()
140 SkString fileExtension() const override { return SkString("ktx"); } in fileExtension()
154 SkString fileExtension() const override { return SkString("r11.ktx"); } in fileExtension()
173 SkString onShortName() override { in onShortName()
174 return SkString("etc1bitmap_npot"); in onShortName()
183 SkString pkmFilename = GetResourcePath("mandrill_128.pkm"); in onDraw()
/external/skia/dm/
DDMSrcSink.h25 struct ImplicitString : public SkString {
27 ImplicitString(const T& s) : SkString(s) {} in ImplicitString()
34 Error(const SkString& s) : fMsg(s), fFatal(!this->isEmpty()) {} in Error()
40 static Error Nonfatal(const SkString& s) { return Nonfatal(s.c_str()); } in Nonfatal()
52 SkString fMsg;
67 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
146 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override;
156 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
171 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
180 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
[all …]
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
DSkPdfDocumentInformationDictionary_autogen.cpp11 SkString SkPdfDocumentInformationDictionary::Title(SkPdfNativeDoc* doc) { in Title()
16 return SkString(); in Title()
23 SkString SkPdfDocumentInformationDictionary::Author(SkPdfNativeDoc* doc) { in Author()
28 return SkString(); in Author()
35 SkString SkPdfDocumentInformationDictionary::Subject(SkPdfNativeDoc* doc) { in Subject()
40 return SkString(); in Subject()
47 SkString SkPdfDocumentInformationDictionary::Keywords(SkPdfNativeDoc* doc) { in Keywords()
52 return SkString(); in Keywords()
59 SkString SkPdfDocumentInformationDictionary::Creator(SkPdfNativeDoc* doc) { in Creator()
64 return SkString(); in Creator()
[all …]
DSkPdfSignatureDictionary_autogen.cpp11 SkString SkPdfSignatureDictionary::Type(SkPdfNativeDoc* doc) { in Type()
16 return SkString(); in Type()
23 SkString SkPdfSignatureDictionary::Filter(SkPdfNativeDoc* doc) { in Filter()
28 return SkString(); in Filter()
35 SkString SkPdfSignatureDictionary::SubFilter(SkPdfNativeDoc* doc) { in SubFilter()
40 return SkString(); in SubFilter()
59 SkString SkPdfSignatureDictionary::Contents(SkPdfNativeDoc* doc) { in Contents()
64 return SkString(); in Contents()
71 SkString SkPdfSignatureDictionary::Name(SkPdfNativeDoc* doc) { in Name()
76 return SkString(); in Name()
[all …]
DSkPdfPDF_XOutputIntentDictionary_autogen.cpp11 SkString SkPdfPDF_XOutputIntentDictionary::Type(SkPdfNativeDoc* doc) { in Type()
16 return SkString(); in Type()
23 SkString SkPdfPDF_XOutputIntentDictionary::S(SkPdfNativeDoc* doc) { in S()
28 return SkString(); in S()
35 SkString SkPdfPDF_XOutputIntentDictionary::OutputCondition(SkPdfNativeDoc* doc) { in OutputCondition()
40 return SkString(); in OutputCondition()
47 SkString SkPdfPDF_XOutputIntentDictionary::OutputConditionIdentifier(SkPdfNativeDoc* doc) { in OutputConditionIdentifier()
52 return SkString(); in OutputConditionIdentifier()
59 SkString SkPdfPDF_XOutputIntentDictionary::RegistryName(SkPdfNativeDoc* doc) { in RegistryName()
64 return SkString(); in RegistryName()
[all …]
/external/skia/tools/flags/
DSkCommandLineFlags.h155 SkTArray<SkString> fStrings;
172 static SkString gUsage;
362 const SkString& name() const { return fName; } in name()
364 const SkString& shortName() const { return fShortName; } in shortName()
366 const SkString& help() const { return fHelpString; } in help()
368 SkString defaultValue() const { in defaultValue()
369 SkString result; in defaultValue()
388 SkString typeAsString() const { in typeAsString()
391 return SkString("bool"); in typeAsString()
393 return SkString("string"); in typeAsString()
[all …]

12345678910>>...40