/external/skia/src/core/ |
D | SkString.cpp | 24 size_t stackBufferSize, int* length, SkString* heapBuffer) { in apply_format_string() 47 SkString overflow; \ 179 const SkString::Rec SkString::gEmptyRec(0, 0); 202 sk_sp<SkString::Rec> SkString::Rec::Make(const char text[], size_t len) { in Make() 204 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make() 226 void SkString::Rec::ref() const { in ref() 227 if (this == &SkString::gEmptyRec) { in ref() 233 void SkString::Rec::unref() const { in unref() 234 if (this == &SkString::gEmptyRec) { in unref() 244 bool SkString::Rec::unique() const { in unique() [all …]
|
/external/skqp/src/core/ |
D | SkString.cpp | 24 size_t stackBufferSize, int* length, SkString* heapBuffer) { in apply_format_string() 47 SkString overflow; \ 179 const SkString::Rec SkString::gEmptyRec(0, 0); 202 sk_sp<SkString::Rec> SkString::Rec::Make(const char text[], size_t len) { in Make() 204 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make() 226 void SkString::Rec::ref() const { in ref() 227 if (this == &SkString::gEmptyRec) { in ref() 233 void SkString::Rec::unref() const { in unref() 234 if (this == &SkString::gEmptyRec) { in unref() 244 bool SkString::Rec::unique() const { in unique() [all …]
|
/external/skia/tools/flags/ |
D | SkCommonFlagsConfig.cpp | 116 static SkString helpString; in config_help_fn() 186 static SkString helpString; in config_extended_help_fn() 196 SkCommandLineConfig::SkCommandLineConfig(const SkString& tag, const SkString& backend, in SkCommandLineConfig() 197 const SkTArray<SkString>& viaParts) in SkCommandLineConfig() 205 static bool parse_option_int(const SkString& value, int* outInt) { in parse_option_int() 217 static bool parse_option_bool(const SkString& value, bool* outBool) { in parse_option_bool() 228 static bool parse_option_gpu_api(const SkString& value, in parse_option_gpu_api() 285 static bool parse_option_gpu_color(const SkString& value, in parse_option_gpu_color() 332 static bool parse_option_gpu_surf_type(const SkString& value, in parse_option_gpu_surf_type() 353 ExtendedOptions(const SkString& optionsString, bool* outParseSucceeded) { in ExtendedOptions() [all …]
|
D | SkCommonFlagsConfig.h | 27 SkCommandLineConfig(const SkString& tag, const SkString& backend, 28 const SkTArray<SkString>& viaParts); 32 const SkString& getTag() const { return fTag; } in getTag() 33 const SkString& getBackend() const { return fBackend; } in getBackend() 34 const SkTArray<SkString>& getViaParts() const { return fViaParts; } in getViaParts() 36 SkString fTag; 37 SkString fBackend; 38 SkTArray<SkString> fViaParts; 56 SkCommandLineConfigGpu(const SkString& tag, const SkTArray<SkString>& viaParts, 97 SkCommandLineConfigSvg(const SkString& tag, const SkTArray<SkString>& viaParts, int pageIndex);
|
D | SkCommandLineFlags.h | 138 explicit StringArray(const SkTArray<SkString>& strings) in StringArray() 172 const SkString* begin() const { return fStrings.begin(); } in begin() 173 const SkString* end() const { return fStrings.end(); } in end() 186 SkTArray<SkString> fStrings; 203 static SkString gUsage; 468 const SkString& name() const { return fName; } in name() 470 const SkString& shortName() const { return fShortName; } in shortName() 472 const SkString& help() const { return fHelpString; } in help() 473 const SkString& extendedHelp() const { return fExtendedHelpString; } in extendedHelp() 475 SkString defaultValue() const { in defaultValue() [all …]
|
/external/skqp/tools/flags/ |
D | SkCommonFlagsConfig.cpp | 115 static SkString helpString; in config_help_fn() 185 static SkString helpString; in config_extended_help_fn() 195 SkCommandLineConfig::SkCommandLineConfig(const SkString& tag, const SkString& backend, in SkCommandLineConfig() 196 const SkTArray<SkString>& viaParts) in SkCommandLineConfig() 204 static bool parse_option_int(const SkString& value, int* outInt) { in parse_option_int() 216 static bool parse_option_bool(const SkString& value, bool* outBool) { in parse_option_bool() 227 static bool parse_option_gpu_api(const SkString& value, in parse_option_gpu_api() 284 static bool parse_option_gpu_color(const SkString& value, in parse_option_gpu_color() 328 static bool parse_option_gpu_surf_type(const SkString& value, in parse_option_gpu_surf_type() 349 ExtendedOptions(const SkString& optionsString, bool* outParseSucceeded) { in ExtendedOptions() [all …]
|
D | SkCommonFlagsConfig.h | 27 SkCommandLineConfig(const SkString& tag, const SkString& backend, 28 const SkTArray<SkString>& viaParts); 32 const SkString& getTag() const { return fTag; } in getTag() 33 const SkString& getBackend() const { return fBackend; } in getBackend() 34 const SkTArray<SkString>& getViaParts() const { return fViaParts; } in getViaParts() 36 SkString fTag; 37 SkString fBackend; 38 SkTArray<SkString> fViaParts; 56 SkCommandLineConfigGpu(const SkString& tag, const SkTArray<SkString>& viaParts, 97 SkCommandLineConfigSvg(const SkString& tag, const SkTArray<SkString>& viaParts, int pageIndex);
|
D | SkCommandLineFlags.h | 138 explicit StringArray(const SkTArray<SkString>& strings) in StringArray() 172 const SkString* begin() const { return fStrings.begin(); } in begin() 173 const SkString* end() const { return fStrings.end(); } in end() 186 SkTArray<SkString> fStrings; 203 static SkString gUsage; 468 const SkString& name() const { return fName; } in name() 470 const SkString& shortName() const { return fShortName; } in shortName() 472 const SkString& help() const { return fHelpString; } in help() 473 const SkString& extendedHelp() const { return fExtendedHelpString; } in extendedHelp() 475 SkString defaultValue() const { in defaultValue() [all …]
|
/external/skqp/include/core/ |
D | SkString.h | 123 class SK_API SkString { 125 SkString(); 126 explicit SkString(size_t len); 127 explicit SkString(const char text[]); 128 SkString(const char text[], size_t len); 129 SkString(const SkString&); 130 SkString(SkString&&); 131 ~SkString(); 138 bool equals(const SkString&) const; 167 friend bool operator==(const SkString& a, const SkString& b) { [all …]
|
/external/skia/include/core/ |
D | SkString.h | 123 class SK_API SkString { 125 SkString(); 126 explicit SkString(size_t len); 127 explicit SkString(const char text[]); 128 SkString(const char text[], size_t len); 129 SkString(const SkString&); 130 SkString(SkString&&); 131 ~SkString(); 138 bool equals(const SkString&) const; 167 friend bool operator==(const SkString& a, const SkString& b) { [all …]
|
/external/skia/gm/ |
D | gm.h | 35 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, SK_ColorWHITE, SkString(#NAME)) 37 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, BGCOLOR, SkString(#NAME)) 47 DEF_SIMPLE_GM_BG_NAME_CAN_FAIL(NAME, CANVAS, ERR_MSG, W, H, SK_ColorWHITE, SkString(#NAME)) 49 DEF_SIMPLE_GM_BG_NAME_CAN_FAIL(NAME, CANVAS, ERR_MSG, W, H, BGCOLOR, SkString(#NAME)) 51 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \ 53 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG) 76 GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*); \ 77 DEF_GM(return new skiagm::SimpleGpuGM(BGCOLOR, SkString(#NAME), {W,H}, \ 81 SkString* ERR_MSG) 110 SkString errorMsg; in draw() [all …]
|
/external/skia/dm/ |
D | DMJsonWriter.h | 26 SkString name; // E.g. "ninepatch-stretch", "desk_gws.skp" 27 SkString config; // "gpu", "8888", "serialize", "pipe" 28 SkString sourceType; // "gm", "skp", "image" 29 SkString sourceOptions; // "image", "codec", "subset", "scanline" 30 SkString md5; // In ASCII, so 32 bytes long. 31 SkString ext; // Extension of file we wrote: "png", "pdf", ... 32 SkString gamut; 33 SkString transferFn; 34 SkString colorType; 35 SkString alphaType; [all …]
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLShaderBuilder.h | 35 void appendTextureLookup(SkString* out, 61 void appendColorGamutXform(SkString* out, const char* srcColor, 125 SkString* outName); 156 void appendDecls(const VarArray& vars, SkString* out) const; 201 SkString& versionDecl() { return fShaderStrings[kVersionDecl]; } in versionDecl() 202 SkString& extensions() { return fShaderStrings[kExtensions]; } in extensions() 203 SkString& definitions() { return fShaderStrings[kDefinitions]; } in definitions() 204 SkString& precisionQualifier() { return fShaderStrings[kPrecisionQualifier]; } in precisionQualifier() 205 SkString& layoutQualifiers() { return fShaderStrings[kLayoutQualifiers]; } in layoutQualifiers() 206 SkString& uniforms() { return fShaderStrings[kUniforms]; } in uniforms() [all …]
|
D | GrGLSLProgramBuilder.h | 24 class SkString; variable 46 void appendUniformDecls(GrShaderFlags visibility, SkString*) const; 67 void nameVariable(SkString* out, char prefix, const char* name, bool mangle = true); 142 void nameExpression(SkString*, const char* baseName); 144 void emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage); 145 void emitAndInstallFragProcs(SkString* colorInOut, SkString* coverageInOut); 146 SkString emitAndInstallFragProc(const GrFragmentProcessor&, 149 const SkString& input, 150 SkString output, 152 void emitAndInstallXferProc(const SkString& colorIn, const SkString& coverageIn);
|
D | GrGLSLProgramBuilder.cpp | 61 SkString inputColor; in emitAndInstallProcs() 62 SkString inputCoverage; in emitAndInstallProcs() 71 void GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, in emitAndInstallPrimProc() 72 SkString* outputCoverage) { in emitAndInstallPrimProc() 96 SkString openBrace; in emitAndInstallPrimProc() 106 SkString name; in emitAndInstallPrimProc() 140 void GrGLSLProgramBuilder::emitAndInstallFragProcs(SkString* color, SkString* coverage) { in emitAndInstallFragProcs() 142 SkString** inOut = &color; in emitAndInstallFragProcs() 148 SkString output; in emitAndInstallFragProcs() 167 SkString GrGLSLProgramBuilder::emitAndInstallFragProc( in emitAndInstallFragProc() [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLShaderBuilder.h | 35 void appendTextureLookup(SkString* out, 61 void appendColorGamutXform(SkString* out, const char* srcColor, 125 SkString* outName); 156 void appendDecls(const VarArray& vars, SkString* out) const; 202 SkString& versionDecl() { return fShaderStrings[kVersionDecl]; } in versionDecl() 203 SkString& extensions() { return fShaderStrings[kExtensions]; } in extensions() 204 SkString& definitions() { return fShaderStrings[kDefinitions]; } in definitions() 205 SkString& precisionQualifier() { return fShaderStrings[kPrecisionQualifier]; } in precisionQualifier() 206 SkString& layoutQualifiers() { return fShaderStrings[kLayoutQualifiers]; } in layoutQualifiers() 207 SkString& uniforms() { return fShaderStrings[kUniforms]; } in uniforms() [all …]
|
D | GrGLSLProgramBuilder.cpp | 60 SkString inputColor; in emitAndInstallProcs() 61 SkString inputCoverage; in emitAndInstallProcs() 70 void GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, in emitAndInstallPrimProc() 71 SkString* outputCoverage) { in emitAndInstallPrimProc() 95 SkString openBrace; in emitAndInstallPrimProc() 105 SkString name; in emitAndInstallPrimProc() 139 void GrGLSLProgramBuilder::emitAndInstallFragProcs(SkString* color, SkString* coverage) { in emitAndInstallFragProcs() 141 SkString** inOut = &color; in emitAndInstallFragProcs() 147 SkString output; in emitAndInstallFragProcs() 166 SkString GrGLSLProgramBuilder::emitAndInstallFragProc( in emitAndInstallFragProc() [all …]
|
D | GrGLSLProgramBuilder.h | 26 class SkString; variable 52 void appendUniformDecls(GrShaderFlags visibility, SkString*) const; 73 void nameVariable(SkString* out, char prefix, const char* name, bool mangle = true); 147 void nameExpression(SkString*, const char* baseName); 149 void emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage); 150 void emitAndInstallFragProcs(SkString* colorInOut, SkString* coverageInOut); 151 SkString emitAndInstallFragProc(const GrFragmentProcessor&, 154 const SkString& input, 155 SkString output, 157 void emitAndInstallXferProc(const SkString& colorIn, const SkString& coverageIn);
|
/external/skqp/src/pdf/ |
D | SkPDFMetadata.cpp | 36 static SkString pdf_date(const SkTime::DateTime& dt) { in pdf_date() 73 static SkString to_utf16be(const char* src, size_t len) { in to_utf16be() 74 SkString ret; in to_utf16be() 108 static SkString convert(const SkString& s) { in convert() 111 static SkString convert(const char* src) { in convert() 113 return utf8_is_pdfdocencoding(src, len) ? SkString(src, len) : to_utf16be(src, len); in convert() 119 SkString SkPDF::Metadata::*const valuePtr; 133 const SkString& value = metadata.*(keyValuePtr.valuePtr); in MakeDocumentInformationDict() 170 const SkString& value = metadata.*(keyValuePtr.valuePtr); in CreateUUID() 192 SkString(reinterpret_cast<const char*>(&doc), sizeof(SkUUID))); in MakePdfId() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFMetadata.cpp | 36 static SkString pdf_date(const SkTime::DateTime& dt) { in pdf_date() 73 static SkString to_utf16be(const char* src, size_t len) { in to_utf16be() 74 SkString ret; in to_utf16be() 108 static SkString convert(const SkString& s) { in convert() 111 static SkString convert(const char* src) { in convert() 113 return utf8_is_pdfdocencoding(src, len) ? SkString(src, len) : to_utf16be(src, len); in convert() 119 SkString SkPDF::Metadata::*const valuePtr; 133 const SkString& value = metadata.*(keyValuePtr.valuePtr); in MakeDocumentInformationDict() 170 const SkString& value = metadata.*(keyValuePtr.valuePtr); in CreateUUID() 192 SkString(reinterpret_cast<const char*>(&doc), sizeof(SkUUID))); in MakePdfId() [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 …]
|
/external/skqp/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 …]
|
/external/skia/src/utils/ |
D | SkOSPath.cpp | 10 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { in Join() 11 SkString result(rootPath); in Join() 19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() 21 return SkString(); in Basename() 29 return SkString(filename); in Basename() 32 SkString SkOSPath::Dirname(const char* fullPath) { in Dirname() 34 return SkString(); in Dirname() 38 return SkString(); in Dirname() 44 return SkString(fullPath, end - fullPath); in Dirname()
|
/external/skqp/src/utils/ |
D | SkOSPath.cpp | 10 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { in Join() 11 SkString result(rootPath); in Join() 19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() 21 return SkString(); in Basename() 29 return SkString(filename); in Basename() 32 SkString SkOSPath::Dirname(const char* fullPath) { in Dirname() 34 return SkString(); in Dirname() 38 return SkString(); in Dirname() 44 return SkString(fullPath, end - fullPath); in Dirname()
|
/external/skia/tools/ |
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;
|