/external/skia/include/svg/parser/ |
D | SkSVGPaintState.h | 51 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/tools/debugger/ |
D | SkObjectParser.cpp | 23 SkString* SkObjectParser::BitmapToString(const SkBitmap& bitmap) { in BitmapToString() 24 SkString* mBitmap = new SkString("SkBitmap: "); in BitmapToString() 63 SkString* SkObjectParser::ImageToString(const SkImage* image) { in ImageToString() 64 SkString* str = new SkString("SkImage: "); in ImageToString() 86 SkString* SkObjectParser::BoolToString(bool doAA) { in BoolToString() 87 SkString* mBool = new SkString("Bool doAA: "); in BoolToString() 96 SkString* SkObjectParser::CustomTextToString(const char* text) { in CustomTextToString() 97 SkString* mText = new SkString(text); in CustomTextToString() 101 SkString* SkObjectParser::IntToString(int x, const char* text) { in IntToString() 102 SkString* mInt = new SkString(text); in IntToString() [all …]
|
D | SkObjectParser.h | 26 static SkString* BitmapToString(const SkBitmap& bitmap); 32 static SkString* ImageToString(const SkImage* image); 38 static SkString* BoolToString(bool doAA); 43 static SkString* CustomTextToString(const char* text); 51 static SkString* IntToString(int x, const char* text); 56 static SkString* IRectToString(const SkIRect& rect); 62 static SkString* MatrixToString(const SkMatrix& matrix); 68 static SkString* PaintToString(const SkPaint& paint); 74 static SkString* PathToString(const SkPath& path); 81 static SkString* PointsToString(const SkPoint pts[], size_t count); [all …]
|
/external/skia/src/core/ |
D | SkString.cpp | 188 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(SkString&& src) { in SkString() function in SkString [all …]
|
/external/skia/include/core/ |
D | SkString.h | 122 class SK_API SkString { 124 SkString(); 125 explicit SkString(size_t len); 126 explicit SkString(const char text[]); 127 SkString(const char text[], size_t len); 128 SkString(const SkString&); 129 SkString(SkString&&); 130 ~SkString(); 137 bool equals(const SkString&) const; 166 friend bool operator==(const SkString& a, const SkString& b) { [all …]
|
/external/skia/src/svg/parser/ |
D | SkSVGSVG.h | 19 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 …]
|
D | SkSVGRadialGradient.h | 18 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;
|
D | SkSVGLinearGradient.h | 18 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/src/pdf/ |
D | SkPDFMetadata.cpp | 16 static SkString pdf_date(const SkTime::DateTime& dt) { in pdf_date() 92 SkString(reinterpret_cast<const char*>(&doc), sizeof(UUID))); in CreatePdfId() 94 SkString(reinterpret_cast<const char*>(&instance), sizeof(UUID))); in CreatePdfId() 100 static SkString sk_string_printf(const char* format, ...) { in sk_string_printf() 108 return SkString(buffer, length); in sk_string_printf() 114 SkString string((size_t)length); in sk_string_printf() 130 return SkString(); in sk_string_printf() 133 return SkString(buffer, length); in sk_string_printf() 135 SkString string((size_t)length); in sk_string_printf() 146 static const SkString get(const SkTArray<SkDocument::Attribute>& info, in get() [all …]
|
/external/skia/tools/flags/ |
D | SkCommonFlagsConfig.cpp | 140 SkCommandLineConfig::SkCommandLineConfig(const SkString& tag, const SkString& backend, in SkCommandLineConfig() 141 const SkTArray<SkString>& viaParts) in SkCommandLineConfig() 151 const SkString& tag, const SkTArray<SkString>& viaParts, in SkCommandLineConfigGpu() 153 : SkCommandLineConfig(tag, SkString("gpu"), viaParts) in SkCommandLineConfigGpu() 159 static bool parse_option_int(const SkString& value, int* outInt) { in parse_option_int() 171 static bool parse_option_bool(const SkString& value, bool* outBool) { in parse_option_bool() 182 static bool parse_option_gpu_api(const SkString& value, in parse_option_gpu_api() 235 SkCommandLineConfigGpu* parse_command_line_config_gpu(const SkString& tag, in parse_command_line_config_gpu() 236 const SkTArray<SkString>& vias, in parse_command_line_config_gpu() 237 const SkString& options) { in parse_command_line_config_gpu() [all …]
|
D | SkCommonFlagsConfig.h | 31 SkCommandLineConfig(const SkString& tag, const SkString& backend, 32 const SkTArray<SkString>& viaParts); 37 const SkString& getTag() const { return fTag; } in getTag() 38 const SkString& getBackend() const { return fBackend; } in getBackend() 39 const SkTArray<SkString>& getViaParts() const { return fViaParts; } in getViaParts() 41 SkString fTag; 42 SkString fBackend; 43 SkTArray<SkString> fViaParts; 54 SkCommandLineConfigGpu(const SkString& tag, const SkTArray<SkString>& viaParts,
|
D | SkCommandLineFlags.h | 128 explicit StringArray(const SkTArray<SkString>& strings) in StringArray() 169 SkTArray<SkString> fStrings; 186 static SkString gUsage; 404 const SkString& name() const { return fName; } in name() 406 const SkString& shortName() const { return fShortName; } in shortName() 408 const SkString& help() const { return fHelpString; } in help() 409 const SkString& extendedHelp() const { return fExtendedHelpString; } in extendedHelp() 411 SkString defaultValue() const { in defaultValue() 412 SkString result; in defaultValue() 431 SkString typeAsString() const { in typeAsString() [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLShaderBuilder.h | 42 void appendTextureLookup(SkString* out, 112 SkString* outName); 143 void appendDecls(const VarArray& vars, SkString* out) const; 190 SkString& versionDecl() { return fShaderStrings[kVersionDecl]; } in versionDecl() 191 SkString& extensions() { return fShaderStrings[kExtensions]; } in extensions() 192 SkString& definitions() { return fShaderStrings[kDefinitions]; } in definitions() 193 SkString& precisionQualifier() { return fShaderStrings[kPrecisionQualifier]; } in precisionQualifier() 194 SkString& layoutQualifiers() { return fShaderStrings[kLayoutQualifiers]; } in layoutQualifiers() 195 SkString& uniforms() { return fShaderStrings[kUniforms]; } in uniforms() 196 SkString& inputs() { return fShaderStrings[kInputs]; } in inputs() [all …]
|
/external/skia/tests/ |
D | OSPathTest.cpp | 22 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 …]
|
D | PDFMetadataAttributeTest.cpp | 17 info.emplace_back(SkString("Title"), SkString("A1")); in DEF_TEST() 18 info.emplace_back(SkString("Author"), SkString("A2")); in DEF_TEST() 19 info.emplace_back(SkString("Subject"), SkString("A3")); in DEF_TEST() 20 info.emplace_back(SkString("Keywords"), SkString("A4")); in DEF_TEST() 21 info.emplace_back(SkString("Creator"), SkString("A5")); in DEF_TEST()
|
D | GrGLSLPrettyPrintTest.cpp | 16 const SkString input1("#this is not a realshader\nvec4 some stuff;outside of a function;" 19 const SkString input2("{nowin a function;{indenting;{abit more;dreadedfor((;;)(;)((;;);)){" 23 const SkString input3(" dangerous\ndo so at your own\n risk*/;\n\n\t\t\t\n" 25 const SkString input4("breaking in comment"); 26 const SkString input5("continuing the comment"); 27 const SkString input6("\n}}a; little ; love; for ; leading; spaces;} " 31 const SkString output1( 86 const SkString neg1("{;;{{{{;;;{{{{{{{{{{{"); 87 const SkString neg2("###\n##\n#####(((((((((((((unbalanced verything;;;"); 88 const SkString neg3("}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}" [all …]
|
/external/skia/src/utils/ |
D | SkOSFile.cpp | 9 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()
|
D | SkDumpCanvas.cpp | 29 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() 203 SkString str; in getSaveLayerStrategy() 228 SkString str; in didConcat() [all …]
|
/external/skia/src/gpu/ |
D | GrAuditTrail.cpp | 10 void GrAuditTrail::JsonifyTArray(SkString* json, const char* name, const FrameArray& array, in JsonifyTArray() 32 SkString prettify(const SkString& json) { in prettify() 83 SkString fPrettyJson; 89 static SkString pretty_print_json(SkString json) { in pretty_print_json() 94 SkString GrAuditTrail::toJson(bool prettyPrint) const { in toJson() 95 SkString json; in toJson() 107 SkString GrAuditTrail::Frame::toJson() const { in toJson() 108 SkString json; in toJson() 116 SkString GrAuditTrail::Batch::toJson() const { in toJson() 117 SkString json; in toJson()
|
/external/skia/site/user/sample/ |
D | pdf.md | 30 info.emplace_back(SkString("Title"), SkString("....")); 31 info.emplace_back(SkString("Author"), SkString("....")); 32 info.emplace_back(SkString("Subject"), SkString("....")); 33 info.emplace_back(SkString("Keywords"), SkString("....")); 34 info.emplace_back(SkString("Creator"), SkString("...."));
|
/external/skia/gm/ |
D | etc1bitmap.cpp | 85 SkString onShortName() override { in onShortName() 86 SkString str = SkString("etc1bitmap_"); in onShortName() 95 virtual SkString fileExtension() const = 0; 99 SkString filename = GetResourcePath("mandrill_128."); in onDraw() 127 SkString fileExtension() const override { return SkString("pkm"); } in fileExtension() 141 SkString fileExtension() const override { return SkString("ktx"); } in fileExtension() 155 SkString fileExtension() const override { return SkString("r11.ktx"); } in fileExtension() 174 SkString onShortName() override { in onShortName() 175 return SkString("etc1bitmap_npot"); in onShortName() 184 SkString pkmFilename = GetResourcePath("mandrill_128.pkm"); in onDraw()
|
/external/skia/tools/ |
D | skdiff_utils.h | 16 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);
|
D | UrlDataManager.h | 24 UrlDataManager(SkString rootUrl); 31 SkString addData(SkData*, const char* contentType); 34 SkString fUrl; 35 SkString fContentType; 42 UrlData* getDataFromUrl(SkString url) { in getDataFromUrl() 60 static const SkString& GetKey(const UrlData& data) { in GetKey() 64 static uint32_t Hash(const SkString& key) { in Hash() 70 SkString fRootUrl; 72 SkTDynamicHash<UrlData, SkString, ReverseLookupTrait> fUrlLookup;
|
/external/skia/dm/ |
D | DMSrcSink.h | 24 struct ImplicitString : public SkString { 26 ImplicitString(const T& s) : SkString(s) {} in ImplicitString() 27 ImplicitString() : SkString("") {} 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; 76 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log) 207 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override; 218 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 234 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLExtensions.cpp | 16 inline bool extension_compare(const SkString& a, const SkString& b) { in extension_compare() 22 static int find_string(const SkTArray<SkString>& strings, const char ext[]) { in find_string() 26 SkString extensionStr(ext); in find_string() 27 int idx = SkTSearch<SkString, extension_compare>(&strings.front(), in find_string() 30 sizeof(SkString)); in find_string() 34 GrGLExtensions::GrGLExtensions(const GrGLExtensions& that) : fStrings(new SkTArray<SkString>) { in GrGLExtensions() 44 static void eat_space_sep_strings(SkTArray<SkString>* out, const char in[]) { in eat_space_sep_strings() 110 SkTLessFunctionToFunctorAdaptor<SkString, extension_compare> cmp; in init() 128 SkAutoTDelete< SkTArray<SkString> > oldStrings(fStrings.detach()); in remove() 129 fStrings.reset(new SkTArray<SkString>(oldStrings->count() - 1)); in remove() [all …]
|